mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
6f32ddf61c
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
251 lines
6.6 KiB
Python
251 lines
6.6 KiB
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# 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/.
|
|
|
|
MODULE = 'thebes'
|
|
|
|
EXPORTS += [
|
|
'BasicCanvasLayer.h',
|
|
'BasicImplData.h',
|
|
'BasicLayers.h',
|
|
'BasicLayersImpl.h',
|
|
'BasicThebesLayer.h',
|
|
'ClientCanvasLayer.h',
|
|
'ClientContainerLayer.h',
|
|
'ClientLayerManager.h',
|
|
'ClientThebesLayer.h',
|
|
'ClientTiledThebesLayer.h',
|
|
'Composer2D.h',
|
|
'CompositableHost.h',
|
|
'CompositorChild.h',
|
|
'CompositorParent.h',
|
|
'CopyableCanvasLayer.h',
|
|
'D3D9SurfaceImage.h',
|
|
'FrameMetrics.h',
|
|
'GonkIOSurfaceImage.h',
|
|
'ImageContainer.h',
|
|
'ImageHost.h',
|
|
'ImageLayerOGL.h',
|
|
'ImageLayers.h',
|
|
'ImageTypes.h',
|
|
'LayerManagerOGL.h',
|
|
'LayerManagerOGLProgram.h',
|
|
'LayerManagerOGLShaders.h',
|
|
'LayerSorter.h',
|
|
'LayerTreeInvalidation.h',
|
|
'Layers.h',
|
|
'LayersLogging.h',
|
|
'ReadbackLayer.h',
|
|
'ShadowLayersManager.h',
|
|
'SharedTextureImage.h',
|
|
'TexturePoolOGL.h',
|
|
]
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
|
|
CPP_SOURCES += [
|
|
'D3D9SurfaceImage.cpp',
|
|
]
|
|
if CONFIG['MOZ_ENABLE_D3D9_LAYER']:
|
|
EXPORTS += [
|
|
'DeviceManagerD3D9.h',
|
|
'LayerManagerD3D9.h',
|
|
]
|
|
CPP_SOURCES += [
|
|
'LayerManagerD3D9.cpp',
|
|
'ThebesLayerD3D9.cpp',
|
|
'ContainerLayerD3D9.cpp',
|
|
'ImageLayerD3D9.cpp',
|
|
'ColorLayerD3D9.cpp',
|
|
'CanvasLayerD3D9.cpp',
|
|
'DeviceManagerD3D9.cpp',
|
|
'Nv3DVUtils.cpp',
|
|
]
|
|
if CONFIG['MOZ_ENABLE_D3D10_LAYER']:
|
|
EXPORTS += [
|
|
'LayerManagerD3D10.h',
|
|
'ReadbackManagerD3D10.h',
|
|
]
|
|
EXPORTS.mozilla.layers += [
|
|
'CompositorD3D11.h',
|
|
'ShadowLayerUtilsD3D10.h',
|
|
'TextureD3D11.h',
|
|
]
|
|
CPP_SOURCES += [
|
|
'CanvasLayerD3D10.cpp',
|
|
'ColorLayerD3D10.cpp',
|
|
'CompositorD3D11.cpp',
|
|
'ContainerLayerD3D10.cpp',
|
|
'ImageLayerD3D10.cpp',
|
|
'LayerManagerD3D10.cpp',
|
|
'ReadbackManagerD3D10.cpp',
|
|
'ShadowLayerUtilsD3D10.cpp',
|
|
'TextureD3D11.cpp',
|
|
'ThebesLayerD3D10.cpp',
|
|
]
|
|
|
|
EXPORTS.gfxipc += [
|
|
'ShadowLayerUtils.h',
|
|
]
|
|
|
|
EXPORTS.mozilla.layers += [
|
|
'AsyncCompositionManager.h',
|
|
'AsyncPanZoomController.h',
|
|
'Axis.h',
|
|
'BasicCompositor.h',
|
|
'CanvasClient.h',
|
|
'CanvasLayerComposite.h',
|
|
'ColorLayerComposite.h',
|
|
'CompositableClient.h',
|
|
'CompositableForwarder.h',
|
|
'CompositableTransactionParent.h',
|
|
'CompositingRenderTargetOGL.h',
|
|
'Compositor.h',
|
|
'CompositorChild.h',
|
|
'CompositorCocoaWidgetHelper.h',
|
|
'CompositorOGL.h',
|
|
'CompositorParent.h',
|
|
'CompositorTypes.h',
|
|
'ContainerLayerComposite.h',
|
|
'ContentClient.h',
|
|
'ContentHost.h',
|
|
'D3D9SurfaceImage.h',
|
|
'Effects.h',
|
|
'GeckoContentController.h',
|
|
'GestureEventListener.h',
|
|
'ISurfaceAllocator.h',
|
|
'ImageBridgeChild.h',
|
|
'ImageBridgeParent.h',
|
|
'ImageClient.h',
|
|
'ImageHost.h',
|
|
'ImageLayerComposite.h',
|
|
'LayerManagerComposite.h',
|
|
'LayerTransactionChild.h',
|
|
'LayerTransactionParent.h',
|
|
'LayersTypes.h',
|
|
'RenderTrace.h',
|
|
'ShadowLayers.h',
|
|
'ShadowLayersManager.h',
|
|
'SharedPlanarYCbCrImage.h',
|
|
'SharedRGBImage.h',
|
|
'TaskThrottler.h',
|
|
'TextureClient.h',
|
|
'TextureClientOGL.h',
|
|
'TextureHost.h',
|
|
'TextureHostOGL.h',
|
|
'ThebesLayerComposite.h',
|
|
'TiledContentClient.h',
|
|
'YCbCrImageDataSerializer.h',
|
|
]
|
|
|
|
if CONFIG['MOZ_X11']:
|
|
EXPORTS.mozilla.layers += [
|
|
'ShadowLayerUtilsX11.h'
|
|
]
|
|
CPP_SOURCES += [
|
|
'ShadowLayerUtilsX11.cpp'
|
|
]
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
|
|
EXPORTS.mozilla.layers += [
|
|
'GLManager.h'
|
|
]
|
|
CPP_SOURCES += [
|
|
'ShadowLayerUtilsMac.cpp',
|
|
'GLManager.cpp',
|
|
]
|
|
|
|
# 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.
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
EXPORTS.mozilla.layers += [
|
|
'ShadowLayerUtilsGralloc.h'
|
|
]
|
|
CPP_SOURCES += [
|
|
'ShadowLayerUtilsGralloc.cpp',
|
|
'GrallocImages.cpp',
|
|
'GonkIOSurfaceImage.cpp',
|
|
]
|
|
|
|
CPP_SOURCES += [
|
|
'AsyncCompositionManager.cpp',
|
|
'AsyncPanZoomController.cpp',
|
|
'Axis.cpp',
|
|
'BasicCanvasLayer.cpp',
|
|
'BasicColorLayer.cpp',
|
|
'BasicCompositor.cpp',
|
|
'BasicContainerLayer.cpp',
|
|
'BasicImageLayer.cpp',
|
|
'BasicImages.cpp',
|
|
'BasicLayerManager.cpp',
|
|
'BasicLayersImpl.cpp',
|
|
'BasicThebesLayer.cpp',
|
|
'CanvasClient.cpp',
|
|
'CanvasLayerComposite.cpp',
|
|
'CanvasLayerOGL.cpp',
|
|
'ClientCanvasLayer.cpp',
|
|
'ClientColorLayer.cpp',
|
|
'ClientContainerLayer.cpp',
|
|
'ClientImageLayer.cpp',
|
|
'ClientLayerManager.cpp',
|
|
'ClientThebesLayer.cpp',
|
|
'ClientTiledThebesLayer.cpp',
|
|
'ColorLayerComposite.cpp',
|
|
'ColorLayerOGL.cpp',
|
|
'CompositableClient.cpp',
|
|
'CompositableHost.cpp',
|
|
'CompositableTransactionParent.cpp',
|
|
'Compositor.cpp',
|
|
'CompositorChild.cpp',
|
|
'CompositorCocoaWidgetHelper.cpp',
|
|
'CompositorOGL.cpp',
|
|
'CompositorParent.cpp',
|
|
'ContainerLayerComposite.cpp',
|
|
'ContainerLayerOGL.cpp',
|
|
'ContentClient.cpp',
|
|
'ContentHost.cpp',
|
|
'CopyableCanvasLayer.cpp',
|
|
'Effects.cpp',
|
|
'GestureEventListener.cpp',
|
|
'ISurfaceAllocator.cpp',
|
|
'ImageBridgeChild.cpp',
|
|
'ImageBridgeParent.cpp',
|
|
'ImageClient.cpp',
|
|
'ImageContainer.cpp',
|
|
'ImageHost.cpp',
|
|
'ImageLayerComposite.cpp',
|
|
'ImageLayerOGL.cpp',
|
|
'ImageLayers.cpp',
|
|
'LayerManagerComposite.cpp',
|
|
'LayerManagerOGL.cpp',
|
|
'LayerManagerOGLProgram.cpp',
|
|
'LayerSorter.cpp',
|
|
'LayerTransactionChild.cpp',
|
|
'LayerTransactionParent.cpp',
|
|
'LayerTreeInvalidation.cpp',
|
|
'Layers.cpp',
|
|
'LayersLogging.cpp',
|
|
'ReadbackProcessor.cpp',
|
|
'RenderTrace.cpp',
|
|
'ShadowLayerChild.cpp',
|
|
'ShadowLayerParent.cpp',
|
|
'ShadowLayers.cpp',
|
|
'SharedPlanarYCbCrImage.cpp',
|
|
'SharedRGBImage.cpp',
|
|
'TaskThrottler.cpp',
|
|
'TextureClient.cpp',
|
|
'TextureClientOGL.cpp',
|
|
'TextureHost.cpp',
|
|
'TextureHostOGL.cpp',
|
|
'TexturePoolOGL.cpp',
|
|
'ThebesLayerBuffer.cpp',
|
|
'ThebesLayerComposite.cpp',
|
|
'ThebesLayerOGL.cpp',
|
|
'TiledContentClient.cpp',
|
|
'TiledContentHost.cpp',
|
|
'YCbCrImageDataSerializer.cpp',
|
|
]
|
|
|