Chromium Code Reviews
Descriptioncc: 9patch: fix scaling shadow issue
The NinePatchLayer receives parameters in different coordinate spaces
(source image space & destination layer space).
Unfortunately 8b134c7492731333fabeda5e358f0604ae5f565e made the assumption
that scaling factors for both coordinate system would be the same. This
isn't true as the image space might be scaled on hidpi display while the
layer space is not yet scaled for hidpi, this happens later after the quads
are emitted.
BUG=607033
TEST=verify windows' shadows are visible on hidpi display (for example on link)
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Patch Set 1 #Patch Set 2 : Drop my own debugging LOG(ERROR) #Patch Set 3 : Fix invalid occlusion area #
Total comments: 6
Patch Set 4 : Split test helpers #
Total comments: 2
Patch Set 5 : Fix rounded corners #
Messages
Total messages: 20 (5 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||