diff options
author | Robert Bragg <robert@linux.intel.com> | 2012-09-10 21:45:33 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2013-01-20 18:38:22 +0000 |
commit | 549de90a2948bb09bdf1397e968125ac5a77c0d7 (patch) | |
tree | 265e6ee7a7def44b15666e524cd1199ea5fa5338 /cogl/Makefile.am | |
parent | 5e61782972e5805e48a18221803be2fc718eb1c2 (diff) | |
download | cogl-549de90a2948bb09bdf1397e968125ac5a77c0d7.tar.gz |
texture-2d: factor out all GL specific code
This factors out all of the OpenGL specific code in cogl-texture-2d.c
into cogl-texture-2d-gl.c and where necessary adds indirection through
the CoglDriver vtable so that we can eventually start to experiment with
non-OpenGL backends for Cogl.
Reviewed-by: Neil Roberts <neil@linux.intel.com>
(cherry picked from commit ec57588671696bbe7ce714bdfe7324236146c9c0)
Diffstat (limited to 'cogl/Makefile.am')
-rw-r--r-- | cogl/Makefile.am | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cogl/Makefile.am b/cogl/Makefile.am index 604f7aa5..80ba70ec 100644 --- a/cogl/Makefile.am +++ b/cogl/Makefile.am @@ -118,6 +118,7 @@ cogl_experimental_h = \ $(srcdir)/cogl-poll.h \ $(srcdir)/cogl-texture-3d.h \ $(srcdir)/cogl-texture-2d.h \ + $(srcdir)/cogl-texture-2d-gl.h \ $(srcdir)/cogl-texture-rectangle.h \ $(srcdir)/cogl-texture-2d-sliced.h \ $(srcdir)/cogl-sub-texture.h \ @@ -147,6 +148,8 @@ cogl_gl_prototypes_h = \ # driver sources cogl_driver_sources = \ $(srcdir)/driver/gl/cogl-framebuffer-gl.c \ + $(srcdir)/driver/gl/cogl-texture-2d-gl-private.h \ + $(srcdir)/driver/gl/cogl-texture-2d-gl.c \ $(srcdir)/driver/gl/cogl-pipeline-opengl.c \ $(srcdir)/driver/gl/cogl-pipeline-opengl-private.h \ $(srcdir)/driver/gl/cogl-pipeline-fragend-glsl.c \ |