gecko-dev/gfx/layers/Makefile.in
Bas Schouten 839048be74 Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.

Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00

272 lines
7.0 KiB
Makefile

#
# 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/.
DEPTH = @DEPTH@
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = \
$(srcdir) \
$(srcdir)/basic \
$(srcdir)/client \
$(srcdir)/composite \
$(srcdir)/opengl \
$(srcdir)/d3d9 \
$(srcdir)/d3d10 \
$(srcdir)/ipc \
$(NULL)
include $(DEPTH)/config/autoconf.mk
LIBRARY_NAME = layers
LIBXUL_LIBRARY = 1
FORCE_STATIC_LIB = 1
DEFINES += -DIMPL_THEBES
ifdef MOZ_DEBUG
DEFINES += -DD3D_DEBUG_INFO
endif
EXPORTS = \
BasicCanvasLayer.h \
BasicImplData.h \
BasicLayers.h \
BasicLayersImpl.h \
BasicTiledThebesLayer.h \
BasicThebesLayer.h \
CompositableHost.h \
LayerManagerComposite.h \
Composer2D.h \
GonkIOSurfaceImage.h \
FrameMetrics.h \
CompositorChild.h \
CompositorParent.h \
ImageContainer.h \
ImageLayers.h \
ImageLayerOGL.h \
ImageHost.h \
ImageTypes.h \
Layers.h \
LayersLogging.h \
LayerManagerOGLShaders.h \
LayerManagerOGL.h \
LayerManagerOGLProgram.h \
LayerSorter.h \
LayerTreeInvalidation.h \
ReadbackLayer.h \
ShadowLayersManager.h \
SharedTextureImage.h \
TexturePoolOGL.h \
ShmemYCbCrImage.h \
$(NULL)
CPPSRCS = \
BasicImages.cpp \
BasicLayerManager.cpp \
BasicCanvasLayer.cpp \
BasicColorLayer.cpp \
BasicContainerLayer.cpp \
BasicImageLayer.cpp \
BasicLayersImpl.cpp \
BasicThebesLayer.cpp \
BasicTiledThebesLayer.cpp \
CompositableHost.cpp \
CompositableTransactionParent.cpp \
ImageContainer.cpp \
Layers.cpp \
LayersLogging.cpp \
RenderTrace.cpp \
ReadbackProcessor.cpp \
ThebesLayerBuffer.cpp \
CanvasLayerOGL.cpp \
ColorLayerOGL.cpp \
ContainerLayerOGL.cpp \
ImageLayerOGL.cpp \
LayerManagerOGL.cpp \
ThebesLayerOGL.cpp \
LayerManagerOGLProgram.cpp \
CanvasLayerComposite.cpp \
ColorLayerComposite.cpp \
ContainerLayerComposite.cpp \
ImageLayerComposite.cpp \
LayerManagerComposite.cpp \
ThebesLayerComposite.cpp \
LayerSorter.cpp \
LayerTreeInvalidation.cpp \
ImageLayers.cpp \
TexturePoolOGL.cpp \
$(NULL)
GTEST_CPPSRCS = \
TestTiledLayerBuffer.cpp \
$(NULL)
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
ifdef MOZ_ENABLE_D3D9_LAYER
EXPORTS += \
LayerManagerD3D9.h \
DeviceManagerD3D9.h \
$(NULL)
CPPSRCS += \
LayerManagerD3D9.cpp \
ThebesLayerD3D9.cpp \
ContainerLayerD3D9.cpp \
ImageLayerD3D9.cpp \
ColorLayerD3D9.cpp \
CanvasLayerD3D9.cpp \
DeviceManagerD3D9.cpp \
Nv3DVUtils.cpp \
$(NULL)
endif
ifdef MOZ_ENABLE_D3D10_LAYER
EXPORTS += \
LayerManagerD3D10.h \
ReadbackManagerD3D10.h \
$(NULL)
CPPSRCS += \
CanvasLayerD3D10.cpp \
ColorLayerD3D10.cpp \
ContainerLayerD3D10.cpp \
ImageLayerD3D10.cpp \
LayerManagerD3D10.cpp \
ReadbackManagerD3D10.cpp \
ShadowLayerUtilsD3D10.cpp \
ThebesLayerD3D10.cpp \
$(NULL)
endif
endif
EXPORTS_NAMESPACES = gfxipc mozilla/layers
EXPORTS_gfxipc = ShadowLayerUtils.h
EXPORTS_mozilla/layers =\
AsyncPanZoomController.h \
Axis.h \
CanvasClient.h \
CompositableClient.h \
CompositableTransactionParent.h \
Compositor.h \
CompositorOGL.h \
CompositorTypes.h \
ContentHost.h \
CompositingRenderTargetOGL.h \
CompositorCocoaWidgetHelper.h \
CompositorChild.h \
CompositorParent.h \
CompositableForwarder.h \
ContentClient.h \
Effects.h \
GeckoContentController.h \
GestureEventListener.h \
ImageBridgeChild.h \
ImageBridgeParent.h \
ImageClient.h \
ImageHost.h \
ISurfaceAllocator.h \
LayersTypes.h \
ShadowLayers.h \
ShadowLayersChild.h \
ShadowLayersParent.h \
ShadowLayersManager.h \
RenderTrace.h \
SharedRGBImage.h \
SharedPlanarYCbCrImage.h \
ShmemYCbCrImage.h \
TaskThrottler.h \
TextureChild.h \
TextureClient.h \
TextureHost.h \
TextureClientOGL.h \
TextureHostOGL.h \
TextureParent.h \
TiledContentClient.h \
$(NULL)
CPPSRCS += \
AsyncPanZoomController.cpp \
Axis.cpp \
CanvasClient.cpp \
CompositableClient.cpp \
Compositor.cpp \
CompositorOGL.cpp \
CompositorCocoaWidgetHelper.cpp \
CompositorChild.cpp \
CompositorParent.cpp \
ContentClient.cpp \
ContentHost.cpp \
Effects.cpp \
GestureEventListener.cpp \
ImageBridgeChild.cpp \
ImageBridgeParent.cpp \
ShadowLayers.cpp \
ShadowLayerChild.cpp \
ShadowLayersChild.cpp \
ShadowLayerParent.cpp \
ShadowLayersParent.cpp \
SharedPlanarYCbCrImage.cpp \
ShmemYCbCrImage.cpp \
SharedRGBImage.cpp \
TaskThrottler.cpp \
ImageClient.cpp \
ImageHost.cpp \
ISurfaceAllocator.cpp \
TextureClient.cpp \
TextureClientOGL.cpp \
TextureHostOGL.cpp \
TextureChild.cpp \
TextureHost.cpp \
TextureParent.cpp \
TiledContentClient.cpp \
TiledContentHost.cpp \
$(NULL)
ifdef MOZ_X11 #{
EXPORTS_mozilla/layers += ShadowLayerUtilsX11.h
CPPSRCS += ShadowLayerUtilsX11.cpp
endif #}
ifdef MOZ_ENABLE_D3D10_LAYER
EXPORTS_mozilla/layers += \
ShadowLayerUtilsD3D10.h \
$(NULL)
DEFINES += -DMOZ_ENABLE_D3D10_LAYER
endif
ifeq ($(MOZ_WIDGET_TOOLKIT),cocoa)
CPPSRCS += ShadowLayerUtilsMac.cpp
endif
# NB: Gralloc is available on other platforms that use the android GL
# libraries, but only Gonk is able to use it reliably because Gecko
# has full system permissions there.
ifeq ($(MOZ_WIDGET_TOOLKIT),gonk)
EXPORTS_mozilla/layers += ShadowLayerUtilsGralloc.h
CPPSRCS += \
ShadowLayerUtilsGralloc.cpp \
GrallocImages.cpp \
GonkIOSurfaceImage.cpp \
$(NULL)
endif
include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk
LOCAL_INCLUDES += \
-I$(topsrcdir)/content/events/src \
-I$(ANDROID_SOURCE)/frameworks/base/include/media/stagefright \
-I$(ANDROID_SOURCE)/frameworks/base/include/media/stagefright/openmax \
$(NULL)
CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS) $(TK_CFLAGS)
ifdef _MSC_VER
ifeq ($(CPU_ARCH),x86_64)
# Workaround compiler bug (Bug 795594)
LayerTreeInvalidation.$(OBJ_SUFFIX): CXXFLAGS += -GL-
Layers.$(OBJ_SUFFIX): CXXFLAGS += -GL-
endif
endif