Use cairo-gl in clients

This commit is contained in:
Kristian Høgsberg 2010-06-08 14:08:30 -04:00
parent 2cdc18452e
commit a85fe3cf45
5 changed files with 204 additions and 99 deletions

View file

@ -339,12 +339,8 @@ handle_frame(void *data,
uint32_t frame, uint32_t timestamp)
{
struct gears *gears = data;
EGLint name, stride;
eglExportDRMImageMESA(gears->display,
gears->image, &name, NULL, &stride);
window_copy(gears->window, &gears->rectangle, name, stride);
window_copy_image(gears->window, &gears->rectangle, gears->image);
window_commit(gears->window, 10);