Rework the interaction between the Cogl and GDK / X11 backends.
authorGiovanni Campagna <gcampagna@src.gnome.org>
Fri, 26 Aug 2011 22:16:12 +0000 (00:16 +0200)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 3 Nov 2011 13:45:17 +0000 (13:45 +0000)
commit9c102b7c516078d13703981ca1b8cd7affb17602
tree15816071693fe80ab7ab36557b655b4a6373cba0
parent610a9c17bacfe3106d59d3c450be6a07cd26490a
Rework the interaction between the Cogl and GDK / X11 backends.

Previously, the Cogl backend was at times a subclass of the X11
backend, and at times a standalone one. Now it is the other way
round, with GDK and X11 backends providing the concrete classes,
layered on top of the generic Cogl backend. A new EglNative backend
was introduced for direct to framebuffer rendering. This greatly
simplifies the API design (at the expense of some casts needed)
and reduces the amount of #ifdefs, without duplicating code.

https://bugzilla.gnome.org/show_bug.cgi?id=657434
21 files changed:
clutter/Makefile.am
clutter/cogl/clutter-backend-cogl.c
clutter/cogl/clutter-backend-cogl.h
clutter/cogl/clutter-stage-cogl.c
clutter/cogl/clutter-stage-cogl.h
clutter/egl/clutter-backend-eglnative.c [new file with mode: 0644]
clutter/egl/clutter-backend-eglnative.h [new file with mode: 0644]
clutter/egl/clutter-cex100.h [new file with mode: 0644]
clutter/egl/clutter-event-tslib.c [moved from clutter/cogl/clutter-event-tslib.c with 98% similarity]
clutter/gdk/clutter-backend-gdk.c
clutter/gdk/clutter-backend-gdk.h
clutter/gdk/clutter-stage-gdk.c
clutter/gdk/clutter-stage-gdk.h
clutter/x11/clutter-backend-x11.c
clutter/x11/clutter-backend-x11.h
clutter/x11/clutter-glx-texture-pixmap.c [moved from clutter/cogl/clutter-glx-texture-pixmap.c with 100% similarity]
clutter/x11/clutter-glx-texture-pixmap.h [moved from clutter/cogl/clutter-glx-texture-pixmap.h with 100% similarity]
clutter/x11/clutter-glx.h [moved from clutter/cogl/clutter-glx.h with 100% similarity]
clutter/x11/clutter-stage-x11.c
clutter/x11/clutter-stage-x11.h
configure.ac