[Mesa-dev] [Bug 46631] It's really hard to hit the fast path for the fallback glReadPixels code
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Feb 26 09:09:52 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=46631
--- Comment #3 from Neil Roberts <neil at linux.intel.com> 2012-02-26 09:09:52 PST ---
Created attachment 57665
--> https://bugs.freedesktop.org/attachment.cgi?id=57665
readpix: 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.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list