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

Issue 106633002: GBM Ozone implementation (Closed)

Created:
7 years ago by dnicoara
Modified:
6 years, 6 months ago
CC:
chromium-reviews, rjkroege, kalyank, ozone-reviews_chromium.org, Primiano Tucci (use gerrit)
Visibility:
Public.

Description

GBM Ozone implementation Adding an accelerated platform for the X11-less build. This uses GBM (EGL_MESA_platform_gbm) as the backing Mesa platform. BUG=377497 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=273509

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : rebased #

Patch Set 5 : VSyncProvider #

Patch Set 6 : Rebased #

Patch Set 7 : Rebased #

Total comments: 1

Patch Set 8 : Rebased #

Patch Set 9 : Rebased #

Patch Set 10 : Rebased #

Patch Set 11 : Rebased #

Patch Set 12 : Update #

Patch Set 13 : Rebased & refactored #

Patch Set 14 : . #

Patch Set 15 : Rebased #

Total comments: 8

Patch Set 16 : Updated #

Patch Set 17 : . #

Total comments: 3

Patch Set 18 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+868 lines, -202 lines) Patch
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -0 lines 0 comments Download
M build/install-build-deps.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +9 lines, -9 lines 0 comments Download
M build/linux/system.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +18 lines, -0 lines 0 comments Download
M ui/ozone/ozone.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -1 line 0 comments Download
M ui/ozone/ozone_unittests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/dri.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +2 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/dri_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +10 lines, -116 lines 0 comments Download
M ui/ozone/platform/dri/dri_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/dri_surface_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M ui/ozone/platform/dri/dri_surface_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -1 line 0 comments Download
M ui/ozone/platform/dri/dri_surface_factory_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +9 lines, -13 lines 0 comments Download
M ui/ozone/platform/dri/dri_surface_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
A + ui/ozone/platform/dri/gbm.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +16 lines, -20 lines 0 comments Download
A ui/ozone/platform/dri/gbm_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +75 lines, -0 lines 0 comments Download
A ui/ozone/platform/dri/gbm_surface.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +206 lines, -0 lines 0 comments Download
A ui/ozone/platform/dri/gbm_surface_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +39 lines, -0 lines 0 comments Download
A ui/ozone/platform/dri/gbm_surface_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +153 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/hardware_display_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +5 lines, -5 lines 0 comments Download
M ui/ozone/platform/dri/hardware_display_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 12 5 chunks +7 lines, -7 lines 0 comments Download
M ui/ozone/platform/dri/hardware_display_controller_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +4 lines, -4 lines 0 comments Download
M ui/ozone/platform/dri/ozone_platform_dri.cc View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +21 lines, -1 line 0 comments Download
A + ui/ozone/platform/dri/ozone_platform_gbm.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -4 lines 0 comments Download
A ui/ozone/platform/dri/ozone_platform_gbm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +114 lines, -0 lines 0 comments Download
A ui/ozone/platform/dri/scanout_surface.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +84 lines, -0 lines 0 comments Download
M ui/ozone/platform/dri/screen_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -3 lines 0 comments Download
M ui/ozone/platform/dri/screen_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +6 lines, -9 lines 0 comments Download
M ui/ozone/platform/dri/screen_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 4 chunks +8 lines, -6 lines 0 comments Download
A ui/ozone/platform/dri/test/mock_surface_generator.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +40 lines, -0 lines 0 comments Download
A ui/ozone/platform/dri/test/mock_surface_generator.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
spang
https://codereview.chromium.org/106633002/diff/160001/third_party/mesa/mesa.gyp File third_party/mesa/mesa.gyp (right): https://codereview.chromium.org/106633002/diff/160001/third_party/mesa/mesa.gyp#newcode814 third_party/mesa/mesa.gyp:814: 'target_name': 'mesa_gbm', This is causing my build to crash. ...
6 years, 10 months ago (2014-02-19 20:42:03 UTC) #1
dnicoara
On 2014/02/19 20:42:03, spang wrote: > https://codereview.chromium.org/106633002/diff/160001/third_party/mesa/mesa.gyp > File third_party/mesa/mesa.gyp (right): > > https://codereview.chromium.org/106633002/diff/160001/third_party/mesa/mesa.gyp#newcode814 > ...
6 years, 10 months ago (2014-02-20 03:49:11 UTC) #2
spang
lgtm
6 years, 7 months ago (2014-05-27 15:16:17 UTC) #3
dnicoara
This CL is dependent on https://codereview.chromium.org/293293002/ but you can take a look in the meantime. ...
6 years, 7 months ago (2014-05-27 15:16:54 UTC) #4
rjkroege
https://codereview.chromium.org/106633002/diff/410001/ui/ozone/platform/dri/dri.gypi File ui/ozone/platform/dri/dri.gypi (right): https://codereview.chromium.org/106633002/diff/410001/ui/ozone/platform/dri/dri.gypi#newcode96 ui/ozone/platform/dri/dri.gypi:96: '-lgbm', On 2014/05/27 15:16:54, dnicoara wrote: > How official ...
6 years, 7 months ago (2014-05-27 15:33:41 UTC) #5
vignatti (out of this project)
https://codereview.chromium.org/106633002/diff/410001/ui/ozone/platform/dri/dri.gypi File ui/ozone/platform/dri/dri.gypi (right): https://codereview.chromium.org/106633002/diff/410001/ui/ozone/platform/dri/dri.gypi#newcode96 ui/ozone/platform/dri/dri.gypi:96: '-lgbm', On 2014/05/27 15:33:42, rjkroege wrote: > On 2014/05/27 ...
6 years, 7 months ago (2014-05-27 16:40:20 UTC) #6
dnicoara
I've also updated the unittests & fixed compiling without GBM. https://codereview.chromium.org/106633002/diff/410001/ui/ozone/platform/dri/dri.gypi File ui/ozone/platform/dri/dri.gypi (right): https://codereview.chromium.org/106633002/diff/410001/ui/ozone/platform/dri/dri.gypi#newcode96 ...
6 years, 7 months ago (2014-05-27 17:20:51 UTC) #7
rjkroege
lgtm https://codereview.chromium.org/106633002/diff/450001/ui/ozone/platform/dri/scanout_surface.h File ui/ozone/platform/dri/scanout_surface.h (right): https://codereview.chromium.org/106633002/diff/450001/ui/ozone/platform/dri/scanout_surface.h#newcode35 ui/ozone/platform/dri/scanout_surface.h:35: // Wait for page flip event. The DRM ...
6 years, 6 months ago (2014-05-28 15:32:20 UTC) #8
dnicoara
https://codereview.chromium.org/106633002/diff/450001/ui/ozone/platform/dri/scanout_surface.h File ui/ozone/platform/dri/scanout_surface.h (right): https://codereview.chromium.org/106633002/diff/450001/ui/ozone/platform/dri/scanout_surface.h#newcode35 ui/ozone/platform/dri/scanout_surface.h:35: // Wait for page flip event. The DRM page ...
6 years, 6 months ago (2014-05-28 15:40:09 UTC) #9
dnicoara
The CQ bit was checked by dnicoara@chromium.org
6 years, 6 months ago (2014-05-28 15:55:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dnicoara@chromium.org/106633002/450001
6 years, 6 months ago (2014-05-28 15:56:45 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_chromeos_clang_dbg on tryserver.chromium ...
6 years, 6 months ago (2014-05-28 19:13:33 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-05-28 19:18:34 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_clang_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/linux_chromium_clang_dbg/builds/29187)
6 years, 6 months ago (2014-05-28 19:18:34 UTC) #14
spang
https://codereview.chromium.org/106633002/diff/450001/build/linux/system.gyp File build/linux/system.gyp (right): https://codereview.chromium.org/106633002/diff/450001/build/linux/system.gyp#newcode488 build/linux/system.gyp:488: 'target_name': 'gbm', put this under conditions, <(ozone_platform_gbm)==1
6 years, 6 months ago (2014-05-28 21:46:26 UTC) #15
dnicoara
The CQ bit was checked by dnicoara@chromium.org
6 years, 6 months ago (2014-05-29 13:53:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dnicoara@chromium.org/106633002/470001
6 years, 6 months ago (2014-05-29 13:54:13 UTC) #17
commit-bot: I haz the power
Change committed as 273509
6 years, 6 months ago (2014-05-29 17:22:51 UTC) #18
Primiano Tucci (use gerrit)
FYI this caused some little troubles to new googlers trying to run install-build-deps.sh (see Thread ...
6 years, 6 months ago (2014-06-18 18:02:31 UTC) #19
dnicoara
6 years, 6 months ago (2014-06-18 18:15:32 UTC) #20
Message was sent while issue was closed.
Sorry, I had tested it on trusty and everything worked fine.

Powered by Google App Engine
This is Rietveld 408576698