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

Ian Romanick idr at freedesktop.org
Fri Feb 25 08:29:23 PST 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/24/2011 09:15 AM, José Fonseca wrote:
> 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
> component.

That was initially suggested, but some of the radeon folks objected.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk1n2OMACgkQX1gOwKyEAw/umwCgjERqFQGKStJhpwqmnEqnUBJT
Om0Anigjj8PCsKY+u+VdBw9bq/tMF/TX
=7bGK
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list