summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/egl-static/SConscript
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2011-02-05 10:21:11 +0000
committerChris Wilson <[email protected]>2011-02-24 16:43:39 +0000
commitc0ad70ae31ee5501281b434d56e389fc92b13a3a (patch)
tree9abb008709a055cb22be5f949271ba53c3822d5b /src/gallium/targets/egl-static/SConscript
parent11b9f4439c56045a8f718e483844135dd9fbcb58 (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/targets/egl-static/SConscript')
0 files changed, 0 insertions, 0 deletions