summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2009-09-09 12:09:05 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2009-09-09 12:40:15 +0100
commit1a77ca74bc829e019a06fe9ad559f013054c27ff (patch)
tree255a4067c219d3d0e5c49106c335e384da72f8d0 /src/i830.h
parentce10b5b6fca086eb4af45c1db28352e06ee4ce0b (diff)
i915: Restore nearest sampling
My recent commit [94fc93] to use the pixel centre for sampling with the i830 broke the i915. This restores the previous sampling coordinates for the i915 whilst preserving the correct coordinates for i830. Fixes: gnome characters disappear http://bugs.freedesktop.org/show_bug.cgi?id=23803 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830.h b/src/i830.h
index c8002b48..c3b0d022 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -467,6 +467,7 @@ typedef struct _I830Rec {
float scale_units[2][2];
/** Transform pointers for src/mask, or NULL if identity */
PictTransform *transform[2];
+ float dst_coord_adjust;
float src_coord_adjust;
float mask_coord_adjust;