| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |