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

Issue 13886018: Add a factory and defines for native Linux surfaces. (Closed)

Created:
7 years, 7 months ago by rjkroege
Modified:
7 years, 6 months ago
CC:
DaveMoore
Visibility:
Public.

Description

Add a factory and defines for native Linux surfaces. This CL is a first step towards supporting a build of the Aura content shell on the native Linux framebuffer device. It sets up the necessary defines such that an injected surface provider dependency can vend a native surface. BUG=178543 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=201996

Patch Set 1 #

Total comments: 18

Patch Set 2 : Get {base,ui,aura}_unittests working with native linux surface #

Total comments: 1

Patch Set 3 : using the ozone flag #

Patch Set 4 : vsync provider, better transport_dib, etc. #

Total comments: 16

Patch Set 5 : progress on review comments #

Patch Set 6 : additional proofreading #

Total comments: 12

Patch Set 7 : added realize #

Patch Set 8 : removed unnecesary change #

Patch Set 9 : fixed clang build issue #

Total comments: 4

Patch Set 10 : review comments #

Patch Set 11 : proof-read #

Total comments: 1

Patch Set 12 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -136 lines) Patch
A ui/base/ozone/surface_factory_ozone.h View 1 2 3 4 5 6 1 chunk +70 lines, -0 lines 0 comments Download
A ui/base/ozone/surface_factory_ozone.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +37 lines, -0 lines 0 comments Download
M ui/gfx/native_widget_types.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M ui/gl/gl.gyp View 1 2 3 4 5 chunks +4 lines, -2 lines 0 comments Download
M ui/gl/gl_bindings.h View 1 2 3 3 chunks +8 lines, -1 line 0 comments Download
A ui/gl/gl_context_ozone.cc View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
A + ui/gl/gl_image_ozone.cc View 1 2 3 3 chunks +1 line, -4 lines 0 comments Download
M ui/gl/gl_implementation.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A + ui/gl/gl_implementation_ozone.cc View 1 2 3 4 6 chunks +5 lines, -41 lines 0 comments Download
D ui/gl/gl_surface_android.cc View 1 2 3 4 1 chunk +0 lines, -85 lines 0 comments Download
M ui/gl/gl_surface_egl.h View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M ui/gl/gl_surface_egl.cc View 1 2 3 4 5 6 7 8 7 chunks +81 lines, -3 lines 0 comments Download
M ui/ui.gyp View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
rjkroege
backer@, piman@ please take a look.
7 years, 7 months ago (2013-04-29 22:57:04 UTC) #1
jonathan.backer
LGTM. Just nits. https://codereview.chromium.org/13886018/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/13886018/diff/1/build/common.gypi#newcode2637 build/common.gypi:2637: '-funwind-tables', # Emit unwind tables despite ...
7 years, 7 months ago (2013-04-30 12:41:20 UTC) #2
DaveMoore
https://codereview.chromium.org/13886018/diff/1/third_party/khronos/EGL/eglplatform.h File third_party/khronos/EGL/eglplatform.h (right): https://codereview.chromium.org/13886018/diff/1/third_party/khronos/EGL/eglplatform.h#newcode99 third_party/khronos/EGL/eglplatform.h:99: typedef int EGLNativeDisplayType; Nit: either align the type names ...
7 years, 7 months ago (2013-04-30 17:53:42 UTC) #3
davemoore (google)
Ignore that...accidental byproduct of using git cl patch. I'll create another issue
7 years, 7 months ago (2013-04-30 23:49:25 UTC) #4
davemoore (google)
On 2013/04/30 23:49:25, davemoore (google) wrote: > Ignore that...accidental byproduct of using git cl patch. ...
7 years, 7 months ago (2013-04-30 23:50:22 UTC) #5
rjkroege
now with use of ozone. https://codereview.chromium.org/13886018/diff/1/third_party/khronos/EGL/eglplatform.h File third_party/khronos/EGL/eglplatform.h (right): https://codereview.chromium.org/13886018/diff/1/third_party/khronos/EGL/eglplatform.h#newcode99 third_party/khronos/EGL/eglplatform.h:99: typedef int EGLNativeDisplayType; On ...
7 years, 7 months ago (2013-05-06 18:46:24 UTC) #6
rjkroege
piman@: please take another look. I attempted to address the issues from our discussion.
7 years, 7 months ago (2013-05-17 22:12:00 UTC) #7
rjkroege
https://codereview.chromium.org/13886018/diff/22001/ui/gl/gl.gyp File ui/gl/gl.gyp (right): https://codereview.chromium.org/13886018/diff/22001/ui/gl/gl.gyp#newcode181 ui/gl/gl.gyp:181: ['OS in ("win", "android", "linux")', { this looks like ...
7 years, 7 months ago (2013-05-17 22:17:06 UTC) #8
piman
https://codereview.chromium.org/13886018/diff/22001/ui/base/ozone/surface_factory_delegate_ozone.h File ui/base/ozone/surface_factory_delegate_ozone.h (right): https://codereview.chromium.org/13886018/diff/22001/ui/base/ozone/surface_factory_delegate_ozone.h#newcode6 ui/base/ozone/surface_factory_delegate_ozone.h:6: #define UI_BASE_LINUX_NATIVE_SURFACE_LINUX_FACTORY_DELEGATE_ nit: guard is wrong. https://codereview.chromium.org/13886018/diff/22001/ui/base/ozone/surface_factory_ozone.cc File ui/base/ozone/surface_factory_ozone.cc ...
7 years, 7 months ago (2013-05-18 01:47:19 UTC) #9
rjkroege
Please take another look. https://codereview.chromium.org/13886018/diff/22001/ui/base/ozone/surface_factory_delegate_ozone.h File ui/base/ozone/surface_factory_delegate_ozone.h (right): https://codereview.chromium.org/13886018/diff/22001/ui/base/ozone/surface_factory_delegate_ozone.h#newcode6 ui/base/ozone/surface_factory_delegate_ozone.h:6: #define UI_BASE_LINUX_NATIVE_SURFACE_LINUX_FACTORY_DELEGATE_ On 2013/05/18 01:47:19, ...
7 years, 7 months ago (2013-05-21 17:36:28 UTC) #10
piman
LGTM + a few nits. https://codereview.chromium.org/13886018/diff/35001/ui/base/ozone/surface_factory_ozone.h File ui/base/ozone/surface_factory_ozone.h (right): https://codereview.chromium.org/13886018/diff/35001/ui/base/ozone/surface_factory_ozone.h#newcode29 ui/base/ozone/surface_factory_ozone.h:29: static void SetDelegate(SurfaceFactoryOzone* delegate); ...
7 years, 7 months ago (2013-05-21 18:32:15 UTC) #11
rjkroege
nits addressed plus change discussed yesterday. ptal? https://codereview.chromium.org/13886018/diff/35001/ui/base/ozone/surface_factory_ozone.h File ui/base/ozone/surface_factory_ozone.h (right): https://codereview.chromium.org/13886018/diff/35001/ui/base/ozone/surface_factory_ozone.h#newcode29 ui/base/ozone/surface_factory_ozone.h:29: static void ...
7 years, 7 months ago (2013-05-22 17:08:30 UTC) #12
piman
lgtm
7 years, 7 months ago (2013-05-22 17:10:48 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rjkroege@chromium.org/13886018/54003
7 years, 7 months ago (2013-05-23 18:01:37 UTC) #14
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=4654
7 years, 7 months ago (2013-05-23 19:12:09 UTC) #15
rjkroege
+sky for OWNERS in ui
7 years, 7 months ago (2013-05-23 19:58:07 UTC) #16
sky
https://codereview.chromium.org/13886018/diff/54003/ui/base/ozone/surface_factory_ozone.cc File ui/base/ozone/surface_factory_ozone.cc (right): https://codereview.chromium.org/13886018/diff/54003/ui/base/ozone/surface_factory_ozone.cc#newcode12 ui/base/ozone/surface_factory_ozone.cc:12: scoped_ptr<SurfaceFactoryOzone> impl_; style guide says no static initializers. https://codereview.chromium.org/13886018/diff/54003/ui/base/ozone/surface_factory_ozone.cc#newcode29 ...
7 years, 7 months ago (2013-05-23 21:21:32 UTC) #17
rjkroege
ptal. https://codereview.chromium.org/13886018/diff/54003/ui/base/ozone/surface_factory_ozone.cc File ui/base/ozone/surface_factory_ozone.cc (right): https://codereview.chromium.org/13886018/diff/54003/ui/base/ozone/surface_factory_ozone.cc#newcode12 ui/base/ozone/surface_factory_ozone.cc:12: scoped_ptr<SurfaceFactoryOzone> impl_; On 2013/05/23 21:21:32, sky wrote: > ...
7 years, 7 months ago (2013-05-23 23:34:09 UTC) #18
sky
LGTM https://codereview.chromium.org/13886018/diff/91001/ui/base/ozone/surface_factory_ozone.cc File ui/base/ozone/surface_factory_ozone.cc (right): https://codereview.chromium.org/13886018/diff/91001/ui/base/ozone/surface_factory_ozone.cc#newcode34 ui/base/ozone/surface_factory_ozone.cc:34: else nit: no else (the style guide actually ...
7 years, 7 months ago (2013-05-23 23:47:20 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rjkroege@chromium.org/13886018/96001
7 years, 7 months ago (2013-05-24 00:01:21 UTC) #20
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=4742
7 years, 7 months ago (2013-05-24 01:10:24 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rjkroege@chromium.org/13886018/96001
7 years, 7 months ago (2013-05-24 01:40:03 UTC) #22
commit-bot: I haz the power
7 years, 7 months ago (2013-05-24 06:55:57 UTC) #23
Message was sent while issue was closed.
Change committed as 201996

Powered by Google App Engine
This is Rietveld 408576698