Chromium Code Reviews

Side by Side Diff: ui/ozone/platform/drm/common/native_pixmap_manager_gbm.h

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.
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 #ifndef UI_OZONE_PLATFORM_DRM_COMMON_NATIVE_PIXMAP_MANAGER_GBM_H_
6 #define UI_OZONE_PLATFORM_DRM_COMMON_NATIVE_PIXMAP_MANAGER_GBM_H_
7
8 #include "ui/ozone/public/native_pixmap_manager.h"
9
10 namespace ui {
11
12 // Constructor hook for use in constructor_list.cc
13 NativePixmapManager* CreateNativePixmapManagerGbm();
14
15 class NativePixmapManagerGbm : public NativePixmapManager {
16 public:
17 NativePixmapManagerGbm();
18 ~NativePixmapManagerGbm() override;
19
20 // NativePixmapManager:
21 void Initialize(const base::FileDescriptor& device_fd) override;
22 std::vector<Configuration> GetSupportedNativePixmapConfigurations()
23 const override;
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(NativePixmapManagerGbm);
27 };
28
29 } // namespace ui
30
31 #endif // UI_OZONE_PLATFORM_DRM_COMMON_NATIVE_PIXMAP_MANAGER_GBM_H_
OLDNEW

Powered by Google App Engine