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

Issue 7467007: Adding Wayland support for ui/gfx (Closed)

Created:
9 years, 5 months ago by dnicoara
Modified:
9 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Adding Wayland support for ui/gfx * Added GL surface and context support for Wayland. * Updated ui/gfx files to allow Wayland support * All Wayland code is behind the use_wayland gyp flag This CL depends on http://codereview.chromium.org/7457023 BUG= TEST=Compiled Chrome with use_wayland disabled to verify that the changes didn't break anything Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=96192

Patch Set 1 #

Patch Set 2 : Added missing license header #

Patch Set 3 : Replaced the way WaylandDisplay is being retrieved #

Total comments: 10

Patch Set 4 : Updated to chrome HEAD and fixed changes related to Wayland toolkit #

Patch Set 5 : Updated to chrome HEAD and fixed changes related to Wayland toolkit #

Patch Set 6 : Simplified gl #

Total comments: 1

Patch Set 7 : Fixed GetDisplay call in accelerated_surface_wayland #

Patch Set 8 : Accidentally pulled in some extra changes in common.gypi #

Total comments: 15

Patch Set 9 : Fixed style issues #

Patch Set 10 : Forgot comments to GetPangoContext #

Patch Set 11 : Fixed order of includes #

Patch Set 12 : Fixed order of includes #

Patch Set 13 : Fixed order of includes #

Total comments: 1

Patch Set 14 : Simplified GetDefaultFont #

Patch Set 15 : Added TODOs for EGL includes #

Patch Set 16 : Removed unneeded include #

Patch Set 17 : Changed Wayland EGL includes to third_party/Angle since we pulled Wayland symbols in Angle #

Patch Set 18 : Fixed multiple identical condition #

Patch Set 19 : Adding missing WaylandDisplay include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+466 lines, -25 lines) Patch
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +7 lines, -0 lines 0 comments Download
M ui/gfx/canvas_skia_linux.cc View 1 2 3 4 5 1 chunk +4 lines, -1 line 0 comments Download
M ui/gfx/gl/egl_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gfx/gl/gl.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +7 lines, -1 line 0 comments Download
M ui/gfx/gl/gl_bindings.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gfx/gl/gl_context_linux.cc View 1 2 3 4 5 2 chunks +6 lines, -4 lines 0 comments Download
M ui/gfx/gl/gl_implementation_linux.cc View 1 2 3 4 5 3 chunks +4 lines, -0 lines 0 comments Download
M ui/gfx/gl/gl_surface_egl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gfx/gl/gl_surface_egl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +14 lines, -3 lines 0 comments Download
A ui/gfx/gl/gl_surface_wayland.cc View 1 2 3 1 chunk +165 lines, -0 lines 0 comments Download
M ui/gfx/gtk_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +5 lines, -0 lines 0 comments Download
M ui/gfx/gtk_util.cc View 1 2 3 4 5 6 7 8 1 chunk +11 lines, -1 line 0 comments Download
M ui/gfx/native_widget_types.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 5 chunks +31 lines, -1 line 0 comments Download
M ui/gfx/platform_font_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +28 lines, -13 lines 0 comments Download
A ui/gfx/screen_wayland.cc View 1 2 3 4 5 6 7 8 1 chunk +57 lines, -0 lines 0 comments Download
A ui/gfx/surface/accelerated_surface_wayland.h View 1 2 3 4 5 6 7 8 1 chunk +37 lines, -0 lines 0 comments Download
A ui/gfx/surface/accelerated_surface_wayland.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +51 lines, -0 lines 0 comments Download
M ui/gfx/surface/surface.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +11 lines, -1 line 0 comments Download
M ui/ui.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +20 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jonathan.backer
I have a pretty good handle of the GL changes. I'm not so sure of ...
9 years, 5 months ago (2011-07-26 14:56:26 UTC) #1
dnicoara
I'll look into updating the angle header files. On 2011/07/26 14:56:26, jonathan.backer wrote: > I ...
9 years, 5 months ago (2011-07-26 20:03:56 UTC) #2
jonathan.backer
LGTM Made one general comment (does not need to be addressed here). Still need OWNERS ...
9 years, 5 months ago (2011-07-27 12:36:02 UTC) #3
sky
Mostly just style nits. http://codereview.chromium.org/7467007/diff/13003/ui/gfx/gl/egl_util.cc File ui/gfx/gl/egl_util.cc (right): http://codereview.chromium.org/7467007/diff/13003/ui/gfx/gl/egl_util.cc#newcode7 ui/gfx/gl/egl_util.cc:7: #if defined(USE_WAYLAND) Condition includes should ...
9 years, 5 months ago (2011-07-27 15:51:05 UTC) #4
dnicoara
On 2011/07/27 15:51:05, sky wrote: > Mostly just style nits. > > http://codereview.chromium.org/7467007/diff/13003/ui/gfx/gl/egl_util.cc > File ...
9 years, 5 months ago (2011-07-27 18:59:08 UTC) #5
sky
LGTM with the following changes. http://codereview.chromium.org/7467007/diff/13003/ui/gfx/gl/egl_util.cc File ui/gfx/gl/egl_util.cc (right): http://codereview.chromium.org/7467007/diff/13003/ui/gfx/gl/egl_util.cc#newcode7 ui/gfx/gl/egl_util.cc:7: #if defined(USE_WAYLAND) On 2011/07/27 ...
9 years, 5 months ago (2011-07-27 22:22:22 UTC) #6
commit-bot: I haz the power
9 years, 4 months ago (2011-08-10 16:50:46 UTC) #7
Change committed as 96192

Powered by Google App Engine
This is Rietveld 408576698