cogl/framebuffer: Move public struct fields to private struct

This will limit accidental manipulation of the framebuffer struct
fields, while also paving the way to change to GObject type hierarchy.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1496
This commit is contained in:
Jonas Ådahl
2020-10-12 23:31:38 +02:00
committed by Georges Basile Stavracas Neto
parent ffde1c0124
commit aa99e505ad
18 changed files with 934 additions and 510 deletions

View File

@ -259,7 +259,7 @@ emit_vertex_buffer_geometry (CoglFramebuffer *fb,
CoglPipeline *pipeline,
CoglPangoDisplayListNode *node)
{
CoglContext *ctx = fb->context;
CoglContext *ctx = cogl_framebuffer_get_context (fb);
/* It's expensive to go through the Cogl journal for large runs
* of text in part because the journal transforms the quads in software