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

Side by Side Diff: ui/ozone/platform/dri/dri_gpu_platform_support.h

Issue 800743002: [Ozone-DRI] Add support for asynchronous display configuration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@async-refactor6
Patch Set: Remove unneeded code Created 6 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_DRI_DRI_GPU_PLATFORM_SUPPORT_H_ 5 #ifndef UI_OZONE_PLATFORM_DRI_DRI_GPU_PLATFORM_SUPPORT_H_
6 #define UI_OZONE_PLATFORM_DRI_DRI_GPU_PLATFORM_SUPPORT_H_ 6 #define UI_OZONE_PLATFORM_DRI_DRI_GPU_PLATFORM_SUPPORT_H_
7 7
8 #include "base/containers/scoped_ptr_hash_map.h" 8 #include "base/containers/scoped_ptr_hash_map.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/scoped_vector.h" 10 #include "base/memory/scoped_vector.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 void OnWindowBoundsChanged(gfx::AcceleratedWidget widget, 57 void OnWindowBoundsChanged(gfx::AcceleratedWidget widget,
58 const gfx::Rect& bounds); 58 const gfx::Rect& bounds);
59 void OnCursorSet(gfx::AcceleratedWidget widget, 59 void OnCursorSet(gfx::AcceleratedWidget widget,
60 const std::vector<SkBitmap>& bitmaps, 60 const std::vector<SkBitmap>& bitmaps,
61 const gfx::Point& location, 61 const gfx::Point& location,
62 int frame_delay_ms); 62 int frame_delay_ms);
63 void OnCursorMove(gfx::AcceleratedWidget widget, const gfx::Point& location); 63 void OnCursorMove(gfx::AcceleratedWidget widget, const gfx::Point& location);
64 64
65 // Display related IPC handlers. 65 // Display related IPC handlers.
66 void OnForceDPMSOn(); 66 void OnForceDPMSOn();
67 void OnRefreshNativeDisplays( 67 void OnRefreshNativeDisplays();
68 const std::vector<DisplaySnapshot_Params>& cached_displays);
69 void OnConfigureNativeDisplay(int64_t id, 68 void OnConfigureNativeDisplay(int64_t id,
70 const DisplayMode_Params& mode, 69 const DisplayMode_Params& mode,
71 const gfx::Point& origin); 70 const gfx::Point& origin);
72 void OnDisableNativeDisplay(int64_t id); 71 void OnDisableNativeDisplay(int64_t id);
73 void OnTakeDisplayControl(); 72 void OnTakeDisplayControl();
74 void OnRelinquishDisplayControl(); 73 void OnRelinquishDisplayControl();
75 void OnAddGraphicsDevice(const base::FilePath& path); 74 void OnAddGraphicsDevice(const base::FilePath& path);
76 void OnRemoveGraphicsDevice(const base::FilePath& path); 75 void OnRemoveGraphicsDevice(const base::FilePath& path);
77 76
78 IPC::Sender* sender_; // Not owned. 77 IPC::Sender* sender_; // Not owned.
79 DriWrapper* drm_; // Not owned. 78 DriWrapper* drm_; // Not owned.
80 DriWindowDelegateManager* window_manager_; // Not owned. 79 DriWindowDelegateManager* window_manager_; // Not owned.
81 ScreenManager* screen_manager_; // Not owned. 80 ScreenManager* screen_manager_; // Not owned.
82 81
83 scoped_ptr<NativeDisplayDelegateDri> ndd_; 82 scoped_ptr<NativeDisplayDelegateDri> ndd_;
84 ScopedVector<GpuPlatformSupport> handlers_; 83 ScopedVector<GpuPlatformSupport> handlers_;
85 }; 84 };
86 85
87 } // namespace ui 86 } // namespace ui
88 87
89 #endif // UI_OZONE_PLATFORM_DRI_DRI_GPU_PLATFORM_SUPPORT_H_ 88 #endif // UI_OZONE_PLATFORM_DRI_DRI_GPU_PLATFORM_SUPPORT_H_
OLDNEW
« no previous file with comments | « ui/ozone/common/gpu/ozone_gpu_messages.h ('k') | ui/ozone/platform/dri/dri_gpu_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698