mutter/clutter/glx
Emmanuele Bassi 6988744db7 [stage] Rework the Stage implementation class
Instead of using ClutterActor for the base class of the Stage
implementation we should extend the StageWindow interface with
the required bits (geometry, realization) and use a simple object
class.

This require a wee bit of changes across Backend, Stage and
StageWindow, even though it's mostly re-shuffling.

First of all, StageWindow should get new virtual functions:

  * geometry:
    - resize()
    - get_geometry()

  * realization
    - realize()
    - unrealize()

This covers all the bits that we use from ClutterActor currently
inside the stage implementations.

The ClutterBackend::create_stage() virtual function should create
a StageWindow, and not an Actor (it should always have been; the
fact that it returned an Actor was a leak of the black magic going
on underneath). Since we never guaranteed ABI compatibility for
the Backend class, this is not a problem.

Internally to ClutterStage we can finally drop the shenanigans of
setting/unsetting actor flags on the implementation: if the realization
succeeds, for instance, we set the REALIZED flag on the Stage and
we're done.

As an initial proof of concept, the X11 and GLX stage implementations
have been ported to the New World Order(tm) and show no regressions.
2009-09-08 10:52:58 +01:00
..
clutter-backend-glx.c [stage] Rework the Stage implementation class 2009-09-08 10:52:58 +01:00
clutter-backend-glx.h [glx] Make the wait_for_vblank function private 2009-07-13 15:31:38 +01:00
clutter-glx-texture-pixmap.c Fix handling of not-visible texture pixmaps 2009-06-15 11:29:37 +01:00
clutter-glx-texture-pixmap.h 2008-06-30 Matthew Allum <mallum@openedhand.com> 2008-06-30 14:36:49 +00:00
clutter-glx.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-stage-glx.c [stage] Rework the Stage implementation class 2009-09-08 10:52:58 +01:00
clutter-stage-glx.h 2008-03-28 Matthew Allum <mallum@openedhand.com> 2008-03-28 22:50:55 +00:00
Makefile.am [build] GCC_FLAGS is no more, MAINTAINER_CFLAGS is the One. 2009-08-03 14:25:08 +01:00