[Mesa-dev] Mesa (master): radeon: update flush according to glXMakeCurrent man page

Eric Anholt eric at anholt.net
Mon Dec 5 15:01:41 PST 2011


On Mon,  5 Dec 2011 11:21:21 -0800 (PST), airlied at kemper.freedesktop.org (Dave Airlie) wrote:
> Module: Mesa
> Branch: master
> Commit: 4ed8a585840865550bb9acac38c5ef26670a1fb8
> URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ed8a585840865550bb9acac38c5ef26670a1fb8
> 
> Author: Dave Airlie <airlied at redhat.com>
> Date:   Fri Nov 11 15:55:30 2011 +0000
> 
> radeon: update flush according to glXMakeCurrent man page
> 
> This also copies code from intel driver to do this.
> 
> Signed-off-by: Dave Airlie <airlied at redhat.com>

It actually looks like neither of us should need it, or the core test is
broken.  From context.c:

   if (curCtx && 
      (curCtx->WinSysDrawBuffer || curCtx->WinSysReadBuffer) &&
       /* make sure this context is valid for flushing */
      curCtx != newCtx)
      _mesa_flush(curCtx);
-------------- 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/20111205/b56da35d/attachment.pgp>


More information about the mesa-dev mailing list