summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_screen.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-05-29 12:30:58 +0200
committerChristian König <[email protected]>2011-05-29 13:53:17 +0200
commit0e886219193472be2203f2afccea84029f014dbd (patch)
treebf83e18637fa76b96303e7a034ede923f4f4a9a4 /src/gallium/drivers/r300/r300_screen.c
parent311eb749a1ab7ffd417bc456345d63eba75e3fec (diff)
Initial r300g support
Based uppon a patch from Pali Rohár <[email protected]>. This seems to get at least YUV->RGB conversion working. So a simple "mplayer -vo vdpau" now seems to work fine.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r--src/gallium/drivers/r300/r300_screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c
index 7a1366a4f8f..240b841ed2a 100644
--- a/src/gallium/drivers/r300/r300_screen.c
+++ b/src/gallium/drivers/r300/r300_screen.c
@@ -31,6 +31,7 @@
#include "r300_screen_buffer.h"
#include "r300_state_inlines.h"
#include "r300_public.h"
+#include "r300_video_context.h"
#include "draw/draw_context.h"
@@ -511,7 +512,7 @@ struct pipe_screen* r300_screen_create(struct radeon_winsys *rws)
r300screen->screen.get_paramf = r300_get_paramf;
r300screen->screen.is_format_supported = r300_is_format_supported;
r300screen->screen.context_create = r300_create_context;
-
+ r300screen->screen.video_context_create = r300_video_create;
r300screen->screen.fence_reference = r300_fence_reference;
r300screen->screen.fence_signalled = r300_fence_signalled;
r300screen->screen.fence_finish = r300_fence_finish;