summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Xiao <b49994@freescale.com>2015-05-14 20:05:32 +0800
committerPrabhu Sundararaj <prabhu.sundararaj@freescale.com>2015-05-15 11:18:15 -0500
commitb0e9a4af151063197c56e27e55e705da3d198c69 (patch)
tree599748d98d31ec346046586eca2171d003d1d428
parent487aca18c02e798b12883a7c7c8d09e204a7037d (diff)
MGS-732 ENGR00325693-2 [#1318] Add eglSwapInterval support in Wayland client
Add gcoOS_SetSwapIntervalEx implement for Wayland. Wait frame callback if swapInverval enabled. Date: Aug 04, 2014 Signed-off-by Yong Gan <yong.gan@freescale.com>
-rw-r--r--drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_eglplatform.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_eglplatform.h b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_eglplatform.h
index 7a62d3fec89c..a93878706431 100644
--- a/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_eglplatform.h
+++ b/drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_eglplatform.h
@@ -69,7 +69,8 @@ typedef struct _gcsWL_EGL_DISPLAY
struct wl_display* wl_display;
struct wl_viv* wl_viv;
struct wl_registry *registry;
- struct wl_event_queue *wl_queue;
+ struct wl_event_queue *wl_queue;
+ gctINT swapInterval;
} gcsWL_EGL_DISPLAY;
typedef struct _gcsWL_EGL_BUFFER_INFO
@@ -290,6 +291,13 @@ gcoOS_SetSwapInterval(
);
gceSTATUS
+gcoOS_SetSwapIntervalEx(
+ IN HALNativeDisplayType Display,
+ IN gctINT Interval,
+ IN gctPOINTER localDisplay
+);
+
+gceSTATUS
gcoOS_GetSwapInterval(
IN HALNativeDisplayType Display,
IN gctINT_PTR Min,