[Mesa-dev] [PATCH] st/mesa: Validate state before doing blits.

Marek Olšák maraeo at gmail.com
Wed Mar 23 15:53:11 PDT 2011

On Wed, Mar 23, 2011 at 10:02 PM, Henri Verbeet <hverbeet at gmail.com> wrote:

> Specifically, this ensures things like the front buffer actually exist.
> This
> fixes piglt fbo/fbo-sys-blit and fd.o bug 35483. One concern is that
> st_validate_state() looks expensive, are there any cheaper options?

Maybe we should only validate the states needed by the caller. There is no
need to validate every one of them, especially if some are both unused &
changed by the user afterwards.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110323/ce4df108/attachment.html>

More information about the mesa-dev mailing list