Files
android_development/tools/emulator/opengl/host/libs/libOpenglRender/Android.mk
Amit Feller 1d3f5f58ce opengl renderer: create rendering subwindow
The application provides the window handle to which the
OpenglRenderer should render to however only a sub-region of
this window needs to be rendered. This change adds this functionality
by creating a native child subwindow into which rendering will happen.
2011-07-03 15:14:59 +03:00

53 lines
1.2 KiB
Makefile

LOCAL_PATH := $(call my-dir)
ifneq ($(HOST_OS),darwin)
### libOpenglRender #################################################
$(call emugl-begin-host-shared-library,libOpenglRender)
$(call emugl-import,libGLESv1_dec libGLESv2_dec lib_renderControl_dec libOpenglCodecCommon libOpenglOsUtils)
OS_SRCS:=
ifeq ($(HOST_OS),linux)
OS_SRCS = NativeLinuxSubWindow.cpp
LOCAL_LDLIBS += -lX11
endif
ifeq ($(HOST_OS),darwin)
OS_SRCS = NativeMacSubWindow.m
LOCAL_LDLIBS += -Wl,-framework,AppKit
endif
ifeq ($(HOST_OS),windows)
OS_SRCS = NativeWindowsSubWindow.cpp
endif
LOCAL_SRC_FILES := \
$(OS_SRCS) \
render_api.cpp \
ColorBuffer.cpp \
EGLDispatch.cpp \
FBConfig.cpp \
FrameBuffer.cpp \
GLDispatch.cpp \
GL2Dispatch.cpp \
RenderContext.cpp \
WindowSurface.cpp \
RenderControl.cpp \
ThreadInfo.cpp \
RenderThread.cpp \
ReadBuffer.cpp \
RenderServer.cpp
$(call emugl-export,C_INCLUDES,$(EMUGL_PATH)/host/include)
# use Translator's egl/gles headers
LOCAL_C_INCLUDES += $(EMUGL_PATH)/host/libs/Translator/include
LOCAL_STATIC_LIBRARIES += libutils liblog
$(call emugl-end-module)
endif # HOST_OS != darwin