Similar to gdk_cairo_draw_from_gl(), but using a GdkDrawingContext. The newly added function does not have a fallback path that reads back from the GL object and uploads to an intermediate Cairo surface because the GdkDrawingContext is associated to a top level window, instead of a being a Cairo context in the middle of a group.
32 KiB
32 KiB