2010-03-01 10:56:18 +03:00
|
|
|
#
|
2012-05-21 15:12:37 +04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2010-03-01 10:56:18 +03:00
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
2010-03-14 20:30:40 +03:00
|
|
|
VPATH = \
|
|
|
|
$(srcdir) \
|
|
|
|
$(srcdir)/basic \
|
2010-03-30 08:48:52 +04:00
|
|
|
$(srcdir)/opengl \
|
2010-05-24 19:28:51 +04:00
|
|
|
$(srcdir)/d3d9 \
|
2010-10-01 02:53:51 +04:00
|
|
|
$(srcdir)/d3d10 \
|
2011-04-03 06:14:00 +04:00
|
|
|
$(srcdir)/ipc \
|
2010-03-14 20:30:40 +03:00
|
|
|
$(NULL)
|
2010-03-01 10:56:18 +03:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2010-04-29 00:43:52 +04:00
|
|
|
MODULE = thebes
|
2010-03-01 10:56:18 +03:00
|
|
|
LIBRARY_NAME = layers
|
|
|
|
LIBXUL_LIBRARY = 1
|
2010-04-29 00:43:52 +04:00
|
|
|
FORCE_STATIC_LIB = 1
|
2010-03-01 10:56:18 +03:00
|
|
|
|
2010-03-01 13:46:37 +03:00
|
|
|
DEFINES += -DIMPL_THEBES
|
2010-05-24 19:28:51 +04:00
|
|
|
ifdef MOZ_DEBUG
|
|
|
|
DEFINES += -DD3D_DEBUG_INFO
|
|
|
|
endif
|
2010-03-01 13:46:37 +03:00
|
|
|
|
2010-03-01 10:56:18 +03:00
|
|
|
EXPORTS = \
|
2010-03-01 10:56:18 +03:00
|
|
|
BasicLayers.h \
|
2012-04-17 03:04:24 +04:00
|
|
|
BasicTiledThebesLayer.h \
|
|
|
|
BasicImplData.h \
|
2010-03-02 02:09:35 +03:00
|
|
|
ImageLayers.h \
|
|
|
|
Layers.h \
|
2012-03-27 02:13:34 +04:00
|
|
|
LayerManagerOGLShaders.h \
|
2010-03-30 08:48:52 +04:00
|
|
|
LayerManagerOGL.h \
|
2010-05-25 10:35:35 +04:00
|
|
|
LayerManagerOGLProgram.h \
|
2011-02-17 01:43:30 +03:00
|
|
|
ReadbackLayer.h \
|
2011-10-07 01:23:18 +04:00
|
|
|
LayerSorter.h \
|
2010-03-01 10:56:18 +03:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPPSRCS = \
|
2010-03-02 02:09:35 +03:00
|
|
|
BasicImages.cpp \
|
2010-03-01 10:56:18 +03:00
|
|
|
BasicLayers.cpp \
|
2012-04-17 03:02:45 +04:00
|
|
|
BasicTiledThebesLayer.cpp \
|
2011-02-17 01:43:30 +03:00
|
|
|
Layers.cpp \
|
2012-02-18 02:05:03 +04:00
|
|
|
RenderTrace.cpp \
|
2011-02-17 01:43:30 +03:00
|
|
|
ReadbackProcessor.cpp \
|
2010-03-04 00:37:04 +03:00
|
|
|
ThebesLayerBuffer.cpp \
|
|
|
|
CanvasLayerOGL.cpp \
|
2010-05-13 04:56:11 +04:00
|
|
|
ColorLayerOGL.cpp \
|
2010-03-30 08:48:52 +04:00
|
|
|
ContainerLayerOGL.cpp \
|
|
|
|
ImageLayerOGL.cpp \
|
2010-03-04 00:37:04 +03:00
|
|
|
LayerManagerOGL.cpp \
|
|
|
|
ThebesLayerOGL.cpp \
|
2012-04-17 03:04:24 +04:00
|
|
|
TiledThebesLayerOGL.cpp \
|
2012-04-25 06:48:33 +04:00
|
|
|
ReusableTileStoreOGL.cpp \
|
2012-03-19 00:07:25 +04:00
|
|
|
LayerManagerOGLProgram.cpp \
|
2011-10-07 01:23:18 +04:00
|
|
|
LayerSorter.cpp \
|
2012-02-01 06:18:30 +04:00
|
|
|
ImageLayers.cpp \
|
2010-03-01 10:56:18 +03:00
|
|
|
$(NULL)
|
2010-03-04 00:37:04 +03:00
|
|
|
|
2010-05-24 19:28:51 +04:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
|
2010-06-06 14:37:44 +04:00
|
|
|
ifdef MOZ_ENABLE_D3D9_LAYER
|
2010-08-11 03:32:45 +04:00
|
|
|
EXPORTS += \
|
|
|
|
LayerManagerD3D9.h \
|
|
|
|
DeviceManagerD3D9.h \
|
|
|
|
$(NULL)
|
2010-05-24 19:28:51 +04:00
|
|
|
|
|
|
|
CPPSRCS += \
|
|
|
|
LayerManagerD3D9.cpp \
|
|
|
|
ThebesLayerD3D9.cpp \
|
|
|
|
ContainerLayerD3D9.cpp \
|
|
|
|
ImageLayerD3D9.cpp \
|
|
|
|
ColorLayerD3D9.cpp \
|
|
|
|
CanvasLayerD3D9.cpp \
|
2011-07-04 17:15:05 +04:00
|
|
|
ShadowBufferD3D9.cpp \
|
2010-08-11 03:32:45 +04:00
|
|
|
DeviceManagerD3D9.cpp \
|
2010-08-27 00:44:53 +04:00
|
|
|
Nv3DVUtils.cpp \
|
2010-05-24 19:28:51 +04:00
|
|
|
$(NULL)
|
2010-10-01 02:53:51 +04:00
|
|
|
endif
|
|
|
|
ifdef MOZ_ENABLE_D3D10_LAYER
|
|
|
|
EXPORTS += \
|
|
|
|
LayerManagerD3D10.h \
|
2011-02-05 05:30:00 +03:00
|
|
|
ReadbackManagerD3D10.h \
|
2010-10-01 02:53:51 +04:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPPSRCS += \
|
2011-08-09 23:38:26 +04:00
|
|
|
CanvasLayerD3D10.cpp \
|
|
|
|
ColorLayerD3D10.cpp \
|
2010-10-01 02:53:51 +04:00
|
|
|
ContainerLayerD3D10.cpp \
|
|
|
|
ImageLayerD3D10.cpp \
|
2011-08-09 23:38:26 +04:00
|
|
|
LayerManagerD3D10.cpp \
|
2011-02-05 05:30:00 +03:00
|
|
|
ReadbackManagerD3D10.cpp \
|
2011-08-09 23:38:26 +04:00
|
|
|
ShadowLayerUtilsD3D10.cpp \
|
|
|
|
ThebesLayerD3D10.cpp \
|
2010-10-01 02:53:51 +04:00
|
|
|
$(NULL)
|
2010-05-24 19:28:51 +04:00
|
|
|
endif
|
|
|
|
endif
|
2010-03-01 10:56:18 +03:00
|
|
|
|
2012-01-03 23:36:00 +04:00
|
|
|
EXPORTS_NAMESPACES = gfxipc mozilla/layers
|
|
|
|
EXPORTS_gfxipc = ShadowLayerUtils.h
|
2010-07-22 01:17:33 +04:00
|
|
|
EXPORTS_mozilla/layers =\
|
2012-01-19 18:45:37 +04:00
|
|
|
CompositorCocoaWidgetHelper.h \
|
|
|
|
CompositorChild.h \
|
|
|
|
CompositorParent.h \
|
2010-07-22 01:17:33 +04:00
|
|
|
ShadowLayers.h \
|
2010-08-21 03:24:41 +04:00
|
|
|
ShadowLayersChild.h \
|
|
|
|
ShadowLayersParent.h \
|
2012-01-19 18:45:37 +04:00
|
|
|
ShadowLayersManager.h \
|
2012-02-27 23:31:29 +04:00
|
|
|
RenderTrace.h \
|
2010-07-22 01:17:33 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2010-07-22 01:17:33 +04:00
|
|
|
CPPSRCS += \
|
2012-01-19 18:45:37 +04:00
|
|
|
CompositorCocoaWidgetHelper.cpp \
|
|
|
|
CompositorChild.cpp \
|
|
|
|
CompositorParent.cpp \
|
2010-07-22 01:17:33 +04:00
|
|
|
ShadowLayers.cpp \
|
2010-08-21 03:24:41 +04:00
|
|
|
ShadowLayerChild.cpp \
|
|
|
|
ShadowLayersChild.cpp \
|
2010-07-22 01:17:33 +04:00
|
|
|
ShadowLayerParent.cpp \
|
|
|
|
ShadowLayersParent.cpp \
|
2010-07-22 01:17:33 +04:00
|
|
|
$(NULL)
|
2010-09-14 09:23:08 +04:00
|
|
|
|
|
|
|
ifdef MOZ_X11 #{
|
|
|
|
EXPORTS_mozilla/layers += ShadowLayerUtilsX11.h
|
|
|
|
CPPSRCS += ShadowLayerUtilsX11.cpp
|
|
|
|
endif #}
|
|
|
|
|
2011-08-09 23:38:26 +04:00
|
|
|
ifdef MOZ_ENABLE_D3D10_LAYER
|
|
|
|
EXPORTS_mozilla/layers += ShadowLayerUtilsD3D10.h
|
|
|
|
DEFINES += -DMOZ_ENABLE_D3D10_LAYER
|
|
|
|
endif
|
|
|
|
|
2010-03-01 10:56:18 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2010-03-02 02:09:35 +03:00
|
|
|
|
2010-07-22 01:17:33 +04:00
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
|
|
|
|
2012-05-26 10:44:00 +04:00
|
|
|
CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS) $(TK_CFLAGS)
|