summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gsk: Only use fences when supportedmatthiasc/texture-syncMatthias Clasen2023-04-261-2/+4
|
* glarea: Only use fences when supportedMatthias Clasen2023-04-261-2/+5
|
* glcontext: Add a way to check for fence syncMatthias Clasen2023-04-262-2/+19
|
* glarea: Delete the sync object tooMatthias Clasen2023-04-261-1/+8
| | | | | This is the responsibility of the destroy function passed to the gl texture builder.
* Improve the documentationMatthias Clasen2023-04-261-5/+18
|
* gldriver: Add a sync when creating texturesMatthias Clasen2023-04-251-0/+4
|
* gstreamer: Defer the syncMatthias Clasen2023-04-251-5/+8
| | | | | | Don't sync right when we receive the buffer, pass it along with the texture to be executed later in the renderer.
* glarea: SynchronizeMatthias Clasen2023-04-251-0/+3
| | | | | | Create a fence object and pass it along when creating the GL texture, so that the GL renderer can wait for the texture to be ready.
* gsk: Synchronize when using texturesMatthias Clasen2023-04-254-15/+97
| | | | | | | Pass the GLsync object from texture into our command queue, and when executing the queue, wait on the sync object the first time we use its associated texture.
* gltexture: Synchronize when downloadingMatthias Clasen2023-04-251-0/+4
| | | | | If the GL texture has a sync object, wait on it before downloading the data.
* gltexture: Optionally take a sync objectMatthias Clasen2023-04-254-1/+78
| | | | | Add a new (private, for now) constructor takes a GLsync together with a texture id, for synchronization.
* gltexture: Deprecate gdk_gl_texture_new()Benjamin Otte2023-04-242-1/+4
| | | | Use GdkGLTextureBuilder instead.
* glrenderer: Port to GdkGLTextureBuilderBenjamin Otte2023-04-241-13/+23
|
* media-gstreamer: Port to GdkGLTextureBuilderBenjamin Otte2023-04-241-6/+12
| | | | | This is a rudimentary port that does not take advantage of all the cool new formats that we could support now.
* testsuite: Use GLTextureBuilderBenjamin Otte2023-04-241-1/+8
|
* glarea: Port to GdkGLTextureBuilderBenjamin Otte2023-04-241-23/+27
|
* texturebuilder: Pass the destroy notify to the build() functionBenjamin Otte2023-04-242-36/+18
| | | | | | This is more compatible with bindings that want to create per-object callbacks and not have their callbacks reused over different build() calls.
* texturebuilder: Add ::format and ::has-mipmapBenjamin Otte2023-04-244-7/+182
| | | | We were trying to deduce that previously. Now we have explicit API
* gdk: Add GdkGLTextureBuilderBenjamin Otte2023-04-244-0/+534
| | | | | | | Building GL textures is complicated, so create an object to make them. So far, this object just contains the functionality of gdk_gl_texture_new(), but that will change in the future.
* Merge branch 'wip/otte/for-main' into 'main'Benjamin Otte2023-04-222-95/+17
|\ | | | | | | | | surface: Clean up drawing code See merge request GNOME/gtk!5861
| * surface: reformat functionBenjamin Otte2023-04-221-10/+4
| | | | | | | | | | | | Make the function follow usual coding conventions. And while doing that, remove duplicate functionality.
| * surface: Refactor codeBenjamin Otte2023-04-221-27/+17
| | | | | | | | | | Move the early exit conditions to the top and turn them into early exits instead of nesting if statements.
| * surface: Fold function into its only callerBenjamin Otte2023-04-221-31/+26
| | | | | | | | No other changes
| * surface: Stop maintaining an unused linked listBenjamin Otte2023-04-221-38/+0
| | | | | | | | wat?
| * surface: Remove in_update trackingBenjamin Otte2023-04-222-10/+1
| | | | | | | | | | It's 2023, we use frame clocks now and don't have nested surface drawing anymore.
| * surface: Stop tracking the active update areaBenjamin Otte2023-04-222-13/+3
|/ | | | It's unused.
* Update Russian translationAleksandr Melman2023-04-221-148/+158
|
* Update Polish translationPiotr Drąg2023-04-221-292/+307
|
* Merge branch 'gtkfilesystemmodel-emit-items-changed-on-modifying-attributes' ↵Matthias Clasen2023-04-221-3/+14
|\ | | | | | | | | | | | | | | | | into 'main' filesystemmodel: Emit items-changed when modifying attributes Closes #5758 See merge request GNOME/gtk!5853
| * filesystemmodel: Emit items-changed when modifying attributesOlivier Crête2023-04-221-3/+14
| |
* | Merge branch 'wip/corey/file-chooser-signal' into 'main'Matthias Clasen2023-04-225-389/+185
|\ \ | |/ |/| | | | | Port filechooserwidget to GtkSignalListItemFactory See merge request GNOME/gtk!5858
| * filechoosercell: Drop show-time propertyCorey Berla2023-04-211-30/+0
| | | | | | | | | | Now that we are using GtkSignalListItemFactory, the convoluted show-time property is no longer necessary.
| * filechooserwidget: Port to GtkSignalListItemFactoryCorey Berla2023-04-212-300/+172
| | | | | | | | | | | | | | | | | | BuilderListItemFactory isn't quite suited for our purposes, primarily because you can't pass user data to BuilderListItemFactory. Because we can't get the data we are using a workaround to get the GtkFileChooserWidget ancestory, which used to work, but with the recent list view changes no longer doesn't. Use GtkSignalListItemFactory with the GtkFileChooserWidget as the user data.
| * Revert "filechooser: Set date and time after cell is a child of ↵Corey Berla2023-04-214-52/+19
| | | | | | | | | | | | | | | | filechooserwidget" This reverts commit 2a70093a309481cf633086a5e8f0c8bc6d2c89f0. This fix was incomplete, the actual fix is to use signal factory.
| * Revert "filechoosercell: Store type_format in filechoosercell"Corey Berla2023-04-213-26/+13
|/ | | | | | This reverts commit dd407dab000dc4de7d078c6270c93d303a1c18c6. This fix was incomplete, the actual fix is to use signal factory.
* Update Portuguese translationHugo Carvalho2023-04-211-296/+307
| | | | (cherry picked from commit 5bc3284dd873ae13ef5aa883cb324b4979c9762c)
* Update Hebrew translationYosef Or Boczko2023-04-211-450/+573
|
* Merge branch 'wip/otte/for-main' into 'main'Benjamin Otte2023-04-203-25/+58
|\ | | | | | | | | | | | | testsuite: Be less verbose in accessor-apis test Closes #5763 See merge request GNOME/gtk!5851
| * listbase: Don't warn on scroll in empty listBenjamin Otte2023-04-201-0/+5
| | | | | | | | | | | | | | Empty lists can still be scrolled if the scroll happens in the same frame as the emptying of the list. Related: #5763
| * adjustment: sanity-check values when setting themBenjamin Otte2023-04-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | It's not enough to sanitize values when starting an animation, as the adjustment can reconfigure itself while the animation runs. So as a simple way to handle this, we sanitize every value right before setting it, too. In the future we might also want to look at sanitizing start/end values of the animation. Fixes #5763
| * adjustment: Split out a functionBenjamin Otte2023-04-201-10/+17
| |
| * testsuite: Allow accessors in interfacesBenjamin Otte2023-04-201-13/+29
| | | | | | | | | | | | | | | | | | | | There are a lot of cases where properties are implemented in classes but the getters for these exist in an interface that class implements. A common Example is g_list_model_get_n_items() being the getter for GtkWhateverListModel::n-items. But also property implementations that don't use override_property() (usually because they have a different default) are handled by this.
| * testsuite: Be less verbose in accessor-apis testBenjamin Otte2023-04-201-2/+5
| | | | | | | | Only print the tried names when --verbose is passed to the test.
* | Merge branch 'dark_theme_fix_hover_toolbar_buttons' into 'main'Matthias Clasen2023-04-201-0/+4
|\ \ | | | | | | | | | | | | theme: fix 'hover' and 'check' colors for buttons under .toolbar See merge request GNOME/gtk!5844
| * | theme: fix 'hover' and 'check' colors for buttons under .toolbarNelson Benítez León2023-04-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Buttons under .toolbar were using for their 'hover', 'active' and 'check' colors the default ones from %button_basic_flat which are very dimmed, so we explicitly darken them. Part of #5725
* | | Merge branch 'dark_theme_increase_selection_color' into 'main'Matthias Clasen2023-04-201-1/+1
|\ \ \ | | | | | | | | | | | | | | | | Increase contrast for text entry selection color on dark theme See merge request GNOME/gtk!5843
| * | | theme: more contrast for text entry selection color on dark themeNelson Benítez León2023-04-161-1/+1
| |/ / | | | | | | | | | Part of #5725
* | | Update Turkish translationEmin Tufan Çetin2023-04-191-552/+844
| | |
* | | Merge branch 'mask-node-transforms' into 'main'Matthias Clasen2023-04-192-8/+34
|\ \ \ | |_|/ |/| | | | | | | | Fix a comment See merge request GNOME/gtk!5848
| * | gsk: Use explicit switchesMatthias Clasen2023-04-191-4/+31
| | | | | | | | | | | | | | | This makes it harder to forget to add new node types here.