summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-07-08 12:03:13 +0200
committerChristian König <[email protected]>2011-07-08 12:03:13 +0200
commit2ec350ff1d9f13ec95d7b9d46f57ad9b9efcc8ea (patch)
tree64c473beacf39929a013d728b3639bdd98407f91 /src/gallium/drivers/r600/r600_pipe.c
parent7eca76952b6726be9459375dde7478a01789577e (diff)
[g3dvl] make pipe_context mandatory for creation pipe_video_context
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index 4b923f86704..9e0b0ea3e49 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -38,6 +38,7 @@
#include <util/u_memory.h>
#include <util/u_inlines.h>
#include "util/u_upload_mgr.h"
+#include <vl/vl_context.h>
#include <vl/vl_video_buffer.h>
#include "os/os_time.h"
#include <pipebuffer/pb_buffer.h>
@@ -47,7 +48,6 @@
#include "r600_shader.h"
#include "r600_pipe.h"
#include "r600_state_inlines.h"
-#include "r600_video_context.h"
/*
* pipe_context
@@ -301,6 +301,14 @@ static struct pipe_context *r600_create_context(struct pipe_screen *screen, void
return &rctx->context;
}
+static struct pipe_video_context *
+r600_video_create(struct pipe_screen *screen, struct pipe_context *pipe, void *priv)
+{
+ assert(screen && pipe);
+
+ return vl_create_context(pipe);
+}
+
/*
* pipe_screen
*/