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

Issue 16235005: Add ContextProvider overrides to SynchronousCompositorFactory (Closed)

Created:
7 years, 6 months ago by boliu
Modified:
7 years, 6 months ago
Reviewers:
jamesr, joth
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Add ContextProvider overrides to SynchronousCompositorFactory SynchronousCompositorFactory does not create the main thread one since we have not figured out how to get its clients (video/webgl/canvas) to work in this architecture. This will cause dynamic but graceful failures when trying to load these type of contents. For compositor thread one, create ContextProviderInProcess. BUG=230197, 239760 NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204941

Patch Set 1 #

Total comments: 7

Patch Set 2 : #

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : Address nits #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -4 lines) Patch
M content/browser/android/in_process/synchronous_compositor_impl.cc View 1 2 3 4 2 chunks +19 lines, -0 lines 0 comments Download
M content/renderer/android/synchronous_compositor_factory.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 2 chunks +16 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
boliu
7 years, 6 months ago (2013-06-01 21:22:24 UTC) #1
joth
Starting to make me wonder if we would be better with a synchronous compositor specific ...
7 years, 6 months ago (2013-06-02 19:08:55 UTC) #2
boliu
https://codereview.chromium.org/16235005/diff/1/content/renderer/android/synchronous_compositor_factory.h File content/renderer/android/synchronous_compositor_factory.h (right): https://codereview.chromium.org/16235005/diff/1/content/renderer/android/synchronous_compositor_factory.h#newcode41 content/renderer/android/synchronous_compositor_factory.h:41: OffscreenContextProviderForCompositorThread() = 0; On 2013/06/02 19:08:55, joth wrote: > ...
7 years, 6 months ago (2013-06-03 18:51:24 UTC) #3
boliu
James, could you take a look at this? The cast in pepper_platform_context_3d_impl.cc is no longer ...
7 years, 6 months ago (2013-06-07 17:17:09 UTC) #4
jamesr
lgtm
7 years, 6 months ago (2013-06-07 17:20:14 UTC) #5
joth
lgtm https://codereview.chromium.org/16235005/diff/9001/content/browser/android/in_process/synchronous_compositor_impl.cc File content/browser/android/in_process/synchronous_compositor_impl.cc (right): https://codereview.chromium.org/16235005/diff/9001/content/browser/android/in_process/synchronous_compositor_impl.cc#newcode56 content/browser/android/in_process/synchronous_compositor_impl.cc:56: // Synchronous compositor does not support main thread ...
7 years, 6 months ago (2013-06-07 17:41:17 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/boliu@chromium.org/16235005/15002
7 years, 6 months ago (2013-06-07 21:47:42 UTC) #7
commit-bot: I haz the power
7 years, 6 months ago (2013-06-07 21:48:50 UTC) #8
Message was sent while issue was closed.
Change committed as 204941

Powered by Google App Engine
This is Rietveld 408576698