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

Issue 2690113010: Abstract OSMesa from the Layout tests (Closed)

Created:
3 years, 10 months ago by sugoi1
Modified:
3 years, 10 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, mlamouri+watch-content_chromium.org, Peter Beverloo, jam, darin-cc_chromium.org, piman+watch_chromium.org, chromium-apps-reviews_chromium.org, xjz+watch_chromium.org, jochen+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Abstract OSMesa from the Layout tests In order to be able to switch between SwiftShader and OSMesa based on the platform being used, OSMesa was abstracted to just "software GL", which can apply to OSMesa or SwiftShader. The new function, GetSoftwareGLImplementation(), which currently always returns kGLImplementationOSMesaGL in order to preserve the current behavior, will be used to switch between SwiftShader and OSMesa. This current change should be a noop, it simply makes it easy to switch between renderers. BUG=630728 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2690113010 Cr-Commit-Position: refs/heads/master@{#450946} Committed: https://chromium.googlesource.com/chromium/src/+/6fdc0748d97e254124025dac675676ac7e029fb4

Patch Set 1 #

Patch Set 2 : Fixed test code #

Total comments: 6

Patch Set 3 : Renamed "Renderer" to "GL" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -68 lines) Patch
M chrome/browser/extensions/api/tab_capture/tab_capture_apitest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/gpu/gpu_data_manager_impl_private.cc View 1 2 4 chunks +15 lines, -11 lines 0 comments Download
M content/public/test/browser_test_base.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/test/browser_test_base.cc View 1 2 2 chunks +12 lines, -12 lines 0 comments Download
M content/shell/app/shell_main_delegate.cc View 1 2 2 chunks +5 lines, -3 lines 0 comments Download
M gpu/ipc/host/gpu_memory_buffer_support.cc View 1 2 2 chunks +7 lines, -4 lines 0 comments Download
M gpu/ipc/service/gpu_init.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M mash/test/mash_test_suite.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M services/ui/ws/window_server_service_test_base.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_implementation.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gl/gl_implementation.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gl/gl_switches.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/gl/gl_switches.cc View 1 2 3 chunks +5 lines, -4 lines 0 comments Download
M ui/gl/init/gl_factory.h View 1 2 1 chunk +5 lines, -4 lines 0 comments Download
M ui/gl/init/gl_factory.cc View 1 2 2 chunks +8 lines, -8 lines 0 comments Download
M ui/gl/test/gl_surface_test_support.cc View 1 2 3 chunks +11 lines, -11 lines 0 comments Download
M ui/views/mus/views_mus_test_suite.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 40 (26 generated)
sugoi1
I will soon update SwiftShader's backend to use Subzero instead of LLVM. After this cl ...
3 years, 10 months ago (2017-02-14 19:45:02 UTC) #5
jbauman
https://codereview.chromium.org/2690113010/diff/20001/content/public/test/browser_test_base.h File content/public/test/browser_test_base.h (right): https://codereview.chromium.org/2690113010/diff/20001/content/public/test/browser_test_base.h#newcode126 content/public/test/browser_test_base.h:126: bool UsingSoftwareRenderer() const; Maybe call this UsingSoftwareGL() instead. Otherwise ...
3 years, 10 months ago (2017-02-15 00:43:48 UTC) #12
Ken Russell (switch to Gerrit)
LGTM overall. Naming nits only. https://codereview.chromium.org/2690113010/diff/20001/content/browser/gpu/gpu_data_manager_impl_private.cc File content/browser/gpu/gpu_data_manager_impl_private.cc (right): https://codereview.chromium.org/2690113010/diff/20001/content/browser/gpu/gpu_data_manager_impl_private.cc#newcode539 content/browser/gpu/gpu_data_manager_impl_private.cc:539: const bool force_software_rendering = ...
3 years, 10 months ago (2017-02-15 02:32:15 UTC) #13
sugoi1
Fixed naming nits
3 years, 10 months ago (2017-02-15 16:48:21 UTC) #16
sugoi1
Adding sky@ for trivial changes in: chrome/browser/extensions/api/tab_capture/ content/public/test/ mash/ services/ui/ws/ ui/views/mus/ Adding mkwst@ and peter@ ...
3 years, 10 months ago (2017-02-15 19:25:32 UTC) #20
sky
LGTM
3 years, 10 months ago (2017-02-15 21:08:30 UTC) #22
Peter Beverloo
lgtm
3 years, 10 months ago (2017-02-15 21:40:06 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2690113010/40001
3 years, 10 months ago (2017-02-15 21:53:15 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/119885)
3 years, 10 months ago (2017-02-15 23:25:04 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2690113010/40001
3 years, 10 months ago (2017-02-16 03:37:24 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2690113010/40001
3 years, 10 months ago (2017-02-16 04:19:24 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-16 05:40:34 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2690113010/40001
3 years, 10 months ago (2017-02-16 13:36:27 UTC) #37
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 13:42:44 UTC) #40
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/6fdc0748d97e254124025dac6756...

Powered by Google App Engine
This is Rietveld 408576698