mutter/clutter/x11
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-x11-private.h 2008-01-31 Rob Bradford <rob@openedhand.com> 2008-01-31 11:24:11 +00:00
clutter-backend-x11.c Add new Atom atom_NET_WM_PID to set pid info 2009-08-14 12:41:01 +01:00
clutter-backend-x11.h Add new Atom atom_NET_WM_PID to set pid info 2009-08-14 12:41:01 +01:00
clutter-event-x11.c [x11] Fix the race between resize and glViewport calls 2009-07-01 15:30:21 +01:00
clutter-stage-x11.c [stage] Rework the Stage implementation class 2009-09-08 10:52:58 +01:00
clutter-stage-x11.h [x11] Rework map/unmap and resizing 2009-06-04 16:30:32 +01:00
clutter-x11-enum-types.c.in 2008-06-30 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-30 15:03:42 +00:00
clutter-x11-enum-types.h.in 2008-06-30 Emmanuele Bassi <ebassi@openedhand.com> 2008-06-30 15:03:42 +00:00
clutter-x11-texture-pixmap.c Always create the Damage object for ClutterX11TexturePixmap auto updates 2009-07-27 10:49:38 +01:00
clutter-x11-texture-pixmap.h 2008-10-30 Emmanuele Bassi <ebassi@linux.intel.com> 2008-10-30 17:04:34 +00:00
clutter-x11.h [input] Rework input device API 2009-06-19 13:12:05 +01:00
clutter-x11.pc.in Bug 1491 - Fix hardcoded lib path in .pc files 2009-03-09 10:45:09 +00:00
Makefile.am [build] GCC_FLAGS is no more, MAINTAINER_CFLAGS is the One. 2009-08-03 14:25:08 +01:00