OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_OZONE_PLATFORM_DRM_COMMON_NATIVE_PIXMAP_MANAGER_GBM_H_ |
| 6 #define UI_OZONE_PLATFORM_DRM_COMMON_NATIVE_PIXMAP_MANAGER_GBM_H_ |
| 7 |
| 8 #include "ui/ozone/public/native_pixmap_manager.h" |
| 9 |
| 10 namespace ui { |
| 11 |
| 12 // Constructor hook for use in constructor_list.cc |
| 13 NativePixmapManager* CreateNativePixmapManagerGbm(); |
| 14 |
| 15 class NativePixmapManagerGbm : public NativePixmapManager { |
| 16 public: |
| 17 NativePixmapManagerGbm(); |
| 18 ~NativePixmapManagerGbm() override; |
| 19 |
| 20 // NativePixmapManager: |
| 21 void Initialize(const base::FileDescriptor& device_fd) override; |
| 22 std::vector<Configuration> GetSupportedNativePixmapConfigurations() |
| 23 const override; |
| 24 |
| 25 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(NativePixmapManagerGbm); |
| 27 }; |
| 28 |
| 29 } // namespace ui |
| 30 |
| 31 #endif // UI_OZONE_PLATFORM_DRM_COMMON_NATIVE_PIXMAP_MANAGER_GBM_H_ |
OLD | NEW |