mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 11:30:45 -05:00
Update the backends hacking documentation
This commit is contained in:
parent
fd3dde7133
commit
7dd3eda029
@ -90,6 +90,9 @@ can be overridden:
|
|||||||
from the GL or GLES implementation, plus the eventual backend-specific
|
from the GL or GLES implementation, plus the eventual backend-specific
|
||||||
features.
|
features.
|
||||||
|
|
||||||
|
ClutterBackend::get_display_size
|
||||||
|
-- Use this function to retrieve the size of the display.
|
||||||
|
|
||||||
ClutterBackend::ensure_context
|
ClutterBackend::ensure_context
|
||||||
-- This function is used to ensure that the backend drawing context
|
-- This function is used to ensure that the backend drawing context
|
||||||
is made current for passed ClutterStage, using the backend-specific
|
is made current for passed ClutterStage, using the backend-specific
|
||||||
@ -126,7 +129,7 @@ the stage implementation should:
|
|||||||
|
|
||||||
- create a new native window handle
|
- create a new native window handle
|
||||||
- if the backend doesn't have a drawing context (either GL or GLES),
|
- if the backend doesn't have a drawing context (either GL or GLES),
|
||||||
create one and assing it to the backend
|
create one and pass it to the backend
|
||||||
- set the CLUTTER_ACTOR_REALIZED flag on itself
|
- set the CLUTTER_ACTOR_REALIZED flag on itself
|
||||||
|
|
||||||
In case of failure, the CLUTTER_ACTOR_REALIZED flag should be unset on
|
In case of failure, the CLUTTER_ACTOR_REALIZED flag should be unset on
|
||||||
|
Loading…
Reference in New Issue
Block a user