Design and implement API to blit from CoglOnscreen into arbitrary CoglFramebuffers
This was raised in context of !2804 (comment 1694304)
I cannot imagine the final shape of this API, but my preliminary thoughts are:
typedef enum {
COGL_ONSCREEN_BLIT_SOURCE_FRONT_BUFFER,
COGL_ONSCREEN_BLIT_SOURCE_BACK_BUFFER,
} CoglOnscreenBlitSource;
void cogl_onscreen_blit_framebuffer (CoglOnscreen *onscreen,
CoglOnscreenBlitSource blit_source,
CoglFramebuffer *framebuffer);
Is it problematic to read from the front buffer while it is being locked / displayed?