ac670c0433
With this change, all the vertex and fragment shaders used by the GL renderer are now generated based on a program description supplied by the caller. This allows the renderer to generate a large number of shaders without having to write all the possible combinations by hand. The generated shaders are stored in a program cache. Change-Id: If54d286e77ae021c724d42090da476df12a18ebb
31 lines
671 B
Makefile
31 lines
671 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
FontRenderer.cpp \
|
|
GradientCache.cpp \
|
|
LayerCache.cpp \
|
|
Matrix.cpp \
|
|
OpenGLRenderer.cpp \
|
|
Patch.cpp \
|
|
PatchCache.cpp \
|
|
Program.cpp \
|
|
ProgramCache.cpp \
|
|
TextureCache.cpp
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
$(JNI_H_INCLUDE) \
|
|
$(LOCAL_PATH)/../../include/utils \
|
|
external/skia/include/core \
|
|
external/skia/include/effects \
|
|
external/skia/include/images \
|
|
external/skia/src/ports \
|
|
external/skia/include/utils
|
|
|
|
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
|
|
LOCAL_SHARED_LIBRARIES := libcutils libutils libGLESv2 libskia
|
|
LOCAL_MODULE := libhwui
|
|
LOCAL_PRELINK_MODULE := false
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|