1LOCAL_PATH:=$(call my-dir) 2 3ifeq ($(HOST_OS), linux) 4 5$(call emugl-begin-host-executable,ut_renderer) 6$(call emugl-import,libut_rendercontrol_dec libGLESv1_dec libGLESv2_dec libEGL_host_wrapper libOpenglRender) 7 8LOCAL_SRC_FILES := ut_renderer.cpp \ 9 RenderingThread.cpp \ 10 ReadBuffer.cpp \ 11 Renderer.cpp \ 12 RendererContext.cpp \ 13 RendererSurface.cpp \ 14 X11Windowing.cpp 15 16# define PVR_WAR to support imgtec PVR opengl-ES implementation 17# 18# specifically this MACRO enables code that work arounds a bug 19# in the implementation where glTextureParameter(...,GL_TEXTURE_RECT,...) 20# is called would cause a crash if the texture dimensions have not been 21# defined yet. 22 23LOCAL_CFLAGS += -DPVR_WAR 24#LOCAL_CFLAGS += -g -O0 25 26LOCAL_LDLIBS += -lpthread -lX11 -lrt 27 28$(call emugl-end-module) 29 30endif # HOST_OS == linux 31