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

Issue 1605423002: Make 'kVideoImageTextureTarget' a list of texture targets. (Closed)

Created:
4 years, 11 months ago by Daniele Castagna
Modified:
4 years, 11 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make 'kVideoImageTextureTarget' a list of texture targets. Pass to the renderer a list of texture targets, one per GpuMemoryBuffer format, via a command line argument. In this way GMBVFP can pick whatever GMB format it needs to use and bind to the correct texture target. This is similar to what we do for content (kContentImageTextureTarget). kContentImageTextureTarget can't be used since the buffer usage could differ from the buffer usage in GMBVFP. Once all GMB formats supports persistent usage and we can consolidate GPU_READ_CPU_READ_WRITE_PERSISTENT and GPU_READ_CPU_READ_WRITE this code can go away and we can use just one command line switch. BUG=524582 Committed: https://crrev.com/5077d6dc8037fdc2e19c70270083ec5b28e0fe89 Cr-Commit-Position: refs/heads/master@{#371644}

Patch Set 1 #

Patch Set 2 : Don't resize image_targets #

Patch Set 3 : TEXTURE_2D for 420 biplanar. #

Total comments: 6

Patch Set 4 : Address reveman's comments. #

Patch Set 5 : Fix typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -36 lines) Patch
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 2 chunks +12 lines, -4 lines 0 comments Download
M content/renderer/media/renderer_gpu_video_accelerator_factories.h View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/media/renderer_gpu_video_accelerator_factories.cc View 1 2 3 4 chunks +7 lines, -6 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 chunk +6 lines, -6 lines 0 comments Download
M media/renderers/gpu_video_accelerator_factories.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M media/renderers/mock_gpu_video_accelerator_factories.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M media/renderers/mock_gpu_video_accelerator_factories.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M media/video/gpu_memory_buffer_video_frame_pool.cc View 1 2 3 5 chunks +14 lines, -13 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
Daniele Castagna
4 years, 11 months ago (2016-01-25 17:36:13 UTC) #2
reveman
lgtm with nits after removing the BGMBM change https://codereview.chromium.org/1605423002/diff/40001/content/browser/gpu/browser_gpu_memory_buffer_manager.cc File content/browser/gpu/browser_gpu_memory_buffer_manager.cc (right): https://codereview.chromium.org/1605423002/diff/40001/content/browser/gpu/browser_gpu_memory_buffer_manager.cc#newcode249 content/browser/gpu/browser_gpu_memory_buffer_manager.cc:249: if ...
4 years, 11 months ago (2016-01-25 18:50:56 UTC) #3
Daniele Castagna
+avi for content/* +dalecurtis for media/* https://codereview.chromium.org/1605423002/diff/40001/content/browser/gpu/browser_gpu_memory_buffer_manager.cc File content/browser/gpu/browser_gpu_memory_buffer_manager.cc (right): https://codereview.chromium.org/1605423002/diff/40001/content/browser/gpu/browser_gpu_memory_buffer_manager.cc#newcode249 content/browser/gpu/browser_gpu_memory_buffer_manager.cc:249: if (format == ...
4 years, 11 months ago (2016-01-25 20:49:01 UTC) #5
DaleCurtis
media/ lgtm -- any bug to associate with this?
4 years, 11 months ago (2016-01-25 21:51:32 UTC) #6
Daniele Castagna
+sievers for content/*
4 years, 11 months ago (2016-01-26 21:21:23 UTC) #10
no sievers
On 2016/01/26 21:21:23, Daniele Castagna wrote: > +sievers for content/* lgtm
4 years, 11 months ago (2016-01-26 23:07:18 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1605423002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1605423002/80001
4 years, 11 months ago (2016-01-26 23:12:09 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 11 months ago (2016-01-27 00:07:12 UTC) #15
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 00:08:14 UTC) #17
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/5077d6dc8037fdc2e19c70270083ec5b28e0fe89
Cr-Commit-Position: refs/heads/master@{#371644}

Powered by Google App Engine
This is Rietveld 408576698