Index: ui/ozone/platform/drm/gpu/crtc_controller.h |
diff --git a/ui/ozone/platform/drm/gpu/crtc_controller.h b/ui/ozone/platform/drm/gpu/crtc_controller.h |
index 6d05ce60aa2f6a2e4a659e09f0025cb8c419e33e..a20cfc678492c15d6bf9675634e872ebc1a396c6 100644 |
--- a/ui/ozone/platform/drm/gpu/crtc_controller.h |
+++ b/ui/ozone/platform/drm/gpu/crtc_controller.h |
@@ -11,6 +11,7 @@ |
#include "base/memory/weak_ptr.h" |
#include "base/observer_list.h" |
+#include "ui/gfx/swap_result.h" |
#include "ui/ozone/ozone_export.h" |
#include "ui/ozone/platform/drm/common/scoped_drm_types.h" |
#include "ui/ozone/platform/drm/gpu/hardware_display_plane_manager.h" |
@@ -58,8 +59,10 @@ class OZONE_EXPORT CrtcController |
std::vector<uint32_t> GetCompatibleHardwarePlaneIds( |
const OverlayPlane& plane) const; |
- // Called if the page flip for this CRTC fails after being scheduled. |
- void PageFlipFailed(); |
+ // Called if the page flip event wasn't scheduled and will never be. This will |
spang
2015/10/30 20:27:02
Update comment.
dnicoara
2015/11/02 17:04:03
Done.
|
+ // then signal the request such that the caller doesn't wait for the event |
+ // forever. |
+ void SignalPageFlipRequest(gfx::SwapResult result); |
// Called when the page flip event occurred. The event is provided by the |
// kernel when a VBlank event finished. This allows the controller to |
@@ -77,8 +80,6 @@ class OZONE_EXPORT CrtcController |
private: |
bool ResetCursor(); |
- void SignalPageFlipRequest(); |
- |
scoped_refptr<DrmDevice> drm_; |
// Buffers need to be declared first so that they are destroyed last. Needed |