[clutter] cogl/backend: Remove ensure_context()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] cogl/backend: Remove ensure_context()
- Date: Thu, 10 Nov 2011 15:04:31 +0000 (UTC)
commit 0c02e8adb31413e4d19c101a94da91834558b9b3
Author: Emmanuele Bassi <ebassi linux intel com>
Date: Thu Nov 3 16:46:48 2011 +0000
cogl/backend: Remove ensure_context()
We have a default implementation for it, now.
clutter/cogl/clutter-backend-cogl.c | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/clutter/cogl/clutter-backend-cogl.c b/clutter/cogl/clutter-backend-cogl.c
index af0ad14..b5b8d9e 100644
--- a/clutter/cogl/clutter-backend-cogl.c
+++ b/clutter/cogl/clutter-backend-cogl.c
@@ -170,22 +170,6 @@ clutter_backend_cogl_get_features (ClutterBackend *backend)
}
static void
-clutter_backend_cogl_ensure_context (ClutterBackend *backend,
- ClutterStage *stage)
-{
- ClutterStageCogl *stage_cogl;
-
- /* ignore ensuring the context on an empty stage */
- if (stage == NULL)
- return;
-
- stage_cogl =
- CLUTTER_STAGE_COGL (_clutter_stage_get_window (stage));
-
- cogl_set_framebuffer (COGL_FRAMEBUFFER (stage_cogl->onscreen));
-}
-
-static void
_clutter_backend_cogl_class_init (ClutterBackendCoglClass *klass)
{
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
@@ -198,7 +182,6 @@ _clutter_backend_cogl_class_init (ClutterBackendCoglClass *klass)
backend_class->pre_parse = clutter_backend_cogl_pre_parse;
backend_class->post_parse = clutter_backend_cogl_post_parse;
backend_class->get_features = clutter_backend_cogl_get_features;
- backend_class->ensure_context = clutter_backend_cogl_ensure_context;
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]