summaryrefslogtreecommitdiff
path: root/drivers/mxc
diff options
context:
space:
mode:
authorYong Gan <b45748@freescale.com>2014-05-05 09:38:34 +0800
committerYong Gan <b45748@freescale.com>2014-05-05 09:38:34 +0800
commitbed73a37ac41a200e56294e3b2af6d6f58e0b383 (patch)
tree52d4551c025424e50f997d65c1a16c87aeba0f17 /drivers/mxc
parent2b50c5067c02dd7d8a06f8ce5da0a3605ac37c73 (diff)
ENGR00300876 [#ccc] Fix flick issue in GAL2D compositor
Move wl_surface_commit to work thread. Add wl_display_sync after commit buffer. Fix memory leak in wl_egl_window_resize. Enable triple buffer rendering. Disable skip worker in veglSwapWorker. Date: Apr 21, 2014 Signed-off-by Yong Gan <B45748@freescale.com>
Diffstat (limited to 'drivers/mxc')
-rw-r--r--drivers/mxc/gpu-viv/hal/kernel/inc/gc_hal_eglplatform.h5
1 files changed, 3 insertions, 2 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 eb19c70066a1..87dc707854cf 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
@@ -60,7 +60,7 @@ typedef struct _DFBPixmap * HALNativePixmapType;
/* Wayland platform. */
#include <wayland-egl.h>
-#define WL_EGL_NUM_BACKBUFFERS 2
+#define WL_EGL_NUM_BACKBUFFERS 3
typedef struct _gcsWL_VIV_BUFFER
{
@@ -88,6 +88,7 @@ typedef struct _gcsWL_EGL_BUFFER_INFO
gctUINT bytes;
gcoSURF surface;
gctINT32 invalidate;
+ gctBOOL locked;
} gcsWL_EGL_BUFFER_INFO;
typedef struct _gcsWL_EGL_BUFFER
@@ -110,10 +111,10 @@ typedef struct _gcsWL_EGL_WINDOW_INFO
struct wl_egl_window
{
+ gcsWL_EGL_DISPLAY *display;
gcsWL_EGL_BUFFER backbuffers[WL_EGL_NUM_BACKBUFFERS];
gcsWL_EGL_WINDOW_INFO info;
gctUINT current;
- gcoSURF attached_surface;
struct wl_surface* surface;
struct wl_callback* frame_callback;
};