Chromium Code Reviews
DescriptionFix preserve backbuffer with native GMBs.
The implementation of BackTexture::Copy was using glCopyTexImage2D, which
reallocates storage for the BackTexture. This doesn't work with native GMBs,
since they don't use traditional GL storage mechanisms. Switching to
glCopyTexSubImage2D fixes the problem, and is more efficient since storage has
already been allocated.
BUG=627332
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel
Committed: https://crrev.com/2fc766777b27679b88b84561068ef189d550294a
Cr-Commit-Position: refs/heads/master@{#404945}
Patch Set 1 #
Messages
Total messages: 21 (12 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||