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

Issue 458313002: Browser side OZONE_NATIVE_BUFFER allocation (Closed)

Created:
6 years, 4 months ago by achaulk
Modified:
6 years, 4 months ago
Reviewers:
reveman, piman
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Browser side OZONE_NATIVE_BUFFER allocation. BUG=372469 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=290368

Patch Set 1 #

Patch Set 2 : add ozone ifdefs #

Patch Set 3 : more ifdefs #

Total comments: 34

Patch Set 4 : #

Total comments: 12

Patch Set 5 : #

Total comments: 21

Patch Set 6 : more fixes #

Total comments: 7

Patch Set 7 : #

Total comments: 1

Patch Set 8 : change atomic increment #

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+226 lines, -7 lines) Patch
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/common/gpu/client/gpu_channel_host.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_factory_host.h View 1 2 3 4 5 6 3 chunks +5 lines, -1 line 0 comments Download
A content/common/gpu/client/gpu_memory_buffer_factory_host.cc View 1 2 3 4 5 6 1 chunk +27 lines, -0 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl.h View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_android.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_linux.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_mac.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A + content/common/gpu/client/gpu_memory_buffer_impl_ozone.cc View 1 2 3 4 5 3 chunks +11 lines, -4 lines 0 comments Download
A content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h View 1 2 3 4 5 6 1 chunk +52 lines, -0 lines 0 comments Download
A content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc View 1 2 3 4 5 6 7 1 chunk +110 lines, -0 lines 0 comments Download
M content/common/gpu/client/gpu_memory_buffer_impl_win.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/content_common.gypi View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
achaulk
6 years, 4 months ago (2014-08-11 18:45:47 UTC) #1
reveman
https://codereview.chromium.org/458313002/diff/40001/content/common/gpu/client/gpu_channel_host.cc File content/common/gpu/client/gpu_channel_host.cc (right): https://codereview.chromium.org/458313002/diff/40001/content/common/gpu/client/gpu_channel_host.cc#newcode307 content/common/gpu/client/gpu_channel_host.cc:307: case gfx::OZONE_NATIVE_BUFFER: ifdef OZONE missing? https://codereview.chromium.org/458313002/diff/40001/content/common/gpu/client/gpu_memory_buffer_impl.h File content/common/gpu/client/gpu_memory_buffer_impl.h (right): ...
6 years, 4 months ago (2014-08-11 19:43:06 UTC) #2
achaulk
https://codereview.chromium.org/458313002/diff/40001/content/common/gpu/client/gpu_channel_host.cc File content/common/gpu/client/gpu_channel_host.cc (right): https://codereview.chromium.org/458313002/diff/40001/content/common/gpu/client/gpu_channel_host.cc#newcode307 content/common/gpu/client/gpu_channel_host.cc:307: case gfx::OZONE_NATIVE_BUFFER: On 2014/08/11 19:43:05, reveman wrote: > ifdef ...
6 years, 4 months ago (2014-08-12 19:03:58 UTC) #3
reveman
https://codereview.chromium.org/458313002/diff/40001/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc File content/common/gpu/client/gpu_memory_buffer_impl_linux.cc (right): https://codereview.chromium.org/458313002/diff/40001/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc#newcode32 content/common/gpu/client/gpu_memory_buffer_impl_linux.cc:32: #endif // defined(USE_OZONE) On 2014/08/12 19:03:57, achaulk wrote: > ...
6 years, 4 months ago (2014-08-12 20:19:12 UTC) #4
achaulk
https://codereview.chromium.org/458313002/diff/40001/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc File content/common/gpu/client/gpu_memory_buffer_impl_linux.cc (right): https://codereview.chromium.org/458313002/diff/40001/content/common/gpu/client/gpu_memory_buffer_impl_linux.cc#newcode32 content/common/gpu/client/gpu_memory_buffer_impl_linux.cc:32: #endif // defined(USE_OZONE) On 2014/08/12 20:19:11, reveman wrote: > ...
6 years, 4 months ago (2014-08-12 21:38:03 UTC) #5
reveman
https://codereview.chromium.org/458313002/diff/80001/content/common/gpu/client/gpu_memory_buffer_impl.h File content/common/gpu/client/gpu_memory_buffer_impl.h (right): https://codereview.chromium.org/458313002/diff/80001/content/common/gpu/client/gpu_memory_buffer_impl.h#newcode34 content/common/gpu/client/gpu_memory_buffer_impl.h:34: // be used to talk to the allocator. Can ...
6 years, 4 months ago (2014-08-13 08:03:11 UTC) #6
achaulk
https://codereview.chromium.org/458313002/diff/80001/content/common/gpu/client/gpu_memory_buffer_impl.h File content/common/gpu/client/gpu_memory_buffer_impl.h (right): https://codereview.chromium.org/458313002/diff/80001/content/common/gpu/client/gpu_memory_buffer_impl.h#newcode34 content/common/gpu/client/gpu_memory_buffer_impl.h:34: // be used to talk to the allocator. On ...
6 years, 4 months ago (2014-08-13 15:53:20 UTC) #7
reveman
https://codereview.chromium.org/458313002/diff/100001/content/common/gpu/client/gpu_memory_buffer_factory_host.h File content/common/gpu/client/gpu_memory_buffer_factory_host.h (right): https://codereview.chromium.org/458313002/diff/100001/content/common/gpu/client/gpu_memory_buffer_factory_host.h#newcode32 content/common/gpu/client/gpu_memory_buffer_factory_host.h:32: static GpuMemoryBufferFactoryHost* GetInstance(); nit: I'd move this static method ...
6 years, 4 months ago (2014-08-13 17:00:26 UTC) #8
achaulk
https://codereview.chromium.org/458313002/diff/100001/content/common/gpu/client/gpu_memory_buffer_factory_host.h File content/common/gpu/client/gpu_memory_buffer_factory_host.h (right): https://codereview.chromium.org/458313002/diff/100001/content/common/gpu/client/gpu_memory_buffer_factory_host.h#newcode32 content/common/gpu/client/gpu_memory_buffer_factory_host.h:32: static GpuMemoryBufferFactoryHost* GetInstance(); On 2014/08/13 17:00:25, reveman wrote: > ...
6 years, 4 months ago (2014-08-13 17:10:13 UTC) #9
reveman
lgtm
6 years, 4 months ago (2014-08-13 17:47:42 UTC) #10
achaulk
+piman for owners review
6 years, 4 months ago (2014-08-13 23:44:47 UTC) #11
piman
LGTM+nit https://codereview.chromium.org/458313002/diff/120001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc File content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc (right): https://codereview.chromium.org/458313002/diff/120001/content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc#newcode15 content/common/gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc:15: base::subtle::Atomic32 g_next_buffer_id = 1; nit: use StaticAtomicSequenceNumber instead ...
6 years, 4 months ago (2014-08-15 18:07:38 UTC) #12
achaulk
The CQ bit was checked by achaulk@chromium.org
6 years, 4 months ago (2014-08-15 18:45:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achaulk@chromium.org/458313002/140001
6 years, 4 months ago (2014-08-15 18:48:51 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-15 22:17:52 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-15 22:28:10 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/6618)
6 years, 4 months ago (2014-08-15 22:28:11 UTC) #17
achaulk
The CQ bit was checked by achaulk@chromium.org
6 years, 4 months ago (2014-08-18 17:06:03 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achaulk@chromium.org/458313002/140001
6 years, 4 months ago (2014-08-18 17:06:30 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_gn_rel on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-18 18:19:53 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-18 18:30:42 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/6993)
6 years, 4 months ago (2014-08-18 18:30:43 UTC) #22
achaulk
The CQ bit was checked by achaulk@chromium.org
6 years, 4 months ago (2014-08-18 20:14:00 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/achaulk@chromium.org/458313002/160001
6 years, 4 months ago (2014-08-18 20:15:17 UTC) #24
commit-bot: I haz the power
6 years, 4 months ago (2014-08-18 21:54:26 UTC) #25
Message was sent while issue was closed.
Committed patchset #9 (160001) as 290368

Powered by Google App Engine
This is Rietveld 408576698