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

Issue 1852923002: Enable sampling from DXGI NV12 formats in GLRenderer. (Closed)

Created:
4 years, 8 months ago by jbauman
Modified:
4 years, 8 months ago
Reviewers:
danakj
CC:
chromium-reviews, feature-media-reviews_chromium.org, cc-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable sampling from DXGI NV12 formats in GLRenderer. NV12 texture formats are treated as two texture objects. The first texture object has the Y data, and the second has the U data in the R channel and the V data in the G channel. So we can treat them as similar to I420 formats, except sampled slightly differently. BUG=574292 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/cc97f19bb33acd5768246c049c61002d0b2168d5 Cr-Commit-Position: refs/heads/master@{#387170}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 1

Patch Set 7 : #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+243 lines, -11 lines) Patch
M cc/layers/video_layer_impl.cc View 1 2 3 3 chunks +10 lines, -5 lines 0 comments Download
M cc/output/gl_renderer.h View 1 2 3 3 chunks +9 lines, -1 line 0 comments Download
M cc/output/gl_renderer.cc View 1 2 3 6 chunks +50 lines, -5 lines 0 comments Download
M cc/output/gl_renderer_unittest.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M cc/output/renderer_pixeltest.cc View 1 2 3 4 5 6 7 2 chunks +76 lines, -0 lines 0 comments Download
M cc/output/shader.h View 1 chunk +31 lines, -0 lines 0 comments Download
M cc/output/shader.cc View 1 chunk +66 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
jbauman
4 years, 8 months ago (2016-04-06 23:09:28 UTC) #3
danakj
https://codereview.chromium.org/1852923002/diff/20001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/1852923002/diff/20001/cc/output/gl_renderer.cc#newcode1971 cc/output/gl_renderer.cc:1971: return; do you mean dcheck? https://codereview.chromium.org/1852923002/diff/20001/cc/output/gl_renderer.cc#newcode1978 cc/output/gl_renderer.cc:1978: scoped_ptr<ResourceProvider::ScopedSamplerGL> v_plane_lock; ...
4 years, 8 months ago (2016-04-11 23:28:28 UTC) #4
jbauman
PTAL. On 2016/04/11 23:28:28, danakj wrote: > https://codereview.chromium.org/1852923002/diff/20001/cc/output/gl_renderer.cc > File cc/output/gl_renderer.cc (right): > > https://codereview.chromium.org/1852923002/diff/20001/cc/output/gl_renderer.cc#newcode1971 ...
4 years, 8 months ago (2016-04-13 00:15:35 UTC) #5
danakj
https://codereview.chromium.org/1852923002/diff/100001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/1852923002/diff/100001/cc/resources/video_resource_updater.cc#newcode350 cc/resources/video_resource_updater.cc:350: if ((input_frame_format == media::PIXEL_FORMAT_NV12) && (i == 1)) { ...
4 years, 8 months ago (2016-04-13 00:24:19 UTC) #6
jbauman
On 2016/04/13 00:24:19, danakj wrote: > https://codereview.chromium.org/1852923002/diff/100001/cc/resources/video_resource_updater.cc > File cc/resources/video_resource_updater.cc (right): > > https://codereview.chromium.org/1852923002/diff/100001/cc/resources/video_resource_updater.cc#newcode350 > ...
4 years, 8 months ago (2016-04-13 00:25:45 UTC) #7
danakj
On Tue, Apr 12, 2016 at 5:25 PM, <jbauman@chromium.org> wrote: > On 2016/04/13 00:24:19, danakj ...
4 years, 8 months ago (2016-04-13 00:32:04 UTC) #8
jbauman
On 2016/04/13 00:32:04, danakj wrote: > On Tue, Apr 12, 2016 at 5:25 PM, <mailto:jbauman@chromium.org> ...
4 years, 8 months ago (2016-04-13 22:25:05 UTC) #9
danakj
Thanks! LGTM
4 years, 8 months ago (2016-04-13 22:34:10 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1852923002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1852923002/140001
4 years, 8 months ago (2016-04-13 23:49:27 UTC) #12
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-04-14 00:33:06 UTC) #13
commit-bot: I haz the power
4 years, 8 months ago (2016-04-14 00:34:46 UTC) #15
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/cc97f19bb33acd5768246c049c61002d0b2168d5
Cr-Commit-Position: refs/heads/master@{#387170}

Powered by Google App Engine
This is Rietveld 408576698