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

Issue 935383004: cc: Make VideoResourceUpdater use CopyToResource instead of SetPixels. (Closed)

Created:
5 years, 10 months ago by danakj
Modified:
5 years, 10 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, ericrk, piman
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

cc: Make VideoResourceUpdater use CopyToResource instead of SetPixels. This makes video stop relying on the TextureUploader class. I've ported the stride-handling code from TextureUploader to the VideoResourceUpdater class, since it is the only place that will make use for it for now. R=enne BUG=454575 Committed: https://crrev.com/e3f994390b28d440bacfa88031077761a29f1854 Cr-Commit-Position: refs/heads/master@{#317171}

Patch Set 1 #

Total comments: 3

Patch Set 2 : video: comment #

Patch Set 3 : video: vector #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -8 lines) Patch
M cc/resources/video_resource_updater.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/resources/video_resource_updater.cc View 1 2 2 chunks +36 lines, -8 lines 3 comments Download

Messages

Total messages: 28 (13 generated)
danakj
5 years, 10 months ago (2015-02-19 19:41:11 UTC) #1
enne (OOO)
lgtm https://codereview.chromium.org/935383004/diff/1/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/935383004/diff/1/cc/resources/video_resource_updater.cc#newcode322 cc/resources/video_resource_updater.cc:322: // TODO(reveman): Can use of GpuMemoryBuffers here to ...
5 years, 10 months ago (2015-02-19 19:53:03 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/935383004/20001
5 years, 10 months ago (2015-02-19 19:56:32 UTC) #9
ericrk
lgtm as well. https://codereview.chromium.org/935383004/diff/1/cc/resources/video_resource_updater.h File cc/resources/video_resource_updater.h (right): https://codereview.chromium.org/935383004/diff/1/cc/resources/video_resource_updater.h#newcode134 cc/resources/video_resource_updater.h:134: // TODO(danakj): Use std::array when we ...
5 years, 10 months ago (2015-02-19 19:57:41 UTC) #11
danakj
https://codereview.chromium.org/935383004/diff/1/cc/resources/video_resource_updater.h File cc/resources/video_resource_updater.h (right): https://codereview.chromium.org/935383004/diff/1/cc/resources/video_resource_updater.h#newcode134 cc/resources/video_resource_updater.h:134: // TODO(danakj): Use std::array when we can. On 2015/02/19 ...
5 years, 10 months ago (2015-02-19 20:46:21 UTC) #12
danakj
Switched it to a vector.
5 years, 10 months ago (2015-02-19 20:48:36 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/935383004/60001
5 years, 10 months ago (2015-02-19 22:29:13 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:60001)
5 years, 10 months ago (2015-02-19 23:40:11 UTC) #20
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/e3f994390b28d440bacfa88031077761a29f1854 Cr-Commit-Position: refs/heads/master@{#317171}
5 years, 10 months ago (2015-02-19 23:41:44 UTC) #21
DaleCurtis
https://codereview.chromium.org/935383004/diff/60001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/935383004/diff/60001/cc/resources/video_resource_updater.cc#newcode349 cc/resources/video_resource_updater.cc:349: memcpy(dst, src, resource_size_pixels.width() * bytes_per_pixel); Does this mean we're ...
5 years, 10 months ago (2015-02-20 03:21:28 UTC) #23
danakj
https://codereview.chromium.org/935383004/diff/60001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/935383004/diff/60001/cc/resources/video_resource_updater.cc#newcode349 cc/resources/video_resource_updater.cc:349: memcpy(dst, src, resource_size_pixels.width() * bytes_per_pixel); On 2015/02/20 03:21:28, DaleCurtis ...
5 years, 10 months ago (2015-02-20 03:34:03 UTC) #24
DaleCurtis
https://codereview.chromium.org/935383004/diff/60001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/935383004/diff/60001/cc/resources/video_resource_updater.cc#newcode349 cc/resources/video_resource_updater.cc:349: memcpy(dst, src, resource_size_pixels.width() * bytes_per_pixel); On 2015/02/20 03:34:03, danakj ...
5 years, 10 months ago (2015-02-20 18:03:39 UTC) #25
reveman
On 2015/02/20 at 18:03:39, dalecurtis wrote: > https://codereview.chromium.org/935383004/diff/60001/cc/resources/video_resource_updater.cc > File cc/resources/video_resource_updater.cc (right): > > https://codereview.chromium.org/935383004/diff/60001/cc/resources/video_resource_updater.cc#newcode349 ...
5 years, 10 months ago (2015-02-20 18:13:31 UTC) #26
DaleCurtis
Awesome, thanks again for the discussion. Let me know if you need some bandwidth to ...
5 years, 10 months ago (2015-02-20 18:17:27 UTC) #27
reveman
5 years, 10 months ago (2015-02-20 20:23:02 UTC) #28
Message was sent while issue was closed.
On 2015/02/20 at 18:17:27, dalecurtis wrote:
> Awesome, thanks again for the discussion. Let me know if you need some
bandwidth to help get that done. My OKR this quarter is smooth video playback,
reducing texture upload cost for hi-res HFR software playback would definitely
make it more likely that we can deliver a frame on time.

crbug.com/439520 is about adding YUV support to the GpuMemoryBuffer framework.

Powered by Google App Engine
This is Rietveld 408576698