diff options
author | Neil Roberts <[email protected]> | 2011-02-05 10:21:11 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2011-02-24 16:43:39 +0000 |
commit | c0ad70ae31ee5501281b434d56e389fc92b13a3a (patch) | |
tree | 9abb008709a055cb22be5f949271ba53c3822d5b /src/gallium/auxiliary/rtasm/rtasm_execmem.h | |
parent | 11b9f4439c56045a8f718e483844135dd9fbcb58 (diff) |
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.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=33934
Signed-off-by: Chris Wilson <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/rtasm/rtasm_execmem.h')
0 files changed, 0 insertions, 0 deletions