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:
Robert Bragg
2011-02-22 18:25:29 +00:00
parent 0b45110302
commit 9f19244971
7 changed files with 120 additions and 11 deletions

View File

@ -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;