DescriptionFix bug whereby OnGpuSwitched was never called
The DisplayReconfigCallback used by GpuDataManagerImplPrivate was
checking if GPUInfo::gpu's vendor or device had changed. This will
never happen, because GPUInfo::gpu is the primary GPU, not the
active GPU.
Add a GPUInfo::active_gpu() function to return the active GPU, and
make DisplayReconfigCallback use this.
Add more instrumentation to ImageTransportSuraceOverlay's
SwapBuffersInternal function, to allow for a more transparent view
into this function.
BUG=712090
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Review-Url: https://codereview.chromium.org/2878163002
Cr-Commit-Position: refs/heads/master@{#472183}
Committed: https://chromium.googlesource.com/chromium/src/+/8c3b0dd1353d36a51aab0bc5a26a85cb8506b7b4
Patch Set 1 #Patch Set 2 : Add missed file #
Messages
Total messages: 23 (14 generated)
|