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

Unified Diff: ui/ozone/platform/dri/dri_window_delegate_impl.h

Issue 963453003: [Ozone-Dri] Allocate cursor buffers on the correct DRM device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@allocate-cursor-on-correct-device
Patch Set: . Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: ui/ozone/platform/dri/dri_window_delegate_impl.h
diff --git a/ui/ozone/platform/dri/dri_window_delegate_impl.h b/ui/ozone/platform/dri/dri_window_delegate_impl.h
index 0e1136b12021142ad67064e2c40d3ff918d406b5..317a00ad5e1672e99917ab4507357f27276d7249 100644
--- a/ui/ozone/platform/dri/dri_window_delegate_impl.h
+++ b/ui/ozone/platform/dri/dri_window_delegate_impl.h
@@ -54,6 +54,10 @@ class OZONE_EXPORT DriWindowDelegateImpl : public DriWindowDelegate,
void UpdateWidgetToDrmDeviceMapping();
+ // When |controller_| changes this is called to reallocate the cursor buffers
+ // since the allocation DRM device may have changed.
+ void UpdateCursorBuffers();
+
gfx::AcceleratedWidget widget_;
DrmDeviceManager* device_manager_; // Not owned.
« no previous file with comments | « no previous file | ui/ozone/platform/dri/dri_window_delegate_impl.cc » ('j') | ui/ozone/platform/dri/dri_window_delegate_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698