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 11434072: Send notification from GPU process to browser process of offscreen context creation and destruction… (Closed)

Created:
8 years ago by Ken Russell (switch to Gerrit)
Modified:
8 years ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium, Zhenyao Mo
Visibility:
Public.

Description

Send notification from GPU process to browser process of offscreen context creation and destruction, and all context lost events. This improves the robustness of blocking of client 3D APIs such as WebGL when GPU resets occur. Note that this fix depends on the fix for https://bugs.webkit.org/show_bug.cgi?id=103793 . BUG=112339 TEST=test case from bug Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171910

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed apatrick's review feedback. Renamed containing_document_url. #

Total comments: 2

Patch Set 3 : Changed to pass WebString instead of WebURL across WebKit API boundary. #

Patch Set 4 : Final rebase before commit. #

Total comments: 4

Patch Set 5 : Worked around stupid compilers. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -4 lines) Patch
M content/browser/gpu/gpu_process_host.h View 1 5 chunks +17 lines, -1 line 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 4 chunks +67 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 3 3 chunks +19 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 3 1 chunk +11 lines, -0 lines 0 comments Download
M content/common/webkitplatformsupport_impl.cc View 1 2 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Ken Russell (switch to Gerrit)
apatrick: please review. Thanks. content/common/webkitplatformsupport_impl.cc OWNERS => darin
8 years ago (2012-12-01 02:38:31 UTC) #1
apatrick
LGTM with a couple of observations. https://codereview.chromium.org/11434072/diff/1/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/11434072/diff/1/content/browser/gpu/gpu_process_host.cc#newcode715 content/browser/gpu/gpu_process_host.cc:715: iter != urls_with_live_offscreen_contexts_.end(); ...
8 years ago (2012-12-03 20:35:33 UTC) #2
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/11434072/diff/1/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/11434072/diff/1/content/browser/gpu/gpu_process_host.cc#newcode715 content/browser/gpu/gpu_process_host.cc:715: iter != urls_with_live_offscreen_contexts_.end(); ++iter) { On 2012/12/03 20:35:33, apatrick ...
8 years ago (2012-12-04 05:11:49 UTC) #3
Ken Russell (switch to Gerrit)
Planned final patch. Welcome any further feedback.
8 years ago (2012-12-04 05:15:06 UTC) #4
apatrick_chromium
I don't see a change to the GpuProcessHost destructor. Up to you if you want ...
8 years ago (2012-12-04 21:14:47 UTC) #5
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/11434072/diff/5001/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/11434072/diff/5001/content/browser/gpu/gpu_process_host.cc#newcode435 content/browser/gpu/gpu_process_host.cc:435: BlockLiveOffscreenContexts(); This is the change to the GpuProcessHost destructor.
8 years ago (2012-12-04 21:16:10 UTC) #6
apatrick_chromium
lgtm https://codereview.chromium.org/11434072/diff/5001/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): https://codereview.chromium.org/11434072/diff/5001/content/browser/gpu/gpu_process_host.cc#newcode435 content/browser/gpu/gpu_process_host.cc:435: BlockLiveOffscreenContexts(); On 2012/12/04 21:16:10, kbr wrote: > This ...
8 years ago (2012-12-04 21:24:23 UTC) #7
Ken Russell (switch to Gerrit)
+palmer for gpu_messages.h OWNERS review
8 years ago (2012-12-07 19:32:06 UTC) #8
palmer
Some not-security-relevant style nits, but LGTM from an IPC security perspective. https://codereview.chromium.org/11434072/diff/12004/content/browser/gpu/gpu_process_host.cc File content/browser/gpu/gpu_process_host.cc (right): ...
8 years ago (2012-12-07 19:57:59 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kbr@chromium.org/11434072/12004
8 years ago (2012-12-07 19:59:40 UTC) #10
commit-bot: I haz the power
Presubmit check for 11434072-12004 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-12-07 19:59:44 UTC) #11
Ken Russell (switch to Gerrit)
+brettw for content/common OWNERS review
8 years ago (2012-12-07 20:03:36 UTC) #12
brettw
owners lgtm
8 years ago (2012-12-07 20:12:21 UTC) #13
brettw
You probably want to strip the reference fragment before inserting or removing URLs from your ...
8 years ago (2012-12-07 20:17:24 UTC) #14
Ken Russell (switch to Gerrit)
On 2012/12/07 20:17:24, brettw wrote: > You probably want to strip the reference fragment before ...
8 years ago (2012-12-07 20:23:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kbr@chromium.org/11434072/12004
8 years ago (2012-12-07 20:24:40 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kbr@chromium.org/11434072/17002
8 years ago (2012-12-07 20:44:05 UTC) #17
commit-bot: I haz the power
8 years ago (2012-12-08 01:44:08 UTC) #18
Message was sent while issue was closed.
Change committed as 171910

Powered by Google App Engine
This is Rietveld 408576698