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/gbm_surface_client_factory.h" |
| 6 |
| 7 namespace ui { |
| 8 |
| 9 GbmSurfaceClientFactory::GbmSurfaceClientFactory() { |
| 10 } |
| 11 |
| 12 GbmSurfaceClientFactory::~GbmSurfaceClientFactory() { |
| 13 } |
| 14 |
| 15 std::vector<GbmSurfaceClientFactory::Configuration> |
| 16 GbmSurfaceClientFactory::GetSupportedNativePixmapConfigurations() const { |
| 17 std::vector<Configuration> configurations = { |
| 18 {SurfaceFactoryOzone::BGRA_8888, SurfaceFactoryOzone::SCANOUT}, |
| 19 {SurfaceFactoryOzone::RGBX_8888, SurfaceFactoryOzone::SCANOUT}}; |
| 20 return configurations; |
| 21 } |
| 22 |
| 23 } // namespace ui |
OLD | NEW |