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

Issue 11234071: Moved SkCanvasVideoRenderer to media/filters. (Closed)

Created:
8 years, 2 months ago by slavi
Modified:
8 years, 2 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Moved SkCanvasVideoRenderer to media/filters. SkCanvasVideoRenderer will be used for rendering YUV video streams by the software compositor. To avoid circular dependencies cc/ cannot depend on webkit/ hence the move. Also changed the interface of SkCanvasVideoRenderer::Paint to accept gfx::RectF instead of gfx::Rect. The gfx::Rect was converted to a floating point SkRect anyway and we actually use the floating point version from the software compositor. BUG=150016 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=163829

Patch Set 1 #

Total comments: 2

Patch Set 2 : Renamed header guard. #

Patch Set 3 : Droped unnecessary dependency. #

Patch Set 4 : Removed referece of skcanvas_video_renderer_unittest.cc in content/content_tests.gypi. It's now ref… #

Patch Set 5 : Removed unused stdint.h header #

Patch Set 6 : Move the disabled unittest for Android from content to media. #

Patch Set 7 : Added MEDIA_EXPORT. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -575 lines) Patch
M build/android/gtest_filter/content_unittests_disabled View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M build/android/gtest_filter/media_unittests_disabled View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A + media/filters/skcanvas_video_renderer.h View 1 2 3 4 5 6 3 chunks +8 lines, -9 lines 0 comments Download
A + media/filters/skcanvas_video_renderer.cc View 8 chunks +11 lines, -17 lines 0 comments Download
A + media/filters/skcanvas_video_renderer_unittest.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M media/media.gyp View 1 2 5 chunks +5 lines, -1 line 0 comments Download
D skia/config/win/stdint.h View 1 2 3 4 1 chunk +0 lines, -26 lines 0 comments Download
D webkit/media/skcanvas_video_renderer.h View 1 chunk +0 lines, -47 lines 0 comments Download
D webkit/media/skcanvas_video_renderer.cc View 1 chunk +0 lines, -260 lines 0 comments Download
D webkit/media/skcanvas_video_renderer_unittest.cc View 1 chunk +0 lines, -202 lines 0 comments Download
M webkit/media/webkit_media.gypi View 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/media/webmediaplayer_ms.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/media/webmediaplayer_ms.cc View 1 chunk +2 lines, -1 line 0 comments Download
M webkit/media/webmediaplayer_proxy.h View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
slavi
8 years, 2 months ago (2012-10-23 23:37:01 UTC) #1
Ami GONE FROM CHROMIUM
I think this is basically fine. http://codereview.chromium.org/11234071/diff/1/media/media.gyp File media/media.gyp (right): http://codereview.chromium.org/11234071/diff/1/media/media.gyp#newcode29 media/media.gyp:29: '../skia/skia.gyp:skia', here and ...
8 years, 2 months ago (2012-10-23 23:44:09 UTC) #2
slavi
On 2012/10/23 23:44:09, Ami Fischman wrote: > I think this is basically fine. > > ...
8 years, 2 months ago (2012-10-23 23:53:29 UTC) #3
Ami GONE FROM CHROMIUM
> http://codereview.chromium.**org/11234071/diff/1/media/**media.gyp<http://codereview.chromium.org/11234071/diff/1/media/media.gyp> >> File media/media.gyp (right): > > http://codereview.chromium.**org/11234071/diff/1/media/** >> media.gyp#newcode29<http://codereview.chromium.org/11234071/diff/1/media/media.gyp#newcode29> >> media/media.gyp:29: '../skia/skia.gyp:skia', >> ...
8 years, 2 months ago (2012-10-23 23:55:45 UTC) #4
slavi
On 2012/10/23 23:55:45, Ami Fischman wrote: > > > http://codereview.chromium.**org/11234071/diff/1/media/**media.gyp%3Chttp://codereview.chromium.org/11234071/diff/1/media/media.gyp> > >> File media/media.gyp (right): ...
8 years, 2 months ago (2012-10-24 00:01:21 UTC) #5
slavi
On 2012/10/24 00:01:21, slavi wrote: > On 2012/10/23 23:55:45, Ami Fischman wrote: > > > ...
8 years, 2 months ago (2012-10-24 00:09:10 UTC) #6
Ami GONE FROM CHROMIUM
On Tue, Oct 23, 2012 at 5:01 PM, <skaslev@chromium.org> wrote: > Checkdeps succeeds on my ...
8 years, 2 months ago (2012-10-24 00:09:45 UTC) #7
piman
lgtm
8 years, 2 months ago (2012-10-24 00:14:43 UTC) #8
DaleCurtis
lgtm
8 years, 2 months ago (2012-10-24 00:20:00 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skaslev@chromium.org/11234071/7003
8 years, 2 months ago (2012-10-24 00:24:10 UTC) #10
DaleCurtis
On 2012/10/24 00:20:00, DaleCurtis wrote: > lgtm win_rel shows a bunch of ffmpeg failures while ...
8 years, 2 months ago (2012-10-24 00:24:39 UTC) #11
DaleCurtis
On 2012/10/24 00:24:39, DaleCurtis wrote: > On 2012/10/24 00:20:00, DaleCurtis wrote: > > lgtm > ...
8 years, 2 months ago (2012-10-24 00:26:21 UTC) #12
slavi
On 2012/10/24 00:26:21, DaleCurtis wrote: > On 2012/10/24 00:24:39, DaleCurtis wrote: > > On 2012/10/24 ...
8 years, 2 months ago (2012-10-24 00:28:59 UTC) #13
DaleCurtis
On 2012/10/24 00:28:59, slavi wrote: > On 2012/10/24 00:26:21, DaleCurtis wrote: > > On 2012/10/24 ...
8 years, 2 months ago (2012-10-24 00:33:48 UTC) #14
skaslev
Then again there's src/skia/config/SkUserConfig.h<http://code.google.com/searchframe#OAMlx_jo-ck/src/skia/config/SkUserConfig.h&exact_package=chromium&l=196> which also defines those types. I'll investigate. On Tue, Oct 23, ...
8 years, 2 months ago (2012-10-24 00:41:55 UTC) #15
slavi
Adding Mike Reed for review of the removal of skia/config/win/stdint.h. The reason for the removal ...
8 years, 2 months ago (2012-10-24 03:01:46 UTC) #16
slavi
On 2012/10/24 03:01:46, slavi wrote: > Adding Mike Reed for review of the removal of ...
8 years, 2 months ago (2012-10-24 03:03:27 UTC) #17
reed1
removal looks good to me
8 years, 2 months ago (2012-10-24 12:17:00 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/skaslev@chromium.org/11234071/34003
8 years, 2 months ago (2012-10-24 12:49:05 UTC) #19
commit-bot: I haz the power
8 years, 2 months ago (2012-10-24 15:13:32 UTC) #20
Change committed as 163829

Powered by Google App Engine
This is Rietveld 408576698