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

Issue 2122243002: Add new Ozone surface API. (Closed)

Created:
4 years, 5 months ago by kylechar
Modified:
4 years, 5 months ago
Reviewers:
Tom Sepez, no sievers, spang
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org, dnicoara
Base URL:
https://chromium.googlesource.com/chromium/src.git@gl_egl
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add new Ozone surface API. This CL adds the new API for how ozone platforms will create GLSurfaces. Now that //ui/ozone can depend on //ui/gl, the platform can create a GLSurface directly. SurfaceFactoryOzone has methods added for creating regular, surfaceless and offscreen surfaces. It also has a temporary method that will allow us to switch platforms over one by one. Small build file change to remove an unnecessary dep on //ui/base from //ui/gl. Since it was in public_deps, a few downstream changes to targets that depend on //ui/gl are needed as well. This is the start of step 3 in the associated bug. BUG=611142 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 Committed: https://crrev.com/b598dffa8b18b1fbdc606e5db7c182ee5918ad84 Cr-Commit-Position: refs/heads/master@{#406922}

Patch Set 1 #

Patch Set 2 : Different plan. #

Total comments: 2

Patch Set 3 : Remove //ui/base/x dep entirely. #

Patch Set 4 : Rebase. #

Patch Set 5 : More deps. #

Patch Set 6 : Even more deps. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -17 lines) Patch
M gpu/ipc/client/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M gpu/ipc/common/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M gpu/ipc/service/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/BUILD.gn View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ui/gl/DEPS View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M ui/gl/gl.gyp View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M ui/gl/gl_surface_egl.cc View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M ui/ozone/BUILD.gn View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/ozone.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/public/surface_factory_ozone.h View 1 2 3 3 chunks +39 lines, -12 lines 0 comments Download
M ui/ozone/public/surface_factory_ozone.cc View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (20 generated)
kylechar
Here is my proposed new API for surface creation from Ozone. Thoughts? There is the ...
4 years, 5 months ago (2016-07-06 17:35:37 UTC) #2
spang
Can you fix the dependency from ui/gl to ui/base instead? ui/base contains a lot of ...
4 years, 5 months ago (2016-07-06 18:07:02 UTC) #4
spang
On 2016/07/06 18:07:02, spang wrote: > Can you fix the dependency from ui/gl to ui/base ...
4 years, 5 months ago (2016-07-06 18:08:23 UTC) #5
kylechar
Short answer: yes.
4 years, 5 months ago (2016-07-06 18:35:35 UTC) #7
spang
lgtm
4 years, 5 months ago (2016-07-06 19:13:30 UTC) #8
kylechar
+sievers for ui/gl/* and gpu/* GN/GYP file changes.
4 years, 5 months ago (2016-07-07 14:07:47 UTC) #12
no sievers
Can you also update ui/gl/DEPS to specific ui/base/x instead of ui/base? https://codereview.chromium.org/2122243002/diff/20001/ui/gl/BUILD.gn File ui/gl/BUILD.gn (right): ...
4 years, 5 months ago (2016-07-07 17:31:40 UTC) #13
kylechar
https://codereview.chromium.org/2122243002/diff/20001/ui/gl/BUILD.gn File ui/gl/BUILD.gn (right): https://codereview.chromium.org/2122243002/diff/20001/ui/gl/BUILD.gn#newcode180 ui/gl/BUILD.gn:180: deps += [ "//ui/base/x/" ] On 2016/07/07 17:31:40, sievers ...
4 years, 5 months ago (2016-07-07 18:04:12 UTC) #14
no sievers
On 2016/07/07 18:04:12, kylechar wrote: > https://codereview.chromium.org/2122243002/diff/20001/ui/gl/BUILD.gn > File ui/gl/BUILD.gn (right): > > https://codereview.chromium.org/2122243002/diff/20001/ui/gl/BUILD.gn#newcode180 > ...
4 years, 5 months ago (2016-07-07 22:07:58 UTC) #15
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/2122243002/60001
4 years, 5 months ago (2016-07-21 13:49:37 UTC) #18
commit-bot: I haz the power
Your CL relies on deprecated CQ feature(s): * Specifying master names in CQ_INCLUDE_TRYBOTS part of ...
4 years, 5 months ago (2016-07-21 13:49:39 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/222309) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 5 months ago (2016-07-21 13:52:14 UTC) #21
kylechar
+tsepez for gpu/ipc/common/BUILD.gn change.
4 years, 5 months ago (2016-07-21 14:07:31 UTC) #25
Tom Sepez
ipc LGTM
4 years, 5 months ago (2016-07-21 16:17:07 UTC) #29
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/2122243002/120001
4 years, 5 months ago (2016-07-21 18:49:55 UTC) #34
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 5 months ago (2016-07-21 18:54:18 UTC) #35
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 18:55:56 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b598dffa8b18b1fbdc606e5db7c182ee5918ad84
Cr-Commit-Position: refs/heads/master@{#406922}

Powered by Google App Engine
This is Rietveld 408576698