summaryrefslogtreecommitdiff
path: root/src/radeon_video.h
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2009-04-21 04:47:43 -0400
committerAlex Deucher <alexdeucher@gmail.com>2009-04-21 04:47:43 -0400
commit0e5164d968316bbb59b4484a7df087854738068f (patch)
tree90fbd6aab4f8bb7aa20dbe07ee7708bc2bb6696e /src/radeon_video.h
parent06a1b4169b506f69dd807380d9ce7210b3a3bc23 (diff)
Tex vid: rework part 2
- use pPriv->w/h directly for tex coords - take src x/y offset into account when calculating tex coords - when copying data, only optimize for y clipping. In order to deal with the x clipping optimization, the copy routines or tex coords would need to be fixed. This should fix clipping problems with the current code.
Diffstat (limited to 'src/radeon_video.h')
-rw-r--r--src/radeon_video.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/radeon_video.h b/src/radeon_video.h
index 3f8f5e0e..0cf8168b 100644
--- a/src/radeon_video.h
+++ b/src/radeon_video.h
@@ -118,6 +118,7 @@ typedef struct {
int src_w, src_h, dst_w, dst_h;
int w, h;
int drw_x, drw_y;
+ int src_x, src_y;
int vsync;
} RADEONPortPrivRec, *RADEONPortPrivPtr;