Home | History | Annotate | Download | only in ut_renderer
      1 LOCAL_PATH:=$(call my-dir)
      2 
      3 ifeq ($(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)
      7 
      8 LOCAL_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 
     23 LOCAL_CFLAGS += -DPVR_WAR
     24 #LOCAL_CFLAGS += -g -O0
     25 
     26 LOCAL_LDLIBS += -lpthread -lX11 -lrt
     27 
     28 $(call emugl-end-module)
     29 
     30 endif # HOST_OS == linux
     31