[Mesa-dev] [PATCH] i965/aub: Dump a final bitmap from DestroyContext.

Jose Fonseca jfonseca at vmware.com
Fri Mar 30 03:12:04 PDT 2012


----- Original Message -----
> Certain applications don't call SwapBuffers before exiting.  Yet,
> we'd
> really like to see a bitmap containing the final rendered image even
> if
> they choose never to present it.
> 
> In particular, Piglit tests (at least with -auto -fbo) fall into this
> category.  Many of them failed to dump any images at all.
>
> Dumping one final image at context destruction time seems to solve
> the
> issue.

Another alternative would be for piglit and mesa should use/implement http://www.opengl.org/registry/specs/GREMEDY/frame_terminator.txt , so that the whole stack has a precise knowledge of where frames are.

Jose


More information about the mesa-dev mailing list