Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Side by Side Diff: ui/ozone/platform/drm/common/native_pixmap_manager_gbm.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: separate VGEM part to another CL Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
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/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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698