From bff957f0bd0b7d4085dabaefb0852d428a807134 Mon Sep 17 00:00:00 2001 From: Daniel Lam Date: Sun, 22 Jan 2012 15:40:56 -0800 Subject: [PATCH] SurfaceTexture: use fence sync on omap4 & s5pc110 This change enables the use of the EGL_KHR_fence_sync extension in SurfaceTexture on omap4 and s5pc110 platforms. Change-Id: Icad5245bab445413ffb8a7c823c296b678bf3250 --- libs/gui/Android.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libs/gui/Android.mk b/libs/gui/Android.mk index b8be67d44..b6f5b9e8e 100644 --- a/libs/gui/Android.mk +++ b/libs/gui/Android.mk @@ -34,6 +34,13 @@ LOCAL_SHARED_LIBRARIES := \ LOCAL_MODULE:= libgui +ifeq ($(TARGET_BOARD_PLATFORM), omap4) + LOCAL_CFLAGS += -DUSE_FENCE_SYNC +endif +ifeq ($(TARGET_BOARD_PLATFORM), s5pc110) + LOCAL_CFLAGS += -DUSE_FENCE_SYNC +endif + ifeq ($(TARGET_BOARD_PLATFORM), tegra) LOCAL_CFLAGS += -DALLOW_DEQUEUE_CURRENT_BUFFER endif