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

Issue 1059073002: Loads CastEglPlatform implementation from shared library. (Closed)

Created:
5 years, 8 months ago by halliwell
Modified:
5 years, 8 months ago
CC:
chromium-reviews, gunsch+watch_chromium.org, lcwu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Loads CastEglPlatform implementation from shared library. Cast Ozone is now fully implemented in chromecast/ozone, including the Ozone factory function. The CastEglPlatform interface is moved to public and its implementation will be loaded from shared library. BUG= Committed: https://crrev.com/3d0e49f9b24f3496aee8a10262fb87434dcd67a8 Cr-Commit-Position: refs/heads/master@{#323916}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Removed all Chromium types from shared library interface #

Total comments: 14

Patch Set 3 : Moved ozone implementation to ui/ozone/platform/cast #

Total comments: 10

Patch Set 4 : Nits #

Total comments: 3

Patch Set 5 : Add myself to OWNERS for cast ozone platform. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+424 lines, -770 lines) Patch
M build/common.gypi View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
M chromecast/chromecast.gyp View 1 2 5 chunks +18 lines, -17 lines 0 comments Download
A chromecast/graphics/DEPS View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A chromecast/graphics/cast_egl_platform_default.cc View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
D chromecast/ozone/cast_egl_platform.h View 1 chunk +0 lines, -69 lines 0 comments Download
D chromecast/ozone/gpu_platform_support_cast.h View 1 2 1 chunk +0 lines, -36 lines 0 comments Download
D chromecast/ozone/gpu_platform_support_cast.cc View 1 2 1 chunk +0 lines, -26 lines 0 comments Download
M chromecast/ozone/ozone_platform_cast.h View 1 2 1 chunk +0 lines, -58 lines 0 comments Download
M chromecast/ozone/ozone_platform_cast.cc View 1 2 1 chunk +0 lines, -83 lines 0 comments Download
D chromecast/ozone/platform_window_cast.h View 1 2 1 chunk +0 lines, -48 lines 0 comments Download
D chromecast/ozone/platform_window_cast.cc View 1 2 1 chunk +0 lines, -29 lines 0 comments Download
M chromecast/ozone/surface_factory_cast.h View 1 2 1 chunk +0 lines, -74 lines 0 comments Download
M chromecast/ozone/surface_factory_cast.cc View 1 2 1 chunk +0 lines, -176 lines 0 comments Download
D chromecast/ozone/surface_ozone_egl_cast.h View 1 2 1 chunk +0 lines, -37 lines 0 comments Download
D chromecast/ozone/surface_ozone_egl_cast.cc View 1 2 1 chunk +0 lines, -40 lines 0 comments Download
A chromecast/public/cast_egl_platform.h View 1 2 3 1 chunk +71 lines, -0 lines 0 comments Download
A chromecast/public/cast_egl_platform_shlib.h View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M media/ozone/media_ozone_platform.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/ozone/ozone.gyp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
A ui/ozone/platform/cast/DEPS View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A + ui/ozone/platform/cast/OWNERS View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A ui/ozone/platform/cast/cast.gypi View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A + ui/ozone/platform/cast/gpu_platform_support_cast.h View 1 2 2 chunks +6 lines, -8 lines 0 comments Download
A + ui/ozone/platform/cast/gpu_platform_support_cast.cc View 1 2 2 chunks +4 lines, -6 lines 0 comments Download
A ui/ozone/platform/cast/ozone_platform_cast.h View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
A ui/ozone/platform/cast/ozone_platform_cast.cc View 1 2 1 chunk +104 lines, -0 lines 0 comments Download
A + ui/ozone/platform/cast/platform_window_cast.h View 1 2 2 chunks +9 lines, -12 lines 0 comments Download
A + ui/ozone/platform/cast/platform_window_cast.cc View 1 2 2 chunks +4 lines, -6 lines 0 comments Download
A + ui/ozone/platform/cast/surface_factory_cast.h View 1 2 3 chunks +15 lines, -14 lines 0 comments Download
A + ui/ozone/platform/cast/surface_factory_cast.cc View 1 2 5 chunks +33 lines, -15 lines 0 comments Download
A + ui/ozone/platform/cast/surface_ozone_egl_cast.h View 1 2 2 chunks +6 lines, -8 lines 0 comments Download
A + ui/ozone/platform/cast/surface_ozone_egl_cast.cc View 1 2 2 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 40 (5 generated)
halliwell
Internal review coming also with the vendor side of this.
5 years, 8 months ago (2015-04-02 22:39:54 UTC) #2
gunsch
https://codereview.chromium.org/1059073002/diff/1/chromecast/ozone/DEPS File chromecast/ozone/DEPS (right): https://codereview.chromium.org/1059073002/diff/1/chromecast/ozone/DEPS#newcode3 chromecast/ozone/DEPS:3: "+media/ozone", You'll need a media/ozone/ OWNER to review this ...
5 years, 8 months ago (2015-04-02 22:44:37 UTC) #3
halliwell
https://codereview.chromium.org/1059073002/diff/1/chromecast/public/cast_egl_platform.h File chromecast/public/cast_egl_platform.h (right): https://codereview.chromium.org/1059073002/diff/1/chromecast/public/cast_egl_platform.h#newcode22 chromecast/public/cast_egl_platform.h:22: typedef ui::SurfaceFactoryOzone::SetGLGetProcAddressProcCallback On 2015/04/02 22:44:36, gunsch wrote: > A ...
5 years, 8 months ago (2015-04-02 22:50:07 UTC) #4
halliwell
On 2015/04/02 22:44:37, gunsch wrote: > You'll need a media/ozone/ OWNER to review this CL. ...
5 years, 8 months ago (2015-04-02 22:51:46 UTC) #6
gunsch
https://codereview.chromium.org/1059073002/diff/1/chromecast/public/cast_egl_platform.h File chromecast/public/cast_egl_platform.h (right): https://codereview.chromium.org/1059073002/diff/1/chromecast/public/cast_egl_platform.h#newcode22 chromecast/public/cast_egl_platform.h:22: typedef ui::SurfaceFactoryOzone::SetGLGetProcAddressProcCallback On 2015/04/02 22:50:07, halliwell wrote: > On ...
5 years, 8 months ago (2015-04-02 22:56:47 UTC) #7
gunsch
overall, however, the chromecast/ build- side and structural changes in this CL are lgtm
5 years, 8 months ago (2015-04-02 22:57:43 UTC) #8
halliwell
On 2015/04/02 22:56:47, gunsch wrote: > https://codereview.chromium.org/1059073002/diff/1/chromecast/public/cast_egl_platform.h > File chromecast/public/cast_egl_platform.h (right): > > https://codereview.chromium.org/1059073002/diff/1/chromecast/public/cast_egl_platform.h#newcode22 > ...
5 years, 8 months ago (2015-04-02 23:00:09 UTC) #9
halliwell
On 2015/04/02 23:00:09, halliwell wrote: > On 2015/04/02 22:56:47, gunsch wrote: > > > https://codereview.chromium.org/1059073002/diff/1/chromecast/public/cast_egl_platform.h ...
5 years, 8 months ago (2015-04-03 00:24:27 UTC) #10
gunsch
lgtm
5 years, 8 months ago (2015-04-03 00:39:43 UTC) #11
spang
I've been meaning to ask, is there a reason to put this in chromecast/ozone/ instead ...
5 years, 8 months ago (2015-04-03 00:48:22 UTC) #12
halliwell
On 2015/04/03 00:48:22, spang wrote: > I've been meaning to ask, is there a reason ...
5 years, 8 months ago (2015-04-03 00:57:58 UTC) #13
spang
On 2015/04/03 00:57:58, halliwell wrote: > On 2015/04/03 00:48:22, spang wrote: > > I've been ...
5 years, 8 months ago (2015-04-03 01:09:44 UTC) #14
halliwell
On 2015/04/03 01:09:44, spang wrote: > On 2015/04/03 00:57:58, halliwell wrote: > > On 2015/04/03 ...
5 years, 8 months ago (2015-04-03 01:22:51 UTC) #15
gunsch
Couple thoughts: 1) I think we want to get to the point where we've decoupled ...
5 years, 8 months ago (2015-04-03 01:31:56 UTC) #16
spang
On 2015/04/03 01:22:51, halliwell wrote: > On 2015/04/03 01:09:44, spang wrote: > > On 2015/04/03 ...
5 years, 8 months ago (2015-04-03 01:32:42 UTC) #17
halliwell
On 2015/04/03 01:32:42, spang wrote: > On 2015/04/03 01:22:51, halliwell wrote: > > On 2015/04/03 ...
5 years, 8 months ago (2015-04-03 01:40:25 UTC) #18
byungchul
On 2015/04/03 01:40:25, halliwell wrote: > On 2015/04/03 01:32:42, spang wrote: > > On 2015/04/03 ...
5 years, 8 months ago (2015-04-03 05:56:49 UTC) #19
byungchul
https://codereview.chromium.org/1059073002/diff/20001/chromecast/ozone/ozone_platform_cast.cc File chromecast/ozone/ozone_platform_cast.cc (right): https://codereview.chromium.org/1059073002/diff/20001/chromecast/ozone/ozone_platform_cast.cc#newcode109 chromecast/ozone/ozone_platform_cast.cc:109: } // namespace ui 2 whitespaces before "//" https://codereview.chromium.org/1059073002/diff/20001/chromecast/ozone/ozone_platform_cast.cc#newcode117 ...
5 years, 8 months ago (2015-04-03 05:58:17 UTC) #20
byungchul
https://codereview.chromium.org/1059073002/diff/20001/chromecast/public/cast_egl_platform.h File chromecast/public/cast_egl_platform.h (right): https://codereview.chromium.org/1059073002/diff/20001/chromecast/public/cast_egl_platform.h#newcode22 chromecast/public/cast_egl_platform.h:22: const int height_; Remove trailing '_' because they are ...
5 years, 8 months ago (2015-04-03 06:10:07 UTC) #21
byungchul
https://codereview.chromium.org/1059073002/diff/20001/chromecast/public/cast_egl_platform.h File chromecast/public/cast_egl_platform.h (right): https://codereview.chromium.org/1059073002/diff/20001/chromecast/public/cast_egl_platform.h#newcode58 chromecast/public/cast_egl_platform.h:58: virtual intptr_t CreateDisplayType(const Size& size) = 0; I understood ...
5 years, 8 months ago (2015-04-03 15:28:52 UTC) #22
halliwell
Moved our ozone platform to ui/ozone/platform/cast Default libcast_graphics shared library in chromecast/graphics gyp variables to ...
5 years, 8 months ago (2015-04-04 01:40:06 UTC) #23
byungchul
lgtm only nits but you should get lgtm again from others. https://codereview.chromium.org/1059073002/diff/40001/chromecast/public/cast_egl_platform.h File chromecast/public/cast_egl_platform.h (right): ...
5 years, 8 months ago (2015-04-04 02:54:38 UTC) #24
byungchul
https://codereview.chromium.org/1059073002/diff/40001/ui/ozone/platform/cast/cast.gypi File ui/ozone/platform/cast/cast.gypi (right): https://codereview.chromium.org/1059073002/diff/40001/ui/ozone/platform/cast/cast.gypi#newcode23 ui/ozone/platform/cast/cast.gypi:23: '<(cast_graphics_gyp):libcast_graphics_1.0', looks like a wrong order.
5 years, 8 months ago (2015-04-04 03:02:21 UTC) #25
spang
lgtm
5 years, 8 months ago (2015-04-04 16:43:54 UTC) #26
halliwell
https://codereview.chromium.org/1059073002/diff/40001/chromecast/public/cast_egl_platform.h File chromecast/public/cast_egl_platform.h (right): https://codereview.chromium.org/1059073002/diff/40001/chromecast/public/cast_egl_platform.h#newcode16 chromecast/public/cast_egl_platform.h:16: // Avoiding Chromium types in shared library interfaces, so ...
5 years, 8 months ago (2015-04-06 14:32:42 UTC) #27
halliwell
adding dpranke@ for changes in build/
5 years, 8 months ago (2015-04-06 14:33:29 UTC) #29
gunsch
https://codereview.chromium.org/1059073002/diff/60001/chromecast/ozone/ozone_platform_cast.cc File chromecast/ozone/ozone_platform_cast.cc (left): https://codereview.chromium.org/1059073002/diff/60001/chromecast/ozone/ozone_platform_cast.cc#oldcode1 chromecast/ozone/ozone_platform_cast.cc:1: // Copyright 2015 The Chromium Authors. All rights reserved. ...
5 years, 8 months ago (2015-04-06 16:05:24 UTC) #30
Dirk Pranke
Shouldn't there be changes in GN files as well?
5 years, 8 months ago (2015-04-06 16:13:34 UTC) #31
gunsch
@Dirk: Cast doesn't have any GN files yet (see my email last week: "Chromecast GN ...
5 years, 8 months ago (2015-04-06 16:14:34 UTC) #32
Dirk Pranke
On 2015/04/06 16:14:34, gunsch wrote: > @Dirk: Cast doesn't have any GN files yet (see ...
5 years, 8 months ago (2015-04-06 16:20:25 UTC) #33
halliwell
On 2015/04/06 16:05:24, gunsch wrote: > https://codereview.chromium.org/1059073002/diff/60001/chromecast/ozone/ozone_platform_cast.cc > File chromecast/ozone/ozone_platform_cast.cc (left): > > https://codereview.chromium.org/1059073002/diff/60001/chromecast/ozone/ozone_platform_cast.cc#oldcode1 > ...
5 years, 8 months ago (2015-04-06 16:35:02 UTC) #34
gunsch
@Dirk: not blocked yet, I think we'll quickly run into difficulty not having an "is_chromecast" ...
5 years, 8 months ago (2015-04-06 16:39:55 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1059073002/80001
5 years, 8 months ago (2015-04-06 16:56:23 UTC) #38
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 8 months ago (2015-04-06 18:29:09 UTC) #39
commit-bot: I haz the power
5 years, 8 months ago (2015-04-06 18:35:27 UTC) #40
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3d0e49f9b24f3496aee8a10262fb87434dcd67a8
Cr-Commit-Position: refs/heads/master@{#323916}

Powered by Google App Engine
This is Rietveld 408576698