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

Issue 12157002: Adding YUVA support for enabling Alpha Playback (Closed)

Created:
7 years, 10 months ago by vignesh
Modified:
7 years, 6 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, cc-bugs_chromium.org, jam, darin-cc_chromium.org
Visibility:
Public.

Description

Adding YUVA support for enabling Alpha Playback BUG=147355 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204508

Patch Set 1 #

Patch Set 2 : Moving VP8 Alpha Playback behind its own flag #

Total comments: 91

Patch Set 3 : remove files unrelated to cc/ #

Total comments: 15

Patch Set 4 : Removing YUVAVideoDrawQuad class #

Patch Set 5 : minor fixes and changes. #

Patch Set 6 : rebase #

Total comments: 6

Patch Set 7 : Merging DrawYUVAVideoQuad with DrawYUVVideoQuad #

Total comments: 29

Patch Set 8 : addressing comments on patchset 7 #

Total comments: 4

Patch Set 9 : addressing comments #

Total comments: 4

Patch Set 10 : adding unittests #

Patch Set 11 : addressing comments #

Total comments: 6

Patch Set 12 : rebase and pixel tests for YUV and YUVA #

Total comments: 14

Patch Set 13 : rebase on test file landing and nit fixes #

Patch Set 14 : rebase and calming down the try bots #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -40 lines) Patch
M cc/layers/video_layer_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -2 lines 0 comments Download
M cc/output/delegating_renderer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 1 comment Download
M cc/output/gl_renderer.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +6 lines, -0 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 6 chunks +74 lines, -21 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/renderer_pixeltest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +116 lines, -0 lines 0 comments Download
M cc/output/shader.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +31 lines, -0 lines 0 comments Download
M cc/output/shader.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +73 lines, -0 lines 0 comments Download
M cc/quads/draw_quad_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +16 lines, -7 lines 0 comments Download
M cc/quads/yuv_video_draw_quad.h View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -2 lines 0 comments Download
M cc/quads/yuv_video_draw_quad.cc View 1 2 3 4 5 6 7 8 9 10 11 5 chunks +10 lines, -3 lines 0 comments Download
M cc/test/render_pass_test_common.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -3 lines 0 comments Download
M content/common/cc_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M content/common/cc_messages_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 62 (0 generated)
vignesh
7 years, 10 months ago (2013-02-01 01:27:51 UTC) #1
Tom Finegan
Frank is doing a full review, but I'll let my two nits and one general ...
7 years, 10 months ago (2013-02-12 00:48:34 UTC) #2
danakj
You'll need to do content/common/cc_messages.h at the same time as cc/ https://codereview.chromium.org/12157002/diff/3001/cc/yuva_video_draw_quad.h File cc/yuva_video_draw_quad.h (right): ...
7 years, 10 months ago (2013-02-12 00:53:25 UTC) #3
vignesh
https://codereview.chromium.org/12157002/diff/3001/cc/yuva_video_draw_quad.h File cc/yuva_video_draw_quad.h (right): https://codereview.chromium.org/12157002/diff/3001/cc/yuva_video_draw_quad.h#newcode46 cc/yuva_video_draw_quad.h:46: VideoLayerImpl::FramePlane a_plane; On 2013/02/12 00:53:26, danakj wrote: > Can ...
7 years, 10 months ago (2013-02-12 01:13:50 UTC) #4
danakj
https://codereview.chromium.org/12157002/diff/3001/cc/yuva_video_draw_quad.h File cc/yuva_video_draw_quad.h (right): https://codereview.chromium.org/12157002/diff/3001/cc/yuva_video_draw_quad.h#newcode46 cc/yuva_video_draw_quad.h:46: VideoLayerImpl::FramePlane a_plane; On 2013/02/12 01:13:50, vignesh wrote: > On ...
7 years, 10 months ago (2013-02-12 01:18:09 UTC) #5
fgalligan1
https://codereview.chromium.org/12157002/diff/3001/cc/draw_quad.h File cc/draw_quad.h (right): https://codereview.chromium.org/12157002/diff/3001/cc/draw_quad.h#newcode1 cc/draw_quad.h:1: // Copyright 2012 The Chromium Authors. All rights reserved. ...
7 years, 10 months ago (2013-02-12 01:20:58 UTC) #6
jamesr
https://codereview.chromium.org/12157002/diff/3001/cc/draw_quad.h File cc/draw_quad.h (right): https://codereview.chromium.org/12157002/diff/3001/cc/draw_quad.h#newcode1 cc/draw_quad.h:1: // Copyright 2012 The Chromium Authors. All rights reserved. ...
7 years, 10 months ago (2013-02-12 01:23:14 UTC) #7
fgalligan1
https://codereview.chromium.org/12157002/diff/3001/cc/draw_quad.h File cc/draw_quad.h (right): https://codereview.chromium.org/12157002/diff/3001/cc/draw_quad.h#newcode1 cc/draw_quad.h:1: // Copyright 2012 The Chromium Authors. All rights reserved. ...
7 years, 10 months ago (2013-02-12 01:28:57 UTC) #8
jzern
structure of these new classes/structs I'll leave to people more familiar with this code. it ...
7 years, 10 months ago (2013-02-13 19:56:14 UTC) #9
jamesr
The structure seems OK, but you have a lot of repetitive code that does nearly ...
7 years, 10 months ago (2013-02-14 01:55:19 UTC) #10
jamesr
On 2013/02/14 01:55:19, jamesr wrote: > The structure seems OK, but you have a lot ...
7 years, 10 months ago (2013-02-14 18:40:27 UTC) #11
vigneshv
Marking Frank's comments on non cc/ changes as done. I will address them in this ...
7 years, 10 months ago (2013-02-14 19:06:14 UTC) #12
vigneshv
> Also, did you consider using one quad type for YUV and YUVA video data ...
7 years, 10 months ago (2013-02-14 19:08:17 UTC) #13
vigneshv
Patch Set 4 Have addressed most of the comments on the first three patchsets (whatever ...
7 years, 10 months ago (2013-02-15 18:05:02 UTC) #14
vigneshv
7 years, 10 months ago (2013-02-15 18:56:52 UTC) #15
vignesh
Doing a rebase. Have addressed all the previous comments. CL ready for a thorough review.
7 years, 9 months ago (2013-03-28 20:55:46 UTC) #16
danakj
https://codereview.chromium.org/12157002/diff/33001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/12157002/diff/33001/cc/output/gl_renderer.cc#newcode1266 cc/output/gl_renderer.cc:1266: void GLRenderer::DrawYUVAVideoQuad(const DrawingFrame* frame, Can you merge this function ...
7 years, 9 months ago (2013-03-28 20:59:24 UTC) #17
vignesh
https://codereview.chromium.org/12157002/diff/33001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/12157002/diff/33001/cc/output/gl_renderer.cc#newcode1266 cc/output/gl_renderer.cc:1266: void GLRenderer::DrawYUVAVideoQuad(const DrawingFrame* frame, On 2013/03/28 20:59:24, danakj wrote: ...
7 years, 8 months ago (2013-04-02 20:56:14 UTC) #18
danakj
https://codereview.chromium.org/12157002/diff/33001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/12157002/diff/33001/cc/output/gl_renderer.cc#newcode1266 cc/output/gl_renderer.cc:1266: void GLRenderer::DrawYUVAVideoQuad(const DrawingFrame* frame, On 2013/04/02 20:56:15, vignesh wrote: ...
7 years, 8 months ago (2013-04-03 00:41:12 UTC) #19
danakj
https://codereview.chromium.org/12157002/diff/33001/cc/output/gl_renderer.h File cc/output/gl_renderer.h (right): https://codereview.chromium.org/12157002/diff/33001/cc/output/gl_renderer.h#newcode284 cc/output/gl_renderer.h:284: const VideoYUVAProgram* GetVideoYUVAProgram(); By the way, when adding a ...
7 years, 8 months ago (2013-04-03 00:42:04 UTC) #20
vignesh
https://codereview.chromium.org/12157002/diff/33001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/12157002/diff/33001/cc/output/gl_renderer.cc#newcode1266 cc/output/gl_renderer.cc:1266: void GLRenderer::DrawYUVAVideoQuad(const DrawingFrame* frame, I have eliminated the enum ...
7 years, 8 months ago (2013-04-04 00:37:32 UTC) #21
danakj
Looks good overall, thanks for the changes. Someone with some more shader knowledge should take ...
7 years, 8 months ago (2013-04-04 15:01:55 UTC) #22
Tom Finegan
Please update the CL subject and description: It's confusing having two CLs to review that ...
7 years, 8 months ago (2013-04-04 19:43:07 UTC) #23
vignesh
Addressing comments on the previous patchset. https://codereview.chromium.org/12157002/diff/41001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/12157002/diff/41001/cc/output/gl_renderer.cc#newcode82 cc/output/gl_renderer.cc:82: // These values ...
7 years, 8 months ago (2013-04-04 22:06:13 UTC) #24
enne (OOO)
https://codereview.chromium.org/12157002/diff/41001/cc/output/shader.cc File cc/output/shader.cc (right): https://codereview.chromium.org/12157002/diff/41001/cc/output/shader.cc#newcode917 cc/output/shader.cc:917: : y_texture_location_(-1) style nit: commas don't go at the ...
7 years, 8 months ago (2013-04-04 22:08:44 UTC) #25
danakj
https://codereview.chromium.org/12157002/diff/53001/cc/quads/yuv_video_draw_quad.cc File cc/quads/yuv_video_draw_quad.cc (right): https://codereview.chromium.org/12157002/diff/53001/cc/quads/yuv_video_draw_quad.cc#newcode27 cc/quads/yuv_video_draw_quad.cc:27: bool needs_blending = true; This is true only if ...
7 years, 8 months ago (2013-04-04 22:18:45 UTC) #26
vignesh
https://codereview.chromium.org/12157002/diff/41001/cc/output/shader.cc File cc/output/shader.cc (right): https://codereview.chromium.org/12157002/diff/41001/cc/output/shader.cc#newcode917 cc/output/shader.cc:917: : y_texture_location_(-1) On 2013/04/04 22:08:44, enne wrote: > style ...
7 years, 8 months ago (2013-04-05 22:00:28 UTC) #27
enne (OOO)
Hmm, it does appear like presubmit is no longer linting files. I filed http://crbug.com/227196 for ...
7 years, 8 months ago (2013-04-05 23:06:53 UTC) #28
danakj
https://codereview.chromium.org/12157002/diff/60001/cc/quads/yuv_video_draw_quad.cc File cc/quads/yuv_video_draw_quad.cc (right): https://codereview.chromium.org/12157002/diff/60001/cc/quads/yuv_video_draw_quad.cc#newcode27 cc/quads/yuv_video_draw_quad.cc:27: bool needs_blending = !!a_plane; Actually, I think you can ...
7 years, 8 months ago (2013-04-07 19:08:46 UTC) #29
vignesh
Have added/modified unit tests. Will address enne and danakj's pending comments shortly.
7 years, 8 months ago (2013-04-08 19:36:11 UTC) #30
vignesh
I have addressed all standing comments. https://codereview.chromium.org/12157002/diff/60001/cc/output/shader.cc File cc/output/shader.cc (right): https://codereview.chromium.org/12157002/diff/60001/cc/output/shader.cc#newcode969 cc/output/shader.cc:969: varying vec2 uv_texCoord; ...
7 years, 8 months ago (2013-04-09 20:48:02 UTC) #31
enne (OOO)
I assume there's going to be some other patch that follows this that will actually ...
7 years, 8 months ago (2013-04-09 21:22:20 UTC) #32
vignesh
On 2013/04/09 21:22:20, enne wrote: > I assume there's going to be some other patch ...
7 years, 8 months ago (2013-04-09 21:28:15 UTC) #33
enne (OOO)
On 2013/04/09 21:28:15, vignesh wrote: > > Since this code seems unreachable, is there any ...
7 years, 8 months ago (2013-04-09 21:32:55 UTC) #34
vignesh
On 2013/04/09 21:32:55, enne wrote: > On 2013/04/09 21:28:15, vignesh wrote: > > > Since ...
7 years, 8 months ago (2013-04-11 21:03:59 UTC) #35
danakj
https://codereview.chromium.org/12157002/diff/70001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/12157002/diff/70001/cc/output/gl_renderer.cc#newcode82 cc/output/gl_renderer.cc:82: // These values are magic numbers that are used ...
7 years, 8 months ago (2013-04-11 21:09:59 UTC) #36
enne (OOO)
On 2013/04/11 21:03:59, vignesh wrote: > On 2013/04/09 21:32:55, enne wrote: > > On 2013/04/09 ...
7 years, 8 months ago (2013-04-11 21:55:32 UTC) #37
vignesh
Sorry about the delay in this. I am completely new to OpenGL and shader stuff, ...
7 years, 6 months ago (2013-05-30 23:28:24 UTC) #38
vignesh
have put up a CL which has the test file for YUVA: https://codereview.chromium.org/15853015/
7 years, 6 months ago (2013-05-30 23:36:47 UTC) #39
enne (OOO)
Thanks for the pixel test! This is looking great. A few nits: https://codereview.chromium.org/12157002/diff/77001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc ...
7 years, 6 months ago (2013-05-30 23:52:53 UTC) #40
vignesh
Have addressed all the comments. https://codereview.chromium.org/12157002/diff/77001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/12157002/diff/77001/cc/output/gl_renderer.cc#newcode1402 cc/output/gl_renderer.cc:1402: scoped_ptr<ResourceProvider::ScopedSamplerGL> a_plane_lock; On 2013/05/30 ...
7 years, 6 months ago (2013-05-31 19:49:36 UTC) #41
enne (OOO)
lgtm
7 years, 6 months ago (2013-05-31 19:54:21 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vigneshv@chromium.org/12157002/85001
7 years, 6 months ago (2013-05-31 19:56:55 UTC) #43
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=6183
7 years, 6 months ago (2013-05-31 20:07:59 UTC) #44
vignesh
jschuh@ could you please take a look at into content/common/* stuff in this CL. Thanks!
7 years, 6 months ago (2013-05-31 20:12:45 UTC) #45
vignesh
jschuh/cevans, this is just a one line change and is probably quick-LGTM'able. Please take a ...
7 years, 6 months ago (2013-05-31 21:25:41 UTC) #46
jschuh
doesn't seem to change any attack surface, so lgtm for ipc security.
7 years, 6 months ago (2013-06-04 20:49:12 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vigneshv@chromium.org/12157002/85001
7 years, 6 months ago (2013-06-04 20:59:29 UTC) #48
vignesh
cevans@/jln@, could you please review content/common/cc_messages_unittest.cc ? it's a straightforward change and should be quick ...
7 years, 6 months ago (2013-06-04 21:05:26 UTC) #49
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=6734
7 years, 6 months ago (2013-06-04 21:09:28 UTC) #50
jln (very slow on Chromium)
Sorry, you need a content/ owner for content/common/cc_messages_unittest.cc (cevans and myself are only there for ...
7 years, 6 months ago (2013-06-04 21:21:58 UTC) #51
danakj
+piman for cc_messages_unittest.cc On Tue, Jun 4, 2013 at 5:21 PM, <jln@chromium.org> wrote: > Sorry, ...
7 years, 6 months ago (2013-06-04 21:24:17 UTC) #52
vignesh
piman/brettw, could you please review content/common/cc_messages_unittest.cc ? it's a fairly small change and should be ...
7 years, 6 months ago (2013-06-04 21:26:44 UTC) #53
piman
lgtm
7 years, 6 months ago (2013-06-04 21:29:55 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vigneshv@chromium.org/12157002/85001
7 years, 6 months ago (2013-06-04 21:30:56 UTC) #55
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-04 21:52:47 UTC) #56
vignesh
- Fixing a compilation warning. - Fixing deletegating_renderer_unittest.cc to accomodate the change made in AppendOneOfEveryQuadType() ...
7 years, 6 months ago (2013-06-06 01:41:59 UTC) #57
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vigneshv@chromium.org/12157002/119001
7 years, 6 months ago (2013-06-06 01:43:02 UTC) #58
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) sync_integration_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=158470
7 years, 6 months ago (2013-06-06 05:31:21 UTC) #59
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vigneshv@chromium.org/12157002/119001
7 years, 6 months ago (2013-06-06 08:13:16 UTC) #60
danakj
https://chromiumcodereview.appspot.com/12157002/diff/119001/cc/output/delegating_renderer_unittest.cc File cc/output/delegating_renderer_unittest.cc (right): https://chromiumcodereview.appspot.com/12157002/diff/119001/cc/output/delegating_renderer_unittest.cc#newcode130 cc/output/delegating_renderer_unittest.cc:130: // Each render pass has 9 resources in it. ...
7 years, 6 months ago (2013-06-06 13:26:37 UTC) #61
commit-bot: I haz the power
7 years, 6 months ago (2013-06-06 15:44:28 UTC) #62
Message was sent while issue was closed.
Change committed as 204508

Powered by Google App Engine
This is Rietveld 408576698