[Mesa-dev] [PATCH 20/24] swrast: Drop the remaining GetRow-based glReadPixels() fast-path.

Brian Paul brian.e.paul at gmail.com
Sat Oct 29 10:43:37 PDT 2011


On Fri, Oct 28, 2011 at 1:50 PM, Eric Anholt <eric at anholt.net> wrote:
> In all of piglit, only two tests hit it (reading to RGBA float, where
> GetRow would drop floats into place from R, RG, or RGB).

So if an app does glReadPixels(format=GL_RGBA, type=GL_UNSIGNED_BYTE)
is it a slow path now?

In the past, quite a few apps that used glReadPixels used that
format/type combo, or GL_RGB/GLubyte.  I think it would be good to
keep those off a slow path that involves a lot of ubyte/float
conversion.

-Brian


More information about the mesa-dev mailing list