6ef57d7b36
These tests call android_createDisplaySurface() to get a FramebufferNativeWindow that is passed to EGL. This relies on the existence of the framebuffer HAL, which is not supported on many recent devices. This change adds a new "window surface" object that the tests can use to get a window from SurfaceFlinger instead. All tests except for the HWC tests now appear to do things. The HWC tests don't do anything useful, but they no longer depend on the android_createDisplaySurface() function. Bug 13323813 Change-Id: I2cbfbacb3452fb658c29e945b0c7ae7c94c1a4ba
24 lines
405 B
Makefile
24 lines
405 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
swapinterval.cpp
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libcutils \
|
|
libutils \
|
|
libEGL \
|
|
libGLESv1_CM \
|
|
libui \
|
|
libgui
|
|
|
|
LOCAL_STATIC_LIBRARIES += libglTest
|
|
|
|
LOCAL_C_INCLUDES += $(call include-path-for, opengl-tests-includes)
|
|
|
|
LOCAL_MODULE:= test-opengl-swapinterval
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_EXECUTABLE)
|