diff options
author | Chris Michael <cp.michael@samsung.com> | 2015-04-16 10:22:44 -0400 |
---|---|---|
committer | Chris Michael <cp.michael@samsung.com> | 2015-04-16 10:25:46 -0400 |
commit | 50c47e36ebb37866637a34b70339cc20f848b6bf (patch) | |
tree | e3dc6e0e78c6e4abf7320a3c0a6595bf0970f78d /src/lib/ecore_drm/Ecore_Drm.h | |
parent | eff4a0abe716d3afffe9d44e0ac3fa9810e8b2a2 (diff) |
ecore-drm: Add pending_flip field to Ecore_Drm_Fb
Summary: This adds a pending_flip field to Ecore_Drm_Fb structure so
that when we schedule a pageflip event we can wait until the flip is
complete before trying to reuse the buffer again.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to 'src/lib/ecore_drm/Ecore_Drm.h')
-rw-r--r-- | src/lib/ecore_drm/Ecore_Drm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ecore_drm/Ecore_Drm.h b/src/lib/ecore_drm/Ecore_Drm.h index a6c9bf0d90..8e837e0a2b 100644 --- a/src/lib/ecore_drm/Ecore_Drm.h +++ b/src/lib/ecore_drm/Ecore_Drm.h | |||
@@ -66,6 +66,7 @@ typedef struct _Ecore_Drm_Fb | |||
66 | int fd; | 66 | int fd; |
67 | void *mmap; | 67 | void *mmap; |
68 | int w, h; | 68 | int w, h; |
69 | Eina_Bool pending_flip : 1; | ||
69 | } Ecore_Drm_Fb; | 70 | } Ecore_Drm_Fb; |
70 | 71 | ||
71 | struct _Ecore_Drm_Device | 72 | struct _Ecore_Drm_Device |