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

Side by Side Diff: ui/ozone/platform/drm/ozone_platform_drm.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
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ui/ozone/platform/drm/ozone_platform_drm.h" 5 #include "ui/ozone/platform/drm/ozone_platform_drm.h"
6 6
7 #include "base/at_exit.h" 7 #include "base/at_exit.h"
8 #include "base/thread_task_runner_handle.h" 8 #include "base/thread_task_runner_handle.h"
9 #include "ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h" 9 #include "ui/base/cursor/ozone/bitmap_cursor_factory_ozone.h"
10 #include "ui/events/ozone/device/device_manager.h" 10 #include "ui/events/ozone/device/device_manager.h"
(...skipping 10 matching lines...) Expand all
21 #include "ui/ozone/platform/drm/gpu/drm_surface_factory.h" 21 #include "ui/ozone/platform/drm/gpu/drm_surface_factory.h"
22 #include "ui/ozone/platform/drm/gpu/drm_window.h" 22 #include "ui/ozone/platform/drm/gpu/drm_window.h"
23 #include "ui/ozone/platform/drm/gpu/screen_manager.h" 23 #include "ui/ozone/platform/drm/gpu/screen_manager.h"
24 #include "ui/ozone/platform/drm/host/drm_cursor.h" 24 #include "ui/ozone/platform/drm/host/drm_cursor.h"
25 #include "ui/ozone/platform/drm/host/drm_display_host_manager.h" 25 #include "ui/ozone/platform/drm/host/drm_display_host_manager.h"
26 #include "ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h" 26 #include "ui/ozone/platform/drm/host/drm_gpu_platform_support_host.h"
27 #include "ui/ozone/platform/drm/host/drm_native_display_delegate.h" 27 #include "ui/ozone/platform/drm/host/drm_native_display_delegate.h"
28 #include "ui/ozone/platform/drm/host/drm_overlay_manager.h" 28 #include "ui/ozone/platform/drm/host/drm_overlay_manager.h"
29 #include "ui/ozone/platform/drm/host/drm_window_host.h" 29 #include "ui/ozone/platform/drm/host/drm_window_host.h"
30 #include "ui/ozone/platform/drm/host/drm_window_host_manager.h" 30 #include "ui/ozone/platform/drm/host/drm_window_host_manager.h"
31 #include "ui/ozone/public/native_pixmap_manager.h"
31 #include "ui/ozone/public/ozone_gpu_test_helper.h" 32 #include "ui/ozone/public/ozone_gpu_test_helper.h"
32 #include "ui/ozone/public/ozone_platform.h" 33 #include "ui/ozone/public/ozone_platform.h"
33 34
34 #if defined(USE_XKBCOMMON) 35 #if defined(USE_XKBCOMMON)
35 #include "ui/events/ozone/layout/xkb/xkb_evdev_codes.h" 36 #include "ui/events/ozone/layout/xkb/xkb_evdev_codes.h"
36 #include "ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.h" 37 #include "ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.h"
37 #else 38 #else
38 #include "ui/events/ozone/layout/stub/stub_keyboard_layout_engine.h" 39 #include "ui/events/ozone/layout/stub/stub_keyboard_layout_engine.h"
39 #endif 40 #endif
40 41
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 } // namespace 159 } // namespace
159 160
160 OzonePlatform* CreateOzonePlatformDri() { 161 OzonePlatform* CreateOzonePlatformDri() {
161 return new OzonePlatformDrm; 162 return new OzonePlatformDrm;
162 } 163 }
163 164
164 OzonePlatform* CreateOzonePlatformDrm() { 165 OzonePlatform* CreateOzonePlatformDrm() {
165 return new OzonePlatformDrm; 166 return new OzonePlatformDrm;
166 } 167 }
167 168
169 NativePixmapManager* CreateNativePixmapManagerDri() {
170 return CreateStubNativePixmapManager();
171 }
172
173 NativePixmapManager* CreateNativePixmapManagerDrm() {
174 return CreateStubNativePixmapManager();
175 }
176
168 } // namespace ui 177 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698