diff options
author | Christian König <deathsimple@vodafone.de> | 2011-05-29 12:30:58 +0200 |
---|---|---|
committer | Christian König <deathsimple@vodafone.de> | 2011-05-29 13:53:17 +0200 |
commit | 0e886219193472be2203f2afccea84029f014dbd (patch) | |
tree | bf83e18637fa76b96303e7a034ede923f4f4a9a4 /src/gallium/drivers/r300/r300_screen.c | |
parent | 311eb749a1ab7ffd417bc456345d63eba75e3fec (diff) | |
download | external_mesa3d-0e886219193472be2203f2afccea84029f014dbd.zip external_mesa3d-0e886219193472be2203f2afccea84029f014dbd.tar.gz external_mesa3d-0e886219193472be2203f2afccea84029f014dbd.tar.bz2 |
Initial r300g support
Based uppon a patch from Pali Rohár <pali.rohar@gmail.com>.
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.c | 3 |
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 7a1366a..240b841 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; |