Description[Chromecast] Handle device scale factor correctly
On ATV, this removes the forced device scale factor hack; it
can have its intended natural value for the platform.
On Linux, we use device scale factor of 1.5 when we can use
a 1080p device resolution.
With this, all applications should get a 720p viewport (in
CSS pixels). Applications that wish to provide higher-res
assets can use CSS or JS to detect the higher scale factor.
BUG=internal b/28199180
Committed: https://crrev.com/b7f20ad97366a9392432f65ef330545a40d71674
Cr-Commit-Position: refs/heads/master@{#394034}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Simpler approach after offline discussion with alokp #
Total comments: 1
Patch Set 3 : Set device scale factor correctly #
Total comments: 10
Patch Set 4 : Make it work on ATV + alokp nits #Patch Set 5 : oops #
Total comments: 6
Patch Set 6 : Add missing include #Patch Set 7 : Fix test compile error #Messages
Total messages: 32 (13 generated)
|