[Mesa-dev] glReadPixels broken w/ latest MapRenderbuffer changes

Eric Anholt eric at anholt.net
Fri Nov 4 14:48:48 PDT 2011


On Fri, 04 Nov 2011 07:31:54 -0600, Brian Paul <brianp at vmware.com> wrote:
> The pure, non-DRI swrast driver dies in all glReadPixels calls when 
> reading from the front/back color buffers.  So basically all piglit 
> tests fail.
> 
> I think that the problem is there is no rb->Data for these surfaces; 
> they're XImages/Pixmaps.  The xlib driver needs to have 
> Map/UnmapRenderbuffer functions that can access the pixels in the 
> XImage/Pixmaps.
> 
> Sorry I didn't spot that before you pushed the series, Eric.
> 
> I may not be able to dig into this until later, or the weekend.

Wow, the spans code for that driver is hideous.  Who still uses it?
Also, color index?  Really?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20111104/0ae6525d/attachment.pgp>


More information about the mesa-dev mailing list