From fe0e7f9f74358d8333135e51d9c3937ce7e59967 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 27 Jul 2009 15:42:31 +0100 Subject: [PATCH] [stage] Add a warning for :offscreen usage The Stage:offscreen property hasn't been tested for ages, and it should really just use a FBO, not indirect rendering on a X Pixmap only on X11. There are better ways anyway to get the current contents of ClutterStage as a buffer anyway. We might remove it at any later date, or actually make it work properly. --- clutter/clutter-stage.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c index aa306500d..21d5e2535 100644 --- a/clutter/clutter-stage.c +++ b/clutter/clutter-stage.c @@ -797,6 +797,10 @@ clutter_stage_class_init (ClutterStageClass *klass) * ClutterStage:offscreen: * * Whether the stage should be rendered in an offscreen buffer. + * + * Not every backend supports redirecting the + * stage to an offscreen buffer. This property might not work + * and it might be deprecated at any later date. */ pspec = g_param_spec_boolean ("offscreen", "Offscreen",