Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25c85d55 authored by Inseob Kim's avatar Inseob Kim Committed by android-build-merger
Browse files

Merge changes I76cb1ea5,Ia7e02c34

am: 3646dfeb

Change-Id: I9eefe31a8aa887f6900d0eae6866f1f0fe81520c
parents da8f0886 3646dfeb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,13 +37,13 @@ LOCAL_SRC_FILES:= \
  gl_code.cpp

LOCAL_SHARED_LIBRARIES := \
	libutils \
	liblog \
	libEGL \
	libGLESv2

LOCAL_MODULE := libgl2jni

LOCAL_SDK_VERSION := current


include $(BUILD_SHARED_LIBRARY)
+6 −1
Original line number Diff line number Diff line
@@ -2,7 +2,12 @@

#include <jni.h>
#define LOG_TAG "GL2JNI gl_code.cpp"
#include <utils/Log.h>
#include <android/log.h>

#define ALOG(priority, tag, ...) ((void)__android_log_print(ANDROID_##priority, tag, __VA_ARGS__))

#define ALOGI(...) ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__)
#define ALOGE(...) ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__)

#include <EGL/egl.h>
#include <GLES2/gl2.h>
+2 −1
Original line number Diff line number Diff line
@@ -37,13 +37,14 @@ LOCAL_SRC_FILES:= \
  gl_code.cpp

LOCAL_SHARED_LIBRARIES := \
	libutils \
	liblog \
	libEGL \
	libGLESv1_CM

LOCAL_MODULE := libgljni

LOCAL_SDK_VERSION := current

LOCAL_ARM_MODE := arm


+6 −1
Original line number Diff line number Diff line
@@ -2,7 +2,12 @@

#include <jni.h>
#define LOG_TAG "GLJNI gl_code.cpp"
#include <utils/Log.h>
#include <android/log.h>

#define ALOG(priority, tag, ...) ((void)__android_log_print(ANDROID_##priority, tag, __VA_ARGS__))

#define ALOGI(...) ALOG(LOG_INFO, LOG_TAG, __VA_ARGS__)
#define ALOGE(...) ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__)

#include <GLES/gl.h>