mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
0f613ea134
By using a new signal, ::create-surface (width, height), it should be possible for third party code and sub-classes to override the default surface creation code in CairoSurface. This commit takes a bit of the patch from: http://bugzilla.clutter-project.org/show_bug.cgi?id=1878 which cleans up CairoTexture; the idea, mutuated from that bug, is that the CairoTexture actor checks whether the surface it has it's an image one, and in that case it uses a Cogl texture as the backing store. In case the surface is not an image one we assume that the surface itself has some way of updating the GL state and flush the surface.
24 lines
401 B
Plaintext
24 lines
401 B
Plaintext
BOOLEAN:BOXED
|
|
BOOLEAN:STRING,UINT,ENUM
|
|
BOXED:UINT,UINT
|
|
DOUBLE:VOID
|
|
UINT:VOID
|
|
VOID:BOXED
|
|
VOID:BOXED,FLAGS
|
|
VOID:INT
|
|
VOID:INT64,INT64,FLOAT,BOOLEAN
|
|
VOID:INT,INT
|
|
VOID:FLOAT,FLOAT
|
|
VOID:INT,INT,INT,INT
|
|
VOID:OBJECT
|
|
VOID:OBJECT,FLOAT,FLOAT
|
|
VOID:OBJECT,FLOAT,FLOAT,FLAGS
|
|
VOID:OBJECT,PARAM
|
|
VOID:OBJECT,POINTER
|
|
VOID:POINTER
|
|
VOID:STRING,BOOLEAN,BOOLEAN
|
|
VOID:STRING,INT
|
|
VOID:UINT
|
|
VOID:VOID
|
|
VOID:STRING,INT,POINTER
|