summaryrefslogtreecommitdiffstats
path: root/configs/linux-osmesa
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2012-02-26 01:33:40 +0000
committerBrian Paul <[email protected]>2012-02-28 07:56:21 -0700
commitd9c42097770f173804c7c7c40bf8bc6c4400673b (patch)
treefb821050763953ef79708f56773444fbd9c66aa5 /configs/linux-osmesa
parentc51264c3792becba793ae139a901425799a23391 (diff)
mesa: Don't disable fast path for normalized types
Mesa has a fast path for the generic fallback when using glReadPixels for RGBA data which uses memcpy. However it was really difficult to hit this case because it would not be used if any transferOps are enabled. Any type apart from floating point or non-normalized integer types (so any of the common types) would force enabling clamping so the fast path could not be used. This patch makes it ignore clamping when determining whether to use the fast path if the data type of the buffer is an unsigned normalized type because in that case clamping will not have any effect anyway. https://bugs.freedesktop.org/show_bug.cgi?id=46631 NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'configs/linux-osmesa')
0 files changed, 0 insertions, 0 deletions