2ff4100849
This is the first patch to implement a fbo/tex pool mechanism which is like the sna's BO cache list. We firstly need to decopule the fbo/tex from each pixmap. The new glamor_pixmap_fbo data structure is for that purpose. It's somehow independent to each pixmap and can be reused latter by other pixmaps once it's detached from the current pixmap. And this commit also slightly change the way to create a memory pixmap. We will not create a pixmap private data structure by default, instead we will crete that structure when a memory pixmap is attaching a fbo to it. Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
63 lines
1.4 KiB
Makefile
63 lines
1.4 KiB
Makefile
inst_LTLIBRARIES = libglamor.la
|
|
|
|
# Override these since glamor doesn't need them and the needed files aren't
|
|
# built (in hw/xfree86/os-support/solaris) until after glamor is built
|
|
SOLARIS_ASM_CFLAGS=""
|
|
|
|
if GLAMOR_GLES2
|
|
libglamor_la_LIBADD = $(GLESV2_LIBS)
|
|
else
|
|
libglamor_la_LIBADD = $(GL_LIBS)
|
|
endif
|
|
|
|
instdir = $(moduledir)
|
|
|
|
INCLUDES = \
|
|
$(XORG_INCS)
|
|
|
|
AM_CFLAGS = $(XORG_CFLAGS) $(DIX_CFLAGS) $(LIBDRM_CFLAGS)
|
|
|
|
libglamor_la_LDFLAGS = -avoid-version
|
|
|
|
libglamor_la_SOURCES = \
|
|
glamor.c \
|
|
glamor_copyarea.c \
|
|
glamor_copywindow.c \
|
|
glamor_core.c \
|
|
glamor_fill.c \
|
|
glamor_fillspans.c \
|
|
glamor_getspans.c \
|
|
glamor_glyphs.c \
|
|
glamor_polyfillrect.c \
|
|
glamor_polylines.c \
|
|
glamor_putimage.c \
|
|
glamor_setspans.c \
|
|
glamor_render.c \
|
|
glamor_tile.c \
|
|
glamor_triangles.c\
|
|
glamor_addtraps.c\
|
|
glamor_getimage.c\
|
|
glamor_copyplane.c\
|
|
glamor_glyphblt.c\
|
|
glamor_polyops.c\
|
|
glamor_pixmap.c\
|
|
glamor_picture.c\
|
|
glamor_window.c\
|
|
glamor_gl_dispatch.c\
|
|
glamor_fbo.c\
|
|
glamor.h
|
|
|
|
sdk_HEADERS = glamor.h
|
|
|
|
if EGL
|
|
LIBGLAMOR_EGL = libglamor_egl.la
|
|
module_LTLIBRARIES = $(LIBGLAMOR_EGL)
|
|
libglamor_egl_la_DEPENDENCIES = libglamor.la
|
|
libglamor_egl_la_LDFLAGS = -avoid-version -module $(EGL_LIBS) -lglamor
|
|
#libglamor_egl_la_LIBADD = $(top_builddir)/src/libglamor.la
|
|
libglamor_egl_la_SOURCES = glamor_eglmodule.c $(top_srcdir)/src/glamor_egl.c
|
|
libglamor_egl_la_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/src $(LIBDRM_CFLAGS) $(EGL_CFLAGS)
|
|
endif
|
|
|
|
|