backend-glx: Provide copy_sub_buffer fallback
authorAdel Gadllah <adel.gadllah@gmail.com>
Sat, 5 Jun 2010 10:51:32 +0000 (12:51 +0200)
committerRobert Bragg <robert@linux.intel.com>
Wed, 9 Jun 2010 01:10:08 +0000 (02:10 +0100)
commit630a2c5edcd572ea77d0a52026115fc01e5ec14a
tree872fcb4fa20a78ea86afb7c089bd0d66e2d0c874
parentac3e0150edd8da7dceb2933309fc5e4f15f1e38a
backend-glx: Provide copy_sub_buffer fallback

Currently glXCopySubBufferMESA is used for sub stage redraws, but in case
a driver does not support GLX_MESA_copy_sub_buffer we fall back to redrawing
the complete stage which isn't really optimal.

So instead to directly fallback to complete redraws try using GL_EXT_framebuffer_blit
to do the BACK to FRONT buffer copies.

http://bugzilla.openedhand.com/show_bug.cgi?id=2128
clutter/glx/clutter-backend-glx.c
clutter/glx/clutter-backend-glx.h
clutter/glx/clutter-stage-glx.c