DescriptionChange the scale factor of texture_size from the layer's one to an estimation.
The phantom window appearing in a different DPI device could be wrongly scaled
without doing this, since the original texture is calculated in the original
DPI but rendered in another display.
BUG=145968
TEST=run chromeos-chrome with --aura-host-window-size='0+0-500x500,600+0-500x500*2' --force-compositing-mode on linux, open a web page, and drag the window across the screens.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158099
Patch Set 1 #
Total comments: 2
Patch Set 2 : fix comments #Patch Set 3 : #
Total comments: 2
Patch Set 4 : #
Total comments: 2
Patch Set 5 : Introduce device_scale_factor to ui::Texture #
Total comments: 2
Patch Set 6 : #
Total comments: 2
Patch Set 7 : #
Messages
Total messages: 20 (0 generated)
|