Chromium Code Reviews
DescriptionUse gfx::Rect::Intersect() to clip for CopyTex{Sub}Image functions.
Also, if after the clipping, the area is empty, then no need to
process further for *Sub* functions - this gets rid of the overflow
issues in the following numerical computation.
BUG=654792, 654791
TEST=gpu_unittests,webgl_conformance,affected gpu_fuzzer
R=piman@chromium.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Committed: https://crrev.com/383d5dae3a02d516009ec4ae517e0a433877144f
Cr-Commit-Position: refs/heads/master@{#424798}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 15 (9 generated)
|
||||||||||||||||||||||||||||