[CoordGraphics] Move CoordinatedGraphicsLayer painting behind Nicosia::PaintingEngine
[WebKit-https.git] / Source / WebCore / platform / TextureMapper.cmake
1 list(APPEND WebCore_INCLUDE_DIRECTORIES
2     "${WEBCORE_DIR}/platform/graphics/texmap"
3 )
4 list(APPEND WebCore_SOURCES
5     platform/graphics/texmap/BitmapTexture.cpp
6     platform/graphics/texmap/BitmapTexturePool.cpp
7     platform/graphics/texmap/TextureMapper.cpp
8     platform/graphics/texmap/TextureMapperAnimation.cpp
9     platform/graphics/texmap/TextureMapperBackingStore.cpp
10     platform/graphics/texmap/TextureMapperFPSCounter.cpp
11     platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp
12     platform/graphics/texmap/TextureMapperLayer.cpp
13     platform/graphics/texmap/TextureMapperTile.cpp
14 )
15
16 if (USE_TEXTURE_MAPPER_GL)
17     list(APPEND WebCore_SOURCES
18         platform/graphics/texmap/BitmapTextureGL.cpp
19         platform/graphics/texmap/ClipStack.cpp
20         platform/graphics/texmap/TextureMapperContextAttributes.cpp
21         platform/graphics/texmap/TextureMapperGL.cpp
22         platform/graphics/texmap/TextureMapperShaderProgram.cpp
23     )
24 endif ()
25
26 if (USE_COORDINATED_GRAPHICS)
27     list(APPEND WebCore_INCLUDE_DIRECTORIES
28         "${WEBCORE_DIR}/page/scrolling/coordinatedgraphics"
29         "${WEBCORE_DIR}/platform/graphics/texmap/coordinated"
30     )
31     list(APPEND WebCore_SOURCES
32         page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.cpp
33         page/scrolling/coordinatedgraphics/ScrollingStateNodeCoordinatedGraphics.cpp
34
35         platform/graphics/texmap/TextureMapperPlatformLayerBuffer.cpp
36         platform/graphics/texmap/TextureMapperPlatformLayerProxy.cpp
37
38         platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
39         platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp
40         platform/graphics/texmap/coordinated/Tile.cpp
41         platform/graphics/texmap/coordinated/TiledBackingStore.cpp
42     )
43
44     # FIXME: Move this into Nicosia.cmake once the component is set for long-term use.
45     list(APPEND WebCore_INCLUDE_DIRECTORIES
46         "${WEBCORE_DIR}/platform/graphics/nicosia"
47     )
48     list(APPEND WebCore_SOURCES
49         platform/graphics/nicosia/NicosiaBuffer.cpp
50         platform/graphics/nicosia/NicosiaPaintingEngine.cpp
51         platform/graphics/nicosia/NicosiaPaintingEngineBasic.cpp
52     )
53 else ()
54     list(APPEND WebCore_SOURCES
55         platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
56         platform/graphics/texmap/TextureMapperTiledBackingStore.cpp
57     )
58 endif ()