DescriptionClear the scaled bitmap before drawing into it for huge UIResources.
When the UIResource is larger than max_texture_size, we downsample it
into a smaller bitmap. However floating point precision can cause some
of the pixels to not be fully initialized if the scale doesn't exactly
cause the bitmap to be filled. So clear the bitmap before doing this
scaling operation into it.
R=enne
BUG=642011
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/8d737f8882e170b93ec3224642fa7f6a552817f3
Cr-Commit-Position: refs/heads/master@{#415124}
Patch Set 1 #Patch Set 2 : uninit-scrollbars: . #
Messages
Total messages: 12 (7 generated)
|