texture-pixmap-x11: Move GLX code to cogl-winsys-glx.c
authorRobert Bragg <robert@linux.intel.com>
Tue, 1 Mar 2011 14:43:43 +0000 (14:43 +0000)
committerRobert Bragg <robert@linux.intel.com>
Thu, 5 May 2011 13:46:01 +0000 (14:46 +0100)
commit91bf1e24d45e46808a36be1468c9cbce53c8896a
tree0470430af22d89237c336ade8e22b091e947df37
parentc55cffbb6b5c75d2af073b7c5be857acb97b6acf
texture-pixmap-x11: Move GLX code to cogl-winsys-glx.c

This moves the GLX specific code from cogl-texture-pixmap-x11.c into
cogl-winsys-glx.c. If we want the winsys components to by dynamically
loadable then we can't have GLX code scattered outside of
cogl-winsys-glx.c. This also sets us up for supporting the
EGL_texture_from_pixmap extension which is almost identical to the
GLX_texture_from_pixmap extension.
clutter/cogl/cogl/winsys/cogl-texture-pixmap-x11-private.h
clutter/cogl/cogl/winsys/cogl-texture-pixmap-x11.c
clutter/cogl/cogl/winsys/cogl-winsys-egl.c
clutter/cogl/cogl/winsys/cogl-winsys-glx.c
clutter/cogl/cogl/winsys/cogl-winsys-private.h