Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Issue 2878163002: Fix bug whereby OnGpuSwitched was never called (Closed)

Created:
3 years, 7 months ago by ccameron
Modified:
3 years, 7 months ago
CC:
chromium-reviews, piman+watch_chromium.org, mac-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix 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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -8 lines) Patch
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/config/gpu_info.h View 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/config/gpu_info.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M gpu/ipc/service/image_transport_surface_overlay_mac.mm View 4 chunks +12 lines, -6 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
ccameron
ptal This needs to be ported to M59 (going to stable soon!), so I kept ...
3 years, 7 months ago (2017-05-13 03:41:25 UTC) #3
Corentin Wallez
On 2017/05/13 at 03:41:25, ccameron wrote: > ptal > > This needs to be ported ...
3 years, 7 months ago (2017-05-14 20:37:07 UTC) #8
Zhenyao Mo
On 2017/05/14 20:37:07, Corentin Wallez wrote: > On 2017/05/13 at 03:41:25, ccameron wrote: > > ...
3 years, 7 months ago (2017-05-14 21:53:26 UTC) #9
ccameron
Oops, updated patch to include GpuDataMangerImpl changes
3 years, 7 months ago (2017-05-14 23:20:26 UTC) #12
ccameron
ping on new patçh
3 years, 7 months ago (2017-05-16 00:16:33 UTC) #15
ccameron
ping
3 years, 7 months ago (2017-05-16 16:52:49 UTC) #16
Zhenyao Mo
On 2017/05/16 16:52:49, ccameron wrote: > ping lgtm
3 years, 7 months ago (2017-05-16 17:10:48 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2878163002/20001
3 years, 7 months ago (2017-05-16 17:16:55 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 19:31:04 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/8c3b0dd1353d36a51aab0bc5a26a...

Powered by Google App Engine
This is Rietveld 408576698