2
# This Source Code Form is subject to the terms of the Mozilla Public
3
# License, v. 2.0. If a copy of the MPL was not distributed with this
4
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
topsrcdir = @top_srcdir@
18
include $(DEPTH)/config/autoconf.mk
25
DEFINES += -DIMPL_THEBES
27
DEFINES += -DD3D_DEBUG_INFO
32
BasicTiledThebesLayer.h \
34
GonkIOSurfaceImage.h \
43
LayerManagerOGLShaders.h \
45
LayerManagerOGLProgram.h \
48
ShadowLayersManager.h \
49
SharedTextureImage.h \
55
BasicLayerManager.cpp \
56
BasicCanvasLayer.cpp \
58
BasicContainerLayer.cpp \
61
BasicThebesLayer.cpp \
63
BasicTiledThebesLayer.cpp \
67
ReadbackProcessor.cpp \
68
ThebesLayerBuffer.cpp \
71
ContainerLayerOGL.cpp \
75
TiledThebesLayerOGL.cpp \
76
ReusableTileStoreOGL.cpp \
77
LayerManagerOGLProgram.cpp \
83
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
84
ifdef MOZ_ENABLE_D3D9_LAYER
91
LayerManagerD3D9.cpp \
93
ContainerLayerD3D9.cpp \
97
ShadowBufferD3D9.cpp \
98
DeviceManagerD3D9.cpp \
102
ifdef MOZ_ENABLE_D3D10_LAYER
104
LayerManagerD3D10.h \
105
ReadbackManagerD3D10.h \
109
CanvasLayerD3D10.cpp \
110
ColorLayerD3D10.cpp \
111
ContainerLayerD3D10.cpp \
112
ImageLayerD3D10.cpp \
113
LayerManagerD3D10.cpp \
114
ReadbackManagerD3D10.cpp \
115
ShadowLayerUtilsD3D10.cpp \
116
ThebesLayerD3D10.cpp \
121
EXPORTS_NAMESPACES = gfxipc mozilla/layers
122
EXPORTS_gfxipc = ShadowLayerUtils.h
123
EXPORTS_mozilla/layers =\
124
AsyncPanZoomController.h \
126
CompositorCocoaWidgetHelper.h \
129
GeckoContentController.h \
130
GestureEventListener.h \
132
ImageBridgeParent.h \
133
ImageContainerChild.h \
134
ImageContainerParent.h \
136
ShadowLayersChild.h \
137
ShadowLayersParent.h \
138
ShadowLayersManager.h \
144
AsyncPanZoomController.cpp \
146
CompositorCocoaWidgetHelper.cpp \
147
CompositorChild.cpp \
148
CompositorParent.cpp \
149
GestureEventListener.cpp \
150
ImageBridgeChild.cpp \
151
ImageBridgeParent.cpp \
152
ImageContainerChild.cpp \
153
ImageContainerParent.cpp \
155
ShadowLayerChild.cpp \
156
ShadowLayersChild.cpp \
157
ShadowLayerParent.cpp \
158
ShadowLayersParent.cpp \
162
EXPORTS_mozilla/layers += ShadowLayerUtilsX11.h
163
CPPSRCS += ShadowLayerUtilsX11.cpp
166
ifdef MOZ_ENABLE_D3D10_LAYER
167
EXPORTS_mozilla/layers += ShadowLayerUtilsD3D10.h
168
DEFINES += -DMOZ_ENABLE_D3D10_LAYER
171
# NB: Gralloc is available on other platforms that use the android GL
172
# libraries, but only Gonk is able to use it reliably because Gecko
173
# has full system permissions there.
174
ifeq ($(MOZ_WIDGET_TOOLKIT),gonk)
175
EXPORTS_mozilla/layers += ShadowLayerUtilsGralloc.h
177
ShadowLayerUtilsGralloc.cpp \
182
include $(topsrcdir)/config/rules.mk
184
include $(topsrcdir)/ipc/chromium/chromium-config.mk
187
-I$(topsrcdir)/content/events/src \
190
CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS) $(TK_CFLAGS)