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

Side by Side Diff: ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc

Issue 2298003002: gfx: Struct traits for GpuMemoryBufferHandle. (Closed)
Patch Set: . Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gfx/native_pixmap_handle_ozone.cc ('k') | ui/ozone/platform/drm/gpu/drm_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/ozone/platform/drm/client_native_pixmap_factory_gbm.h" 5 #include "ui/ozone/platform/drm/client_native_pixmap_factory_gbm.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "ui/gfx/native_pixmap_handle_ozone.h" 11 #include "ui/gfx/native_pixmap_handle.h"
12 #include "ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.h" 12 #include "ui/ozone/platform/drm/common/client_native_pixmap_dmabuf.h"
13 #include "ui/ozone/public/client_native_pixmap_factory.h" 13 #include "ui/ozone/public/client_native_pixmap_factory.h"
14 14
15 namespace ui { 15 namespace ui {
16 16
17 namespace { 17 namespace {
18 18
19 class ClientNativePixmapGbm : public ClientNativePixmap { 19 class ClientNativePixmapGbm : public ClientNativePixmap {
20 public: 20 public:
21 ClientNativePixmapGbm() {} 21 ClientNativePixmapGbm() {}
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 } 95 }
96 96
97 DISALLOW_COPY_AND_ASSIGN(ClientNativePixmapFactoryGbm); 97 DISALLOW_COPY_AND_ASSIGN(ClientNativePixmapFactoryGbm);
98 }; 98 };
99 99
100 ClientNativePixmapFactory* CreateClientNativePixmapFactoryGbm() { 100 ClientNativePixmapFactory* CreateClientNativePixmapFactoryGbm() {
101 return new ClientNativePixmapFactoryGbm(); 101 return new ClientNativePixmapFactoryGbm();
102 } 102 }
103 103
104 } // namespace ui 104 } // namespace ui
OLDNEW
« no previous file with comments | « ui/gfx/native_pixmap_handle_ozone.cc ('k') | ui/ozone/platform/drm/gpu/drm_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698