Chromium Code Reviews

Side by Side Diff: ui/ozone/platform/drm/gbm_surface_client_factory.cc

Issue 1128113011: ozone: Introduce ClientPixmap and ClientPixmapFactory for non-GPU processes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Introduce OzoneClient Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
(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
OLDNEW

Powered by Google App Engine