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

Issue 8480015: Allow switching to SwiftShader when GPU is blacklisted (Closed)

Created:
9 years, 1 month ago by jbauman
Modified:
9 years, 1 month ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, apatrick_chromium, dpranke-watch+content_chromium.org
Visibility:
Public.

Description

Allow switching to SwiftShader when GPU is blacklisted When a path to swiftshader is specified and the current GPU is blacklisted, tell the gpu process to use swiftshader to render it. If there already is a gpu process, kill it and make a new one that uses swiftshader BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109695

Patch Set 1 #

Patch Set 2 : remove duplication #

Total comments: 12

Patch Set 3 : some cleanups #

Patch Set 4 : use correct feature flags for determining command line arguments #

Total comments: 2

Patch Set 5 : rename functions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -8 lines) Patch
M content/browser/gpu/gpu_data_manager.h View 1 2 3 4 4 chunks +13 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_data_manager.cc View 1 2 3 4 7 chunks +47 lines, -5 lines 0 comments Download
M content/browser/gpu/gpu_process_host.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 3 4 5 chunks +37 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
jbauman
9 years, 1 month ago (2011-11-05 00:08:29 UTC) #1
Zhenyao Mo
http://codereview.chromium.org/8480015/diff/2001/content/browser/gpu/gpu_data_manager.cc File content/browser/gpu/gpu_data_manager.cc (right): http://codereview.chromium.org/8480015/diff/2001/content/browser/gpu/gpu_data_manager.cc#newcode419 content/browser/gpu/gpu_data_manager.cc:419: flags.set_flags(GpuFeatureFlags::kGpuFeatureAccelerated2dCanvas); What about accelerated_compositing? what about multisampling? http://codereview.chromium.org/8480015/diff/2001/content/browser/gpu/gpu_data_manager.cc#newcode708 content/browser/gpu/gpu_data_manager.cc:708: ...
9 years, 1 month ago (2011-11-05 00:39:19 UTC) #2
jbauman
http://codereview.chromium.org/8480015/diff/2001/content/browser/gpu/gpu_data_manager.cc File content/browser/gpu/gpu_data_manager.cc (right): http://codereview.chromium.org/8480015/diff/2001/content/browser/gpu/gpu_data_manager.cc#newcode419 content/browser/gpu/gpu_data_manager.cc:419: flags.set_flags(GpuFeatureFlags::kGpuFeatureAccelerated2dCanvas); On 2011/11/05 00:39:19, Zhenyao Mo wrote: > What ...
9 years, 1 month ago (2011-11-05 00:49:34 UTC) #3
Zhenyao Mo
http://codereview.chromium.org/8480015/diff/2001/content/browser/gpu/gpu_data_manager.cc File content/browser/gpu/gpu_data_manager.cc (right): http://codereview.chromium.org/8480015/diff/2001/content/browser/gpu/gpu_data_manager.cc#newcode419 content/browser/gpu/gpu_data_manager.cc:419: flags.set_flags(GpuFeatureFlags::kGpuFeatureAccelerated2dCanvas); On 2011/11/05 00:49:34, jbauman wrote: > On 2011/11/05 ...
9 years, 1 month ago (2011-11-05 01:03:58 UTC) #4
jbauman
Hopefully the issues are fixed. Also, the issue I was seeing, was due to the ...
9 years, 1 month ago (2011-11-07 23:53:05 UTC) #5
Zhenyao Mo
LGTM with style nits. Please fix them before landing. http://codereview.chromium.org/8480015/diff/7001/content/browser/gpu/gpu_data_manager.h File content/browser/gpu/gpu_data_manager.h (right): http://codereview.chromium.org/8480015/diff/7001/content/browser/gpu/gpu_data_manager.h#newcode132 content/browser/gpu/gpu_data_manager.h:132: ...
9 years, 1 month ago (2011-11-10 18:34:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/8480015/13001
9 years, 1 month ago (2011-11-11 18:41:39 UTC) #7
commit-bot: I haz the power
Presubmit check for 8480015-13001 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 1 month ago (2011-11-11 18:41:42 UTC) #8
jbauman
9 years, 1 month ago (2011-11-11 18:42:56 UTC) #9
jbauman
Al, could you review this?
9 years, 1 month ago (2011-11-11 19:15:56 UTC) #10
apatrick_chromium
Cleanup discussed offline. LGTM.
9 years, 1 month ago (2011-11-11 19:33:04 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/8480015/13001
9 years, 1 month ago (2011-11-11 19:37:41 UTC) #12
commit-bot: I haz the power
9 years, 1 month ago (2011-11-11 21:04:42 UTC) #13
Change committed as 109695

Powered by Google App Engine
This is Rietveld 408576698