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

Issue 699073004: content: Add command line flag for native GPU memory buffers. (Closed)

Created:
6 years, 1 month ago by reveman
Modified:
6 years ago
Reviewers:
enne (OOO), piman
CC:
chromium-reviews, danakj+watch_chromium.org, darin-cc_chromium.org, jam, jbauman+watch_chromium.org, kalyank, piman+watch_chromium.org, sievers+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@gpu-memory-buffer-impl-unittests
Project:
chromium
Visibility:
Public.

Description

content: Add command line flag for native GPU memory buffers. This adds a --enable-native-gpu-memory-buffers flag that can be used to enable native GPU memory buffer support for buffers that are mapped into the compositor's address space. BUG= Committed: https://crrev.com/44b807f10ce0c1de305036932601b4715729d1d6 Cr-Commit-Position: refs/heads/master@{#305765}

Patch Set 1 #

Patch Set 2 : rebase and use correct texture target #

Total comments: 4

Patch Set 3 : rebase #

Total comments: 2

Patch Set 4 : fix unit test failures on macosx #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -75 lines) Patch
M cc/test/layer_tree_pixel_resource_test.cc View 1 2 3 2 chunks +2 lines, -2 lines 2 comments Download
M cc/test/test_web_graphics_context_3d.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 5 chunks +58 lines, -70 lines 0 comments Download
M cc/trees/layer_tree_host_unittest.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_settings.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M cc/trees/layer_tree_settings.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M content/browser/gpu/browser_gpu_channel_host_factory.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/gpu/browser_gpu_channel_host_factory.cc View 1 2 3 4 chunks +23 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 chunks +16 lines, -0 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/content_switches.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/common/content_switches.cc View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
enne (OOO)
reveman: can you pick a reviewer and get this landed?
6 years, 1 month ago (2014-11-17 21:02:49 UTC) #2
reveman
+piman fyi, https://codereview.chromium.org/733053005/ and https://codereview.chromium.org/731293002/ need to land before this.
6 years, 1 month ago (2014-11-17 21:19:40 UTC) #4
piman
https://codereview.chromium.org/699073004/diff/20001/content/common/gpu/client/gpu_memory_buffer_impl.cc File content/common/gpu/client/gpu_memory_buffer_impl.cc (right): https://codereview.chromium.org/699073004/diff/20001/content/common/gpu/client/gpu_memory_buffer_impl.cc#newcode59 content/common/gpu/client/gpu_memory_buffer_impl.cc:59: for (size_t i = 0; i < arraysize(kTypeNamePairs); ++i) ...
6 years, 1 month ago (2014-11-19 02:39:41 UTC) #5
reveman
https://codereview.chromium.org/699073004/diff/20001/content/common/gpu/client/gpu_memory_buffer_impl_android.cc File content/common/gpu/client/gpu_memory_buffer_impl_android.cc (right): https://codereview.chromium.org/699073004/diff/20001/content/common/gpu/client/gpu_memory_buffer_impl_android.cc#newcode18 content/common/gpu/client/gpu_memory_buffer_impl_android.cc:18: gfx::SURFACE_TEXTURE_BUFFER On 2014/11/19 02:39:40, piman (Very slow to review) ...
6 years, 1 month ago (2014-11-20 00:53:02 UTC) #6
reveman
Rebased this patch on the refactor that was reverted. Please take a look. I'd like ...
6 years ago (2014-11-25 17:58:53 UTC) #7
piman
lgtm https://codereview.chromium.org/699073004/diff/40001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/699073004/diff/40001/cc/trees/layer_tree_host_impl.cc#newcode1998 cc/trees/layer_tree_host_impl.cc:1998: DCHECK(context_provider->ContextCapabilities().gpu.texture_rectangle); Would it make sense to ask the ...
6 years ago (2014-11-25 18:12:21 UTC) #8
reveman
https://codereview.chromium.org/699073004/diff/40001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/699073004/diff/40001/cc/trees/layer_tree_host_impl.cc#newcode1998 cc/trees/layer_tree_host_impl.cc:1998: DCHECK(context_provider->ContextCapabilities().gpu.texture_rectangle); On 2014/11/25 18:12:21, piman (Very slow to review) ...
6 years ago (2014-11-25 19:36:11 UTC) #9
reveman
enne, I had to make some LTHI changes to avoid having the DCHECK to fail ...
6 years ago (2014-11-25 23:31:52 UTC) #10
enne (OOO)
lgtm https://codereview.chromium.org/699073004/diff/60001/cc/test/layer_tree_pixel_resource_test.cc File cc/test/layer_tree_pixel_resource_test.cc (right): https://codereview.chromium.org/699073004/diff/60001/cc/test/layer_tree_pixel_resource_test.cc#newcode162 cc/test/layer_tree_pixel_resource_test.cc:162: EXPECT_TRUE(host_impl->GetRendererCapabilities().using_image); I kind of liked the more well-named ...
6 years ago (2014-11-25 23:52:29 UTC) #11
reveman
https://codereview.chromium.org/699073004/diff/60001/cc/test/layer_tree_pixel_resource_test.cc File cc/test/layer_tree_pixel_resource_test.cc (right): https://codereview.chromium.org/699073004/diff/60001/cc/test/layer_tree_pixel_resource_test.cc#newcode162 cc/test/layer_tree_pixel_resource_test.cc:162: EXPECT_TRUE(host_impl->GetRendererCapabilities().using_image); On 2014/11/25 23:52:29, enne wrote: > I kind ...
6 years ago (2014-11-26 00:39:18 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/699073004/60001
6 years ago (2014-11-26 00:53:08 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/2304)
6 years ago (2014-11-26 02:11:44 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/699073004/60001
6 years ago (2014-11-26 02:19:53 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years ago (2014-11-26 02:45:07 UTC) #19
commit-bot: I haz the power
6 years ago (2014-11-26 02:45:46 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/44b807f10ce0c1de305036932601b4715729d1d6
Cr-Commit-Position: refs/heads/master@{#305765}

Powered by Google App Engine
This is Rietveld 408576698