[Mesa-dev] [Bug 46631] New: It's really hard to hit the fast path for the fallback glReadPixels code

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Feb 25 17:42:13 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=46631

             Bug #: 46631
           Summary: It's really hard to hit the fast path for the fallback
                    glReadPixels code
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: neil at linux.intel.com


The generic implementation of glReadPixels has two implementations; one that
just memcpy's the data and one that painfully converts each pixel to floats and
back. The first fast-path implementation is really hard to hit because it
doesn't support any transfer ops and Mesa will enable clamping for all of the
common formats. We should be able to ignore clamping in the fast path for the
common case where the format is unsigned normalized and it wouldn't achieve
anything 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