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

Issue 251343002: Remove offscreen compositor contexts. (Closed)

Created:
6 years, 8 months ago by danakj
Modified:
6 years, 8 months ago
CC:
chromium-reviews, darin (slow to review), viettrungluu+watch_chromium.org, Ian Vollick, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, Aaron Boodman, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, cc-bugs_chromium.org, abarth-chromium, ben+mojo_chromium.org, danakj+watch_chromium.org, jamesr, no sievers
Visibility:
Public.

Description

Remove offscreen compositor contexts. After https://codereview.chromium.org/250083002/ cc no longer uses an offscreen context for ganesh filters. Instead using the main onscreen context. So, delete the code to create offscreen contexts for the compositor. R=abarth@chromium.org, boliu@chromium.org, enne@chromium.org, piman@chromium.org, enne, piman BUG=366132, 366130 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=265974

Patch Set 1 #

Total comments: 7

Patch Set 2 : rm-offscreencontext: leak+virtual #

Patch Set 3 : rm-offscreencontext: rebase #

Patch Set 4 : rm-offscreencontext: rmtest #

Patch Set 5 : rm-offscreencontext: include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -952 lines) Patch
M cc/layers/delegated_renderer_layer.cc View 2 chunks +0 lines, -24 lines 0 comments Download
M cc/layers/layer.h View 1 chunk +0 lines, -3 lines 0 comments Download
M cc/layers/layer.cc View 5 chunks +0 lines, -13 lines 0 comments Download
M cc/layers/picture_layer_impl_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/output/delegating_renderer.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/output/delegating_renderer.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M cc/output/direct_renderer.h View 2 chunks +0 lines, -3 lines 0 comments Download
M cc/output/direct_renderer.cc View 3 chunks +2 lines, -6 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 28 chunks +0 lines, -28 lines 0 comments Download
M cc/output/output_surface.h View 1 chunk +1 line, -4 lines 0 comments Download
M cc/output/output_surface.cc View 2 chunks +3 lines, -4 lines 0 comments Download
M cc/output/output_surface_client.h View 1 chunk +1 line, -2 lines 0 comments Download
M cc/output/output_surface_unittest.cc View 2 chunks +1 line, -8 lines 0 comments Download
M cc/output/overlay_unittest.cc View 3 chunks +3 lines, -6 lines 0 comments Download
M cc/output/renderer.h View 2 chunks +0 lines, -2 lines 0 comments Download
M cc/output/renderer.cc View 2 chunks +0 lines, -2 lines 0 comments Download
M cc/output/renderer_pixeltest.cc View 31 chunks +0 lines, -31 lines 0 comments Download
M cc/output/software_renderer_unittest.cc View 6 chunks +0 lines, -6 lines 0 comments Download
M cc/resources/resource_provider_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M cc/surfaces/surfaces_pixeltest.cc View 3 chunks +0 lines, -3 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.h View 2 chunks +0 lines, -3 lines 0 comments Download
M cc/test/fake_layer_tree_host_client.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M cc/test/fake_output_surface_client.h View 3 chunks +1 line, -8 lines 0 comments Download
M cc/test/fake_output_surface_client.cc View 1 chunk +1 line, -3 lines 0 comments Download
M cc/test/layer_tree_pixel_test.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/test/layer_tree_pixel_test.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M cc/test/layer_tree_test.h View 2 chunks +0 lines, -3 lines 0 comments Download
M cc/test/layer_tree_test.cc View 2 chunks +0 lines, -11 lines 0 comments Download
M cc/test/pixel_test.h View 1 chunk +0 lines, -7 lines 0 comments Download
M cc/test/pixel_test.cc View 4 chunks +0 lines, -14 lines 0 comments Download
M cc/trees/layer_tree_host.h View 4 chunks +0 lines, -8 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 2 chunks +0 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_client.h View 1 chunk +0 lines, -5 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 2 chunks +1 line, -8 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 5 chunks +3 lines, -54 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 5 chunks +5 lines, -72 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 2 chunks +1 line, -26 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 11 chunks +0 lines, -102 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 2 chunks +1 line, -3 lines 0 comments Download
M cc/trees/single_thread_proxy.cc View 7 chunks +2 lines, -45 lines 0 comments Download
M cc/trees/thread_proxy.h View 3 chunks +2 lines, -7 lines 0 comments Download
M cc/trees/thread_proxy.cc View 10 chunks +3 lines, -44 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_factory_impl.h View 1 2 chunks +6 lines, -11 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_factory_impl.cc View 1 chunk +3 lines, -7 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_impl.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_output_surface.h View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_output_surface.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.h View 2 chunks +0 lines, -4 lines 0 comments Download
M content/browser/compositor/gpu_process_transport_factory.cc View 6 chunks +2 lines, -33 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 2 chunks +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 chunk +0 lines, -8 lines 0 comments Download
M content/common/gpu/client/context_provider_command_buffer.h View 1 2 chunks +0 lines, -6 lines 0 comments Download
M content/common/gpu/client/context_provider_command_buffer.cc View 1 2 chunks +0 lines, -8 lines 0 comments Download
D content/common/gpu/client/context_provider_command_buffer_browsertest.cc View 1 2 3 1 chunk +0 lines, -62 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 2 chunks +0 lines, -3 lines 0 comments Download
M content/renderer/android/synchronous_compositor_factory.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M content/renderer/render_thread_impl.h View 2 chunks +0 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 3 chunks +2 lines, -40 lines 0 comments Download
D content/test/test_context_provider_factory.h View 1 chunk +0 lines, -40 lines 0 comments Download
D content/test/test_context_provider_factory.cc View 1 chunk +0 lines, -38 lines 0 comments Download
M content/test/web_layer_tree_view_impl_for_testing.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/test/web_layer_tree_view_impl_for_testing.cc View 1 2 3 4 2 chunks +0 lines, -8 lines 0 comments Download
M mojo/examples/aura_demo/demo_context_factory.h View 2 chunks +0 lines, -4 lines 0 comments Download
M mojo/examples/aura_demo/demo_context_factory.cc View 1 chunk +0 lines, -16 lines 0 comments Download
M mojo/examples/compositor_app/compositor_host.h View 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/examples/compositor_app/compositor_host.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/compositor/compositor.h View 2 chunks +1 line, -11 lines 0 comments Download
M ui/compositor/compositor.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M ui/compositor/test/in_process_context_factory.h View 2 chunks +0 lines, -4 lines 0 comments Download
M ui/compositor/test/in_process_context_factory.cc View 1 chunk +4 lines, -22 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
danakj
enne: please review cc piman: please review everything else boliu: please review android webview (DeferredInit) ...
6 years, 8 months ago (2014-04-23 22:38:12 UTC) #1
enne (OOO)
cc: lgtm with a side of <333
6 years, 8 months ago (2014-04-23 22:41:20 UTC) #2
abarth-chromium
mojo/ LGTM
6 years, 8 months ago (2014-04-23 22:51:35 UTC) #3
piman
Wow awesome much delete very simplify lgtm https://codereview.chromium.org/251343002/diff/1/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (left): https://codereview.chromium.org/251343002/diff/1/content/renderer/render_thread_impl.cc#oldcode571 content/renderer/render_thread_impl.cc:571: offscreen_compositor_contexts_->set_leak_on_destroy(); nit: ...
6 years, 8 months ago (2014-04-24 00:13:59 UTC) #4
boliu
synchronous_compositor and DeferredInit lgtm https://codereview.chromium.org/251343002/diff/1/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (left): https://codereview.chromium.org/251343002/diff/1/cc/trees/layer_tree_host_impl.cc#oldcode1935 cc/trees/layer_tree_host_impl.cc:1935: bool success = true; omg, ...
6 years, 8 months ago (2014-04-24 00:28:57 UTC) #5
danakj
https://codereview.chromium.org/251343002/diff/1/content/browser/android/in_process/synchronous_compositor_factory_impl.h File content/browser/android/in_process/synchronous_compositor_factory_impl.h (right): https://codereview.chromium.org/251343002/diff/1/content/browser/android/in_process/synchronous_compositor_factory_impl.h#newcode48 content/browser/android/in_process/synchronous_compositor_factory_impl.h:48: GetOffscreenContextProviderForCompositorThread() OVERRIDE; On 2014/04/24 00:28:57, boliu wrote: > Can ...
6 years, 8 months ago (2014-04-24 15:01:31 UTC) #6
danakj
https://codereview.chromium.org/251343002/diff/1/content/browser/android/in_process/synchronous_compositor_factory_impl.h File content/browser/android/in_process/synchronous_compositor_factory_impl.h (right): https://codereview.chromium.org/251343002/diff/1/content/browser/android/in_process/synchronous_compositor_factory_impl.h#newcode48 content/browser/android/in_process/synchronous_compositor_factory_impl.h:48: GetOffscreenContextProviderForCompositorThread() OVERRIDE; On 2014/04/24 15:01:32, danakj wrote: > On ...
6 years, 8 months ago (2014-04-24 15:02:41 UTC) #7
danakj
https://codereview.chromium.org/251343002/diff/1/content/browser/android/in_process/synchronous_compositor_factory_impl.h File content/browser/android/in_process/synchronous_compositor_factory_impl.h (right): https://codereview.chromium.org/251343002/diff/1/content/browser/android/in_process/synchronous_compositor_factory_impl.h#newcode48 content/browser/android/in_process/synchronous_compositor_factory_impl.h:48: GetOffscreenContextProviderForCompositorThread() OVERRIDE; On 2014/04/24 15:02:42, danakj wrote: > On ...
6 years, 8 months ago (2014-04-24 15:04:06 UTC) #8
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 8 months ago (2014-04-24 15:06:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/251343002/80001
6 years, 8 months ago (2014-04-24 15:07:02 UTC) #10
commit-bot: I haz the power
Failed to request the patch to try. Please note that binary files are still unsupported ...
6 years, 8 months ago (2014-04-24 15:07:08 UTC) #11
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 8 months ago (2014-04-24 15:07:29 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/251343002/100001
6 years, 8 months ago (2014-04-24 15:07:48 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 15:18:53 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-04-24 15:18:53 UTC) #15
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 8 months ago (2014-04-24 15:20:39 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/251343002/120001
6 years, 8 months ago (2014-04-24 15:21:29 UTC) #17
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-24 15:26:33 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_chromeos_rel
6 years, 8 months ago (2014-04-24 15:26:34 UTC) #19
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 8 months ago (2014-04-24 16:36:34 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/251343002/140001
6 years, 8 months ago (2014-04-24 16:37:53 UTC) #21
danakj
Committed patchset #5 manually as r265974 (presubmit successful).
6 years, 8 months ago (2014-04-24 19:49:03 UTC) #22
commit-bot: I haz the power
6 years, 8 months ago (2014-04-24 21:07:15 UTC) #23
Message was sent while issue was closed.
Try jobs failed on following builders:
  tryserver.chromium on win_chromium_rel

Powered by Google App Engine
This is Rietveld 408576698