Descriptiongpu testing: Handle non-integral device pixel ratio.
Device pixel ratio is used to scale test rect and sampling locations.
It can be non-integral on some devices. For example it is 1.325 on
Nexus 7. The scaled quantities - dimensions of screenshot and sampled
pixel locations - need to be converted to integers before they can
be used.
BUG=368495
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273951
Patch Set 1 #
Messages
Total messages: 7 (0 generated)
|