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

Issue 14981007: Refactor GpuDataManagerImpl to make it thread-safe. (Closed)

Created:
7 years, 7 months ago by Zhenyao Mo
Modified:
7 years, 7 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Refactor GpuDataManagerImpl to make it thread-safe. Try to reland r199530 after fixing an issue that causes Mac Debug to crash when switching GPUs. The original review can be found here: https://codereview.chromium.org/14794006/ BUG=232556 TBR=joi@chromium.org, kbr@chromium.org, piman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=200086

Patch Set 1 #

Patch Set 2 : Fix #

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1974 lines, -1610 lines) Patch
M content/browser/gpu/gpu_data_manager_impl.h View 1 2 3 chunks +36 lines, -127 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl.cc View 1 2 3 2 chunks +102 lines, -811 lines 0 comments Download
A content/browser/gpu/gpu_data_manager_impl_private.h View 1 2 1 chunk +239 lines, -0 lines 0 comments Download
A content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 3 1 chunk +925 lines, -0 lines 0 comments Download
A content/browser/gpu/gpu_data_manager_impl_private_unittest.cc View 1 2 1 chunk +662 lines, -0 lines 0 comments Download
D content/browser/gpu/gpu_data_manager_impl_unittest.cc View 1 chunk +0 lines, -656 lines 0 comments Download
M content/browser/gpu/gpu_internals_ui.cc View 5 chunks +4 lines, -15 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/gpu_data_manager_observer.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Zhenyao Mo
Tested on a dual-gpu mac debug. patch set 1 caused browser crash, and patch set ...
7 years, 7 months ago (2013-05-14 01:26:46 UTC) #1
Zhenyao Mo
On 2013/05/14 01:26:46, Zhenyao Mo wrote: > Tested on a dual-gpu mac debug. patch set ...
7 years, 7 months ago (2013-05-14 02:08:10 UTC) #2
piman
lgtm
7 years, 7 months ago (2013-05-14 02:20:57 UTC) #3
Ken Russell (switch to Gerrit)
zmo@ and I talked about this offline and there's a problem with this patch -- ...
7 years, 7 months ago (2013-05-14 02:53:05 UTC) #4
Ken Russell (switch to Gerrit)
LGTM with a couple of comments. https://codereview.chromium.org/14981007/diff/35001/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/14981007/diff/35001/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode83 content/browser/gpu/gpu_data_manager_impl_private.cc:83: if (manager) This ...
7 years, 7 months ago (2013-05-14 20:09:13 UTC) #5
Jói
LGTM for //content/public.
7 years, 7 months ago (2013-05-14 20:41:05 UTC) #6
Zhenyao Mo
https://codereview.chromium.org/14981007/diff/35001/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/14981007/diff/35001/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode83 content/browser/gpu/gpu_data_manager_impl_private.cc:83: if (manager) On 2013/05/14 20:09:13, kbr wrote: > This ...
7 years, 7 months ago (2013-05-14 21:56:31 UTC) #7
Zhenyao Mo
7 years, 7 months ago (2013-05-14 22:13:24 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 manually as r200086 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698