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

Issue 197563003: gpu: Allow fences to check whether a flush has occurred (Closed)

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

Description

gpu: Allow fences to check whether a flush has occurred This skips waiting on a fence that was created but never committed. BUG=352419 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258122

Patch Set 1 #

Patch Set 2 : #

Total comments: 8

Patch Set 3 : address comments #

Patch Set 4 : line brk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -27 lines) Patch
M gpu/command_buffer/service/mailbox_manager_unittest.cc View 1 2 8 chunks +8 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/mailbox_synchronizer.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/texture_definition.cc View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M ui/gl/gl_context.h View 1 2 4 chunks +26 lines, -0 lines 0 comments Download
M ui/gl/gl_context.cc View 1 2 3 3 chunks +27 lines, -0 lines 0 comments Download
M ui/gl/gl_fence.h View 1 2 1 chunk +6 lines, -1 line 0 comments Download
M ui/gl/gl_fence.cc View 1 2 8 chunks +47 lines, -12 lines 0 comments Download
M ui/gl/gl_gl_api_implementation.h View 1 2 3 chunks +8 lines, -1 line 0 comments Download
M ui/gl/gl_gl_api_implementation.cc View 3 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
no sievers
How's this? I could plumb it up to SwapBuffers() also. Would allow us to imply ...
6 years, 9 months ago (2014-03-14 22:48:27 UTC) #1
piman
I'm not sure how this solves anything. From my reading of it, you're essentially asserting ...
6 years, 9 months ago (2014-03-14 23:34:44 UTC) #2
piman
Ok, after discussion, maybe we should do this for now, since it's strictly better than ...
6 years, 9 months ago (2014-03-15 00:18:40 UTC) #3
no sievers
https://codereview.chromium.org/197563003/diff/20001/ui/gl/gl_context.cc File ui/gl/gl_context.cc (right): https://codereview.chromium.org/197563003/diff/20001/ui/gl/gl_context.cc#newcode36 ui/gl/gl_context.cc:36: base::subtle::NoBarrier_AtomicExchange(&state_, 1); On 2014/03/15 00:18:40, piman wrote: > I'm ...
6 years, 9 months ago (2014-03-19 01:25:21 UTC) #4
piman
lgtm
6 years, 9 months ago (2014-03-19 03:42:24 UTC) #5
no sievers
The CQ bit was checked by sievers@chromium.org
6 years, 9 months ago (2014-03-19 19:44:56 UTC) #6
no sievers
The CQ bit was unchecked by sievers@chromium.org
6 years, 9 months ago (2014-03-19 19:45:06 UTC) #7
no sievers
The CQ bit was checked by sievers@chromium.org
6 years, 9 months ago (2014-03-19 19:45:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sievers@chromium.org/197563003/60001
6 years, 9 months ago (2014-03-19 19:46:12 UTC) #9
commit-bot: I haz the power
6 years, 9 months ago (2014-03-19 22:09:45 UTC) #10
Message was sent while issue was closed.
Change committed as 258122

Powered by Google App Engine
This is Rietveld 408576698