summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_context.c
diff options
context:
space:
mode:
authorMaarten Lankhorst <[email protected]>2012-12-02 12:07:35 +0100
committerMaarten Lankhorst <[email protected]>2013-01-16 17:44:09 +0100
commit4fad211502d8fcc6a4906549e6458b3306dcc27c (patch)
treedd44ceebbaabab26d044830904abc90919a28f50 /src/gallium/drivers/nvc0/nvc0_context.c
parent4b8af72f96825cba8519b2c381ccde42decb69d3 (diff)
nvc0: Add support for video buffer
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_context.c')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_context.c b/src/gallium/drivers/nvc0/nvc0_context.c
index 23059a097b9..75bd1551b8f 100644
--- a/src/gallium/drivers/nvc0/nvc0_context.c
+++ b/src/gallium/drivers/nvc0/nvc0_context.c
@@ -261,7 +261,8 @@ nvc0_create(struct pipe_screen *pscreen, void *priv)
draw_set_rasterize_stage(nvc0->draw, nvc0_draw_render_stage(nvc0));
#endif
- nouveau_context_init_vdec(&nvc0->base);
+ pipe->create_video_decoder = nvc0_create_decoder;
+ pipe->create_video_buffer = nvc0_video_buffer_create;
/* shader builtin library is per-screen, but we need a context for m2mf */
nvc0_program_library_upload(nvc0);