From 7dd3eda029c31ad0292237ba0fb6200a4bfac299 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 26 Jun 2008 14:17:16 +0000 Subject: [PATCH] Update the backends hacking documentation --- HACKING.backends | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/HACKING.backends b/HACKING.backends index 5908de16a..4f497f6c7 100644 --- a/HACKING.backends +++ b/HACKING.backends @@ -90,6 +90,9 @@ can be overridden: from the GL or GLES implementation, plus the eventual backend-specific features. + ClutterBackend::get_display_size + -- Use this function to retrieve the size of the display. + ClutterBackend::ensure_context -- This function is used to ensure that the backend drawing context is made current for passed ClutterStage, using the backend-specific @@ -126,7 +129,7 @@ the stage implementation should: - create a new native window handle - 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 In case of failure, the CLUTTER_ACTOR_REALIZED flag should be unset on