adding OpenCL processing (Image2D-to-Image2D only, others will be added later)

This commit is contained in:
Andrey Pavlenko
2015-07-27 02:57:01 +03:00
parent 2a6d4b6ee2
commit 274aba1a89
4 changed files with 201 additions and 14 deletions

View File

@@ -1,9 +1,14 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := OpenCL
LOCAL_SRC_FILES := $(OPENCL_SDK)/lib/$(TARGET_ARCH_ABI)/libOpenCL.so
LOCAL_EXPORT_C_INCLUDES := $(OPENCL_SDK)/include
include $(PREBUILT_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_MODULE := JNIrender
LOCAL_SRC_FILES := jni.c GLrender.cpp
LOCAL_LDLIBS += -llog -lGLESv2 -lEGL
LOCAL_SRC_FILES := jni.c GLrender.cpp CLprocessor.cpp
LOCAL_LDLIBS := -llog -lGLESv2 -lEGL
LOCAL_SHARED_LIBRARIES := OpenCL
include $(BUILD_SHARED_LIBRARY)