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

Issue 1128113011: ozone: Introduce ClientPixmap and ClientPixmapFactory for non-GPU processes. (Closed)

Created:
5 years, 7 months ago by dshwang
Modified:
5 years, 4 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, kalyank, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, ozone-reviews_chromium.org, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ozone: Introduce ClientPixmap and ClientPixmapFactory for non-GPU processes. It's part of "native GpuMemoryBuffer on ChromeOS Freon" implementation. * Design doc: https://docs.google.com/document/d/1qpLLo4mBkzHBh5cuBtBjJZAzXK2X9BgBJtpESh-mNn8 Renderer needs to use Ozone platform interface because of native GpuMemoryBuffer support. However 99% of OzonePlatform isn't usable from the Renderer. So this CL introduces ClientPixmapFactory. ClientPixmapFactory allows external implementations to hook into Chromium to provide a client pixmap for non-GPU processes. GPU process creates NativePixmap and sends GpuMemoryBufferHandle to Browser or Renderer. The non-GPU processes will import a client pixmap from the handle in https://codereview.chromium.org/1134993003/ To demonstrate why this interface is needed, make GpuMemoryBufferFactoryOzoneNativeBuffer use this interface. IsGpuMemoryBufferConfigurationSupported() must answer if the configuration is supported with respect to each Ozone platform, but currently the answer is hardcoded, which is true only on Ozone GBM. This CL makes each Ozone platform answer this question. Browser and Renderer have the singleton ClientPixmapFactory instance like Android and MacOS. For more information why a pixmap is created by SurfaceFactoryOzone, instead of ClientPixmapFactory, (1) The privileged (GPU process) API. This is SurfaceFactoryOzone. It's used to allocate buffer objects and swap onto a surface/display, etc. By design there's only one process using this API. It's extremely driver specific under the hood, including in userspace. CreateNativePixmap goes here. (2) The unprivileged API. This is ClientPixmapFactory. It can only take handles to existing objects and map them, and it should work under the sandbox. It's only driver specific in the kernel; the userland part doesn't require loading drivers. ImportClientPixmap goes here. TEST=content_unittests --gtest_filter=GpuMemoryBuffer* --ozone-platform=gbm --ozone-use-surfaceless Run amd64_generic_freon image BUG=475633 Committed: https://crrev.com/16f5a8a44f4a2c10086263775e5be20669810867 Cr-Commit-Position: refs/heads/master@{#342094}

Patch Set 1 #

Patch Set 2 : remove SurfaceFactoryOzone::CanCreateNativePixmap() #

Patch Set 3 : Introduce OzoneClient #

Total comments: 4

Patch Set 4 : Introduce NativePixmapClient #

Total comments: 31

Patch Set 5 : address nits #

Patch Set 6 : ozone: Introduce NativePixmapManager for Renderer and Browser #

Patch Set 7 : NativePixmapManager is singleton #

Total comments: 3

Patch Set 8 : fix dcheck failure #

Patch Set 9 : support content_unittests #

Patch Set 10 : separate VGEM part to another CL #

Total comments: 26

Patch Set 11 : remove ChildNativePixmapManager or BrowserNativePixmapManager #

Total comments: 28

Patch Set 12 : address nits #

Total comments: 12

Patch Set 13 : don't leak NativePixmapManager instance #

Patch Set 14 : rebase to crrev.com/1258713002 #

Total comments: 2

Patch Set 15 : Introduce ClientPixmap and rename to ClientPixmapManager #

Total comments: 9

Patch Set 16 : rename to ClientNativePixmap #

Total comments: 6

Patch Set 17 : addressed nits #

Total comments: 30

Patch Set 18 : rename to ClientNativePixmapFactory #

Patch Set 19 : handle zygote #

Total comments: 4

Patch Set 20 : fix extensions_unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+536 lines, -40 lines) Patch
M content/browser/browser_main_loop.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +10 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +7 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +20 lines, -12 lines 0 comments Download
M content/renderer/renderer_main.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +14 lines, -0 lines 0 comments Download
M content/test/content_test_suite.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +9 lines, -0 lines 0 comments Download
M content/test/content_test_suite.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +14 lines, -2 lines 0 comments Download
M ui/ozone/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +4 lines, -0 lines 0 comments Download
A ui/ozone/common/stub_client_native_pixmap_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +18 lines, -0 lines 0 comments Download
A ui/ozone/common/stub_client_native_pixmap_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +41 lines, -0 lines 0 comments Download
M ui/ozone/ozone.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +7 lines, -1 line 0 comments Download
M ui/ozone/platform/caca/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/caca/caca.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
A ui/ozone/platform/caca/client_native_pixmap_factory_caca.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +17 lines, -0 lines 0 comments Download
A ui/ozone/platform/caca/client_native_pixmap_factory_caca.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +15 lines, -0 lines 0 comments Download
M ui/ozone/platform/cast/cast.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
A ui/ozone/platform/cast/client_native_pixmap_factory_cast.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +17 lines, -0 lines 0 comments Download
A ui/ozone/platform/cast/client_native_pixmap_factory_cast.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +15 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +4 lines, -0 lines 0 comments Download
A ui/ozone/platform/drm/common/client_native_pixmap_factory_drm.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +19 lines, -0 lines 0 comments Download
A ui/ozone/platform/drm/common/client_native_pixmap_factory_drm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +19 lines, -0 lines 0 comments Download
A ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +17 lines, -0 lines 0 comments Download
A ui/ozone/platform/drm/common/client_native_pixmap_factory_gbm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +47 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/drm.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gbm.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_buffer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +1 line, -0 lines 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_surface_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -1 line 0 comments Download
M ui/ozone/platform/drm/gpu/gbm_surface_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +1 line, -16 lines 0 comments Download
M ui/ozone/platform/egltest/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
A ui/ozone/platform/egltest/client_native_pixmap_factory_egltest.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +17 lines, -0 lines 0 comments Download
A ui/ozone/platform/egltest/client_native_pixmap_factory_egltest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +15 lines, -0 lines 0 comments Download
M ui/ozone/platform/egltest/egltest.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
M ui/ozone/platform/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
A ui/ozone/platform/test/client_native_pixmap_factory_test.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +17 lines, -0 lines 0 comments Download
A ui/ozone/platform/test/client_native_pixmap_factory_test.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +15 lines, -0 lines 0 comments Download
M ui/ozone/platform/test/test.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +2 lines, -0 lines 0 comments Download
A ui/ozone/public/client_native_pixmap.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +26 lines, -0 lines 0 comments Download
A ui/ozone/public/client_native_pixmap_factory.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +60 lines, -0 lines 0 comments Download
A ui/ozone/public/client_native_pixmap_factory.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +43 lines, -0 lines 0 comments Download
M ui/ozone/public/surface_factory_ozone.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -4 lines 0 comments Download
M ui/ozone/public/surface_factory_ozone.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 128 (30 generated)
dshwang
spang, could you review ui/ozone? sievers, could you review content/? reveman, when I address your ...
5 years, 7 months ago (2015-05-15 19:25:15 UTC) #2
spang
I think we should initialize a smaller object than OzonePlatform since 99% of it isn't ...
5 years, 7 months ago (2015-05-15 20:44:17 UTC) #3
spang
I think we should initialize a smaller object than OzonePlatform since 99% of it isn't ...
5 years, 7 months ago (2015-05-15 20:44:19 UTC) #4
dshwang
On 2015/05/15 20:44:19, spang wrote: > I think we should initialize a smaller object than ...
5 years, 7 months ago (2015-05-19 11:29:57 UTC) #5
dshwang
Hi, I introduce OzoneClient because OzonePlatform is too big for Renderer. I explain how Renderer ...
5 years, 7 months ago (2015-05-19 18:42:34 UTC) #6
dshwang
spang, alexst, Renderer needs to access ozone interface, so this CL introduces OzoneClient. could you ...
5 years, 7 months ago (2015-05-26 17:30:49 UTC) #9
spang
sorry for the delay https://codereview.chromium.org/1128113011/diff/60001/ui/ozone/ozone.gyp File ui/ozone/ozone.gyp (right): https://codereview.chromium.org/1128113011/diff/60001/ui/ozone/ozone.gyp#newcode190 ui/ozone/ozone.gyp:190: '--typename=OzoneClient', No need to add ...
5 years, 6 months ago (2015-06-01 22:46:41 UTC) #10
dshwang
Hi spang, Thank you for reviewing. I replace OzoneClient to NativePixmapClient as you reviewed. OzoneClient ...
5 years, 6 months ago (2015-06-03 14:11:51 UTC) #11
dshwang
spang, could you review again? thank you.
5 years, 6 months ago (2015-06-05 07:54:59 UTC) #12
spang
https://codereview.chromium.org/1128113011/diff/80001/content/child/child_gpu_memory_buffer_manager.cc File content/child/child_gpu_memory_buffer_manager.cc (right): https://codereview.chromium.org/1128113011/diff/80001/content/child/child_gpu_memory_buffer_manager.cc#newcode48 content/child/child_gpu_memory_buffer_manager.cc:48: ui::NativePixmapClient::InitializeIfNeeded(); On 2015/06/03 14:11:51, dshwang wrote: > As you ...
5 years, 6 months ago (2015-06-05 19:21:54 UTC) #13
reveman
https://codereview.chromium.org/1128113011/diff/80001/content/child/child_gpu_memory_buffer_manager.cc File content/child/child_gpu_memory_buffer_manager.cc (right): https://codereview.chromium.org/1128113011/diff/80001/content/child/child_gpu_memory_buffer_manager.cc#newcode48 content/child/child_gpu_memory_buffer_manager.cc:48: ui::NativePixmapClient::InitializeIfNeeded(); On 2015/06/05 at 19:21:53, spang wrote: > On ...
5 years, 6 months ago (2015-06-05 20:26:07 UTC) #14
spang
https://codereview.chromium.org/1128113011/diff/80001/ui/ozone/public/native_pixmap_client.h File ui/ozone/public/native_pixmap_client.h (right): https://codereview.chromium.org/1128113011/diff/80001/ui/ozone/public/native_pixmap_client.h#newcode16 ui/ozone/public/native_pixmap_client.h:16: class OZONE_EXPORT NativePixmapClient { On 2015/06/05 20:26:07, reveman wrote: ...
5 years, 6 months ago (2015-06-05 22:21:23 UTC) #15
dshwang
Thank you for reviewing. I addressed all concerns except for moving NativePixmapManager to content/ could ...
5 years, 6 months ago (2015-06-08 11:15:14 UTC) #16
spang
https://codereview.chromium.org/1128113011/diff/80001/ui/ozone/public/native_pixmap_client.cc File ui/ozone/public/native_pixmap_client.cc (right): https://codereview.chromium.org/1128113011/diff/80001/ui/ozone/public/native_pixmap_client.cc#newcode19 ui/ozone/public/native_pixmap_client.cc:19: NativePixmapClient* g_instance = nullptr; On 2015/06/08 11:15:14, dshwang wrote: ...
5 years, 6 months ago (2015-06-08 17:47:58 UTC) #17
dshwang
thank you for reviewing. I have a question. could you feedback? https://codereview.chromium.org/1128113011/diff/80001/ui/ozone/public/native_pixmap_client.cc File ui/ozone/public/native_pixmap_client.cc (right): ...
5 years, 6 months ago (2015-06-09 18:37:40 UTC) #18
reveman
On 2015/06/09 at 18:37:40, dongseong.hwang wrote: > thank you for reviewing. I have a question. ...
5 years, 6 months ago (2015-06-09 19:31:40 UTC) #19
dshwang
On 2015/06/09 19:31:40, reveman wrote: > On 2015/06/09 at 18:37:40, dongseong.hwang wrote: > > thank ...
5 years, 6 months ago (2015-06-10 13:44:47 UTC) #20
spang
On 2015/06/10 13:44:47, dshwang wrote: > On 2015/06/09 19:31:40, reveman wrote: > > On 2015/06/09 ...
5 years, 6 months ago (2015-06-10 16:26:36 UTC) #21
dshwang
On 2015/06/10 16:26:36, spang wrote: > I would suggest having one for each renderer (even ...
5 years, 6 months ago (2015-06-10 17:25:32 UTC) #22
reveman
On 2015/06/10 at 17:25:32, dongseong.hwang wrote: > On 2015/06/10 16:26:36, spang wrote: > > I ...
5 years, 6 months ago (2015-06-10 18:19:12 UTC) #23
dshwang
On 2015/06/10 18:19:12, reveman wrote: > > > Anyway, I think your first priority should ...
5 years, 6 months ago (2015-06-18 15:47:40 UTC) #24
dshwang
Hi, now this CL includes VGEM transfer. I update the CL description as this CL's ...
5 years, 6 months ago (2015-06-24 16:39:04 UTC) #26
reveman
Maybe I'm missing something but this seems much too complicated for what it actually does. ...
5 years, 6 months ago (2015-06-25 14:48:35 UTC) #28
dshwang
On 2015/06/25 14:48:35, reveman wrote: > Maybe I'm missing something but this seems much too ...
5 years, 6 months ago (2015-06-25 16:45:03 UTC) #29
dshwang
On 2015/06/25 16:45:03, dshwang wrote: > On 2015/06/25 14:48:35, reveman wrote: > > Maybe I'm ...
5 years, 6 months ago (2015-06-25 17:26:36 UTC) #30
reveman
On 2015/06/25 at 17:26:36, dongseong.hwang wrote: > On 2015/06/25 16:45:03, dshwang wrote: > > On ...
5 years, 6 months ago (2015-06-25 18:47:36 UTC) #31
dshwang
On 2015/06/25 18:47:36, reveman wrote: > On 2015/06/25 at 17:26:36, dongseong.hwang wrote: > > On ...
5 years, 6 months ago (2015-06-26 07:38:38 UTC) #32
reveman
On 2015/06/26 at 07:38:38, dongseong.hwang wrote: > On 2015/06/25 18:47:36, reveman wrote: > > On ...
5 years, 6 months ago (2015-06-26 11:18:15 UTC) #33
dshwang
On 2015/06/26 11:18:15, reveman wrote: > On 2015/06/26 at 07:38:38, dongseong.hwang wrote: > > On ...
5 years, 6 months ago (2015-06-26 12:17:57 UTC) #34
reveman
On 2015/06/26 at 12:17:57, dongseong.hwang wrote: > On 2015/06/26 11:18:15, reveman wrote: > > On ...
5 years, 6 months ago (2015-06-26 14:56:48 UTC) #35
dshwang
On 2015/06/26 14:56:48, reveman wrote: > On 2015/06/26 at 12:17:57, dongseong.hwang wrote: > > On ...
5 years, 6 months ago (2015-06-26 15:16:42 UTC) #36
reveman
On 2015/06/26 at 15:16:42, dongseong.hwang wrote: > On 2015/06/26 14:56:48, reveman wrote: > > On ...
5 years, 6 months ago (2015-06-26 15:45:28 UTC) #37
dshwang
sorry for delaying update. Could you give me feedback again? Make ChildNativePixmapManager singleton in child ...
5 years, 5 months ago (2015-07-06 18:45:01 UTC) #41
dshwang
spang, reveman, could you review again?
5 years, 5 months ago (2015-07-13 13:56:22 UTC) #43
dshwang
On 2015/07/13 13:56:22, dshwang wrote: > spang, reveman, could you review again? spang, reveman, could ...
5 years, 5 months ago (2015-07-15 17:54:21 UTC) #44
dshwang
spang, reveman, could you review again? To speed up review, I separate controversial VGEM and ...
5 years, 5 months ago (2015-07-21 16:15:03 UTC) #45
reveman
I don't think ChildNativePixmapManager or BrowserNativePixmapManager implementations are useful. Just instantiate the ui::NativePixmapManager and set ...
5 years, 5 months ago (2015-07-22 16:59:55 UTC) #48
dshwang
On 2015/07/22 16:59:55, reveman wrote: > I don't think ChildNativePixmapManager or BrowserNativePixmapManager > implementations are ...
5 years, 5 months ago (2015-07-23 14:02:28 UTC) #49
reveman
https://codereview.chromium.org/1128113011/diff/380001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/1128113011/diff/380001/content/browser/browser_main_loop.cc#newcode621 content/browser/browser_main_loop.cc:621: DCHECK(!ui::NativePixmapManager::GetInstance()); nit: remove DCHECK. handled by SetInstance already. https://codereview.chromium.org/1128113011/diff/380001/content/browser/renderer_host/render_process_host_impl.cc ...
5 years, 5 months ago (2015-07-23 14:46:13 UTC) #50
dshwang
Thank you for quick reviewing. I addressed all comments. https://codereview.chromium.org/1128113011/diff/380001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/1128113011/diff/380001/content/browser/browser_main_loop.cc#newcode621 content/browser/browser_main_loop.cc:621: ...
5 years, 5 months ago (2015-07-23 16:42:09 UTC) #51
reveman
https://codereview.chromium.org/1128113011/diff/380001/content/browser/renderer_host/render_process_host_impl.cc File content/browser/renderer_host/render_process_host_impl.cc (right): https://codereview.chromium.org/1128113011/diff/380001/content/browser/renderer_host/render_process_host_impl.cc#newcode1400 content/browser/renderer_host/render_process_host_impl.cc:1400: #endif On 2015/07/23 at 16:42:09, dshwang wrote: > On ...
5 years, 5 months ago (2015-07-23 18:25:23 UTC) #52
dshwang
Thank you for careful review! I reply my opinion of your unified interface concern below. ...
5 years, 5 months ago (2015-07-24 12:19:00 UTC) #53
reveman
https://codereview.chromium.org/1128113011/diff/380001/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc File content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc (right): https://codereview.chromium.org/1128113011/diff/380001/content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc#newcode93 content/common/gpu/gpu_memory_buffer_factory_ozone_native_pixmap.cc:93: if (!ozone_native_pixmap_factory_.CreateGpuMemoryBuffer( On 2015/07/24 at 12:19:00, dshwang wrote: > ...
5 years, 5 months ago (2015-07-24 14:54:07 UTC) #54
dshwang
Thank you for careful reviewing. During resolving you comment, I submit https://codereview.chromium.org/1258713002/ I'll rebase this ...
5 years, 5 months ago (2015-07-24 18:20:18 UTC) #55
spang
On 2015/07/24 18:20:18, dshwang wrote: > Thank you for careful reviewing. > During resolving you ...
5 years, 5 months ago (2015-07-24 23:54:35 UTC) #56
dshwang
On 2015/07/24 23:54:35, spang wrote: > On 2015/07/24 18:20:18, dshwang wrote: > > > Note: ...
5 years, 5 months ago (2015-07-27 07:47:12 UTC) #57
reveman
Ok, I'm fine with keeping the SurfaceFactory interface for allocating pixmaps even though I have ...
5 years, 4 months ago (2015-07-27 19:52:21 UTC) #59
vignatti (out of this project)
On 2015/07/24 23:54:35, spang wrote: > I don't think it makes sense to conflate these ...
5 years, 4 months ago (2015-07-27 20:14:05 UTC) #60
spang
On 2015/07/27 19:52:21, reveman wrote: > Ok, I'm fine with keeping the SurfaceFactory interface for ...
5 years, 4 months ago (2015-07-27 22:08:06 UTC) #61
spang
On 2015/07/27 22:08:06, spang wrote: > On 2015/07/27 19:52:21, reveman wrote: > > Ok, I'm ...
5 years, 4 months ago (2015-07-27 22:13:00 UTC) #62
reveman
On 2015/07/27 at 22:08:06, spang wrote: > On 2015/07/27 19:52:21, reveman wrote: > > Ok, ...
5 years, 4 months ago (2015-07-28 15:23:47 UTC) #63
dshwang
On 2015/07/28 15:23:47, reveman wrote: > On 2015/07/27 at 22:08:06, spang wrote: > > On ...
5 years, 4 months ago (2015-07-28 16:54:12 UTC) #64
reveman
lgtm with nits https://codereview.chromium.org/1128113011/diff/450001/ui/ozone/public/native_pixmap_manager.h File ui/ozone/public/native_pixmap_manager.h (right): https://codereview.chromium.org/1128113011/diff/450001/ui/ozone/public/native_pixmap_manager.h#newcode45 ui/ozone/public/native_pixmap_manager.h:45: base::FileDescriptor handle, nit: const base::FileDescriptor& handle ...
5 years, 4 months ago (2015-07-28 18:07:57 UTC) #65
reveman
On 2015/07/28 at 16:54:12, dongseong.hwang wrote: > On 2015/07/28 15:23:47, reveman wrote: > > On ...
5 years, 4 months ago (2015-07-28 18:09:28 UTC) #66
spang
lgtm
5 years, 4 months ago (2015-07-28 18:17:34 UTC) #67
spang
On 2015/07/28 18:17:34, spang wrote: > lgtm Actually, thinking about this more and looking at ...
5 years, 4 months ago (2015-07-28 23:36:15 UTC) #68
dshwang
On 2015/07/28 23:36:15, spang wrote: > On 2015/07/28 18:17:34, spang wrote: > > lgtm > ...
5 years, 4 months ago (2015-07-29 14:48:42 UTC) #69
reveman
On 2015/07/29 at 14:48:42, dongseong.hwang wrote: > On 2015/07/28 23:36:15, spang wrote: > > On ...
5 years, 4 months ago (2015-07-29 14:58:35 UTC) #70
dshwang
On 2015/07/29 14:58:35, reveman wrote: > On 2015/07/29 at 14:48:42, dongseong.hwang wrote: > > On ...
5 years, 4 months ago (2015-07-29 15:26:17 UTC) #71
reveman
On 2015/07/29 at 15:26:17, dongseong.hwang wrote: > On 2015/07/29 14:58:35, reveman wrote: > > On ...
5 years, 4 months ago (2015-07-29 15:32:04 UTC) #72
dshwang
On 2015/07/29 15:32:04, reveman wrote: > On 2015/07/29 at 15:26:17, dongseong.hwang wrote: > > On ...
5 years, 4 months ago (2015-07-29 15:52:15 UTC) #73
reveman
On 2015/07/29 at 15:52:15, dongseong.hwang wrote: > On 2015/07/29 15:32:04, reveman wrote: > > On ...
5 years, 4 months ago (2015-07-29 16:20:14 UTC) #74
spang
On 2015/07/29 16:20:14, reveman wrote: > On 2015/07/29 at 15:52:15, dongseong.hwang wrote: > > On ...
5 years, 4 months ago (2015-07-29 17:19:16 UTC) #75
dshwang
On 2015/07/29 17:19:16, spang wrote: > On 2015/07/29 16:20:14, reveman wrote: > > On 2015/07/29 ...
5 years, 4 months ago (2015-07-29 17:54:56 UTC) #76
reveman
On 2015/07/29 at 17:54:56, dongseong.hwang wrote: > On 2015/07/29 17:19:16, spang wrote: > > On ...
5 years, 4 months ago (2015-07-29 18:13:34 UTC) #77
spang
On 2015/07/29 18:13:34, reveman wrote: > On 2015/07/29 at 17:54:56, dongseong.hwang wrote: > > On ...
5 years, 4 months ago (2015-07-29 18:16:37 UTC) #78
reveman
On 2015/07/29 at 18:16:37, spang wrote: > On 2015/07/29 18:13:34, reveman wrote: > > On ...
5 years, 4 months ago (2015-07-29 18:35:08 UTC) #79
dshwang
On 2015/07/29 18:35:08, reveman wrote: > On 2015/07/29 at 18:16:37, spang wrote: > > On ...
5 years, 4 months ago (2015-07-30 11:06:11 UTC) #80
dshwang
Hi, I introduce ClientPixmap for non-gpu process. class OZONE_EXPORT ClientPixmap { public: virtual void* Map() ...
5 years, 4 months ago (2015-07-30 15:21:12 UTC) #83
reveman
https://codereview.chromium.org/1128113011/diff/510001/ui/ozone/public/client_pixmap.h File ui/ozone/public/client_pixmap.h (right): https://codereview.chromium.org/1128113011/diff/510001/ui/ozone/public/client_pixmap.h#newcode13 ui/ozone/public/client_pixmap.h:13: // in non-GPU processes, but can also be read ...
5 years, 4 months ago (2015-07-30 16:14:11 UTC) #84
dshwang
https://codereview.chromium.org/1128113011/diff/510001/ui/ozone/public/client_pixmap.h File ui/ozone/public/client_pixmap.h (right): https://codereview.chromium.org/1128113011/diff/510001/ui/ozone/public/client_pixmap.h#newcode13 ui/ozone/public/client_pixmap.h:13: // in non-GPU processes, but can also be read ...
5 years, 4 months ago (2015-07-30 16:50:15 UTC) #85
spang
On 2015/07/30 16:50:15, dshwang wrote: > https://codereview.chromium.org/1128113011/diff/510001/ui/ozone/public/client_pixmap.h > File ui/ozone/public/client_pixmap.h (right): > > https://codereview.chromium.org/1128113011/diff/510001/ui/ozone/public/client_pixmap.h#newcode13 > ...
5 years, 4 months ago (2015-07-30 19:19:04 UTC) #86
dshwang
I renamed to ClientNativePixmap. Could you review again? https://codereview.chromium.org/1128113011/diff/510001/ui/ozone/public/client_pixmap.h File ui/ozone/public/client_pixmap.h (right): https://codereview.chromium.org/1128113011/diff/510001/ui/ozone/public/client_pixmap.h#newcode15 ui/ozone/public/client_pixmap.h:15: class ...
5 years, 4 months ago (2015-07-31 10:41:04 UTC) #87
reveman
lgtm with nits https://codereview.chromium.org/1128113011/diff/570001/ui/ozone/public/client_native_pixmap_manager.h File ui/ozone/public/client_native_pixmap_manager.h (right): https://codereview.chromium.org/1128113011/diff/570001/ui/ozone/public/client_native_pixmap_manager.h#newcode45 ui/ozone/public/client_native_pixmap_manager.h:45: virtual scoped_ptr<ClientNativePixmap> ImportClientNativePixmap( nit: maybe ImportNativePixmap ...
5 years, 4 months ago (2015-07-31 15:50:15 UTC) #94
dshwang
> I think we should hold off just a bit longer on this until the ...
5 years, 4 months ago (2015-07-31 16:11:45 UTC) #95
dcheng
IPC changes seem OK, but two other comments. https://codereview.chromium.org/1128113011/diff/590001/ui/ozone/common/stub_client_native_pixmap_manager.h File ui/ozone/common/stub_client_native_pixmap_manager.h (right): https://codereview.chromium.org/1128113011/diff/590001/ui/ozone/common/stub_client_native_pixmap_manager.h#newcode13 ui/ozone/common/stub_client_native_pixmap_manager.h:13: // ...
5 years, 4 months ago (2015-07-31 18:09:52 UTC) #96
dshwang
thx dcheng for reviewing. could you review again? https://codereview.chromium.org/1128113011/diff/590001/ui/ozone/common/stub_client_native_pixmap_manager.h File ui/ozone/common/stub_client_native_pixmap_manager.h (right): https://codereview.chromium.org/1128113011/diff/590001/ui/ozone/common/stub_client_native_pixmap_manager.h#newcode13 ui/ozone/common/stub_client_native_pixmap_manager.h:13: // ...
5 years, 4 months ago (2015-07-31 18:59:29 UTC) #97
dcheng
https://codereview.chromium.org/1128113011/diff/590001/ui/ozone/common/stub_client_native_pixmap_manager.h File ui/ozone/common/stub_client_native_pixmap_manager.h (right): https://codereview.chromium.org/1128113011/diff/590001/ui/ozone/common/stub_client_native_pixmap_manager.h#newcode13 ui/ozone/common/stub_client_native_pixmap_manager.h:13: // The caller takes ownership of the instance. On ...
5 years, 4 months ago (2015-07-31 19:02:39 UTC) #98
spang
https://codereview.chromium.org/1128113011/diff/590001/content/app/content_main_runner.cc File content/app/content_main_runner.cc (right): https://codereview.chromium.org/1128113011/diff/590001/content/app/content_main_runner.cc#newcode674 content/app/content_main_runner.cc:674: if (process_type == switches::kRendererProcess) { This doesn't work for ...
5 years, 4 months ago (2015-08-01 02:14:56 UTC) #99
reveman
https://codereview.chromium.org/1128113011/diff/590001/ui/ozone/public/client_native_pixmap_manager.h File ui/ozone/public/client_native_pixmap_manager.h (right): https://codereview.chromium.org/1128113011/diff/590001/ui/ozone/public/client_native_pixmap_manager.h#newcode26 ui/ozone/public/client_native_pixmap_manager.h:26: class OZONE_EXPORT ClientNativePixmapManager { On 2015/08/01 at 02:14:56, spang ...
5 years, 4 months ago (2015-08-01 03:03:13 UTC) #100
dshwang
rename to ClientNativePixmapFactory, and rebase to https://codereview.chromium.org/1269503007/ reveman, spang, dcheng, sievers, could you review again? ...
5 years, 4 months ago (2015-08-03 12:51:49 UTC) #101
spang
https://codereview.chromium.org/1128113011/diff/590001/content/app/content_main_runner.cc File content/app/content_main_runner.cc (right): https://codereview.chromium.org/1128113011/diff/590001/content/app/content_main_runner.cc#newcode659 content/app/content_main_runner.cc:659: !process_type.empty() && (process_type == switches::kRendererProcess || On 2015/08/03 12:51:48, ...
5 years, 4 months ago (2015-08-03 18:24:51 UTC) #102
dshwang
https://codereview.chromium.org/1128113011/diff/590001/content/app/content_main_runner.cc File content/app/content_main_runner.cc (right): https://codereview.chromium.org/1128113011/diff/590001/content/app/content_main_runner.cc#newcode674 content/app/content_main_runner.cc:674: if (process_type == switches::kRendererProcess) { On 2015/08/03 18:24:51, spang ...
5 years, 4 months ago (2015-08-04 13:05:21 UTC) #103
spang
lgtm Although I think the zygote issue is real, and will become apparent shortly.
5 years, 4 months ago (2015-08-04 15:55:13 UTC) #104
dshwang
On 2015/08/04 15:55:13, spang wrote: > lgtm > > Although I think the zygote issue ...
5 years, 4 months ago (2015-08-04 16:21:10 UTC) #105
dshwang
On 2015/08/04 16:21:10, dshwang wrote: > reveman and spang gave lgtm. > sievers, could you ...
5 years, 4 months ago (2015-08-05 09:16:46 UTC) #108
dshwang
piman, sievers, could you review content/? https://codereview.chromium.org/1128113011/diff/630001/content/renderer/renderer_main.cc File content/renderer/renderer_main.cc (right): https://codereview.chromium.org/1128113011/diff/630001/content/renderer/renderer_main.cc#newcode114 content/renderer/renderer_main.cc:114: ui::ClientNativePixmapFactory::SetInstance(g_pixmap_factory.Get().get()); On 2015/08/04 ...
5 years, 4 months ago (2015-08-05 12:11:50 UTC) #109
no sievers
content lgtm https://codereview.chromium.org/1128113011/diff/630001/ui/ozone/public/client_native_pixmap_factory.cc File ui/ozone/public/client_native_pixmap_factory.cc (right): https://codereview.chromium.org/1128113011/diff/630001/ui/ozone/public/client_native_pixmap_factory.cc#newcode41 ui/ozone/public/client_native_pixmap_factory.cc:41: ClientNativePixmapFactory::~ClientNativePixmapFactory() {} nit: It's a bit of ...
5 years, 4 months ago (2015-08-05 18:27:02 UTC) #110
dshwang
thx for reviewing! https://codereview.chromium.org/1128113011/diff/630001/ui/ozone/public/client_native_pixmap_factory.cc File ui/ozone/public/client_native_pixmap_factory.cc (right): https://codereview.chromium.org/1128113011/diff/630001/ui/ozone/public/client_native_pixmap_factory.cc#newcode41 ui/ozone/public/client_native_pixmap_factory.cc:41: ClientNativePixmapFactory::~ClientNativePixmapFactory() {} On 2015/08/05 18:27:02, sievers ...
5 years, 4 months ago (2015-08-05 18:46:34 UTC) #111
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128113011/630001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1128113011/630001
5 years, 4 months ago (2015-08-05 18:48:39 UTC) #114
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/46849)
5 years, 4 months ago (2015-08-05 19:50:55 UTC) #116
reveman
https://codereview.chromium.org/1128113011/diff/630001/ui/ozone/public/client_native_pixmap_factory.cc File ui/ozone/public/client_native_pixmap_factory.cc (right): https://codereview.chromium.org/1128113011/diff/630001/ui/ozone/public/client_native_pixmap_factory.cc#newcode41 ui/ozone/public/client_native_pixmap_factory.cc:41: ClientNativePixmapFactory::~ClientNativePixmapFactory() {} On 2015/08/05 at 18:46:34, dshwang wrote: > ...
5 years, 4 months ago (2015-08-05 19:54:03 UTC) #117
spang
On 2015/08/05 19:54:03, reveman wrote: > https://codereview.chromium.org/1128113011/diff/630001/ui/ozone/public/client_native_pixmap_factory.cc > File ui/ozone/public/client_native_pixmap_factory.cc (right): > > https://codereview.chromium.org/1128113011/diff/630001/ui/ozone/public/client_native_pixmap_factory.cc#newcode41 > ...
5 years, 4 months ago (2015-08-05 20:07:25 UTC) #118
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128113011/670001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1128113011/670001
5 years, 4 months ago (2015-08-06 07:17:29 UTC) #122
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/89556)
5 years, 4 months ago (2015-08-06 09:04:05 UTC) #124
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1128113011/670001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1128113011/670001
5 years, 4 months ago (2015-08-06 10:11:47 UTC) #126
commit-bot: I haz the power
Committed patchset #20 (id:670001)
5 years, 4 months ago (2015-08-06 11:00:40 UTC) #127
commit-bot: I haz the power
5 years, 4 months ago (2015-08-06 11:01:13 UTC) #128
Message was sent while issue was closed.
Patchset 20 (id:??) landed as
https://crrev.com/16f5a8a44f4a2c10086263775e5be20669810867
Cr-Commit-Position: refs/heads/master@{#342094}

Powered by Google App Engine
This is Rietveld 408576698