summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/g3dvl/tests/test_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/g3dvl/tests/test_context.c')
-rw-r--r--src/gallium/state_trackers/g3dvl/tests/test_context.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/gallium/state_trackers/g3dvl/tests/test_context.c b/src/gallium/state_trackers/g3dvl/tests/test_context.c
deleted file mode 100644
index 2002977ee2..0000000000
--- a/src/gallium/state_trackers/g3dvl/tests/test_context.c
+++ /dev/null
@@ -1,22 +0,0 @@
-#include <vl_context.h>
-#include <xsp_winsys.h>
-
-int main(int argc, char **argv)
-{
- const unsigned int video_width = 32, video_height = 32;
-
- Display *display;
- struct pipe_context *pipe;
- struct VL_CONTEXT *ctx;
-
- display = XOpenDisplay(NULL);
- pipe = create_pipe_context(display);
-
- vlCreateContext(display, pipe, video_width, video_height, VL_FORMAT_YCBCR_420, &ctx);
- vlDestroyContext(ctx);
-
- XCloseDisplay(display);
-
- return 0;
-}
-