DescriptionSwitch RenderWidgetHostViewAndroid to use Screen
Start to remove usage of native device_display_info.h and eventually
removing it altogether.
RenderWidgetHostViewAndroid uses the primary display size to calculate
the max texture size. Loop over all Displays and use the largest one to
calculate this instead.
Note need to add storage for physical size in Display, since there are
rounding errors if the physical size is computed from float scale and
integer dip size.
BUG=625089
Review-Url: https://codereview.chromium.org/2617623002
Cr-Commit-Position: refs/heads/master@{#442634}
Committed: https://chromium.googlesource.com/chromium/src/+/fa8bcd12c55c0997520ff969de9e70ab6d0a59dc
Patch Set 1 #Patch Set 2 : physical #Patch Set 3 : GetSizeInPixel #Patch Set 4 : debug #Patch Set 5 : moar debug #Patch Set 6 : fix? #
Total comments: 4
Patch Set 7 : os_android #Patch Set 8 : remove comment change #
Messages
Total messages: 34 (22 generated)
|