Delete WebMetal implementation in favor of WebGPU
[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/nicosia"
30         "${WEBCORE_DIR}/platform/graphics/texmap/coordinated"
31     )
32     list(APPEND WebCore_SOURCES
33         platform/graphics/texmap/TextureMapperPlatformLayerBuffer.cpp
34         platform/graphics/texmap/TextureMapperPlatformLayerProxy.cpp
35
36         platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp
37         platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp
38         platform/graphics/texmap/coordinated/Tile.cpp
39         platform/graphics/texmap/coordinated/TiledBackingStore.cpp
40     )
41
42     # FIXME: Move this into Nicosia.cmake once the component is set for long-term use.
43     list(APPEND WebCore_INCLUDE_DIRECTORIES
44         "${WEBCORE_DIR}/platform/graphics/nicosia"
45         "${WEBCORE_DIR}/platform/graphics/nicosia/cairo"
46         "${WEBCORE_DIR}/platform/graphics/nicosia/texmap"
47     )
48     list(APPEND WebCore_SOURCES
49         platform/graphics/nicosia/NicosiaBuffer.cpp
50         platform/graphics/nicosia/NicosiaPaintingContext.cpp
51         platform/graphics/nicosia/NicosiaPaintingEngine.cpp
52         platform/graphics/nicosia/NicosiaPaintingEngineBasic.cpp
53         platform/graphics/nicosia/NicosiaPaintingEngineThreaded.cpp
54         platform/graphics/nicosia/NicosiaPlatformLayer.cpp
55         platform/graphics/nicosia/NicosiaScene.cpp
56
57         platform/graphics/nicosia/cairo/NicosiaCairoOperationRecorder.cpp
58         platform/graphics/nicosia/cairo/NicosiaPaintingContextCairo.cpp
59
60         platform/graphics/nicosia/texmap/NicosiaBackingStoreTextureMapperImpl.cpp
61         platform/graphics/nicosia/texmap/NicosiaCompositionLayerTextureMapperImpl.cpp
62         platform/graphics/nicosia/texmap/NicosiaContentLayerTextureMapperImpl.cpp
63         platform/graphics/nicosia/texmap/NicosiaGC3DLayer.cpp
64         platform/graphics/nicosia/texmap/NicosiaImageBackingTextureMapperImpl.cpp
65     )
66 else ()
67     list(APPEND WebCore_SOURCES
68         platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
69         platform/graphics/texmap/TextureMapperTiledBackingStore.cpp
70     )
71 endif ()