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

Issue 2551743002: gpu: Move native memory buffer configuration into //gpu (Closed)

Created:
4 years ago by sadrul
Modified:
4 years ago
Reviewers:
Tom Sepez, sky, piman
CC:
chromium-reviews, jam, darin-cc_chromium.org, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: Move native memory buffer configuration into //gpu This moves the code for getting the supported native memory buffer configurations out of //content into //gpu. This allows this code to be used by mus too. BUG=643746 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/6a769424f689718b69b080117afed2907b7c1f9a Cr-Commit-Position: refs/heads/master@{#437182}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : . #

Total comments: 2

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : fix gn check #

Patch Set 7 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -118 lines) Patch
M content/browser/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/gpu/browser_gpu_memory_buffer_manager.h View 1 2 3 3 chunks +2 lines, -24 lines 0 comments Download
M content/browser/gpu/browser_gpu_memory_buffer_manager.cc View 3 chunks +3 lines, -73 lines 0 comments Download
M content/browser/gpu/compositor_util.cc View 1 2 3 4 chunks +8 lines, -9 lines 0 comments Download
M content/public/common/content_switches.h View 1 2 chunks +0 lines, -2 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 chunks +0 lines, -7 lines 0 comments Download
M content/renderer/render_thread_impl_browsertest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A gpu/ipc/host/BUILD.gn View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
A gpu/ipc/host/gpu_memory_buffer_support.h View 1 2 3 4 1 chunk +42 lines, -0 lines 0 comments Download
A gpu/ipc/host/gpu_memory_buffer_support.cc View 1 2 3 4 1 chunk +85 lines, -0 lines 0 comments Download
A gpu/ipc/host/gpu_switches.h View 1 2 3 4 5 6 1 chunk +17 lines, -0 lines 0 comments Download
A gpu/ipc/host/gpu_switches.cc View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M services/ui/common/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/common/DEPS View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M services/ui/common/mus_gpu_memory_buffer_manager.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M services/ui/common/mus_gpu_memory_buffer_manager.cc View 1 2 2 chunks +6 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 45 (33 generated)
sadrul
piman@ for all changes. tsepez@ for gpu/ipc/common changes.
4 years ago (2016-12-07 04:03:32 UTC) #10
Tom Sepez
lgtm https://codereview.chromium.org/2551743002/diff/20001/gpu/ipc/common/gpu_memory_buffer_support.cc File gpu/ipc/common/gpu_memory_buffer_support.cc (right): https://codereview.chromium.org/2551743002/diff/20001/gpu/ipc/common/gpu_memory_buffer_support.cc#newcode19 gpu/ipc/common/gpu_memory_buffer_support.cc:19: bool IsNativeGpuMemoryBuffersEnabled() { nit: Grammar authoritarians would say ...
4 years ago (2016-12-07 17:13:48 UTC) #13
sadrul
Also updated mus to use this. PTAL. https://codereview.chromium.org/2551743002/diff/20001/gpu/ipc/common/gpu_memory_buffer_support.cc File gpu/ipc/common/gpu_memory_buffer_support.cc (right): https://codereview.chromium.org/2551743002/diff/20001/gpu/ipc/common/gpu_memory_buffer_support.cc#newcode19 gpu/ipc/common/gpu_memory_buffer_support.cc:19: bool IsNativeGpuMemoryBuffersEnabled() ...
4 years ago (2016-12-07 18:58:45 UTC) #16
piman
https://codereview.chromium.org/2551743002/diff/40001/gpu/ipc/common/gpu_memory_buffer_support.cc File gpu/ipc/common/gpu_memory_buffer_support.cc (right): https://codereview.chromium.org/2551743002/diff/40001/gpu/ipc/common/gpu_memory_buffer_support.cc#newcode28 gpu/ipc/common/gpu_memory_buffer_support.cc:28: switches::kDisableNativeGpuMemoryBuffers); These switches are not forwarded to child processes ...
4 years ago (2016-12-07 19:41:44 UTC) #17
sadrul
https://codereview.chromium.org/2551743002/diff/40001/gpu/ipc/common/gpu_memory_buffer_support.cc File gpu/ipc/common/gpu_memory_buffer_support.cc (right): https://codereview.chromium.org/2551743002/diff/40001/gpu/ipc/common/gpu_memory_buffer_support.cc#newcode28 gpu/ipc/common/gpu_memory_buffer_support.cc:28: switches::kDisableNativeGpuMemoryBuffers); On 2016/12/07 19:41:44, piman wrote: > These switches ...
4 years ago (2016-12-07 23:02:56 UTC) #20
piman
thanks a bunch! LGTM
4 years ago (2016-12-07 23:06:24 UTC) #23
sadrul
+sky@ for services/ui/common
4 years ago (2016-12-08 00:11:27 UTC) #31
sky
LGTM
4 years ago (2016-12-08 04:03:55 UTC) #36
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2551743002/120001
4 years ago (2016-12-08 04:18:20 UTC) #39
soniyaphilip04
In JAVA API maximum-sized direct ByteBuffer for each thread it is look like a native ...
4 years ago (2016-12-08 04:26:29 UTC) #40
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years ago (2016-12-08 04:55:05 UTC) #43
commit-bot: I haz the power
4 years ago (2016-12-08 04:56:51 UTC) #45
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/6a769424f689718b69b080117afed2907b7c1f9a
Cr-Commit-Position: refs/heads/master@{#437182}

Powered by Google App Engine
This is Rietveld 408576698