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

Issue 184223003: gpu: Use explicit atomics instead of assuming that 32bit read/writes are atomic. (Closed)

Created:
6 years, 9 months ago by reveman
Modified:
6 years, 9 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Visibility:
Public.

Description

gpu: Use explicit atomics instead of assuming that 32bit read/writes are atomic. BUG=348324 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=255768

Patch Set 1 #

Patch Set 2 : re-upload #

Total comments: 2

Patch Set 3 : s/int32/base::subtle::Atomic32/ #

Patch Set 4 : one more #

Patch Set 5 : more s/uint32/base::subtle::Atomic32/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -69 lines) Patch
M gpu/command_buffer/client/gles2_implementation_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/query_tracker.h View 1 2 4 chunks +5 lines, -4 lines 0 comments Download
M gpu/command_buffer/client/query_tracker.cc View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M gpu/command_buffer/client/query_tracker_unittest.cc View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/query_manager.h View 1 2 3 8 chunks +11 lines, -11 lines 0 comments Download
M gpu/command_buffer/service/query_manager.cc View 1 2 19 chunks +25 lines, -28 lines 0 comments Download
M gpu/command_buffer/service/query_manager_unittest.cc View 1 2 3 4 12 chunks +16 lines, -15 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
reveman
piman, any idea why base/atomic_ops.h functions were not used for the initial implementation of queries?
6 years, 9 months ago (2014-03-03 20:09:29 UTC) #1
Dmitry Vyukov
LGTM thanks https://codereview.chromium.org/184223003/diff/20001/gpu/command_buffer/common/gles2_cmd_format.h File gpu/command_buffer/common/gles2_cmd_format.h (right): https://codereview.chromium.org/184223003/diff/20001/gpu/command_buffer/common/gles2_cmd_format.h#newcode150 gpu/command_buffer/common/gles2_cmd_format.h:150: int32 process_count; s/int32/Atomic32/
6 years, 9 months ago (2014-03-04 08:07:56 UTC) #2
piman
LGTM % other comments. I suppose historically it had to do with the fact that ...
6 years, 9 months ago (2014-03-05 21:20:47 UTC) #3
reveman
https://codereview.chromium.org/184223003/diff/20001/gpu/command_buffer/common/gles2_cmd_format.h File gpu/command_buffer/common/gles2_cmd_format.h (right): https://codereview.chromium.org/184223003/diff/20001/gpu/command_buffer/common/gles2_cmd_format.h#newcode150 gpu/command_buffer/common/gles2_cmd_format.h:150: int32 process_count; On 2014/03/04 08:07:56, Dmitry Vyukov wrote: > ...
6 years, 9 months ago (2014-03-06 21:05:42 UTC) #4
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 9 months ago (2014-03-06 21:06:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/184223003/50001
6 years, 9 months ago (2014-03-06 21:19:40 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/184223003/50001
6 years, 9 months ago (2014-03-06 22:08:00 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-06 22:46:07 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-06 22:46:07 UTC) #9
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 9 months ago (2014-03-06 23:17:44 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/184223003/70001
6 years, 9 months ago (2014-03-06 23:21:38 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 01:43:44 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 9 months ago (2014-03-07 01:43:45 UTC) #13
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 9 months ago (2014-03-07 03:10:27 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/184223003/70001
6 years, 9 months ago (2014-03-07 03:14:56 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-07 05:40:08 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel
6 years, 9 months ago (2014-03-07 05:40:09 UTC) #17
reveman
The CQ bit was checked by reveman@chromium.org
6 years, 9 months ago (2014-03-07 20:01:12 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/184223003/70001
6 years, 9 months ago (2014-03-07 20:08:19 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/reveman@chromium.org/184223003/70001
6 years, 9 months ago (2014-03-08 10:43:30 UTC) #20
commit-bot: I haz the power
6 years, 9 months ago (2014-03-08 13:07:49 UTC) #21
Message was sent while issue was closed.
Change committed as 255768

Powered by Google App Engine
This is Rietveld 408576698