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

Issue 1281043006: Move NumberOfPlanesForGpuMemoryBufferFormat to gfx (Closed)

Created:
5 years, 4 months ago by Andre
Modified:
5 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move NumberOfPlanesForGpuMemoryBufferFormat to gfx We will need to call it from media::GpuMemoryBufferVideoFramePool when we add support for YUV_420_BIPLANAR. BUG=510260 TEST=No behavior change, only moving code. CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/85f29861d095a7c5dcf318053e8349d1efaddbab Cr-Commit-Position: refs/heads/master@{#342942} Committed: https://crrev.com/42febcc1b22c086482951ae830e2e3f785882dfc Cr-Commit-Position: refs/heads/master@{#343053}

Patch Set 1 : #

Patch Set 2 : Fix build warning #

Patch Set 3 : Fix build warning again #

Total comments: 2

Patch Set 4 : Move to buffer_format_util #

Total comments: 1

Patch Set 5 : Fix win_x64_gn #

Patch Set 6 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -109 lines) Patch
M cc/test/test_gpu_memory_buffer_manager.cc View 1 2 3 4 chunks +6 lines, -23 lines 0 comments Download
M components/view_manager/gles2/mojo_gpu_memory_buffer.cc View 1 2 3 4 4 chunks +6 lines, -23 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_buffer_pool.cc View 1 2 3 2 chunks +3 lines, -4 lines 0 comments Download
M content/child/child_thread_impl_browsertest.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl.h View 1 chunk +0 lines, -4 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl.cc View 1 2 3 3 chunks +2 lines, -23 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_shared_memory.cc View 1 2 3 4 chunks +4 lines, -3 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_unittest.cc View 1 2 3 3 chunks +3 lines, -4 lines 0 comments Download
M gpu/command_buffer/tests/gl_manager.cc View 1 2 3 5 chunks +4 lines, -23 lines 0 comments Download
M ui/gfx/BUILD.gn View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
A ui/gfx/buffer_format_util.h View 1 2 3 1 chunk +19 lines, -0 lines 0 comments Download
A ui/gfx/buffer_format_util.cc View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download
M ui/gfx/gfx.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (14 generated)
Andre
PTAL
5 years, 4 months ago (2015-08-10 17:04:04 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1281043006/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1281043006/100001
5 years, 4 months ago (2015-08-10 19:06:30 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-10 20:39:14 UTC) #9
Andre
reveman@ PTAL
5 years, 4 months ago (2015-08-10 22:56:52 UTC) #11
reveman
https://codereview.chromium.org/1281043006/diff/100001/ui/gfx/gpu_memory_buffer.h File ui/gfx/gpu_memory_buffer.h (right): https://codereview.chromium.org/1281043006/diff/100001/ui/gfx/gpu_memory_buffer.h#newcode49 ui/gfx/gpu_memory_buffer.h:49: static size_t NumberOfPlanes(BufferFormat format); How about we add a ...
5 years, 4 months ago (2015-08-10 23:08:28 UTC) #12
Andre
PTAL https://codereview.chromium.org/1281043006/diff/100001/ui/gfx/gpu_memory_buffer.h File ui/gfx/gpu_memory_buffer.h (right): https://codereview.chromium.org/1281043006/diff/100001/ui/gfx/gpu_memory_buffer.h#newcode49 ui/gfx/gpu_memory_buffer.h:49: static size_t NumberOfPlanes(BufferFormat format); On 2015/08/10 23:08:28, reveman ...
5 years, 4 months ago (2015-08-11 03:50:04 UTC) #13
reveman
lgtm https://codereview.chromium.org/1281043006/diff/120001/ui/gfx/buffer_format_util.h File ui/gfx/buffer_format_util.h (right): https://codereview.chromium.org/1281043006/diff/120001/ui/gfx/buffer_format_util.h#newcode16 ui/gfx/buffer_format_util.h:16: Would be nice to also move other utility ...
5 years, 4 months ago (2015-08-11 07:39:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1281043006/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1281043006/120001
5 years, 4 months ago (2015-08-11 16:57:07 UTC) #16
Andre
Thanks. I can look into the other functions in a separate patch. There are a ...
5 years, 4 months ago (2015-08-11 17:00:22 UTC) #17
Andre
+msw for components/view_manager. +jbauman for gpu/command_buffer. +avi for content/child and ui/gfx.
5 years, 4 months ago (2015-08-11 17:10:10 UTC) #20
Avi (use Gerrit)
Those LGTM
5 years, 4 months ago (2015-08-11 17:15:14 UTC) #21
msw
components/view_manager/* lgtm
5 years, 4 months ago (2015-08-11 17:25:30 UTC) #22
reveman
On 2015/08/11 at 17:00:22, andresantoso wrote: > Thanks. I can look into the other functions ...
5 years, 4 months ago (2015-08-11 17:46:36 UTC) #23
jbauman
gpu/command_buffer lgtm
5 years, 4 months ago (2015-08-11 23:32:53 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1281043006/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1281043006/120001
5 years, 4 months ago (2015-08-11 23:59:30 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:120001)
5 years, 4 months ago (2015-08-12 00:04:30 UTC) #27
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/85f29861d095a7c5dcf318053e8349d1efaddbab Cr-Commit-Position: refs/heads/master@{#342942}
5 years, 4 months ago (2015-08-12 00:05:03 UTC) #28
Ken Rockot(use gerrit already)
A revert of this CL (patchset #4 id:120001) has been created in https://codereview.chromium.org/1291643002/ by rockot@chromium.org. ...
5 years, 4 months ago (2015-08-12 00:39:04 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1281043006/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1281043006/160001
5 years, 4 months ago (2015-08-12 17:08:42 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:160001)
5 years, 4 months ago (2015-08-12 18:11:38 UTC) #34
commit-bot: I haz the power
5 years, 4 months ago (2015-08-12 18:12:11 UTC) #35
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/42febcc1b22c086482951ae830e2e3f785882dfc
Cr-Commit-Position: refs/heads/master@{#343053}

Powered by Google App Engine
This is Rietveld 408576698