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

Issue 7967020: Implement --use-gl=any (Closed)

Created:
9 years, 3 months ago by Zhenyao Mo
Modified:
9 years, 2 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, dpranke+watch-content_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Implement --use-gl=any The behavior is this: if --use-gl=any passes in, and the default GL binding causes GPU features to be blacklisted, fallback to osmesa. Also, in GPU process, if the default binding fails, fallback to osmesa. This option will be used in testing to make sure accelerated path is always tested, if not on GPU, then on top of osmesa. This CL also moves certain functions out of GpuBlacklist to GpuDataManager so we could manage the special cases when --use-gl=osmesa or --use-gl=any is passed. BUG=97675 TEST=bots green Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102973

Patch Set 1 #

Total comments: 6

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -224 lines) Patch
M content/browser/gpu/gpu_blacklist.h View 1 2 chunks +3 lines, -26 lines 0 comments Download
M content/browser/gpu/gpu_blacklist.cc View 1 2 chunks +17 lines, -176 lines 0 comments Download
M content/browser/gpu/gpu_data_manager.h View 1 2 chunks +32 lines, -3 lines 0 comments Download
M content/browser/gpu/gpu_data_manager.cc View 1 2 5 chunks +196 lines, -13 lines 0 comments Download
M content/browser/gpu/gpu_process_host.cc View 1 2 chunks +2 lines, -5 lines 0 comments Download
M ui/gfx/gl/gl_implementation.cc View 1 2 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
Zhenyao Mo
Al, could you review the ui/gfx part? Nat, could you review the content/browser/gpu part?
9 years, 3 months ago (2011-09-22 23:57:31 UTC) #1
nduca
LGTM
9 years, 3 months ago (2011-09-23 20:28:23 UTC) #2
Zhenyao Mo
Al?
9 years, 2 months ago (2011-09-26 20:27:35 UTC) #3
alokp
http://codereview.chromium.org/7967020/diff/1/ui/gfx/gl/gl_implementation.cc File ui/gfx/gl/gl_implementation.cc (right): http://codereview.chromium.org/7967020/diff/1/ui/gfx/gl/gl_implementation.cc#newcode75 ui/gfx/gl/gl_implementation.cc:75: if (requested_implementation == kGLImplementationAny) { I do not think ...
9 years, 2 months ago (2011-09-27 15:55:48 UTC) #4
Zhenyao Mo
http://codereview.chromium.org/7967020/diff/1/ui/gfx/gl/gl_implementation.cc File ui/gfx/gl/gl_implementation.cc (right): http://codereview.chromium.org/7967020/diff/1/ui/gfx/gl/gl_implementation.cc#newcode75 ui/gfx/gl/gl_implementation.cc:75: if (requested_implementation == kGLImplementationAny) { On 2011/09/27 15:55:48, Alok ...
9 years, 2 months ago (2011-09-27 17:17:31 UTC) #5
alokp
http://codereview.chromium.org/7967020/diff/1/ui/gfx/gl/gl_implementation.cc File ui/gfx/gl/gl_implementation.cc (right): http://codereview.chromium.org/7967020/diff/1/ui/gfx/gl/gl_implementation.cc#newcode75 ui/gfx/gl/gl_implementation.cc:75: if (requested_implementation == kGLImplementationAny) { On 2011/09/27 17:17:31, Zhenyao ...
9 years, 2 months ago (2011-09-27 17:22:24 UTC) #6
Zhenyao Mo
http://codereview.chromium.org/7967020/diff/1/ui/gfx/gl/gl_implementation.cc File ui/gfx/gl/gl_implementation.cc (right): http://codereview.chromium.org/7967020/diff/1/ui/gfx/gl/gl_implementation.cc#newcode75 ui/gfx/gl/gl_implementation.cc:75: if (requested_implementation == kGLImplementationAny) { On 2011/09/27 17:22:25, Alok ...
9 years, 2 months ago (2011-09-27 17:36:22 UTC) #7
Zhenyao Mo
revised. http://codereview.chromium.org/7967020/diff/1/ui/gfx/gl/gl_implementation.h File ui/gfx/gl/gl_implementation.h (right): http://codereview.chromium.org/7967020/diff/1/ui/gfx/gl/gl_implementation.h#newcode25 ui/gfx/gl/gl_implementation.h:25: kGLImplementationAny On 2011/09/27 15:55:48, Alok Priyadarshi wrote: > ...
9 years, 2 months ago (2011-09-27 18:01:56 UTC) #8
alokp
9 years, 2 months ago (2011-09-27 18:06:33 UTC) #9
Still looks a bit awkward but would work. LGTM.

Powered by Google App Engine
This is Rietveld 408576698