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

Issue 9918027: Make ShareGroup thread safe (Closed)

Created:
8 years, 8 months ago by greggman
Modified:
8 years, 8 months ago
Reviewers:
apatrick_chromium
CC:
chromium-reviews, apatrick_chromium
Visibility:
Public.

Description

Make ShareGroup thread safe In another CL I'll refactor the id handlers AND make the places sharing resources correctly set things up. TEST=none BUG=120297 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=130034

Patch Set 1 #

Total comments: 12

Patch Set 2 : fix issues #

Patch Set 3 : put LockImpl back to class #

Patch Set 4 : add id==0 check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+563 lines, -308 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 2 chunks +5 lines, -4 lines 0 comments Download
M gpu/command_buffer/client/atomicops.h View 1 chunk +37 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/atomicops.cc View 1 2 2 chunks +77 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.h View 6 chunks +5 lines, -35 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 24 chunks +57 lines, -252 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 7 chunks +14 lines, -14 lines 0 comments Download
M gpu/command_buffer/client/program_info_manager.cc View 8 chunks +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/share_group.h View 1 chunk +56 lines, -1 line 0 comments Download
M gpu/command_buffer/client/share_group.cc View 1 2 3 1 chunk +302 lines, -1 line 0 comments Download
M gpu/command_buffer/client/share_group_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
greggman
Hey Al, PTAL I'm open to suggestions for changes. The SetGLES2ImplementationForDestruction for destruction hack is ...
8 years, 8 months ago (2012-03-29 20:49:06 UTC) #1
apatrick_chromium
https://chromiumcodereview.appspot.com/9918027/diff/1/gpu/command_buffer/client/atomicops.cc File gpu/command_buffer/client/atomicops.cc (right): https://chromiumcodereview.appspot.com/9918027/diff/1/gpu/command_buffer/client/atomicops.cc#newcode39 gpu/command_buffer/client/atomicops.cc:39: GPU_DCHECK(!acquired_); This should not assert if another thread has ...
8 years, 8 months ago (2012-03-29 21:03:58 UTC) #2
greggman
https://chromiumcodereview.appspot.com/9918027/diff/1/gpu/command_buffer/client/atomicops.cc File gpu/command_buffer/client/atomicops.cc (right): https://chromiumcodereview.appspot.com/9918027/diff/1/gpu/command_buffer/client/atomicops.cc#newcode39 gpu/command_buffer/client/atomicops.cc:39: GPU_DCHECK(!acquired_); On 2012/03/29 21:03:58, apatrick_chromium wrote: > This should ...
8 years, 8 months ago (2012-03-29 21:25:25 UTC) #3
greggman
https://chromiumcodereview.appspot.com/9918027/diff/1/gpu/command_buffer/client/atomicops.cc File gpu/command_buffer/client/atomicops.cc (right): https://chromiumcodereview.appspot.com/9918027/diff/1/gpu/command_buffer/client/atomicops.cc#newcode69 gpu/command_buffer/client/atomicops.cc:69: struct LockImpl : public base::Lock { On 2012/03/29 21:03:58, ...
8 years, 8 months ago (2012-03-29 21:31:32 UTC) #4
apatrick_chromium
lgtm
8 years, 8 months ago (2012-03-29 21:36:44 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gman@chromium.org/9918027/7001
8 years, 8 months ago (2012-03-29 23:19:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gman@chromium.org/9918027/15001
8 years, 8 months ago (2012-03-30 00:49:56 UTC) #7
commit-bot: I haz the power
Try job failure for 9918027-15001 (retry) (retry) on win_rel for step "browser_tests". It's a second ...
8 years, 8 months ago (2012-03-30 05:24:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gman@chromium.org/9918027/15001
8 years, 8 months ago (2012-03-30 08:49:47 UTC) #9
commit-bot: I haz the power
Try job failure for 9918027-15001 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 8 months ago (2012-03-30 11:32:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gman@chromium.org/9918027/15001
8 years, 8 months ago (2012-03-30 17:49:25 UTC) #11
commit-bot: I haz the power
Try job failure for 9918027-15001 (retry) on win_rel for step "ui_tests". It's a second try, ...
8 years, 8 months ago (2012-03-30 20:40:25 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gman@chromium.org/9918027/15001
8 years, 8 months ago (2012-03-30 20:52:38 UTC) #13
commit-bot: I haz the power
Try job failure for 9918027-15001 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 8 months ago (2012-03-30 23:59:54 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gman@chromium.org/9918027/15001
8 years, 8 months ago (2012-03-31 01:19:38 UTC) #15
commit-bot: I haz the power
8 years, 8 months ago (2012-03-31 03:19:03 UTC) #16
Change committed as 130034

Powered by Google App Engine
This is Rietveld 408576698