gdk: Use begin_frame_full() everywhere

begin_frame() is going to go away, so we should use the "real" function.
This commit is contained in:
Benjamin Otte 2024-08-09 04:30:39 +02:00
parent 0b2275774f
commit 8ac1806015
2 changed files with 4 additions and 3 deletions

View File

@ -934,7 +934,7 @@ gsk_broadway_renderer_render (GskRenderer *renderer,
self->node_lookup = g_hash_table_new (g_direct_hash, g_direct_equal);
gdk_draw_context_begin_frame (GDK_DRAW_CONTEXT (self->draw_context), update_area);
gdk_draw_context_begin_frame_full (GDK_DRAW_CONTEXT (self->draw_context), GDK_MEMORY_U8, update_area);
/* These are owned by the draw context between begin and end, but
cache them here for easier access during the render */

View File

@ -162,8 +162,9 @@ gsk_cairo_renderer_render (GskRenderer *renderer,
graphene_rect_t opaque;
cairo_t *cr;
gdk_draw_context_begin_frame (GDK_DRAW_CONTEXT (self->cairo_context),
region);
gdk_draw_context_begin_frame_full (GDK_DRAW_CONTEXT (self->cairo_context),
GDK_MEMORY_U8,
region);
cr = gdk_cairo_context_cairo_create (self->cairo_context);
g_return_if_fail (cr != NULL);