242d4304354e2176b69bca5938a8e34765a4e238
[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/GraphicsContext3DTextureMapper.cpp
8     platform/graphics/texmap/TextureMapper.cpp
9     platform/graphics/texmap/TextureMapperAnimation.cpp
10     platform/graphics/texmap/TextureMapperBackingStore.cpp
11     platform/graphics/texmap/TextureMapperFPSCounter.cpp
12     platform/graphics/texmap/TextureMapperGC3DPlatformLayer.cpp
13     platform/graphics/texmap/TextureMapperLayer.cpp
14     platform/graphics/texmap/TextureMapperTile.cpp
15 )
16
17 if (USE_TEXTURE_MAPPER_GL)
18     list(APPEND WebCore_SOURCES
19         platform/graphics/texmap/BitmapTextureGL.cpp
20         platform/graphics/texmap/ClipStack.cpp
21         platform/graphics/texmap/TextureMapperContextAttributes.cpp
22         platform/graphics/texmap/TextureMapperGL.cpp
23         platform/graphics/texmap/TextureMapperShaderProgram.cpp
24     )
25 endif ()
26
27 if (USE_COORDINATED_GRAPHICS)
28     list(APPEND WebCore_INCLUDE_DIRECTORIES
29         "${WEBCORE_DIR}/page/scrolling/coordinatedgraphics"
30         "${WEBCORE_DIR}/platform/graphics/texmap/coordinated"
31     )
32     list(APPEND WebCore_SOURCES
33         page/scrolling/coordinatedgraphics/ScrollingCoordinatorCoordinatedGraphics.cpp
34         page/scrolling/coordinatedgraphics/ScrollingStateNodeCoordinatedGraphics.cpp
35
36         platform/graphics/texmap/TextureMapperPlatformLayerBuffer.cpp
37         platform/graphics/texmap/TextureMapperPlatformLayerProxy.cpp
38
39         platform/graphics/texmap/coordinated/AreaAllocator.cpp
40         platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
41         platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp
42         platform/graphics/texmap/coordinated/Tile.cpp
43         platform/graphics/texmap/coordinated/TiledBackingStore.cpp
44         platform/graphics/texmap/coordinated/UpdateAtlas.cpp
45     )
46
47     # FIXME: Move this into Nicosia.cmake once the component is set for long-term use.
48     list(APPEND WebCore_INCLUDE_DIRECTORIES
49         "${WEBCORE_DIR}/platform/graphics/nicosia"
50     )
51     list(APPEND WebCore_SOURCES
52         platform/graphics/nicosia/NicosiaBuffer.cpp
53         platform/graphics/nicosia/NicosiaPaintingContext.cpp
54         platform/graphics/nicosia/NicosiaPaintingContextCairo.cpp
55         platform/graphics/nicosia/NicosiaPaintingEngine.cpp
56         platform/graphics/nicosia/NicosiaPaintingEngineBasic.cpp
57     )
58 else ()
59     list(APPEND WebCore_SOURCES
60         platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
61         platform/graphics/texmap/TextureMapperTiledBackingStore.cpp
62     )
63 endif ()