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

Issue 8490001: Don't call renderView methods in threaded mode (Closed)

Created:
9 years, 1 month ago by nduca
Modified:
9 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium, dpranke-watch+content_chromium.org, jamesr
Visibility:
Public.

Description

Don't call renderView methods in threaded mode Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=114582

Patch Set 1 #

Total comments: 1

Patch Set 2 : Clear web_view_ when bound on another thread #

Patch Set 3 : . #

Patch Set 4 : ok this one is good #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -0 lines) Patch
M content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
nduca
This prevents us from calling renderview->onSwapXXX from the compositor thread, which is of course bad.
9 years, 1 month ago (2011-11-06 23:36:06 UTC) #1
Ken Russell (switch to Gerrit)
LGTM as long as these are the desired semantics for the threaded compositor.
9 years, 1 month ago (2011-11-09 03:09:42 UTC) #2
jamesr
I don't think this is correct http://codereview.chromium.org/8490001/diff/1/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc File content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc (right): http://codereview.chromium.org/8490001/diff/1/content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc#newcode280 content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc:280: web_view_ ? RenderViewImpl::FromWebView(web_view_) ...
9 years, 1 month ago (2011-11-09 04:51:57 UTC) #3
nduca
Erm, disregard the coredump. :s
9 years, 1 month ago (2011-11-10 04:04:14 UTC) #4
Ken Russell (switch to Gerrit)
lgtm
9 years, 1 month ago (2011-11-10 21:44:42 UTC) #5
jamesr
Sorry but I still don't buy it - I'm almost 100% sure that the WebView* ...
9 years, 1 month ago (2011-11-10 22:23:24 UTC) #6
jamesr
What's the problem we're trying to solve here - have we been making bad calls, ...
9 years, 1 month ago (2011-11-10 22:23:46 UTC) #7
nduca
I think we should land this. It is causing problems downstream and this isn't that ...
9 years ago (2011-12-13 20:19:11 UTC) #8
no sievers
9 years ago (2011-12-13 20:28:13 UTC) #9
no sievers
web_view_ currently gets set even if the context is running on the compositor thread from ...
9 years ago (2011-12-13 20:30:09 UTC) #10
jamesr
This seems like a reasonable way to get WebGraphicsContext3DCommandBufferImpl::web_view_ to be NULL in the threaded ...
9 years ago (2011-12-14 00:20:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nduca@chromium.org/8490001/15001
9 years ago (2011-12-15 00:32:07 UTC) #12
commit-bot: I haz the power
9 years ago (2011-12-15 02:31:19 UTC) #13
Change committed as 114582

Powered by Google App Engine
This is Rietveld 408576698