diff options
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_pipe.c | 10 |
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 */ |