Index: ui/ozone/platform/dri/hardware_display_controller.h |
diff --git a/ui/ozone/platform/dri/hardware_display_controller.h b/ui/ozone/platform/dri/hardware_display_controller.h |
index cee71f8b0e389fd9991dd401a2f7ab055d1877b9..000c40c32ae4a2a7c83b72a1a208b36e320b337b 100644 |
--- a/ui/ozone/platform/dri/hardware_display_controller.h |
+++ b/ui/ozone/platform/dri/hardware_display_controller.h |
@@ -22,6 +22,7 @@ class Point; |
namespace ui { |
class NativePixmap; |
+class ScanoutBuffer; |
class ScanoutSurface; |
typedef std::vector<scoped_refptr<NativePixmap> > NativePixmapList; |
@@ -150,7 +151,7 @@ class HardwareDisplayController |
unsigned int useconds); |
// Set the hardware cursor to show the contents of |surface|. |
- bool SetCursor(ScanoutSurface* surface); |
+ bool SetCursor(scoped_refptr<ScanoutBuffer> buffer); |
bool UnsetCursor(); |
@@ -187,6 +188,8 @@ class HardwareDisplayController |
scoped_ptr<ScanoutSurface> surface_; |
+ scoped_refptr<ScanoutBuffer> cursor_buffer_; |
+ |
uint64_t time_of_last_flip_; |
// Keeps track of the CRTC state. If a surface has been bound, then the value |