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

Issue 2711933002: Rename ClientNativePixmapFactoryGbm to ClientNativePixmapFactoryDmabuf amd move to ui/gfx (Closed)

Created:
3 years, 10 months ago by Julien Isorce
Modified:
3 years, 8 months ago
CC:
chromium-reviews, kalyank, ozone-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Rename ClientNativePixmapFactoryGbm to ClientNativePixmapFactoryDmabuf amd move to ui/gfx Also rename ClientNativePixmapGbm to ClientNativePixmapOpaque. Also move client_native_pixmap_dmabuf.{cc,h} from ui/ozone to ui/gfx/linux. All the touched code is not ozone specific. This is a pre-step to enable glCreateImageCHROMIUM with linux dma buf on linux. BUG=584248 R=reveman@chromium.org Review-Url: https://codereview.chromium.org/2711933002 Cr-Commit-Position: refs/heads/master@{#459592} Committed: https://chromium.googlesource.com/chromium/src/+/7a2645913c2a61f7c53d47f16879925ccae10509

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 1

Patch Set 3 : Rebase #

Total comments: 3

Patch Set 4 : Rebased and addressed spang's remarks #

Total comments: 2

Patch Set 5 : rebase and remove left over spotted by spang #

Total comments: 5

Patch Set 6 : Rebase #

Patch Set 7 : Rebase #

Patch Set 8 : Rebase #

Total comments: 2

Patch Set 9 : Addressed sadrul's remark #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -324 lines) Patch
M ui/gfx/BUILD.gn View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
A + ui/gfx/linux/client_native_pixmap_dmabuf.h View 1 2 3 4 5 6 3 chunks +5 lines, -5 lines 0 comments Download
A + ui/gfx/linux/client_native_pixmap_dmabuf.cc View 1 2 3 4 5 6 3 chunks +3 lines, -3 lines 0 comments Download
A ui/gfx/linux/client_native_pixmap_factory_dmabuf.h View 1 2 3 4 5 6 7 8 1 chunk +17 lines, -0 lines 0 comments Download
A + ui/gfx/linux/client_native_pixmap_factory_dmabuf.cc View 1 2 3 4 5 6 4 chunks +22 lines, -16 lines 0 comments Download
M ui/ozone/platform/drm/BUILD.gn View 1 chunk +0 lines, -2 lines 0 comments Download
M ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc View 1 2 3 4 5 6 1 chunk +2 lines, -99 lines 0 comments Download
D ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.h View 1 2 3 4 5 6 1 chunk +0 lines, -49 lines 0 comments Download
D ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.cc View 1 2 3 4 5 6 1 chunk +0 lines, -150 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 61 (36 generated)
Julien Isorce
Hi David, This CL is also to allow calling ui::ClientNativePixmapFactory::GetInstance()->ImportFromHandle from GpuMemoryBufferImpl[-Ozone]NativePixmap::CreateFromHandle. Please take a ...
3 years, 10 months ago (2017-02-24 11:41:53 UTC) #3
reveman
lgtm as a next step. Long term I'd really like to see client pixmap classes ...
3 years, 9 months ago (2017-03-09 12:22:15 UTC) #6
Julien Isorce
On 2017/03/09 12:22:15, reveman wrote: > lgtm as a next step. > > Long term ...
3 years, 9 months ago (2017-03-09 12:37:54 UTC) #7
spang
On 2017/03/09 12:22:15, reveman wrote: > lgtm as a next step. > > Long term ...
3 years, 9 months ago (2017-03-09 17:06:12 UTC) #8
reveman
On 2017/03/09 at 17:06:12, spang wrote: > On 2017/03/09 12:22:15, reveman wrote: > > lgtm ...
3 years, 9 months ago (2017-03-15 15:00:09 UTC) #13
spang
On 2017/03/15 15:00:09, reveman wrote: > On 2017/03/09 at 17:06:12, spang wrote: > > On ...
3 years, 9 months ago (2017-03-15 15:28:42 UTC) #14
spang
https://codereview.chromium.org/2711933002/diff/40001/ui/gfx/BUILD.gn File ui/gfx/BUILD.gn (right): https://codereview.chromium.org/2711933002/diff/40001/ui/gfx/BUILD.gn#newcode17 ui/gfx/BUILD.gn:17: packages = [ "libdrm" ] +phajdan Is linking this ...
3 years, 9 months ago (2017-03-15 15:40:32 UTC) #16
Julien Isorce
https://codereview.chromium.org/2711933002/diff/40001/ui/gfx/BUILD.gn File ui/gfx/BUILD.gn (right): https://codereview.chromium.org/2711933002/diff/40001/ui/gfx/BUILD.gn#newcode575 ui/gfx/BUILD.gn:575: deps += [ "//third_party/libdrm" ] On 2017/03/15 15:40:32, spang ...
3 years, 9 months ago (2017-03-21 17:59:55 UTC) #17
spang
lgtm
3 years, 9 months ago (2017-03-22 01:47:05 UTC) #22
spang
https://codereview.chromium.org/2711933002/diff/60001/ui/gfx/BUILD.gn File ui/gfx/BUILD.gn (right): https://codereview.chromium.org/2711933002/diff/60001/ui/gfx/BUILD.gn#newcode5 ui/gfx/BUILD.gn:5: import("//build/config/linux/pkg_config.gni") remove.
3 years, 9 months ago (2017-03-22 01:48:19 UTC) #24
Julien Isorce
Thx for the review. https://codereview.chromium.org/2711933002/diff/60001/ui/gfx/BUILD.gn File ui/gfx/BUILD.gn (right): https://codereview.chromium.org/2711933002/diff/60001/ui/gfx/BUILD.gn#newcode5 ui/gfx/BUILD.gn:5: import("//build/config/linux/pkg_config.gni") On 2017/03/22 01:48:18, spang ...
3 years, 9 months ago (2017-03-22 12:40:16 UTC) #25
Julien Isorce
Hi sadrul@, please take a look, Thx.
3 years, 9 months ago (2017-03-22 13:45:18 UTC) #32
sadrul
https://codereview.chromium.org/2711933002/diff/80001/ui/gfx/linux/client_native_pixmap_dmabuf.h File ui/gfx/linux/client_native_pixmap_dmabuf.h (right): https://codereview.chromium.org/2711933002/diff/80001/ui/gfx/linux/client_native_pixmap_dmabuf.h#newcode18 ui/gfx/linux/client_native_pixmap_dmabuf.h:18: namespace ui { I missed this in earlier reviews. ...
3 years, 9 months ago (2017-03-22 16:55:38 UTC) #33
Julien Isorce
https://codereview.chromium.org/2711933002/diff/80001/ui/gfx/linux/client_native_pixmap_dmabuf.h File ui/gfx/linux/client_native_pixmap_dmabuf.h (right): https://codereview.chromium.org/2711933002/diff/80001/ui/gfx/linux/client_native_pixmap_dmabuf.h#newcode18 ui/gfx/linux/client_native_pixmap_dmabuf.h:18: namespace ui { On 2017/03/22 16:55:37, sadrul wrote: > ...
3 years, 9 months ago (2017-03-22 17:21:18 UTC) #34
Julien Isorce
https://codereview.chromium.org/2711933002/diff/80001/ui/gfx/linux/client_native_pixmap_dmabuf.h File ui/gfx/linux/client_native_pixmap_dmabuf.h (right): https://codereview.chromium.org/2711933002/diff/80001/ui/gfx/linux/client_native_pixmap_dmabuf.h#newcode18 ui/gfx/linux/client_native_pixmap_dmabuf.h:18: namespace ui { On 2017/03/22 17:21:18, Julien Isorce wrote: ...
3 years, 9 months ago (2017-03-22 18:24:11 UTC) #35
spang
https://codereview.chromium.org/2711933002/diff/80001/ui/gfx/linux/client_native_pixmap_dmabuf.h File ui/gfx/linux/client_native_pixmap_dmabuf.h (right): https://codereview.chromium.org/2711933002/diff/80001/ui/gfx/linux/client_native_pixmap_dmabuf.h#newcode18 ui/gfx/linux/client_native_pixmap_dmabuf.h:18: namespace ui { On 2017/03/22 18:24:10, Julien Isorce wrote: ...
3 years, 9 months ago (2017-03-22 22:49:36 UTC) #36
spang
On 2017/03/22 22:49:36, spang wrote: > https://codereview.chromium.org/2711933002/diff/80001/ui/gfx/linux/client_native_pixmap_dmabuf.h > File ui/gfx/linux/client_native_pixmap_dmabuf.h (right): > > https://codereview.chromium.org/2711933002/diff/80001/ui/gfx/linux/client_native_pixmap_dmabuf.h#newcode18 > ...
3 years, 9 months ago (2017-03-22 22:51:45 UTC) #37
Julien Isorce
https://codereview.chromium.org/2711933002/diff/80001/ui/gfx/linux/client_native_pixmap_dmabuf.h File ui/gfx/linux/client_native_pixmap_dmabuf.h (right): https://codereview.chromium.org/2711933002/diff/80001/ui/gfx/linux/client_native_pixmap_dmabuf.h#newcode18 ui/gfx/linux/client_native_pixmap_dmabuf.h:18: namespace ui { On 2017/03/22 22:49:35, spang wrote: > ...
3 years, 9 months ago (2017-03-22 22:52:10 UTC) #38
spang
On 2017/03/22 22:52:10, Julien Isorce wrote: > https://codereview.chromium.org/2711933002/diff/80001/ui/gfx/linux/client_native_pixmap_dmabuf.h > File ui/gfx/linux/client_native_pixmap_dmabuf.h (right): > > https://codereview.chromium.org/2711933002/diff/80001/ui/gfx/linux/client_native_pixmap_dmabuf.h#newcode18 ...
3 years, 9 months ago (2017-03-22 22:55:09 UTC) #39
Julien Isorce
On 2017/03/22 22:55:09, spang wrote: > https://codereview.chromium.org/2711933002/diff/80001/ui/gfx/linux/client_native_pixmap_dmabuf.h#newcode18 > > ui/gfx/linux/client_native_pixmap_dmabuf.h:18: namespace ui { > > ...
3 years, 9 months ago (2017-03-22 22:58:29 UTC) #40
spang
On 2017/03/22 22:58:29, Julien Isorce wrote: > On 2017/03/22 22:55:09, spang wrote: > > > ...
3 years, 9 months ago (2017-03-23 01:11:18 UTC) #41
sadrul
lgtm https://codereview.chromium.org/2711933002/diff/140001/ui/gfx/linux/client_native_pixmap_factory_dmabuf.h File ui/gfx/linux/client_native_pixmap_factory_dmabuf.h (right): https://codereview.chromium.org/2711933002/diff/140001/ui/gfx/linux/client_native_pixmap_factory_dmabuf.h#newcode1 ui/gfx/linux/client_native_pixmap_factory_dmabuf.h:1: // Copyright 2015 The Chromium Authors. All rights ...
3 years, 9 months ago (2017-03-24 17:23:07 UTC) #50
Julien Isorce
Thx for the review. https://codereview.chromium.org/2711933002/diff/140001/ui/gfx/linux/client_native_pixmap_factory_dmabuf.h File ui/gfx/linux/client_native_pixmap_factory_dmabuf.h (right): https://codereview.chromium.org/2711933002/diff/140001/ui/gfx/linux/client_native_pixmap_factory_dmabuf.h#newcode1 ui/gfx/linux/client_native_pixmap_factory_dmabuf.h:1: // Copyright 2015 The Chromium ...
3 years, 9 months ago (2017-03-24 18:14:21 UTC) #51
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/2711933002/160001
3 years, 9 months ago (2017-03-24 22:31:06 UTC) #58
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 23:09:27 UTC) #61
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/7a2645913c2a61f7c53d47f16879...

Powered by Google App Engine
This is Rietveld 408576698