interactive: Remove test-offscreen

The test-offscreen interactive test was a dummy test for the
ClutterStage:offscreen property, which has been deprecated and
not implemented since Clutter 1.0, and never really worked except
briefly in Clutter 0.2 or something.
This commit is contained in:
Emmanuele Bassi 2010-12-16 15:08:11 +00:00
parent faaff03730
commit 8ae47eb79c
2 changed files with 0 additions and 33 deletions

View File

@ -5,7 +5,6 @@ UNIT_TESTS = \
test-texture-async.c \
test-texture-material.c \
test-events.c \
test-offscreen.c \
test-scale.c \
test-actors.c \
test-actor-clone.c \

View File

@ -1,32 +0,0 @@
#include <gmodule.h>
#include <clutter/clutter.h>
/* Very simple test just to see what happens setting up offscreen rendering */
G_MODULE_EXPORT int
test_offscreen_main (int argc, char *argv[])
{
ClutterActor *stage;
gboolean offscreen;
clutter_init (&argc, &argv);
stage = clutter_stage_get_default ();
/* Attempt to set up rendering offscreen */
g_object_set (stage, "offscreen", TRUE, NULL);
/* See if it worked */
g_object_get (stage, "offscreen", &offscreen, NULL);
if (offscreen == FALSE)
printf ("FAIL: Unable to setup offscreen rendering\n.");
else
printf ("SUCCESS: Able to setup offscreen rendering\n.");
clutter_actor_show_all (CLUTTER_ACTOR (stage));
clutter_main();
return 0;
}