[Mesa-dev] Mesa (master): intel: Try using glCopyTexSubImage2D in _mesa_meta_BlitFramebuffer

José Fonseca jfonseca at vmware.com
Thu Feb 24 09:15:26 PST 2011

On Thu, 2011-02-24 at 08:43 -0800, Chris Wilson wrote:
> Module: Mesa
> Branch: master
> Commit: c0ad70ae31ee5501281b434d56e389fc92b13a3a
> URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c0ad70ae31ee5501281b434d56e389fc92b13a3a
> Author: Neil Roberts <neil at linux.intel.com>
> Date:   Sat Feb  5 10:21:11 2011 +0000
> intel: Try using glCopyTexSubImage2D in _mesa_meta_BlitFramebuffer
> In the case where glBlitFramebuffer is being used to copy to a texture
> without scaling it is faster if we can use the hardware to do a blit
> rather than having to do a texture render. In most of the drivers
> glCopyTexSubImage2D will use a blit so this patch makes it check for
> when glBlitFramebuffer is doing a simple copy and then divert to
> glCopyTexSubImage2D.
> This was originally proposed as an extension to the common meta-ops.
> However, it was rejected as using the BLT is only advantageous for Intel
> hardware.

That doesn't make sense -- as long is it is not disadvantageous for
other hardware it should be perfectly fine to put in the shared


More information about the mesa-dev mailing list