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: [email protected]
        ReportedBy: [email protected]


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.
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to