From 32435771d5f8cb6e3ceb2c2dce8a627b3fb59cae Mon Sep 17 00:00:00 2001 From: ZhaoPengyuan Date: Fri, 9 Oct 2020 11:31:38 +0800 Subject: [PATCH] egl:codereview remove debug info in release version --- opengl/libs/Android.mk | 2 ++ opengl/libs/EGL/eglApi.cpp | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/opengl/libs/Android.mk b/opengl/libs/Android.mk index 24e4c19a5..d8dc99fdf 100644 --- a/opengl/libs/Android.mk +++ b/opengl/libs/Android.mk @@ -39,6 +39,8 @@ LOCAL_SHARED_LIBRARIES += libdl LOCAL_C_INCLUDES += bionic/libc/private LOCAL_CFLAGS += -DLOG_TAG=\"libEGL\" +#define the flag to debug egl_config +#LOCAL_CFLAGS += -DEGL_Config_Debug LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES LOCAL_CFLAGS += -fvisibility=hidden diff --git a/opengl/libs/EGL/eglApi.cpp b/opengl/libs/EGL/eglApi.cpp index b172f80d0..74ff98905 100644 --- a/opengl/libs/EGL/eglApi.cpp +++ b/opengl/libs/EGL/eglApi.cpp @@ -62,9 +62,6 @@ using namespace android; #define ENABLE_EGL_ANDROID_GET_FRAME_TIMESTAMPS 0 -#if 1 -#define EGL_Config_Debug -#endif // ---------------------------------------------------------------------------- -- Gitee