summaryrefslogtreecommitdiff
path: root/src/radeon.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-07-14 14:05:13 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-07-14 14:05:13 -0400
commit5473eeeb45468fd200fec49a8506281628a5e4b5 (patch)
tree03fe2eb2dc8d6c60f229855f57567c11108bdb19 /src/radeon.h
parent0485f27bc3d75cb6ab320e8164dbe6ea2713c78e (diff)
R3/4/5xx: only upload the bicubic texture once
Upload the bicubic texture once during textured video init rather than once per frame. Suggested by Michel Daenzer on IRC.
Diffstat (limited to 'src/radeon.h')
-rw-r--r--src/radeon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon.h b/src/radeon.h
index ad9a9088..3c62fd93 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -999,6 +999,10 @@ typedef struct {
Bool cs;
#endif
+ /* Xv bicubic filtering */
+ struct radeon_bo *bicubic_bo;
+ void *bicubic_memory;
+ int bicubic_offset;
} RADEONInfoRec, *RADEONInfoPtr;
#define RADEONWaitForFifo(pScrn, entries) \