2016-07-14 19:16:42 +03:00
|
|
|
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-26 00:47:21 +04:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# 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/.
|
|
|
|
|
2015-03-05 14:04:03 +03:00
|
|
|
with Files('apz/**'):
|
|
|
|
BUG_COMPONENT = ('Core', 'Panning and Zooming')
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS += [
|
2013-06-26 22:51:06 +04:00
|
|
|
'basic/BasicCanvasLayer.h',
|
|
|
|
'basic/BasicImplData.h',
|
|
|
|
'basic/BasicLayers.h',
|
|
|
|
'basic/BasicLayersImpl.h',
|
2014-09-26 21:06:08 +04:00
|
|
|
'basic/BasicPaintedLayer.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'client/ClientCanvasLayer.h',
|
|
|
|
'client/ClientContainerLayer.h',
|
|
|
|
'client/ClientLayerManager.h',
|
2014-09-26 21:06:08 +04:00
|
|
|
'client/ClientPaintedLayer.h',
|
|
|
|
'client/ClientTiledPaintedLayer.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'composite/CompositableHost.h',
|
|
|
|
'composite/ImageHost.h',
|
2014-10-08 08:11:54 +04:00
|
|
|
'CompositorTypes.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'D3D9SurfaceImage.h',
|
|
|
|
'FrameMetrics.h',
|
2014-09-17 17:13:29 +04:00
|
|
|
'GLImages.h',
|
2016-09-21 12:24:44 +03:00
|
|
|
'GPUVideoImage.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'ImageContainer.h',
|
|
|
|
'ImageLayers.h',
|
|
|
|
'ImageTypes.h',
|
2015-03-19 00:16:23 +03:00
|
|
|
'IMFYCbCrImage.h',
|
2014-07-04 22:04:12 +04:00
|
|
|
'ipc/ThreadSafeRefcountingWithMainThreadDestruction.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'Layers.h',
|
2013-11-29 08:11:49 +04:00
|
|
|
'LayerScope.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'LayersLogging.h',
|
|
|
|
'LayerSorter.h',
|
2014-10-08 08:11:54 +04:00
|
|
|
'LayersTypes.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'LayerTreeInvalidation.h',
|
2015-10-22 23:04:35 +03:00
|
|
|
'LayerUserData.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'opengl/Composer2D.h',
|
2013-11-27 02:15:17 +04:00
|
|
|
'opengl/OGLShaderProgram.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'opengl/TexturePoolOGL.h',
|
2014-07-28 00:32:00 +04:00
|
|
|
'protobuf/LayerScopePacket.pb.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'ReadbackLayer.h',
|
2013-09-11 02:21:04 +04:00
|
|
|
'TiledLayerBuffer.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
2015-03-31 08:21:15 +03:00
|
|
|
SOURCES += [
|
2015-05-04 15:20:33 +03:00
|
|
|
'D3D11ShareHandleImage.cpp',
|
2015-03-31 08:21:15 +03:00
|
|
|
]
|
2013-11-18 06:07:08 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-04-24 01:54:15 +04:00
|
|
|
'D3D9SurfaceImage.cpp',
|
2015-03-19 00:17:13 +03:00
|
|
|
'IMFYCbCrImage.cpp',
|
2014-07-11 01:29:40 +04:00
|
|
|
'TextureDIB.cpp',
|
|
|
|
]
|
|
|
|
EXPORTS.mozilla.layers += [
|
|
|
|
'TextureDIB.h',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
2013-04-16 23:24:43 +04:00
|
|
|
if CONFIG['MOZ_ENABLE_D3D9_LAYER']:
|
|
|
|
EXPORTS += [
|
2013-06-26 22:51:06 +04:00
|
|
|
'd3d9/DeviceManagerD3D9.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
2013-08-04 11:46:17 +04:00
|
|
|
EXPORTS.mozilla.layers += [
|
2013-09-04 07:28:05 +04:00
|
|
|
'd3d9/CompositorD3D9.h',
|
|
|
|
'd3d9/TextureD3D9.h',
|
2013-08-04 11:46:17 +04:00
|
|
|
]
|
2013-11-18 06:07:08 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-10-24 03:00:23 +04:00
|
|
|
'd3d9/TextureD3D9.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
2013-11-18 06:07:08 +04:00
|
|
|
SOURCES += [
|
|
|
|
'd3d9/CompositorD3D9.cpp',
|
|
|
|
'd3d9/DeviceManagerD3D9.cpp',
|
2014-02-12 13:59:05 +04:00
|
|
|
'd3d9/Nv3DVUtils.cpp',
|
2013-11-18 06:07:08 +04:00
|
|
|
]
|
2013-04-16 23:24:43 +04:00
|
|
|
if CONFIG['MOZ_ENABLE_D3D10_LAYER']:
|
|
|
|
EXPORTS.mozilla.layers += [
|
2013-06-26 22:51:06 +04:00
|
|
|
'd3d11/CompositorD3D11.h',
|
2014-07-30 17:38:46 +04:00
|
|
|
'd3d11/ReadbackManagerD3D11.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'd3d11/TextureD3D11.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
2013-11-18 06:07:08 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2013-10-24 03:00:23 +04:00
|
|
|
'd3d11/TextureD3D11.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
2013-11-18 06:07:08 +04:00
|
|
|
SOURCES += [
|
|
|
|
'd3d11/CompositorD3D11.cpp',
|
2014-07-30 17:38:46 +04:00
|
|
|
'd3d11/ReadbackManagerD3D11.cpp',
|
2014-10-08 08:11:54 +04:00
|
|
|
]
|
2013-04-16 23:24:43 +04:00
|
|
|
|
|
|
|
EXPORTS.gfxipc += [
|
2013-06-26 22:51:06 +04:00
|
|
|
'ipc/ShadowLayerUtils.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
2016-01-23 04:27:28 +03:00
|
|
|
EXPORTS.mozilla.dom += [
|
|
|
|
'apz/util/CheckerboardReportService.h',
|
|
|
|
]
|
|
|
|
|
2013-04-16 23:24:43 +04:00
|
|
|
EXPORTS.mozilla.layers += [
|
2016-10-24 22:12:53 +03:00
|
|
|
'apz/public/CompositorController.h',
|
2014-04-17 15:54:25 +04:00
|
|
|
'apz/public/GeckoContentController.h',
|
2016-07-20 14:37:00 +03:00
|
|
|
'apz/public/IAPZCTreeManager.h',
|
2016-10-24 22:12:55 +03:00
|
|
|
'apz/public/MetricsSharingController.h',
|
2014-04-17 15:54:25 +04:00
|
|
|
# exporting things from apz/src is temporary until we extract a
|
|
|
|
# proper interface for the code there
|
|
|
|
'apz/src/APZCTreeManager.h',
|
2015-01-08 17:40:01 +03:00
|
|
|
'apz/src/APZUtils.h',
|
2015-09-28 21:43:50 +03:00
|
|
|
'apz/src/AsyncDragMetrics.h',
|
2015-04-02 09:17:08 +03:00
|
|
|
'apz/src/AsyncPanZoomAnimation.h',
|
2015-08-25 14:50:01 +03:00
|
|
|
'apz/src/TouchCounter.h',
|
2014-05-08 04:39:35 +04:00
|
|
|
'apz/testutil/APZTestData.h',
|
2014-04-17 15:54:25 +04:00
|
|
|
'apz/util/ActiveElementManager.h',
|
|
|
|
'apz/util/APZCCallbackHelper.h',
|
2015-02-09 22:05:18 +03:00
|
|
|
'apz/util/APZEventState.h',
|
2015-02-10 16:24:23 +03:00
|
|
|
'apz/util/APZThreadUtils.h',
|
2014-12-15 12:49:48 +03:00
|
|
|
'apz/util/ChromeProcessController.h',
|
2016-08-11 02:51:45 +03:00
|
|
|
'apz/util/ContentProcessController.h',
|
2015-07-27 21:07:58 +03:00
|
|
|
'apz/util/DoubleTapToZoom.h',
|
2014-12-16 10:28:19 +03:00
|
|
|
'apz/util/InputAPZContext.h',
|
2016-02-16 22:17:35 +03:00
|
|
|
'apz/util/ScrollInputMethods.h',
|
2015-12-14 22:47:24 +03:00
|
|
|
'apz/util/ScrollLinkedEffectDetector.h',
|
2016-05-27 23:46:25 +03:00
|
|
|
'apz/util/TouchActionHelper.h',
|
2015-10-12 06:21:02 +03:00
|
|
|
'AsyncCanvasRenderer.h',
|
2013-12-12 05:45:11 +04:00
|
|
|
'AtomicRefCountedWithFinalize.h',
|
2014-07-09 21:02:29 +04:00
|
|
|
'AxisPhysicsModel.h',
|
|
|
|
'AxisPhysicsMSDModel.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'basic/BasicCompositor.h',
|
2013-12-04 04:20:04 +04:00
|
|
|
'basic/MacIOSurfaceTextureHostBasic.h',
|
|
|
|
'basic/TextureHostBasic.h',
|
2016-08-11 00:30:29 +03:00
|
|
|
'BSPTree.h',
|
2015-10-15 18:53:33 +03:00
|
|
|
'BufferTexture.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'client/CanvasClient.h',
|
2016-09-03 02:07:56 +03:00
|
|
|
'client/CompositableChild.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'client/CompositableClient.h',
|
|
|
|
'client/ContentClient.h',
|
2016-09-21 12:24:44 +03:00
|
|
|
'client/GPUVideoTextureClient.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'client/ImageClient.h',
|
2015-07-29 19:02:40 +03:00
|
|
|
'client/SingleTiledContentClient.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'client/TextureClient.h',
|
2014-03-08 01:34:04 +04:00
|
|
|
'client/TextureClientPool.h',
|
2014-11-13 18:53:49 +03:00
|
|
|
'client/TextureClientRecycleAllocator.h',
|
2015-06-05 03:15:38 +03:00
|
|
|
'client/TextureClientSharedSurface.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'client/TiledContentClient.h',
|
|
|
|
'composite/AsyncCompositionManager.h',
|
|
|
|
'composite/CanvasLayerComposite.h',
|
|
|
|
'composite/ColorLayerComposite.h',
|
|
|
|
'composite/ContainerLayerComposite.h',
|
|
|
|
'composite/ContentHost.h',
|
2015-06-08 19:53:41 +03:00
|
|
|
'composite/FrameUniformityData.h',
|
2016-09-21 12:24:44 +03:00
|
|
|
'composite/GPUVideoTextureHost.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'composite/ImageHost.h',
|
|
|
|
'composite/ImageLayerComposite.h',
|
|
|
|
'composite/LayerManagerComposite.h',
|
2014-09-26 21:06:08 +04:00
|
|
|
'composite/PaintedLayerComposite.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'composite/TextureHost.h',
|
2015-07-01 14:51:03 +03:00
|
|
|
'composite/TiledContentHost.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'Compositor.h',
|
|
|
|
'CompositorTypes.h',
|
2015-03-31 08:21:15 +03:00
|
|
|
'D3D11ShareHandleImage.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'D3D9SurfaceImage.h',
|
|
|
|
'Effects.h',
|
|
|
|
'ImageDataSerializer.h',
|
2016-01-08 22:17:39 +03:00
|
|
|
'ipc/APZChild.h',
|
2016-07-20 14:37:00 +03:00
|
|
|
'ipc/APZCTreeManagerChild.h',
|
|
|
|
'ipc/APZCTreeManagerParent.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'ipc/CompositableForwarder.h',
|
|
|
|
'ipc/CompositableTransactionParent.h',
|
2016-03-22 21:08:38 +03:00
|
|
|
'ipc/CompositorBridgeChild.h',
|
|
|
|
'ipc/CompositorBridgeParent.h',
|
2016-05-16 09:38:34 +03:00
|
|
|
'ipc/CompositorThread.h',
|
2016-11-18 13:37:04 +03:00
|
|
|
'ipc/CompositorVsyncScheduler.h',
|
2016-11-21 04:14:32 +03:00
|
|
|
'ipc/CompositorVsyncSchedulerOwner.h',
|
2016-11-10 21:05:06 +03:00
|
|
|
'ipc/CrossProcessCompositorBridgeParent.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'ipc/ImageBridgeChild.h',
|
|
|
|
'ipc/ImageBridgeParent.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'ipc/ISurfaceAllocator.h',
|
2016-10-07 11:13:32 +03:00
|
|
|
'ipc/KnowsCompositor.h',
|
2016-01-29 16:44:00 +03:00
|
|
|
'ipc/LayerAnimationUtils.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'ipc/LayerTransactionChild.h',
|
|
|
|
'ipc/LayerTransactionParent.h',
|
2016-08-16 23:59:13 +03:00
|
|
|
'ipc/LayerTreeOwnerTracker.h',
|
2016-01-08 22:17:39 +03:00
|
|
|
'ipc/RemoteContentController.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'ipc/ShadowLayers.h',
|
|
|
|
'ipc/SharedPlanarYCbCrImage.h',
|
|
|
|
'ipc/SharedRGBImage.h',
|
2016-11-04 03:28:28 +03:00
|
|
|
'ipc/SynchronousTask.h',
|
2016-05-13 01:00:04 +03:00
|
|
|
'ipc/TextureForwarder.h',
|
2016-09-23 00:44:26 +03:00
|
|
|
'ipc/VideoBridgeChild.h',
|
|
|
|
'ipc/VideoBridgeParent.h',
|
2014-08-28 06:13:41 +04:00
|
|
|
'LayerMetricsWrapper.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'LayersTypes.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'opengl/CompositingRenderTargetOGL.h',
|
|
|
|
'opengl/CompositorOGL.h',
|
2013-11-18 06:04:38 +04:00
|
|
|
'opengl/MacIOSurfaceTextureClientOGL.h',
|
|
|
|
'opengl/MacIOSurfaceTextureHostOGL.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'opengl/TextureClientOGL.h',
|
|
|
|
'opengl/TextureHostOGL.h',
|
2015-06-19 02:07:21 +03:00
|
|
|
'PersistentBufferProvider.h',
|
2013-10-24 03:05:43 +04:00
|
|
|
'RenderTrace.h',
|
2015-12-02 22:31:17 +03:00
|
|
|
'TextureWrapperImage.h',
|
2014-05-29 01:42:17 +04:00
|
|
|
'TransactionIdAllocator.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
|
|
|
|
|
|
|
if CONFIG['MOZ_X11']:
|
|
|
|
EXPORTS.mozilla.layers += [
|
2014-02-05 20:39:02 +04:00
|
|
|
'basic/TextureClientX11.h',
|
2014-02-18 04:30:05 +04:00
|
|
|
'basic/X11TextureSourceBasic.h',
|
|
|
|
'composite/X11TextureHost.h',
|
2013-06-26 22:51:06 +04:00
|
|
|
'ipc/ShadowLayerUtilsX11.h',
|
2014-02-18 04:30:05 +04:00
|
|
|
'opengl/X11TextureSourceOGL.h',
|
2013-04-16 23:24:43 +04:00
|
|
|
]
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2014-02-05 20:39:02 +04:00
|
|
|
'basic/TextureClientX11.cpp',
|
2014-07-23 03:02:25 +04:00
|
|
|
'basic/X11BasicCompositor.cpp',
|
2014-02-18 04:30:05 +04:00
|
|
|
'basic/X11TextureSourceBasic.cpp',
|
|
|
|
'composite/X11TextureHost.cpp',
|
|
|
|
'ipc/ShadowLayerUtilsX11.cpp',
|
2014-02-18 04:30:05 +04:00
|
|
|
'opengl/X11TextureSourceOGL.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
2013-04-16 23:24:43 +04:00
|
|
|
|
2013-04-21 10:41:06 +04:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
EXPORTS.mozilla.layers += [
|
2013-06-26 22:51:06 +04:00
|
|
|
'opengl/GLManager.h',
|
2013-04-21 10:41:06 +04:00
|
|
|
]
|
2013-11-01 05:54:14 +04:00
|
|
|
EXPORTS += [
|
2016-01-22 01:38:53 +03:00
|
|
|
'MacIOSurfaceHelpers.h',
|
2013-11-01 05:54:14 +04:00
|
|
|
'MacIOSurfaceImage.h',
|
|
|
|
]
|
2013-11-18 06:07:08 +04:00
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'opengl/GLManager.cpp',
|
|
|
|
]
|
2013-10-25 03:23:05 +04:00
|
|
|
SOURCES += [
|
2013-10-03 11:10:01 +04:00
|
|
|
'ipc/ShadowLayerUtilsMac.cpp',
|
2016-01-22 01:38:53 +03:00
|
|
|
'MacIOSurfaceHelpers.cpp',
|
2013-11-01 05:54:14 +04:00
|
|
|
'MacIOSurfaceImage.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
2013-04-21 10:41:06 +04:00
|
|
|
|
2016-08-06 00:38:51 +03:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
|
2016-05-03 22:04:06 +03:00
|
|
|
UNIFIED_SOURCES += [
|
2016-05-17 01:53:23 +03:00
|
|
|
'apz/src/AndroidAPZ.cpp',
|
2016-05-03 22:04:06 +03:00
|
|
|
]
|
|
|
|
|
2013-11-18 06:07:08 +04:00
|
|
|
UNIFIED_SOURCES += [
|
2016-07-20 14:37:00 +03:00
|
|
|
'apz/public/IAPZCTreeManager.cpp',
|
2014-04-17 15:54:25 +04:00
|
|
|
'apz/src/APZCTreeManager.cpp',
|
|
|
|
'apz/src/AsyncPanZoomController.cpp',
|
|
|
|
'apz/src/Axis.cpp',
|
2016-01-16 00:19:58 +03:00
|
|
|
'apz/src/CheckerboardEvent.cpp',
|
2016-03-11 02:25:49 +03:00
|
|
|
'apz/src/DragTracker.cpp',
|
2014-04-17 15:54:25 +04:00
|
|
|
'apz/src/GestureEventListener.cpp',
|
2015-01-08 17:40:01 +03:00
|
|
|
'apz/src/HitTestingTreeNode.cpp',
|
2014-08-19 00:12:11 +04:00
|
|
|
'apz/src/InputBlockState.cpp',
|
2014-10-24 21:29:03 +04:00
|
|
|
'apz/src/InputQueue.cpp',
|
2014-09-23 19:38:05 +04:00
|
|
|
'apz/src/OverscrollHandoffState.cpp',
|
2016-01-21 17:13:47 +03:00
|
|
|
'apz/src/PotentialCheckerboardDurationTracker.cpp',
|
2016-09-14 14:54:36 +03:00
|
|
|
'apz/src/QueuedInput.cpp',
|
2015-08-25 14:50:01 +03:00
|
|
|
'apz/src/TouchCounter.cpp',
|
2015-04-02 09:42:40 +03:00
|
|
|
'apz/src/WheelScrollAnimation.cpp',
|
2014-05-10 01:16:03 +04:00
|
|
|
'apz/testutil/APZTestData.cpp',
|
2014-04-17 15:54:25 +04:00
|
|
|
'apz/util/ActiveElementManager.cpp',
|
|
|
|
'apz/util/APZCCallbackHelper.cpp',
|
2015-02-09 22:05:18 +03:00
|
|
|
'apz/util/APZEventState.cpp',
|
2015-02-10 16:24:23 +03:00
|
|
|
'apz/util/APZThreadUtils.cpp',
|
2016-01-23 04:27:28 +03:00
|
|
|
'apz/util/CheckerboardReportService.cpp',
|
2014-12-15 12:49:48 +03:00
|
|
|
'apz/util/ChromeProcessController.cpp',
|
2016-08-11 02:51:45 +03:00
|
|
|
'apz/util/ContentProcessController.cpp',
|
2015-07-27 21:07:58 +03:00
|
|
|
'apz/util/DoubleTapToZoom.cpp',
|
2014-12-16 10:28:19 +03:00
|
|
|
'apz/util/InputAPZContext.cpp',
|
2015-12-14 22:47:24 +03:00
|
|
|
'apz/util/ScrollLinkedEffectDetector.cpp',
|
2016-05-27 23:46:25 +03:00
|
|
|
'apz/util/TouchActionHelper.cpp',
|
2015-10-12 06:21:02 +03:00
|
|
|
'AsyncCanvasRenderer.cpp',
|
2014-07-09 21:02:29 +04:00
|
|
|
'AxisPhysicsModel.cpp',
|
|
|
|
'AxisPhysicsMSDModel.cpp',
|
2016-11-24 08:11:30 +03:00
|
|
|
'basic/BasicBorderLayer.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'basic/BasicCanvasLayer.cpp',
|
|
|
|
'basic/BasicColorLayer.cpp',
|
|
|
|
'basic/BasicCompositor.cpp',
|
|
|
|
'basic/BasicContainerLayer.cpp',
|
|
|
|
'basic/BasicImages.cpp',
|
|
|
|
'basic/BasicLayerManager.cpp',
|
|
|
|
'basic/BasicLayersImpl.cpp',
|
2014-09-26 21:06:08 +04:00
|
|
|
'basic/BasicPaintedLayer.cpp',
|
2016-11-24 08:11:29 +03:00
|
|
|
'basic/BasicTextLayer.cpp',
|
2013-12-04 04:20:04 +04:00
|
|
|
'basic/TextureHostBasic.cpp',
|
2016-08-11 00:30:29 +03:00
|
|
|
'BSPTree.cpp',
|
2015-10-15 18:53:33 +03:00
|
|
|
'BufferTexture.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'BufferUnrotate.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'client/CanvasClient.cpp',
|
2016-11-24 08:11:30 +03:00
|
|
|
'client/ClientBorderLayer.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'client/ClientCanvasLayer.cpp',
|
|
|
|
'client/ClientColorLayer.cpp',
|
|
|
|
'client/ClientContainerLayer.cpp',
|
|
|
|
'client/ClientImageLayer.cpp',
|
|
|
|
'client/ClientLayerManager.cpp',
|
2014-09-26 21:06:08 +04:00
|
|
|
'client/ClientPaintedLayer.cpp',
|
2016-11-24 08:11:29 +03:00
|
|
|
'client/ClientTextLayer.cpp',
|
2014-09-26 21:06:08 +04:00
|
|
|
'client/ClientTiledPaintedLayer.cpp',
|
2016-09-03 02:07:56 +03:00
|
|
|
'client/CompositableChild.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'client/CompositableClient.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'client/ContentClient.cpp',
|
2016-09-21 12:24:44 +03:00
|
|
|
'client/GPUVideoTextureClient.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'client/ImageClient.cpp',
|
2015-07-29 19:02:40 +03:00
|
|
|
'client/SingleTiledContentClient.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'client/TextureClient.cpp',
|
2014-03-08 01:34:04 +04:00
|
|
|
'client/TextureClientPool.cpp',
|
2014-11-13 18:53:49 +03:00
|
|
|
'client/TextureClientRecycleAllocator.cpp',
|
2015-06-05 03:15:38 +03:00
|
|
|
'client/TextureClientSharedSurface.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'client/TiledContentClient.cpp',
|
|
|
|
'composite/AsyncCompositionManager.cpp',
|
|
|
|
'composite/CanvasLayerComposite.cpp',
|
|
|
|
'composite/ColorLayerComposite.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'composite/CompositableHost.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'composite/ContainerLayerComposite.cpp',
|
|
|
|
'composite/ContentHost.cpp',
|
2014-05-09 17:50:00 +04:00
|
|
|
'composite/FPSCounter.cpp',
|
2015-06-08 19:53:41 +03:00
|
|
|
'composite/FrameUniformityData.cpp',
|
2016-09-21 12:24:44 +03:00
|
|
|
'composite/GPUVideoTextureHost.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'composite/ImageHost.cpp',
|
|
|
|
'composite/ImageLayerComposite.cpp',
|
|
|
|
'composite/LayerManagerComposite.cpp',
|
2014-09-26 21:07:06 +04:00
|
|
|
'composite/PaintedLayerComposite.cpp',
|
2014-03-12 06:27:30 +04:00
|
|
|
'composite/TextRenderer.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'composite/TextureHost.cpp',
|
|
|
|
'composite/TiledContentHost.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'Compositor.cpp',
|
|
|
|
'CopyableCanvasLayer.cpp',
|
|
|
|
'Effects.cpp',
|
2015-07-13 18:53:10 +03:00
|
|
|
'FrameMetrics.cpp',
|
2014-10-21 17:53:02 +04:00
|
|
|
'GLImages.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'ImageDataSerializer.cpp',
|
|
|
|
'ImageLayers.cpp',
|
2016-01-08 22:17:39 +03:00
|
|
|
'ipc/APZChild.cpp',
|
2016-07-20 14:37:00 +03:00
|
|
|
'ipc/APZCTreeManagerChild.cpp',
|
|
|
|
'ipc/APZCTreeManagerParent.cpp',
|
2016-09-03 02:08:49 +03:00
|
|
|
'ipc/CompositableForwarder.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'ipc/CompositableTransactionParent.cpp',
|
2014-05-21 21:29:49 +04:00
|
|
|
'ipc/CompositorBench.cpp',
|
2016-03-22 21:08:38 +03:00
|
|
|
'ipc/CompositorBridgeChild.cpp',
|
|
|
|
'ipc/CompositorBridgeParent.cpp',
|
2016-05-16 09:38:34 +03:00
|
|
|
'ipc/CompositorThread.cpp',
|
2016-11-18 13:37:04 +03:00
|
|
|
'ipc/CompositorVsyncScheduler.cpp',
|
2016-11-10 21:05:06 +03:00
|
|
|
'ipc/CrossProcessCompositorBridgeParent.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'ipc/ImageBridgeChild.cpp',
|
|
|
|
'ipc/ImageBridgeParent.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'ipc/ISurfaceAllocator.cpp',
|
2016-01-29 16:44:00 +03:00
|
|
|
'ipc/LayerAnimationUtils.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'ipc/LayerTransactionChild.cpp',
|
|
|
|
'ipc/LayerTransactionParent.cpp',
|
2016-08-16 23:59:13 +03:00
|
|
|
'ipc/LayerTreeOwnerTracker.cpp',
|
2016-01-08 22:17:39 +03:00
|
|
|
'ipc/RemoteContentController.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'ipc/ShadowLayers.cpp',
|
|
|
|
'ipc/SharedPlanarYCbCrImage.cpp',
|
|
|
|
'ipc/SharedRGBImage.cpp',
|
2016-09-23 00:44:26 +03:00
|
|
|
'ipc/VideoBridgeChild.cpp',
|
|
|
|
'ipc/VideoBridgeParent.cpp',
|
2013-11-29 08:11:49 +04:00
|
|
|
'LayerScope.cpp',
|
2013-10-24 03:05:43 +04:00
|
|
|
'LayersLogging.cpp',
|
|
|
|
'LayerSorter.cpp',
|
2015-06-08 12:27:23 +03:00
|
|
|
'LayersTypes.cpp',
|
2013-10-24 03:00:23 +04:00
|
|
|
'opengl/CompositingRenderTargetOGL.cpp',
|
|
|
|
'opengl/CompositorOGL.cpp',
|
2014-11-10 22:49:05 +03:00
|
|
|
'opengl/GLBlitTextureImageHelper.cpp',
|
2013-11-27 02:15:17 +04:00
|
|
|
'opengl/OGLShaderProgram.cpp',
|
2013-10-03 11:10:01 +04:00
|
|
|
'opengl/TextureClientOGL.cpp',
|
|
|
|
'opengl/TextureHostOGL.cpp',
|
|
|
|
'opengl/TexturePoolOGL.cpp',
|
2014-07-10 07:16:00 +04:00
|
|
|
'protobuf/LayerScopePacket.pb.cc',
|
2013-10-24 03:05:43 +04:00
|
|
|
'ReadbackProcessor.cpp',
|
|
|
|
'RenderTrace.cpp',
|
2013-11-27 04:29:46 +04:00
|
|
|
'RotatedBuffer.cpp',
|
2016-12-28 05:16:43 +03:00
|
|
|
'ShareableCanvasLayer.cpp',
|
2015-12-02 22:31:17 +03:00
|
|
|
'TextureWrapperImage.cpp',
|
2013-04-24 01:54:15 +04:00
|
|
|
]
|
|
|
|
|
2013-11-18 06:07:08 +04:00
|
|
|
SOURCES += [
|
|
|
|
'basic/BasicImageLayer.cpp',
|
|
|
|
'ImageContainer.cpp',
|
2013-12-09 08:39:26 +04:00
|
|
|
'Layers.cpp',
|
|
|
|
'LayerTreeInvalidation.cpp',
|
2015-06-19 02:07:21 +03:00
|
|
|
'PersistentBufferProvider.cpp',
|
2013-11-18 06:07:08 +04:00
|
|
|
]
|
|
|
|
|
2014-07-10 07:16:00 +04:00
|
|
|
# Disable RTTI in google protocol buffer
|
|
|
|
DEFINES['GOOGLE_PROTOBUF_NO_RTTI'] = True
|
|
|
|
|
2013-12-09 08:39:26 +04:00
|
|
|
# Workaround compiler bug (Bug 795594)
|
|
|
|
if CONFIG['_MSC_VER'] and CONFIG['CPU_ARCH'] == 'x86_64':
|
|
|
|
for src in [
|
|
|
|
'Layers.cpp',
|
|
|
|
'LayerTreeInvalidation.cpp',
|
|
|
|
]:
|
|
|
|
SOURCES[src].no_pgo = True
|
|
|
|
|
2013-11-18 06:04:38 +04:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
|
|
SOURCES += [
|
2013-12-04 04:20:04 +04:00
|
|
|
'basic/MacIOSurfaceTextureHostBasic.cpp',
|
2013-11-18 06:04:38 +04:00
|
|
|
'opengl/MacIOSurfaceTextureClientOGL.cpp',
|
|
|
|
'opengl/MacIOSurfaceTextureHostOGL.cpp',
|
|
|
|
]
|
|
|
|
|
2013-07-01 17:56:28 +04:00
|
|
|
IPDL_SOURCES = [
|
2013-09-06 19:41:00 +04:00
|
|
|
'ipc/LayersMessages.ipdlh',
|
2013-07-01 17:56:28 +04:00
|
|
|
'ipc/LayersSurfaces.ipdlh',
|
2016-01-08 22:17:39 +03:00
|
|
|
'ipc/PAPZ.ipdl',
|
2016-07-20 14:37:00 +03:00
|
|
|
'ipc/PAPZCTreeManager.ipdl',
|
2013-07-01 17:56:28 +04:00
|
|
|
'ipc/PCompositable.ipdl',
|
2016-03-22 21:07:08 +03:00
|
|
|
'ipc/PCompositorBridge.ipdl',
|
2013-07-01 17:56:28 +04:00
|
|
|
'ipc/PImageBridge.ipdl',
|
|
|
|
'ipc/PLayerTransaction.ipdl',
|
2013-12-12 05:44:44 +04:00
|
|
|
'ipc/PTexture.ipdl',
|
2016-09-23 00:44:26 +03:00
|
|
|
'ipc/PVideoBridge.ipdl',
|
2013-07-01 17:56:28 +04:00
|
|
|
]
|
2013-08-22 10:56:00 +04:00
|
|
|
|
2013-10-02 21:17:55 +04:00
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
|
2015-02-09 22:05:18 +03:00
|
|
|
LOCAL_INCLUDES += [
|
|
|
|
'/docshell/base', # for nsDocShell.h
|
2015-02-25 06:20:00 +03:00
|
|
|
'/layout/base', # for TouchManager.h
|
2015-07-27 21:07:58 +03:00
|
|
|
'/layout/generic', # for nsTextFrame.h
|
2016-03-10 05:35:27 +03:00
|
|
|
'/media/libyuv/include', # for libyuv.h
|
2015-02-09 22:05:18 +03:00
|
|
|
]
|
|
|
|
|
2014-07-23 03:37:51 +04:00
|
|
|
FINAL_LIBRARY = 'xul'
|
2013-11-27 17:55:07 +04:00
|
|
|
|
|
|
|
if CONFIG['MOZ_DEBUG']:
|
|
|
|
DEFINES['D3D_DEBUG_INFO'] = True
|
|
|
|
|
|
|
|
if CONFIG['MOZ_ENABLE_D3D10_LAYER']:
|
|
|
|
DEFINES['MOZ_ENABLE_D3D10_LAYER'] = True
|
2014-02-12 19:07:46 +04:00
|
|
|
|
2015-09-18 20:19:05 +03:00
|
|
|
if CONFIG['ENABLE_TESTS']:
|
|
|
|
DIRS += ['apz/test/gtest']
|
|
|
|
|
2015-09-17 02:26:04 +03:00
|
|
|
MOCHITEST_MANIFESTS += ['apz/test/mochitest/mochitest.ini']
|
|
|
|
MOCHITEST_CHROME_MANIFESTS += ['apz/test/mochitest/chrome.ini']
|
2014-07-24 19:55:33 +04:00
|
|
|
|
|
|
|
CXXFLAGS += CONFIG['MOZ_CAIRO_CFLAGS']
|
|
|
|
CXXFLAGS += CONFIG['TK_CFLAGS']
|
2015-07-30 19:05:22 +03:00
|
|
|
|
|
|
|
LOCAL_INCLUDES += CONFIG['SKIA_INCLUDES']
|
2016-05-11 10:00:01 +03:00
|
|
|
|
|
|
|
if CONFIG['GNU_CXX']:
|
|
|
|
CXXFLAGS += ['-Wno-error=shadow']
|
2016-11-30 21:13:54 +03:00
|
|
|
|
|
|
|
if CONFIG['MOZ_ENABLE_SKIA']:
|
|
|
|
UNIFIED_SOURCES += [
|
|
|
|
'composite/PaintCounter.cpp',
|
|
|
|
]
|