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

Issue 12212007: cc: Route offscreen context creation for compositor to the browser. (Closed)

Created:
7 years, 10 months ago by danakj
Modified:
7 years, 10 months ago
CC:
chromium-reviews, jonathan.backer, Ian Vollick, jam, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, bsalomon
Visibility:
Public.

Description

cc: Route offscreen context creation for compositor to the browser. Currently the compositor asks WebKit for the SharedGraphicsContext. For the browser compositor, we instead route requests for an offscreen context to ui/compositor, where we are able to create the context. This patch only addresses offscreen contexts for the browser compositor. The renderer compositor still gets its contexts from WebKit, but now via the LayerTreeHostClient interface instead of directly going to the WebSharedGraphicsContext3D. Tested by the lost context unit tests. They now test that on context loss, the shared context is also recreated, and that if it fails to be recreated that we retry context creation. BUG=169373, 175383 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184165

Patch Set 1 #

Patch Set 2 : #

Total comments: 12

Patch Set 3 : Implemented with ui::OffscreenContext #

Patch Set 4 : add cc::GaneshResourceProvider #

Total comments: 3

Patch Set 5 : Rebased on RenderWidgetCompositor #

Patch Set 6 : Dont init ContextFactory when g_test_compositor_enabled #

Patch Set 7 : No canvas flush #

Patch Set 8 : Break ContextFactory cycle #

Patch Set 9 : Put OffscreenContext class in content/common/gpu/client for renderer #

Total comments: 2

Patch Set 10 : nits #

Total comments: 2

Patch Set 11 : Rename offscreenContextFoo to OffscreenContextFoo to reduce name churn #

Patch Set 12 : Back to a single OffscreenContext class #

Total comments: 14

Patch Set 13 : Rename to GaneshContextProvider #

Total comments: 9

Patch Set 14 : Restart with GrContext owned in cc #

Total comments: 1

Patch Set 15 : Embedder owns the GrContext #

Patch Set 16 : Remove the GrContextProvider::ScopedContexts guard classes #

Total comments: 11

Patch Set 17 : ui::ContextProvider #

Patch Set 18 : Add ui/gl/context_provider.h #

Patch Set 19 : Android build #

Total comments: 43

Patch Set 20 : Piman's review #

Patch Set 21 : cc::ContextProvider #

Total comments: 4

Patch Set 22 : Verify the offscreen context if renderer creation fails #

Patch Set 23 : Piman comments #

Patch Set 24 : Null check before deref offscreenContextProvider #

Total comments: 3

Patch Set 25 : Rebasement #

Patch Set 26 : Fix typo #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1376 lines, -178 lines) Patch
M cc/cc.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download
M cc/cc_tests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
A cc/context_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +42 lines, -0 lines 0 comments Download
M cc/gl_renderer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 9 chunks +59 lines, -44 lines 0 comments Download
M cc/layer.cc View 1 2 4 chunks +9 lines, -6 lines 0 comments Download
M cc/layer_tree_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +4 lines, -5 lines 0 comments Download
M cc/layer_tree_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +4 lines, -2 lines 0 comments Download
M cc/layer_tree_host_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +9 lines, -0 lines 0 comments Download
M cc/layer_tree_host_unittest_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 20 chunks +218 lines, -16 lines 0 comments Download
M cc/occlusion_tracker_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M cc/render_surface_filters.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M cc/render_surface_filters.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +2 lines, -5 lines 0 comments Download
M cc/resource_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +6 lines, -0 lines 0 comments Download
M cc/resource_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +7 lines, -0 lines 0 comments Download
M cc/resource_update_controller.h View 1 2 3 4 3 chunks +3 lines, -4 lines 0 comments Download
M cc/resource_update_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +17 lines, -21 lines 0 comments Download
M cc/resource_update_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -3 lines 0 comments Download
M cc/single_thread_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +3 lines, -1 line 0 comments Download
M cc/single_thread_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 8 chunks +27 lines, -4 lines 0 comments Download
A cc/test/fake_context_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +45 lines, -0 lines 0 comments Download
A cc/test/fake_context_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +61 lines, -0 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +9 lines, -5 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +23 lines, -0 lines 0 comments Download
M cc/test/layer_tree_test_common.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +15 lines, -0 lines 0 comments Download
M cc/test/layer_tree_test_common.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 6 chunks +35 lines, -2 lines 0 comments Download
M cc/test/test_web_graphics_context_3d.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +6 lines, -0 lines 0 comments Download
M cc/test/test_web_graphics_context_3d.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +4 lines, -0 lines 0 comments Download
M cc/thread_proxy.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 4 chunks +4 lines, -2 lines 0 comments Download
M cc/thread_proxy.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 14 chunks +28 lines, -12 lines 0 comments Download
M cc/tiled_layer_unittest.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 2 chunks +33 lines, -0 lines 0 comments Download
M content/browser/renderer_host/image_transport_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 9 chunks +101 lines, -40 lines 0 comments Download
A content/common/gpu/client/context_provider_command_buffer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +62 lines, -0 lines 0 comments Download
A content/common/gpu/client/context_provider_command_buffer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +107 lines, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 chunks +9 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 3 chunks +75 lines, -0 lines 2 comments Download
M ui/compositor/compositor.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 5 chunks +17 lines, -1 line 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 5 chunks +123 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +9 lines, -0 lines 0 comments Download
M webkit/compositor_bindings/web_layer_tree_view_impl_for_testing.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 3 chunks +76 lines, -0 lines 0 comments Download
A webkit/gpu/grcontext_for_webgraphicscontext3d.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +37 lines, -0 lines 0 comments Download
A webkit/gpu/grcontext_for_webgraphicscontext3d.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +70 lines, -0 lines 0 comments Download
M webkit/gpu/webkit_gpu.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 20 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 56 (0 generated)
danakj
This is what I think we can make context creation look like for the browser ...
7 years, 10 months ago (2013-02-05 07:07:57 UTC) #1
danakj
One thing I don't get is why we have a DefaultContextFactory right now. When IsTestCompositorEnabled ...
7 years, 10 months ago (2013-02-05 07:09:57 UTC) #2
piman
On Mon, Feb 4, 2013 at 11:09 PM, <danakj@chromium.org> wrote: > One thing I don't ...
7 years, 10 months ago (2013-02-05 07:39:13 UTC) #3
danakj
On Tue, Feb 5, 2013 at 2:38 AM, Antoine Labour <piman@chromium.org> wrote: > > > ...
7 years, 10 months ago (2013-02-05 18:17:56 UTC) #4
piman
Overall I like the approach. About the renderer, what's the plan exactly? I don't think ...
7 years, 10 months ago (2013-02-05 22:42:48 UTC) #5
danakj
Thanks! For the renderer, the LTHClient will become RenderWidget (or maybe RenderWidgetCompositor?) which jamesr@ is ...
7 years, 10 months ago (2013-02-05 22:56:00 UTC) #6
piman
On Tue, Feb 5, 2013 at 2:56 PM, <danakj@chromium.org> wrote: > Thanks! For the renderer, ...
7 years, 10 months ago (2013-02-05 23:19:49 UTC) #7
danakj
On Tue, Feb 5, 2013 at 6:19 PM, Antoine Labour <piman@chromium.org> wrote: > On 2013/02/05 ...
7 years, 10 months ago (2013-02-05 23:26:16 UTC) #8
piman
On Tue, Feb 5, 2013 at 3:25 PM, Dana Jansens <danakj@chromium.org> wrote: > On Tue, ...
7 years, 10 months ago (2013-02-05 23:59:18 UTC) #9
danakj
New patch. I added ui/compositor/offscreen_context.cc|h to implement ui::OffscreenContext. This class lazily owns/creates an offscreen WGC3D ...
7 years, 10 months ago (2013-02-06 03:37:52 UTC) #10
danakj
(I didn't address the comments for cc/ yet, but I did get rid of the ...
7 years, 10 months ago (2013-02-06 03:39:50 UTC) #11
danakj
ResourceUpdateController::updateTexture also makes use of the offscreen context3d. Now I recall that was what led ...
7 years, 10 months ago (2013-02-06 04:58:19 UTC) #12
danakj
New patch adds cc::GaneshResourceProvider that cc::ResourceProvider owns. The new class holds the offscreen WGContext3D and ...
7 years, 10 months ago (2013-02-07 22:00:31 UTC) #13
Stephen White
I'll look at the context creation stuff later, but just a quick question about the ...
7 years, 10 months ago (2013-02-07 22:07:52 UTC) #14
danakj
Thanks :) https://codereview.chromium.org/12212007/diff/49/cc/gl_renderer.cc File cc/gl_renderer.cc (left): https://codereview.chromium.org/12212007/diff/49/cc/gl_renderer.cc#oldcode435 cc/gl_renderer.cc:435: canvas.flush(); On 2013/02/07 22:07:52, Stephen White wrote: ...
7 years, 10 months ago (2013-02-07 22:11:14 UTC) #15
danakj
WindowAnimationsTest.HideShowBrightnessGrayscaleAnimation is failing on the bot, but it passes for me locally, not sure what ...
7 years, 10 months ago (2013-02-08 00:39:11 UTC) #16
danakj
On 2013/02/08 00:39:11, danakj wrote: > WindowAnimationsTest.HideShowBrightnessGrayscaleAnimation is failing on the bot, > but it ...
7 years, 10 months ago (2013-02-08 01:25:02 UTC) #17
danakj
On 2013/02/08 01:25:02, danakj wrote: > On 2013/02/08 00:39:11, danakj wrote: > > WindowAnimationsTest.HideShowBrightnessGrayscaleAnimation is ...
7 years, 10 months ago (2013-02-08 01:37:58 UTC) #18
bsalomon_chromium
https://codereview.chromium.org/12212007/diff/49/cc/gl_renderer.cc File cc/gl_renderer.cc (left): https://codereview.chromium.org/12212007/diff/49/cc/gl_renderer.cc#oldcode435 cc/gl_renderer.cc:435: canvas.flush(); On 2013/02/07 22:11:14, danakj wrote: > On 2013/02/07 ...
7 years, 10 months ago (2013-02-08 01:55:56 UTC) #19
danakj
On Thu, Feb 7, 2013 at 8:55 PM, <bsalomon@chromium.org> wrote: > Calling GrContext::flush() is sufficient. ...
7 years, 10 months ago (2013-02-08 01:57:58 UTC) #20
danakj
I moved the OffscreenContext class stuff into content/common/gpu/client. With that, I have a CL that ...
7 years, 10 months ago (2013-02-09 02:36:45 UTC) #21
jamesr
https://codereview.chromium.org/12212007/diff/2132/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/12212007/diff/2132/content/renderer/gpu/render_widget_compositor.cc#newcode291 content/renderer/gpu/render_widget_compositor.cc:291: // TODO(danakj): This should go through WebWidget what would ...
7 years, 10 months ago (2013-02-09 02:48:11 UTC) #22
danakj
https://codereview.chromium.org/12212007/diff/2132/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/12212007/diff/2132/content/renderer/gpu/render_widget_compositor.cc#newcode291 content/renderer/gpu/render_widget_compositor.cc:291: // TODO(danakj): This should go through WebWidget On 2013/02/09 ...
7 years, 10 months ago (2013-02-09 02:50:51 UTC) #23
piman
https://codereview.chromium.org/12212007/diff/9135/cc/ganesh_resource_provider.cc File cc/ganesh_resource_provider.cc (right): https://codereview.chromium.org/12212007/diff/9135/cc/ganesh_resource_provider.cc#newcode37 cc/ganesh_resource_provider.cc:37: if (gr_context()) gr_context()->flush(); nit: statement goes onto next line. ...
7 years, 10 months ago (2013-02-11 18:45:32 UTC) #24
danakj
https://codereview.chromium.org/12212007/diff/9135/cc/ganesh_resource_provider.cc File cc/ganesh_resource_provider.cc (right): https://codereview.chromium.org/12212007/diff/9135/cc/ganesh_resource_provider.cc#newcode37 cc/ganesh_resource_provider.cc:37: if (gr_context()) gr_context()->flush(); On 2013/02/11 18:45:33, piman wrote: > ...
7 years, 10 months ago (2013-02-11 18:58:12 UTC) #25
Stephen White
https://codereview.chromium.org/12212007/diff/2136/cc/gl_renderer.cc File cc/gl_renderer.cc (left): https://codereview.chromium.org/12212007/diff/2136/cc/gl_renderer.cc#oldcode455 cc/gl_renderer.cc:455: context3d->flush(); I still don't think it's a good idea ...
7 years, 10 months ago (2013-02-11 19:48:23 UTC) #26
danakj
https://codereview.chromium.org/12212007/diff/2136/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/12212007/diff/2136/cc/gl_renderer.cc#newcode376 cc/gl_renderer.cc:376: if (!renderer->resourceProvider()->ganeshContextProvider()->has_contexts()) On 2013/02/11 19:48:23, Stephen White wrote: > ...
7 years, 10 months ago (2013-02-11 21:06:13 UTC) #27
Stephen White
https://codereview.chromium.org/12212007/diff/2136/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/12212007/diff/2136/cc/gl_renderer.cc#newcode376 cc/gl_renderer.cc:376: if (!renderer->resourceProvider()->ganeshContextProvider()->has_contexts()) On 2013/02/11 19:48:23, Stephen White wrote: > ...
7 years, 10 months ago (2013-02-11 21:12:05 UTC) #28
danakj
https://codereview.chromium.org/12212007/diff/2136/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/12212007/diff/2136/cc/gl_renderer.cc#newcode376 cc/gl_renderer.cc:376: if (!renderer->resourceProvider()->ganeshContextProvider()->has_contexts()) On 2013/02/11 21:12:06, Stephen White wrote: > ...
7 years, 10 months ago (2013-02-11 21:14:21 UTC) #29
Stephen White
https://codereview.chromium.org/12212007/diff/2136/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/12212007/diff/2136/cc/gl_renderer.cc#newcode376 cc/gl_renderer.cc:376: if (!renderer->resourceProvider()->ganeshContextProvider()->has_contexts()) On 2013/02/11 21:14:21, danakj wrote: > On ...
7 years, 10 months ago (2013-02-11 21:17:48 UTC) #30
danakj
OK rebooted the patch (again). The browser-side changes are a lot less complicated now (yay). ...
7 years, 10 months ago (2013-02-12 07:34:04 UTC) #31
danakj
This trip has certainly been enlightening. PTAL. 1) embedder owns the GrContext. this is a ...
7 years, 10 months ago (2013-02-13 05:49:26 UTC) #32
Stephen White
https://codereview.chromium.org/12212007/diff/5179/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/12212007/diff/5179/cc/gl_renderer.cc#newcode408 cc/gl_renderer.cc:408: offscreenContexts->BeginUsingContexts(); This is still somewhat mysterious to someone who ...
7 years, 10 months ago (2013-02-13 15:26:05 UTC) #33
piman
https://codereview.chromium.org/12212007/diff/5179/content/browser/renderer_host/image_transport_factory.cc File content/browser/renderer_host/image_transport_factory.cc (right): https://codereview.chromium.org/12212007/diff/5179/content/browser/renderer_host/image_transport_factory.cc#newcode628 content/browser/renderer_host/image_transport_factory.cc:628: memory_callback_proxy_compositor_thread_.reset(new MemoryCallbackProxy( So, this is called on the main ...
7 years, 10 months ago (2013-02-13 19:13:30 UTC) #34
danakj
https://codereview.chromium.org/12212007/diff/5179/ui/compositor/compositor.cc File ui/compositor/compositor.cc (right): https://codereview.chromium.org/12212007/diff/5179/ui/compositor/compositor.cc#newcode173 ui/compositor/compositor.cc:173: scoped_ptr<ui::TestWebGraphicsContext3D> test_context( On 2013/02/13 19:13:31, piman wrote: > Mmh, ...
7 years, 10 months ago (2013-02-13 20:47:09 UTC) #35
danakj
https://codereview.chromium.org/12212007/diff/5179/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/12212007/diff/5179/content/renderer/gpu/render_widget_compositor.cc#newcode359 content/renderer/gpu/render_widget_compositor.cc:359: return WebKit::WebSharedGraphicsContext3D::compositorThreadContext(); On 2013/02/13 19:13:31, piman wrote: > WebSharedGraphicsContext3D::compositorThreadContext ...
7 years, 10 months ago (2013-02-13 20:57:23 UTC) #36
piman
https://codereview.chromium.org/12212007/diff/5179/ui/compositor/compositor.cc File ui/compositor/compositor.cc (right): https://codereview.chromium.org/12212007/diff/5179/ui/compositor/compositor.cc#newcode173 ui/compositor/compositor.cc:173: scoped_ptr<ui::TestWebGraphicsContext3D> test_context( On 2013/02/13 20:47:10, danakj wrote: > On ...
7 years, 10 months ago (2013-02-14 00:16:07 UTC) #37
piman
On Wed, Feb 13, 2013 at 12:57 PM, <danakj@chromium.org> wrote: > > https://codereview.chromium.**org/12212007/diff/5179/** > content/renderer/gpu/render_**widget_compositor.cc<https://codereview.chromium.org/12212007/diff/5179/content/renderer/gpu/render_widget_compositor.cc> ...
7 years, 10 months ago (2013-02-14 00:20:42 UTC) #38
danakj
On 2013/02/14 00:16:07, piman wrote: > https://codereview.chromium.org/12212007/diff/5179/ui/compositor/compositor.cc > File ui/compositor/compositor.cc (right): > > https://codereview.chromium.org/12212007/diff/5179/ui/compositor/compositor.cc#newcode173 > ...
7 years, 10 months ago (2013-02-14 00:36:39 UTC) #39
piman
On Wed, Feb 13, 2013 at 4:36 PM, <danakj@chromium.org> wrote: > On 2013/02/14 00:16:07, piman ...
7 years, 10 months ago (2013-02-14 00:59:51 UTC) #40
danakj
PTAL When all else fails, punt! No more cc::GrContextProvider, so I left all the explicit ...
7 years, 10 months ago (2013-02-21 06:20:53 UTC) #41
danakj
Oh, and also: - RenderWidgetCompositor has its own ContextProviders that just wrap the WebSharedGraphicsContext3D class. ...
7 years, 10 months ago (2013-02-21 06:41:15 UTC) #42
piman
Note: a couple of small thread safety worries/problems, otherwise mostly nits. https://codereview.chromium.org/12212007/diff/37039/cc/gl_renderer.cc File cc/gl_renderer.cc (right): ...
7 years, 10 months ago (2013-02-21 22:49:47 UTC) #43
danakj
Thanks! All addressed. PTAL https://codereview.chromium.org/12212007/diff/37039/cc/gl_renderer.cc File cc/gl_renderer.cc (right): https://codereview.chromium.org/12212007/diff/37039/cc/gl_renderer.cc#newcode392 cc/gl_renderer.cc:392: // Make sure ganesh uses ...
7 years, 10 months ago (2013-02-22 01:56:31 UTC) #44
danakj
https://codereview.chromium.org/12212007/diff/37039/ui/gl/context_provider.h File ui/gl/context_provider.h (right): https://codereview.chromium.org/12212007/diff/37039/ui/gl/context_provider.h#newcode11 ui/gl/context_provider.h:11: namespace WebKit { class WebGraphicsContext3D; } On 2013/02/22 01:56:31, ...
7 years, 10 months ago (2013-02-22 01:59:28 UTC) #45
danakj
On 2013/02/22 01:59:28, danakj wrote: > https://codereview.chromium.org/12212007/diff/37039/ui/gl/context_provider.h > File ui/gl/context_provider.h (right): > > https://codereview.chromium.org/12212007/diff/37039/ui/gl/context_provider.h#newcode11 > ...
7 years, 10 months ago (2013-02-22 02:06:38 UTC) #46
danakj
On 2013/02/22 02:06:38, danakj wrote: > On 2013/02/22 01:59:28, danakj wrote: > > https://codereview.chromium.org/12212007/diff/37039/ui/gl/context_provider.h > ...
7 years, 10 months ago (2013-02-22 02:33:27 UTC) #47
piman
https://codereview.chromium.org/12212007/diff/37039/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://codereview.chromium.org/12212007/diff/37039/content/browser/renderer_host/compositor_impl_android.cc#newcode352 content/browser/renderer_host/compositor_impl_android.cc:352: return null_offscreen_context_provider_; On 2013/02/22 01:56:31, danakj wrote: > On ...
7 years, 10 months ago (2013-02-22 02:54:07 UTC) #48
danakj
Done. Also I was tweaking with the unit tests and inspired a small change in ...
7 years, 10 months ago (2013-02-22 03:04:49 UTC) #49
piman
LGTM, yay! https://codereview.chromium.org/12212007/diff/51008/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://codereview.chromium.org/12212007/diff/51008/content/browser/renderer_host/compositor_impl_android.cc#newcode343 content/browser/renderer_host/compositor_impl_android.cc:343: // would require them in this compositor ...
7 years, 10 months ago (2013-02-22 03:16:39 UTC) #50
danakj
thanks! https://codereview.chromium.org/12212007/diff/51008/content/browser/renderer_host/compositor_impl_android.cc File content/browser/renderer_host/compositor_impl_android.cc (right): https://codereview.chromium.org/12212007/diff/51008/content/browser/renderer_host/compositor_impl_android.cc#newcode343 content/browser/renderer_host/compositor_impl_android.cc:343: // would require them in this compositor instance. ...
7 years, 10 months ago (2013-02-22 03:23:08 UTC) #51
jamesr
webkit/ lgtm https://codereview.chromium.org/12212007/diff/45069/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/12212007/diff/45069/content/renderer/gpu/render_widget_compositor.cc#newcode453 content/renderer/gpu/render_widget_compositor.cc:453: return WebKit::WebSharedGraphicsContext3D::mainThreadContext(); We also have WebKit::WebView::sharedGraphicsContext3D() that ...
7 years, 10 months ago (2013-02-22 19:11:40 UTC) #52
danakj
https://codereview.chromium.org/12212007/diff/45069/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/12212007/diff/45069/content/renderer/gpu/render_widget_compositor.cc#newcode453 content/renderer/gpu/render_widget_compositor.cc:453: return WebKit::WebSharedGraphicsContext3D::mainThreadContext(); On 2013/02/22 19:11:40, jamesr wrote: > We ...
7 years, 10 months ago (2013-02-22 19:17:52 UTC) #53
danakj
https://codereview.chromium.org/12212007/diff/45069/content/renderer/gpu/render_widget_compositor.cc File content/renderer/gpu/render_widget_compositor.cc (right): https://codereview.chromium.org/12212007/diff/45069/content/renderer/gpu/render_widget_compositor.cc#newcode453 content/renderer/gpu/render_widget_compositor.cc:453: return WebKit::WebSharedGraphicsContext3D::mainThreadContext(); On 2013/02/22 19:11:40, jamesr wrote: > We ...
7 years, 10 months ago (2013-02-22 19:17:53 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/12212007/45069
7 years, 10 months ago (2013-02-22 19:19:06 UTC) #55
commit-bot: I haz the power
7 years, 10 months ago (2013-02-22 20:32:07 UTC) #56
Message was sent while issue was closed.
Change committed as 184165

Powered by Google App Engine
This is Rietveld 408576698