summaryrefslogtreecommitdiff
path: root/src/intel.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-11-03 20:41:31 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2011-11-03 20:41:31 +0000
commit2174f840158aa9cfa370ade38be28f8dc8e4b526 (patch)
tree5bf8a4b76b68582a09eea7f330b86ea0639c3bce /src/intel.h
parenta1b40a20bbba4b70990a8983a2916d3d5850d828 (diff)
uxa: Remove caching of surface binding location
If the pixmap were to be used multiple times within a batch with mulitple formats, the cache would only return the initial location with the incorrect format and so cause rendering glitches. For instance, GTK+ uses the same pixmap as an xrgb source and as an argb mask in order to premultiply and composite in a single pass. Rather than introduce an overly complication caching (handle, format) mechanism, kiss and remove the invalid implementation. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40926 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/intel.h')
-rw-r--r--src/intel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/intel.h b/src/intel.h
index 4acd0f28..3b3f87d3 100644
--- a/src/intel.h
+++ b/src/intel.h
@@ -176,7 +176,6 @@ struct intel_pixmap {
struct list flush, batch, in_flight;
- uint16_t src_bound, dst_bound;
uint16_t stride;
uint8_t tiling;
int8_t busy :2;