summaryrefslogtreecommitdiff
path: root/src/lib/ecore_drm2/ecore_drm2_private.h
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-07-28 15:25:25 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-07-28 15:35:03 -0500
commit0584fc81a2960c47426560fa52bab675b10527b5 (patch)
tree058d5a027763e2b00894def735b9de9f8cf94314 /src/lib/ecore_drm2/ecore_drm2_private.h
parent6bb56b3f5651fab85b1a0a1a1a8040f4e488c799 (diff)
ecore_drm2: Add a fallback method for vblank waiting
We can't depend on vblank waits being implemented by the driver, but we can count on page flips functioning, so add a fallback that does a page flip and waits for it.
Diffstat (limited to 'src/lib/ecore_drm2/ecore_drm2_private.h')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_private.h b/src/lib/ecore_drm2/ecore_drm2_private.h
index c8c2bf66c2..a85cb0c2d5 100644
--- a/src/lib/ecore_drm2/ecore_drm2_private.h
+++ b/src/lib/ecore_drm2/ecore_drm2_private.h
@@ -209,6 +209,8 @@ struct _Ecore_Drm2_Output
209 int pipe; 209 int pipe;
210 int x, y, w, h, pw, ph; 210 int x, y, w, h, pw, ph;
211 211
212 long fallback_sec, fallback_usec;
213
212 uint32_t subpixel; 214 uint32_t subpixel;
213 uint32_t crtc_id, conn_id, conn_type; 215 uint32_t crtc_id, conn_id, conn_type;
214 uint32_t scale; 216 uint32_t scale;