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

Issue 1809753003: Use base::AtomicSequenceNumber for the flush id in GLES2Implementation (Closed)

Created:
4 years, 9 months ago by danakj
Modified:
4 years, 9 months ago
Reviewers:
piman
CC:
chromium-reviews, piman+watch_chromium.org, dcheng, Ken Russell (switch to Gerrit), piman, no sievers
Base URL:
https://chromium.googlesource.com/chromium/src.git@lastflush
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use base::AtomicSequenceNumber for the flush id in GLES2Implementation Instead of writing it ourselves. Note that StaticAtomicSequenceNumber does not work here since it can only be used in global scope. R=piman@chromium.org BUG=584497 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel Committed: https://crrev.com/24f45917406c747d032edf189b3686e4353fb347 Cr-Commit-Position: refs/heads/master@{#381769}

Patch Set 1 #

Patch Set 2 : lastflush-atomic: . #

Total comments: 2

Patch Set 3 : lastflush-atomic: static #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 2 chunks +4 lines, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 13 (4 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809753003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809753003/1
4 years, 9 months ago (2016-03-16 23:06:16 UTC) #3
danakj
4 years, 9 months ago (2016-03-16 23:34:21 UTC) #4
piman
https://codereview.chromium.org/1809753003/diff/20001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): https://codereview.chromium.org/1809753003/diff/20001/gpu/command_buffer/client/gles2_implementation.cc#newcode81 gpu/command_buffer/client/gles2_implementation.cc:81: static base::AtomicSequenceNumber flush_id; I was thinking, move this out ...
4 years, 9 months ago (2016-03-16 23:49:30 UTC) #5
danakj
https://codereview.chromium.org/1809753003/diff/20001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): https://codereview.chromium.org/1809753003/diff/20001/gpu/command_buffer/client/gles2_implementation.cc#newcode81 gpu/command_buffer/client/gles2_implementation.cc:81: static base::AtomicSequenceNumber flush_id; On 2016/03/16 23:49:29, piman wrote: > ...
4 years, 9 months ago (2016-03-16 23:50:41 UTC) #6
danakj
PTAL
4 years, 9 months ago (2016-03-17 00:54:50 UTC) #7
piman
lgtm
4 years, 9 months ago (2016-03-17 01:31:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809753003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809753003/40001
4 years, 9 months ago (2016-03-17 17:54:52 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-17 19:15:30 UTC) #11
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 19:16:48 UTC) #13
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/24f45917406c747d032edf189b3686e4353fb347
Cr-Commit-Position: refs/heads/master@{#381769}

Powered by Google App Engine
This is Rietveld 408576698