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 #include "ui/ozone/platform/drm/common/native_pixmap_manager_gbm.h" |
| 6 |
| 7 namespace ui { |
| 8 |
| 9 NativePixmapManager* CreateNativePixmapManagerGbm() { |
| 10 return new NativePixmapManagerGbm(); |
| 11 } |
| 12 |
| 13 NativePixmapManagerGbm::NativePixmapManagerGbm() {} |
| 14 |
| 15 NativePixmapManagerGbm::~NativePixmapManagerGbm() {} |
| 16 |
| 17 void NativePixmapManagerGbm::Initialize(const base::FileDescriptor& device_fd) { |
| 18 } |
| 19 |
| 20 std::vector<NativePixmapManager::Configuration> |
| 21 NativePixmapManagerGbm::GetSupportedNativePixmapConfigurations() const { |
| 22 std::vector<Configuration> configurations = { |
| 23 {SurfaceFactoryOzone::BGRA_8888, SurfaceFactoryOzone::SCANOUT}, |
| 24 {SurfaceFactoryOzone::RGBX_8888, SurfaceFactoryOzone::SCANOUT}}; |
| 25 return configurations; |
| 26 } |
| 27 |
| 28 } // namespace ui |
OLD | NEW |