diff options
author | root <root@cr-znh.(none)> | 2008-08-11 15:31:13 +0800 |
---|---|---|
committer | root <root@cr-znh.(none)> | 2008-08-11 15:31:13 +0800 |
commit | 19ebdf1b24184c0a293a698d44c4e0571109d153 (patch) | |
tree | 1f0e41ef72951b7f8fee481338cd19e0ff2919c7 /src/i965_video.c | |
parent | 277632d8c37cf43c7c1178ae7d5a2e6d5705968c (diff) |
[i965-xvmc] bypass copy when put image with xvmc
Diffstat (limited to 'src/i965_video.c')
-rw-r--r-- | src/i965_video.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i965_video.c b/src/i965_video.c index 4572e137..eaf6c01f 100644 --- a/src/i965_video.c +++ b/src/i965_video.c @@ -37,6 +37,7 @@ #include "i830.h" #include "i830_video.h" +#include "i830_hwmc.h" #include "brw_defines.h" #include "brw_structs.h" #include <string.h> @@ -248,6 +249,9 @@ I965DisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id, src_pitch[0] = video_pitch; n_src_surf = 1; break; +#ifdef INTEL_XVMC + case FOURCC_XVMC: +#endif case FOURCC_I420: case FOURCC_YV12: src_surf_format = BRW_SURFACEFORMAT_R8_UNORM; |