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

Issue 1993463002: Fix overlay computation in GpuMemoryBufferVideoFramePool (Closed)

Created:
4 years, 7 months ago by ccameron
Modified:
4 years, 7 months ago
Reviewers:
hubbe
CC:
chromium-reviews, posciak+watch_chromium.org, 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

Fix overlay computation in GpuMemoryBufferVideoFramePool In https://codereview.chromium.org/1960563002, we changed the computation of the ALLOW_OVERLAY flag, which disabled overlays. This changes the logic back to its previous behavior. While we're in the neighborhood, use regular TextureDrawQuads to draw video frames. We originally used IOSurfaceDrawQuad because only it had support for rectangle textures. TextureDrawQuad has had support for rectangle textures for a while now. BUG=611551 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/9c1004fad352061d1e2e4b410174b9eee2bccf0b Cr-Commit-Position: refs/heads/master@{#394338}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -19 lines) Patch
M cc/layers/video_layer_impl.cc View 1 chunk +0 lines, -13 lines 0 comments Download
M cc/resources/video_resource_updater.h View 1 chunk +0 lines, -1 line 0 comments Download
M cc/resources/video_resource_updater.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/video/gpu_memory_buffer_video_frame_pool.cc View 1 2 chunks +16 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (5 generated)
ccameron
ptal -- this returns behavior to how it was before https://codereview.chromium.org/1993463002/.
4 years, 7 months ago (2016-05-17 23:17:31 UTC) #3
hubbe
LGTM % one nit https://codereview.chromium.org/1993463002/diff/1/media/video/gpu_memory_buffer_video_frame_pool.cc File media/video/gpu_memory_buffer_video_frame_pool.cc (right): https://codereview.chromium.org/1993463002/diff/1/media/video/gpu_memory_buffer_video_frame_pool.cc#newcode610 media/video/gpu_memory_buffer_video_frame_pool.cc:610: // Compute whether or not ...
4 years, 7 months ago (2016-05-18 00:03:32 UTC) #4
ccameron
Thanks! https://codereview.chromium.org/1993463002/diff/1/media/video/gpu_memory_buffer_video_frame_pool.cc File media/video/gpu_memory_buffer_video_frame_pool.cc (right): https://codereview.chromium.org/1993463002/diff/1/media/video/gpu_memory_buffer_video_frame_pool.cc#newcode610 media/video/gpu_memory_buffer_video_frame_pool.cc:610: // Compute whether or not this frame may ...
4 years, 7 months ago (2016-05-18 03:04:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1993463002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1993463002/20001
4 years, 7 months ago (2016-05-18 03:04:55 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-18 05:52:11 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-18 05:53:39 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9c1004fad352061d1e2e4b410174b9eee2bccf0b
Cr-Commit-Position: refs/heads/master@{#394338}

Powered by Google App Engine
This is Rietveld 408576698