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 19267016: Add a flag to allow renderer to use software compositor when GL compositor doesn't work. (Closed)

Created:
7 years, 5 months ago by jbauman
Modified:
7 years, 4 months ago
Reviewers:
danakj, jamesr, piman
CC:
chromium-reviews, jonathan.backer, Ian Vollick, jam, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, jochen+watch_chromium.org
Visibility:
Public.

Description

Add a flag to allow renderer to use software compositor when GL compositor doesn't work. The --enable-software-compositing flag will allow the renderer to use the software compositor if it can't create a GL context. This is currently accomplished by having the compositor request a "fallback" output surface if the normal output surface can't be initialized (on the impl thread). BUG=229712, 230120 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=214930

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Total comments: 1

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -129 lines) Patch
M cc/layers/texture_layer_unittest.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M cc/output/delegating_renderer_unittest.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M cc/test/fake_layer_tree_host_client.h View 1 chunk +1 line, -1 line 0 comments Download
M cc/test/fake_layer_tree_host_client.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M cc/test/layer_tree_pixel_test.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/test/layer_tree_pixel_test.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M cc/test/layer_tree_test.h View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M cc/test/layer_tree_test.cc View 1 2 3 4 5 2 chunks +4 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M cc/trees/layer_tree_host_client.h View 1 1 chunk +3 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 4 5 3 chunks +6 lines, -3 lines 0 comments Download
M cc/trees/layer_tree_host_unittest_context.cc View 1 2 3 4 5 10 chunks +104 lines, -77 lines 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 3 4 5 3 chunks +11 lines, -1 line 0 comments Download
M content/browser/renderer_host/compositor_impl_android.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/compositor_impl_android.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M content/public/common/content_switches.h View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M content/public/common/content_switches.cc View 1 2 3 4 5 1 chunk +5 lines, -3 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 4 chunks +18 lines, -11 lines 0 comments Download
M content/shell/app/shell_main_delegate.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M content/shell/common/shell_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/shell/common/shell_switches.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M content/shell/webkit_test_controller.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/compositor.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M ui/compositor/compositor.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M webkit/support/web_layer_tree_view_impl_for_testing.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M webkit/support/web_layer_tree_view_impl_for_testing.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
jbauman
7 years, 5 months ago (2013-07-25 00:56:03 UTC) #1
danakj
I've been planning a way to address this issue that pushes the whole context recovery/fallback ...
7 years, 5 months ago (2013-07-25 15:39:09 UTC) #2
jbauman
On 2013/07/25 15:39:09, danakj wrote: > I've been planning a way to address this issue ...
7 years, 5 months ago (2013-07-25 23:41:17 UTC) #3
danakj
Doing the OutputSurface for mode switching won't be in a week or two time frame ...
7 years, 5 months ago (2013-07-26 01:51:58 UTC) #4
piman
LGTM (+nit) for now, and we can fix with Dana's changes. https://codereview.chromium.org/19267016/diff/23001/content/public/common/content_switches.cc File content/public/common/content_switches.cc (right): ...
7 years, 5 months ago (2013-07-26 03:36:35 UTC) #5
jbauman
Also adding jamesr to do an OWNERS review of webkit\support\
7 years, 4 months ago (2013-07-27 02:23:48 UTC) #6
jamesr
lgtm
7 years, 4 months ago (2013-07-28 23:10:13 UTC) #7
danakj
Thanks for the tests, didn't see you publish this after writing them, but LGTM https://codereview.chromium.org/19267016/diff/40001/cc/trees/layer_tree_host_unittest_context.cc ...
7 years, 4 months ago (2013-07-30 01:04:07 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/19267016/51001
7 years, 4 months ago (2013-07-31 23:26:12 UTC) #9
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 4 months ago (2013-07-31 23:43:26 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/19267016/51001
7 years, 4 months ago (2013-08-01 00:02:13 UTC) #11
commit-bot: I haz the power
7 years, 4 months ago (2013-08-01 02:46:27 UTC) #12
Message was sent while issue was closed.
Change committed as 214930

Powered by Google App Engine
This is Rietveld 408576698