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

Issue 2926423002: ozone: Allow using swiftshader with --use-gl=swiftshader. (Closed)

Created:
3 years, 6 months ago by sadrul
Modified:
3 years, 6 months ago
Reviewers:
rjkroege, tonikitoo
CC:
chromium-reviews, kalyank, piman+watch_chromium.org, ozone-reviews_chromium.org, Michael Forney
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone: Allow using swiftshader with --use-gl=swiftshader. This hooks up the ozone code so it can deal with --use-gl=swiftshader flag correctly. BUG=704285 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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/2926423002 Cr-Commit-Position: refs/heads/master@{#478817} Committed: https://chromium.googlesource.com/chromium/src/+/1e117683d1819528521a763e94162035d42f1826

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Total comments: 6

Patch Set 6 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -31 lines) Patch
M ui/ozone/common/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/common/egl_util.h View 1 chunk +3 lines, -5 lines 0 comments Download
M ui/ozone/common/egl_util.cc View 1 2 3 4 3 chunks +38 lines, -12 lines 0 comments Download
M ui/ozone/common/gl_ozone_egl.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/common/gl_ozone_egl.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/cast/gl_ozone_egl_cast.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/cast/gl_ozone_egl_cast.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_surface_factory.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M ui/ozone/platform/wayland/wayland_surface_factory.cc View 1 2 3 4 5 3 chunks +8 lines, -4 lines 0 comments Download
M ui/ozone/platform/x11/x11_surface_factory.cc View 3 chunks +7 lines, -4 lines 0 comments Download

Messages

Total messages: 34 (26 generated)
sadrul
3 years, 6 months ago (2017-06-09 15:08:05 UTC) #15
rjkroege
lgtm 1 concern 1 question Awesome! Thanks so much for doing. https://codereview.chromium.org/2926423002/diff/80001/ui/ozone/platform/wayland/wayland_surface_factory.cc File ui/ozone/platform/wayland/wayland_surface_factory.cc (right): ...
3 years, 6 months ago (2017-06-12 17:23:40 UTC) #20
tonikitoo
+forney@ https://codereview.chromium.org/2926423002/diff/80001/ui/ozone/platform/wayland/wayland_surface_factory.cc File ui/ozone/platform/wayland/wayland_surface_factory.cc (right): https://codereview.chromium.org/2926423002/diff/80001/ui/ozone/platform/wayland/wayland_surface_factory.cc#newcode180 ui/ozone/platform/wayland/wayland_surface_factory.cc:180: setenv("EGL_PLATFORM", "wayland", 0); On 2017/06/12 17:23:40, rjkroege wrote: ...
3 years, 6 months ago (2017-06-12 18:32:17 UTC) #22
sadrul
https://codereview.chromium.org/2926423002/diff/80001/ui/ozone/platform/wayland/wayland_surface_factory.cc File ui/ozone/platform/wayland/wayland_surface_factory.cc (right): https://codereview.chromium.org/2926423002/diff/80001/ui/ozone/platform/wayland/wayland_surface_factory.cc#newcode180 ui/ozone/platform/wayland/wayland_surface_factory.cc:180: setenv("EGL_PLATFORM", "wayland", 0); On 2017/06/12 18:32:17, tonikitoo wrote: > ...
3 years, 6 months ago (2017-06-12 19:37:00 UTC) #24
tonikitoo
https://codereview.chromium.org/2926423002/diff/80001/ui/ozone/platform/x11/x11_surface_factory.cc File ui/ozone/platform/x11/x11_surface_factory.cc (right): https://codereview.chromium.org/2926423002/diff/80001/ui/ozone/platform/x11/x11_surface_factory.cc#newcode176 ui/ozone/platform/x11/x11_surface_factory.cc:176: case gl::kGLImplementationSwiftShaderGL: On 2017/06/12 19:37:00, sadrul wrote: > On ...
3 years, 6 months ago (2017-06-12 19:39:00 UTC) #25
sadrul
On 2017/06/12 19:39:00, tonikitoo wrote: > https://codereview.chromium.org/2926423002/diff/80001/ui/ozone/platform/x11/x11_surface_factory.cc > File ui/ozone/platform/x11/x11_surface_factory.cc (right): > > https://codereview.chromium.org/2926423002/diff/80001/ui/ozone/platform/x11/x11_surface_factory.cc#newcode176 > ...
3 years, 6 months ago (2017-06-12 21:40:05 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/2926423002/100001
3 years, 6 months ago (2017-06-12 21:40:41 UTC) #31
commit-bot: I haz the power
3 years, 6 months ago (2017-06-12 23:23:51 UTC) #34
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/1e117683d1819528521a763e9416...

Powered by Google App Engine
This is Rietveld 408576698