diff options
author | Shawn Xiao <b49994@freescale.com> | 2015-05-14 20:11:23 +0800 |
---|---|---|
committer | Prabhu Sundararaj <prabhu.sundararaj@freescale.com> | 2015-05-15 11:18:16 -0500 |
commit | 6edd31c921efb7d77c29ec3bb6911c39537d9c8e (patch) | |
tree | 1a4afa478cc340fcd997b4957737c0d543f52d28 /drivers/mxc/gpu-viv/hal/kernel | |
parent | 80da3e4a6f4e6965c6044e20692abef5142dc863 (diff) |
MGS-332 [#ccc] Support N VSYNC feature in weston client.
Support eglSwapInterval >1 to throttle rendering performance of an
application.
Such as setting it to 3 can throttle the application to 20fps on a 60Hz
display.
Date: Dec 17, 2014
Signed-off-by Yong Gan <yong.gan@freescale.com>
Diffstat (limited to 'drivers/mxc/gpu-viv/hal/kernel')
-rw-r--r-- | drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_eglplatform.h | 1 |
1 files changed, 1 insertions, 0 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 716251817019..d47970723490 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 @@ -72,6 +72,7 @@ typedef struct _gcsWL_EGL_DISPLAY struct wl_event_queue *wl_queue; struct wl_event_queue *wl_swap_queue; gctINT swapInterval; + gctINT file; } gcsWL_EGL_DISPLAY; typedef struct _gcsWL_EGL_BUFFER_INFO |