| Index: ui/ozone/platform/drm/gbm_surface_client_factory.cc
|
| diff --git a/ui/ozone/platform/drm/gbm_surface_client_factory.cc b/ui/ozone/platform/drm/gbm_surface_client_factory.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ca38ff3a67b75418e785bb179090b33fd7d44d62
|
| --- /dev/null
|
| +++ b/ui/ozone/platform/drm/gbm_surface_client_factory.cc
|
| @@ -0,0 +1,23 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "ui/ozone/platform/drm/gbm_surface_client_factory.h"
|
| +
|
| +namespace ui {
|
| +
|
| +GbmSurfaceClientFactory::GbmSurfaceClientFactory() {
|
| +}
|
| +
|
| +GbmSurfaceClientFactory::~GbmSurfaceClientFactory() {
|
| +}
|
| +
|
| +std::vector<GbmSurfaceClientFactory::Configuration>
|
| +GbmSurfaceClientFactory::GetSupportedNativePixmapConfigurations() const {
|
| + std::vector<Configuration> configurations = {
|
| + {SurfaceFactoryOzone::BGRA_8888, SurfaceFactoryOzone::SCANOUT},
|
| + {SurfaceFactoryOzone::RGBX_8888, SurfaceFactoryOzone::SCANOUT}};
|
| + return configurations;
|
| +}
|
| +
|
| +} // namespace ui
|
|
|