DescriptionAdd "panel_fitting" GPU feature type and use it for mirror mode.
Panel fitting is used by mirror display mode on Chrome OS.
This GPU feature type will tell if it is supported by GPU hardware.
Initially enable it only for Ivy Bridge GPU via blacklisting everything else.
Also add a disable_panel_fitting command flag,
to be able to quickly turn the feature off.
When hardware supports panel fitting,
and there are no common modes between the internal and the external displays,
configure the internal display to the external's resolution,
and let the panel fitter take care of displaying it correctly.
BUG=chromium-os:34442
TEST=Panel Fitting should appear as Hardware Accelerated in about:gpu
on IVB Chrome OS, Unavailable everywhere else.
TEST=Tested mirror mode on device.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161980
Patch Set 1 #Patch Set 2 : Reorganized code per oshima's suggestion. #
Total comments: 46
Patch Set 3 : Addressed review comments of Patch Set 2 #
Total comments: 14
Patch Set 4 : Oshima's review. #Patch Set 5 : Rebase #Patch Set 6 : Rebase #Patch Set 7 : Rebase #Patch Set 8 : Fix compilation on non-Chrome OS #
Messages
Total messages: 24 (0 generated)
|