From 57bf9e7100c2ea51e081775dbd3566f078b0be4f Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Fri, 7 Oct 2011 15:42:53 -0700 Subject: [PATCH] enable EGL_IMG_context_priority for the omap4 platform Bug: 5311015 Change-Id: Icaad3d1c963d382ac0a4b9121fe20d3408846c2b --- services/surfaceflinger/Android.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/surfaceflinger/Android.mk b/services/surfaceflinger/Android.mk index 51eb0a376..dab070567 100644 --- a/services/surfaceflinger/Android.mk +++ b/services/surfaceflinger/Android.mk @@ -22,6 +22,9 @@ LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES ifeq ($(TARGET_BOARD_PLATFORM), omap3) LOCAL_CFLAGS += -DNO_RGBX_8888 endif +ifeq ($(TARGET_BOARD_PLATFORM), omap4) + LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY +endif ifeq ($(TARGET_BOARD_PLATFORM), s5pc110) LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY -DNEVER_DEFAULT_TO_ASYNC_MODE endif