diff options
author | Eric Anholt <eric@anholt.net> | 2007-08-17 16:46:48 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-08-17 16:46:48 -0700 |
commit | 9ad33dd65a79277ef75a6e95373614852725f5a9 (patch) | |
tree | 5b9862fc2ca2e9df0653241e9756352a380f96b5 /src/i830_video.h | |
parent | 3655a1ecb62f6c387a16fa87cf6f00bf7835dce4 (diff) |
Use i830_memory.c instead of the AA's allocator for XV buffers.
This should fix issues with XV being allocated into XAA's tiled pixmap
cache and resulting bad rendering. Its also brings us closer to being able
to shrink the size of the pixmap cache on XAA, which is of limited utility.
Diffstat (limited to 'src/i830_video.h')
-rw-r--r-- | src/i830_video.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/i830_video.h b/src/i830_video.h index 7e2d1498..23954e15 100644 --- a/src/i830_video.h +++ b/src/i830_video.h @@ -27,18 +27,6 @@ THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include "xf86.h" #include "xf86_OSproc.h" -/* Ugly mess to support the old XF86 allocator or EXA using the same code. - */ -struct linear_alloc { -#ifdef I830_USE_XAA - FBLinearPtr xaa; -#endif -#ifdef I830_USE_EXA - ExaOffscreenArea *exa; -#endif - unsigned int offset; -}; - typedef struct { CARD32 YBuf0offset; CARD32 UBuf0offset; @@ -70,7 +58,7 @@ typedef struct { CARD32 videoStatus; Time offTime; Time freeTime; - struct linear_alloc linear; + i830_memory *buf; /** YUV data buffer */ unsigned int extra_offset; Bool overlayOK; |