diff options
| author | 2012-01-22 15:40:56 -0800 | |
|---|---|---|
| committer | 2012-01-22 15:51:41 -0800 | |
| commit | f3d30e1c706907eda4eeb1bced207a45bb36aa06 (patch) | |
| tree | 5369ea7fdd5490db507073583869efe24d8d9abe | |
| parent | ca917ac1e6d2cca9f3a673d8453621ddc4e6602b (diff) | |
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
| -rw-r--r-- | libs/gui/Android.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/gui/Android.mk b/libs/gui/Android.mk index b8be67d446ce..b6f5b9e8e855 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 |