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

Side by Side Diff: ui/ozone/platform/drm/gpu/drm_thread.h

Issue 2088533002: Refactor ozone drm cursor code for mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build Created 4 years, 6 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 2015 The Chromium Authors. All rights reserved. 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 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 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ 5 #ifndef UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_
6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ 6 #define UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 gfx::AcceleratedWidget widget, 75 gfx::AcceleratedWidget widget,
76 const gfx::VSyncProvider::UpdateVSyncCallback& callback); 76 const gfx::VSyncProvider::UpdateVSyncCallback& callback);
77 77
78 void CreateWindow(gfx::AcceleratedWidget widget); 78 void CreateWindow(gfx::AcceleratedWidget widget);
79 void DestroyWindow(gfx::AcceleratedWidget widget); 79 void DestroyWindow(gfx::AcceleratedWidget widget);
80 void SetWindowBounds(gfx::AcceleratedWidget widget, const gfx::Rect& bounds); 80 void SetWindowBounds(gfx::AcceleratedWidget widget, const gfx::Rect& bounds);
81 void SetCursor(gfx::AcceleratedWidget widget, 81 void SetCursor(gfx::AcceleratedWidget widget,
82 const std::vector<SkBitmap>& bitmaps, 82 const std::vector<SkBitmap>& bitmaps,
83 const gfx::Point& location, 83 const gfx::Point& location,
84 int frame_delay_ms); 84 int frame_delay_ms);
85 void MoveCursor(gfx::AcceleratedWidget widget, const gfx::Point& location); 85 void MoveCursor(const gfx::AcceleratedWidget& widget,
86 const gfx::Point& location);
86 void CheckOverlayCapabilities( 87 void CheckOverlayCapabilities(
87 gfx::AcceleratedWidget widget, 88 gfx::AcceleratedWidget widget,
88 const std::vector<OverlayCheck_Params>& overlays, 89 const std::vector<OverlayCheck_Params>& overlays,
89 const base::Callback<void(gfx::AcceleratedWidget, 90 const base::Callback<void(gfx::AcceleratedWidget,
90 const std::vector<OverlayCheck_Params>&)>& 91 const std::vector<OverlayCheck_Params>&)>&
91 callback); 92 callback);
92 void RefreshNativeDisplays( 93 void RefreshNativeDisplays(
93 const base::Callback<void(const std::vector<DisplaySnapshot_Params>&)>& 94 const base::Callback<void(const std::vector<DisplaySnapshot_Params>&)>&
94 callback); 95 callback);
95 void ConfigureNativeDisplay( 96 void ConfigureNativeDisplay(
(...skipping 28 matching lines...) Expand all
124 std::unique_ptr<ScanoutBufferGenerator> buffer_generator_; 125 std::unique_ptr<ScanoutBufferGenerator> buffer_generator_;
125 std::unique_ptr<ScreenManager> screen_manager_; 126 std::unique_ptr<ScreenManager> screen_manager_;
126 std::unique_ptr<DrmGpuDisplayManager> display_manager_; 127 std::unique_ptr<DrmGpuDisplayManager> display_manager_;
127 128
128 DISALLOW_COPY_AND_ASSIGN(DrmThread); 129 DISALLOW_COPY_AND_ASSIGN(DrmThread);
129 }; 130 };
130 131
131 } // namespace ui 132 } // namespace ui
132 133
133 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_ 134 #endif // UI_OZONE_PLATFORM_DRM_GPU_DRM_THREAD_H_
OLDNEW
« no previous file with comments | « ui/events/ozone/evdev/tablet_event_converter_evdev_unittest.cc ('k') | ui/ozone/platform/drm/gpu/drm_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698