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

Issue 1610783002: mustash: gpu: implement SignalQuery in CommandBufferLocal (Closed)

Created:
4 years, 11 months ago by Hadi
Modified:
4 years, 11 months ago
Reviewers:
Fady Samuel, Peng, piman
CC:
chromium-reviews, rjkroege
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mustash: gpu: implement SignalQuery in CommandBufferLocal We need this to make snapshots work in mus. GLRenderer::GetFramebufferPixelsAsync calls this function to respond to CopyOutputRequests. BUG=557397 Committed: https://crrev.com/9fca1d27747026b7eb76f334477745d1b4ad9399 Cr-Commit-Position: refs/heads/master@{#370781}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Run on GPU thread. #

Total comments: 2

Patch Set 3 : Run SignalQuery's callback on the client thread. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -4 lines) Patch
M components/mus/gles2/command_buffer_driver.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M components/mus/gles2/command_buffer_driver.cc View 1 2 chunks +13 lines, -0 lines 0 comments Download
M components/mus/gles2/command_buffer_local.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M components/mus/gles2/command_buffer_local.cc View 1 2 3 chunks +17 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
Hadi
PTAL.
4 years, 11 months ago (2016-01-20 19:38:46 UTC) #2
Peng
https://codereview.chromium.org/1610783002/diff/1/components/mus/gles2/command_buffer_local.cc File components/mus/gles2/command_buffer_local.cc (right): https://codereview.chromium.org/1610783002/diff/1/components/mus/gles2/command_buffer_local.cc#newcode338 components/mus/gles2/command_buffer_local.cc:338: gpu::gles2::QueryManager::Query* query = query_manager->GetQuery(query_id); CommandBufferLocal::SignalQuery() is called on the ...
4 years, 11 months ago (2016-01-20 19:57:13 UTC) #3
Hadi
https://codereview.chromium.org/1610783002/diff/1/components/mus/gles2/command_buffer_local.cc File components/mus/gles2/command_buffer_local.cc (right): https://codereview.chromium.org/1610783002/diff/1/components/mus/gles2/command_buffer_local.cc#newcode338 components/mus/gles2/command_buffer_local.cc:338: gpu::gles2::QueryManager::Query* query = query_manager->GetQuery(query_id); On 2016/01/20 19:57:13, Peng wrote: ...
4 years, 11 months ago (2016-01-20 21:33:30 UTC) #4
Peng
https://codereview.chromium.org/1610783002/diff/20001/components/mus/gles2/command_buffer_local.cc File components/mus/gles2/command_buffer_local.cc (right): https://codereview.chromium.org/1610783002/diff/20001/components/mus/gles2/command_buffer_local.cc#newcode558 components/mus/gles2/command_buffer_local.cc:558: driver_->SignalQuery(query_id, callback); You must make sure the callback is ...
4 years, 11 months ago (2016-01-20 22:27:29 UTC) #5
Hadi
https://codereview.chromium.org/1610783002/diff/20001/components/mus/gles2/command_buffer_local.cc File components/mus/gles2/command_buffer_local.cc (right): https://codereview.chromium.org/1610783002/diff/20001/components/mus/gles2/command_buffer_local.cc#newcode558 components/mus/gles2/command_buffer_local.cc:558: driver_->SignalQuery(query_id, callback); On 2016/01/20 22:27:29, Peng wrote: > You ...
4 years, 11 months ago (2016-01-21 15:46:27 UTC) #6
Peng
On 2016/01/21 15:46:27, Hadi wrote: > https://codereview.chromium.org/1610783002/diff/20001/components/mus/gles2/command_buffer_local.cc > File components/mus/gles2/command_buffer_local.cc (right): > > https://codereview.chromium.org/1610783002/diff/20001/components/mus/gles2/command_buffer_local.cc#newcode558 > ...
4 years, 11 months ago (2016-01-21 15:53:25 UTC) #7
Hadi
piman@ can you please take a look at this?
4 years, 11 months ago (2016-01-21 15:56:48 UTC) #9
piman
lgtm
4 years, 11 months ago (2016-01-21 20:13:46 UTC) #11
Hadi
fsamuel@ can you please provide OWNERS review for this?
4 years, 11 months ago (2016-01-21 20:14:53 UTC) #13
Hadi
fsamuel@ can you please provide OWNERS review for this? (I sent the previous message to ...
4 years, 11 months ago (2016-01-21 20:16:09 UTC) #15
Fady Samuel
lgtm
4 years, 11 months ago (2016-01-21 20:17:30 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1610783002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1610783002/40001
4 years, 11 months ago (2016-01-21 20:19:26 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 11 months ago (2016-01-21 20:50:06 UTC) #20
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 20:52:29 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/9fca1d27747026b7eb76f334477745d1b4ad9399
Cr-Commit-Position: refs/heads/master@{#370781}

Powered by Google App Engine
This is Rietveld 408576698