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

Issue 17176027: Add gpu command buffer support for loseContextCHROMIUM (Closed)

Created:
7 years, 6 months ago by Justin Novosad
Modified:
7 years, 6 months ago
Reviewers:
piman
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, cc-bugs_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Add gpu command buffer support for loseContextCHROMIUM Calls to loseContextCHROMIUM were only being propagated by the in-process command buffer. This patch adds it to the inter-process version of the command buffer. This is important for layout tests that use loseContextCHROMIUM to work as intended in content_shell. BUG=251901 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=208810

Patch Set 1 #

Patch Set 2 : patch 2 #

Total comments: 5

Patch Set 3 : response to piman feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Justin Novosad
PTAL piman ->src/content/common enne -> src/cc/layers
7 years, 6 months ago (2013-06-21 18:16:41 UTC) #1
Justin Novosad
https://codereview.chromium.org/17176027/diff/2001/cc/layers/texture_layer.cc File cc/layers/texture_layer.cc (right): https://codereview.chromium.org/17176027/diff/2001/cc/layers/texture_layer.cc#newcode167 cc/layers/texture_layer.cc:167: if (rate_limit_context_ && client_ && client_->Context3d() && I was ...
7 years, 6 months ago (2013-06-21 18:24:11 UTC) #2
piman
https://codereview.chromium.org/17176027/diff/2001/cc/layers/texture_layer.cc File cc/layers/texture_layer.cc (right): https://codereview.chromium.org/17176027/diff/2001/cc/layers/texture_layer.cc#newcode167 cc/layers/texture_layer.cc:167: if (rate_limit_context_ && client_ && client_->Context3d() && On 2013/06/21 ...
7 years, 6 months ago (2013-06-21 19:05:05 UTC) #3
Justin Novosad
On 2013/06/21 19:05:05, piman wrote: > Why is the context NULL after a context loss? ...
7 years, 6 months ago (2013-06-21 19:19:00 UTC) #4
piman
On Fri, Jun 21, 2013 at 12:19 PM, <junov@chromium.org> wrote: > On 2013/06/21 19:05:05, piman ...
7 years, 6 months ago (2013-06-21 19:46:13 UTC) #5
Justin Novosad
On 2013/06/21 19:46:13, piman wrote: > > Right, it needs to keep it around, until ...
7 years, 6 months ago (2013-06-21 20:52:33 UTC) #6
Justin Novosad
New Patch. piman: Like you said, the removal of MakeCurrent from GetStateFast does solve the ...
7 years, 6 months ago (2013-06-26 19:53:09 UTC) #7
Justin Novosad
Also, I changed the implementation of loseContextCHROMIUM to call Flush() rather than Finish(), as you ...
7 years, 6 months ago (2013-06-26 19:58:58 UTC) #8
piman
LGTM. I think keeping it asynchronous leaves us with the option to write useful tests ...
7 years, 6 months ago (2013-06-26 20:22:50 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/junov@chromium.org/17176027/12001
7 years, 6 months ago (2013-06-26 20:28:18 UTC) #10
commit-bot: I haz the power
7 years, 6 months ago (2013-06-26 22:48:51 UTC) #11
Message was sent while issue was closed.
Change committed as 208810

Powered by Google App Engine
This is Rietveld 408576698