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

Issue 1809943002: Select BackingStrategy based on GpuPreferences (Closed)

Created:
4 years, 9 months ago by william.xie
Modified:
4 years, 9 months ago
CC:
DaleCurtis, chromium-reviews, darin-cc_chromium.org, jam, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Select BackingStrategy based on GpuPreferences. BUG= Committed: https://crrev.com/c27b5e8077a8f42d931c41fa5201d972531c434b Cr-Commit-Position: refs/heads/master@{#382780}

Patch Set 1 : #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -10 lines) Patch
M AUTHORS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/common/gpu/media/android_video_decode_accelerator.h View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
M content/common/gpu/media/android_video_decode_accelerator.cc View 1 2 3 4 4 chunks +9 lines, -7 lines 0 comments Download
M content/common/gpu/media/gpu_video_decode_accelerator.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 50 (20 generated)
william.xie
PTAL :)
4 years, 9 months ago (2016-03-17 04:40:31 UTC) #3
piman
This should already be propagated via GpuPreferences.enable_threaded_texture_mailboxes
4 years, 9 months ago (2016-03-17 17:46:39 UTC) #5
william.xie
On 2016/03/17 17:46:39, piman wrote: > This should already be propagated via > GpuPreferences.enable_threaded_texture_mailboxes From ...
4 years, 9 months ago (2016-03-17 22:24:15 UTC) #6
piman
+penghuang
4 years, 9 months ago (2016-03-17 23:07:41 UTC) #8
william.xie
On 2016/03/17 23:07:41, piman wrote: > +penghuang Looks like this switch is missing in gpu_host_messages.h, ...
4 years, 9 months ago (2016-03-17 23:32:21 UTC) #9
william.xie
On 2016/03/17 23:32:21, william.xie wrote: > On 2016/03/17 23:07:41, piman wrote: > > +penghuang > ...
4 years, 9 months ago (2016-03-17 23:37:56 UTC) #10
Peng
On 2016/03/17 23:37:56, william.xie wrote: > On 2016/03/17 23:32:21, william.xie wrote: > > On 2016/03/17 ...
4 years, 9 months ago (2016-03-17 23:51:40 UTC) #11
watk
On 2016/03/17 23:51:40, Peng wrote: > On 2016/03/17 23:37:56, william.xie wrote: > > On 2016/03/17 ...
4 years, 9 months ago (2016-03-17 23:55:30 UTC) #12
DaleCurtis
Hmm, I verified this worked in WebView when I added that check -- it seemed ...
4 years, 9 months ago (2016-03-17 23:58:34 UTC) #14
liberato (no reviews please)
On 2016/03/17 23:58:34, DaleCurtis wrote: > Hmm, I verified this worked in WebView when I ...
4 years, 9 months ago (2016-03-18 00:25:17 UTC) #15
william.xie
On 2016/03/18 00:25:17, liberato wrote: > On 2016/03/17 23:58:34, DaleCurtis wrote: > > Hmm, I ...
4 years, 9 months ago (2016-03-18 10:22:30 UTC) #16
piman
On Fri, Mar 18, 2016 at 3:22 AM, <william.xie@chromium.org> wrote: > On 2016/03/18 00:25:17, liberato ...
4 years, 9 months ago (2016-03-18 16:08:00 UTC) #17
DaleCurtis
This function is used in GPU process startup while building the GPU info structure. I ...
4 years, 9 months ago (2016-03-18 16:29:59 UTC) #19
boliu
On 2016/03/18 16:29:59, DaleCurtis wrote: > This function is used in GPU process startup while ...
4 years, 9 months ago (2016-03-18 16:48:41 UTC) #20
DaleCurtis
Ah, that's right, this isn't broken because it WebView only runs in-process-gpu, so the flag ...
4 years, 9 months ago (2016-03-18 17:15:41 UTC) #21
william.xie
DaleCurtis@ PTAL
4 years, 9 months ago (2016-03-21 07:35:44 UTC) #25
DaleCurtis
+liberato who has a better idea of what we want here. https://codereview.chromium.org/1809943002/diff/60001/content/common/gpu/media/gpu_video_decode_accelerator.cc File content/common/gpu/media/gpu_video_decode_accelerator.cc (right): ...
4 years, 9 months ago (2016-03-21 16:15:55 UTC) #28
liberato (no reviews please)
i don't think that we don't need to pass GpuPreferences into the constructor, since |gl_decoder_|->GetContextGroup()->gpu_preferences() ...
4 years, 9 months ago (2016-03-21 16:39:52 UTC) #30
william.xie
PTAL, Now we get the gpu_preferences from AVDA itself, but for GetCapabilities, we still need ...
4 years, 9 months ago (2016-03-22 01:09:24 UTC) #31
piman
lgtm
4 years, 9 months ago (2016-03-22 03:37:54 UTC) #33
liberato (no reviews please)
lgtm % one small nit. https://codereview.chromium.org/1809943002/diff/80001/content/common/gpu/media/android_video_decode_accelerator.cc File content/common/gpu/media/android_video_decode_accelerator.cc (right): https://codereview.chromium.org/1809943002/diff/80001/content/common/gpu/media/android_video_decode_accelerator.cc#newcode1160 content/common/gpu/media/android_video_decode_accelerator.cc:1160: const gpu::GpuPreferences& gpu_preferences = ...
4 years, 9 months ago (2016-03-22 21:22:08 UTC) #34
william.xie
ping DaleCurtis@ https://codereview.chromium.org/1809943002/diff/80001/content/common/gpu/media/android_video_decode_accelerator.cc File content/common/gpu/media/android_video_decode_accelerator.cc (right): https://codereview.chromium.org/1809943002/diff/80001/content/common/gpu/media/android_video_decode_accelerator.cc#newcode1160 content/common/gpu/media/android_video_decode_accelerator.cc:1160: const gpu::GpuPreferences& gpu_preferences = On 2016/03/22 21:22:08, ...
4 years, 9 months ago (2016-03-22 23:11:07 UTC) #35
DaleCurtis
https://codereview.chromium.org/1809943002/diff/80001/content/common/gpu/media/android_video_decode_accelerator.cc File content/common/gpu/media/android_video_decode_accelerator.cc (right): https://codereview.chromium.org/1809943002/diff/80001/content/common/gpu/media/android_video_decode_accelerator.cc#newcode1160 content/common/gpu/media/android_video_decode_accelerator.cc:1160: const gpu::GpuPreferences& gpu_preferences = On 2016/03/22 at 23:11:07, william.xie ...
4 years, 9 months ago (2016-03-22 23:14:32 UTC) #36
william.xie
Good idea, frank. PTAL https://codereview.chromium.org/1809943002/diff/80001/content/common/gpu/media/android_video_decode_accelerator.cc File content/common/gpu/media/android_video_decode_accelerator.cc (right): https://codereview.chromium.org/1809943002/diff/80001/content/common/gpu/media/android_video_decode_accelerator.cc#newcode1160 content/common/gpu/media/android_video_decode_accelerator.cc:1160: const gpu::GpuPreferences& gpu_preferences = On ...
4 years, 9 months ago (2016-03-22 23:37:26 UTC) #37
DaleCurtis
lgtm
4 years, 9 months ago (2016-03-22 23:40:06 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809943002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809943002/100001
4 years, 9 months ago (2016-03-22 23:42:14 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/148371) ios_rel_device_gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 9 months ago (2016-03-22 23:44:25 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809943002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809943002/120001
4 years, 9 months ago (2016-03-23 01:54:44 UTC) #46
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 9 months ago (2016-03-23 03:17:03 UTC) #48
commit-bot: I haz the power
4 years, 9 months ago (2016-03-23 03:18:13 UTC) #50
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/c27b5e8077a8f42d931c41fa5201d972531c434b
Cr-Commit-Position: refs/heads/master@{#382780}

Powered by Google App Engine
This is Rietveld 408576698