summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* media-controls: Make play button flatwip/exalm/papercutsAlexander Mikhaylenko2021-09-141-0/+1
| | | | Match the volume button.
* searchbar: Vertically center the close buttonAlexander Mikhaylenko2021-09-141-0/+1
|
* Merge branch 'fix_#4255' into 'master'Matthias Clasen2021-09-131-3/+4
|\ | | | | | | | | | | | | stack: Dispose children before emitting items-changed Closes #4255 See merge request GNOME/gtk!3943
| * stack: Dispose children before emitting items-changedJulian Sparber2021-09-131-3/+4
|/ | | | | | | | This makes sure that the `GListModel` returned by `gtk_stack_get_pages()` actually has the items removed before `items-changed` is emitted. Fixes: https://gitlab.gnome.org/GNOME/gtk/-/issues/4255
* Merge branch 'wip/otte/texture-threads' into 'master'Benjamin Otte2021-09-134-71/+195
|\ | | | | | | | | gltexture: Make sure downloading textures works in a different thread See merge request GNOME/gtk!3942
| * ngl: Simplify and unbug texture downloadBenjamin Otte2021-09-131-19/+8
| | | | | | | | | | If we can't handle the texture, always just download_texture() it, that way we are sure it's a memory texture.
| * gltexture: Make sure downloading textures works in a different threadBenjamin Otte2021-09-133-52/+187
| | | | | | | | | | | | | | | | | | | | This happens in the real world when using the inspector to look at a node recording of a GStreamer video while the video is still playing. GStreamer will use the GL context in a different thread while we are busy trying to download it. A test is included.
* | Update German translationPhilipp Kiemle2021-09-121-1710/+1748
|/ | | | (cherry picked from commit 17d828fda2137eaa068de947171214db8ec7b074)
* Merge branch 'wip/otte/float-textures' into 'master'Benjamin Otte2021-09-1213-296/+1359
|\ | | | | | | | | Add float texture formats See merge request GNOME/gtk!3940
| * testsuite: Add tests for gdk_texture_download_float()wip/otte/float-texturesBenjamin Otte2021-09-121-0/+99
| |
| * testsuite: Add memory test support for OpenGL up/downloadsBenjamin Otte2021-09-121-16/+106
| | | | | | | | | | | | | | Use a GL renderer to upload textures (and then optionally download them via release() again). This way, we can test that the GL renderer properly uploads textures to the right formats (not losing information for HDR for example) and downloads them again.
| * testsuite: Add tests uploading the memorytexturesBenjamin Otte2021-09-121-4/+23
| | | | | | | | Use a GL renderer and render_texture() them.
| * testsuite: Rework memorytexture test some moreBenjamin Otte2021-09-121-58/+44
| | | | | | | | Instead of predefined colors, generate them randomly.
| * testsuite: Overhaul memorytexture testBenjamin Otte2021-09-121-122/+327
| | | | | | | | | | Instead of hardcoding pixel values, allow construction of textures by filling them with GdkRGBA values.
| * gl: Implement uploading and downloading HDR formatsBenjamin Otte2021-09-122-55/+104
| | | | | | | | | | Also refactor the GL uploading so it does the fallback in a GLES-compatible way, which means we only need one fallback.
| * memorytexture: Add support for HDR formatsBenjamin Otte2021-09-122-4/+311
| | | | | | | | | | Also sanitize the input bytes so the strides match alignment requirements of the data types.
| * texture: Add gdk_texture_download_float()Benjamin Otte2021-09-126-0/+217
| |
| * gdk: Deprecate gdk_cairo_draw_from_gl()Benjamin Otte2021-09-122-2/+8
| | | | | | | | | | | | It's broken with various pixel formats and OpenGL ES, it's hard to understand what everything does, and gdk_texture_download() can be used instead.
| * gltexture: Implement download() via glGetTexImage()Benjamin Otte2021-09-121-19/+23
| | | | | | | | | | | | | | | | | | 1. The download via gdk_cairo_draw_from_gl() was broken sometimes 2. We get easy conversion on fallback by chaining up and using download_texture(). 3. One more place where Cairo is no longer necessary.
| * gltexture: Make release() use download_texture()Benjamin Otte2021-09-121-15/+1
| | | | | | | | | | | | | | | | | | 1. It avoids Cairo, and in particular conversion to Cairo. 2. Keeping a texture allows easy chaining in the vfuncs. 3. Using a texture means releasing will work for HDR formats too, once we add them.
| * texture: Add gdk_texture_download_texture()Benjamin Otte2021-09-124-5/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A private vfunc that downloads a texture as a GdkMemoryTexture in whatever format the texture deems best. There are multiple reasons for this: * GLES cannot download the Cairo format. But it can download some format and then just delegate to the GdkMemoryTexture implementation. * All the other download vfuncs (including the ones still coming) can be implemented via download_texture() and delegation, making the interface easier. * We want to implement image loading and saving support. By using download_texture(), we can save in the actual format of the texture. * A potential GdkCompressedTexture could be implemented by just providing this one vfunc as a compress() step.
| * texture: Add GdkMemoryConversion private enumBenjamin Otte2021-09-126-24/+38
| | | | | | | | | | Now gdk_memory_convert() converts to one of these conversions instead of re(ab)using parts of the GdkMemoryFormat enum.
| * gltexture: release() to a texture, not a cairo_surfaceBenjamin Otte2021-09-121-34/+28
| | | | | | | | | | This makes forwarding vfuncs a lot easier, because we can just call them on the texture.
| * texture: Remove unused argument from vfuncBenjamin Otte2021-09-124-39/+16
| |
* | Update Hungarian translationBalázs Úr2021-09-121-927/+1033
|/
* Update Hungarian translationBalázs Úr2021-09-111-1542/+862
|
* Merge branch 'wip/otte/for-master' into 'master'Benjamin Otte2021-09-111-8/+12
|\ | | | | | | | | rendernode: Write the whole node See merge request GNOME/gtk!3938
| * rendernode: Write the whole nodeBenjamin Otte2021-09-111-8/+12
| | | | | | | | | | It turns out g_output_stream_write_bytes() does not write the bytes. It should be renamed to g_output_stream_write_some_of_the_bytes() maybe.
* | Merge branch 'hsl' into 'master'Benjamin Otte2021-09-1112-40/+195
|\ \ | | | | | | | | | | | | gdk_rgba_parse: Support HSL colors See merge request GNOME/gtk!3899
| * | gdk_rgba_parse: Support HSL colorsJames Westman2021-09-1012-40/+195
| | |
* | | Update French translationGuillaume Bernard2021-09-111-1018/+1096
| | | | | | | | | | | | (cherry picked from commit 8ffd7e9f87cfd3ce51c6b4b7a91bfe40670c89bb)
* | | Update French translationGuillaume Bernard2021-09-111-1742/+1777
| | | | | | | | | | | | (cherry picked from commit f433c543fe7a11953362f09274f9e29d088815f9)
* | | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-09-117-316/+235
|\ \ \ | |/ / |/| | | | | | | | Stop using config.h.meson See merge request GNOME/gtk!3936
| * | Refactor gdk_gl_context_upload_texture slightlyMatthias Clasen2021-09-101-3/+9
| | | | | | | | | | | | | | | | | | Introduce a gl_internalformat variable. This will let us handle more formats in a uniform way in future commits.
| * | Add vectorized half-float conversionMatthias Clasen2021-09-104-20/+225
| | | | | | | | | | | | | | | | | | | | | | | | We can't make the -4 versions inline, since we use ifuncs for them, so make vectorized versions. Test included.
| * | Stop using config.h.mesonMatthias Clasen2021-09-102-293/+1
|/ / | | | | | | | | It isn't necessary and makes us miss defines when we forget to update it.
* | Update German translationPhilipp Kiemle2021-09-101-974/+1012
| | | | | | | | (cherry picked from commit 6228954524cfe153b20673f356a26eaba9f9e846)
* | Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-09-101-1/+1
|\ \ | | | | | | | | | | | | Fix the testupload test See merge request GNOME/gtk!3934
| * | Fix the testupload testMatthias Clasen2021-09-101-1/+1
|/ / | | | | | | This can only ever have worked by accident.
* | Update Turkish translationEmin Tufan Çetin2021-09-101-316/+371
| |
* | Update Swedish translationAnders Jonsson2021-09-081-39/+55
|/
* Update Chinese (China) translationBoyuan Yang2021-09-051-1381/+2142
|
* Update Romanian translationDaniel Șerbănescu2021-09-051-537/+549
| | | | (cherry picked from commit bb72acf9cd341ca30c55a0392c842e955b42e58d)
* Update Romanian translationDaniel Șerbănescu2021-09-051-464/+510
| | | | (cherry picked from commit 63d829bbc182bb06fe28a2e649f50360bc4442b8)
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-09-051-28/+40
|\ | | | | | | | | inspector: Cosmetics See merge request GNOME/gtk!3925
| * inspector: CosmeticsMatthias Clasen2021-09-051-28/+40
|/ | | | | | Make some settings entries smaller, and make the scales match in size. Also, inline adjustments in the ui file, since we can do that now.
* Merge branch 'matthiasc/for-master' into 'master'Matthias Clasen2021-09-053-12/+3
|\ | | | | | | | | Avoid hand-rolled color glyph information See merge request GNOME/gtk!3924
| * Bump pango req to 1.49.1Matthias Clasen2021-09-052-2/+2
| | | | | | | | | | We are using pango api that was introduced in 1.49.1 without ifdefs, so we should require it.
| * Avoid hand-rolled color glyph informationMatthias Clasen2021-09-051-10/+1
|/ | | | | | Followup to b244f31337eea. Pango provides color glyph information for us now, so we don't need to steal a bit anymore.
* Update Swedish translationAnders Jonsson2021-09-051-539/+585
| | | | (cherry picked from commit 19af9601636691fe13ba15bc4b69f18df175c7ca)