mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
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:
parent
faaff03730
commit
8ae47eb79c
@ -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 \
|
||||
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user