Add temporary cogl-clutter.h to aid splitting out Cogl
This gives us a way to clearly track the internal Cogl API that Clutter depends on. The aim is to split Cogl out from Clutter into a standalone 3D graphics API and eventually we want to get rid of any private interfaces for Clutter so its useful to have a handle on that task. Actually it's not as bad as I was expecting though.
This commit is contained in:
@ -989,13 +989,10 @@ _cogl_onscreen_free (CoglOnscreen *onscreen)
|
||||
}
|
||||
|
||||
void
|
||||
_cogl_onscreen_clutter_backend_set_size (int width, int height)
|
||||
_cogl_framebuffer_winsys_update_size (CoglFramebuffer *framebuffer,
|
||||
int width, int height)
|
||||
{
|
||||
CoglFramebuffer *framebuffer;
|
||||
|
||||
_COGL_GET_CONTEXT (ctx, NO_RETVAL);
|
||||
|
||||
framebuffer = COGL_FRAMEBUFFER (ctx->window_buffer);
|
||||
CoglContext *ctx = framebuffer->context;
|
||||
|
||||
if (framebuffer->width == width && framebuffer->height == height)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user