File: TextureMapper.cmake

package info (click to toggle)
webkit2gtk 2.48.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 429,764 kB
  • sloc: cpp: 3,697,587; javascript: 194,444; ansic: 169,997; python: 46,499; asm: 19,295; ruby: 18,528; perl: 16,602; xml: 4,650; yacc: 2,360; sh: 2,098; java: 1,993; lex: 1,327; pascal: 366; makefile: 298
file content (163 lines) | stat: -rw-r--r-- 7,874 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES
    "${WEBCORE_DIR}/platform/graphics/texmap"
)

list(APPEND WebCore_SOURCES
    platform/graphics/texmap/BitmapTexture.cpp
    platform/graphics/texmap/BitmapTexturePool.cpp
    platform/graphics/texmap/ClipPath.cpp
    platform/graphics/texmap/ClipStack.cpp
    platform/graphics/texmap/FloatPlane3D.cpp
    platform/graphics/texmap/FloatPolygon3D.cpp
    platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp
    platform/graphics/texmap/TextureMapper.cpp
    platform/graphics/texmap/TextureMapperAnimation.cpp
    platform/graphics/texmap/TextureMapperBackingStore.cpp
    platform/graphics/texmap/TextureMapperDamageVisualizer.cpp
    platform/graphics/texmap/TextureMapperFPSCounter.cpp
    platform/graphics/texmap/TextureMapperGCGLPlatformLayer.cpp
    platform/graphics/texmap/TextureMapperGPUBuffer.cpp
    platform/graphics/texmap/TextureMapperLayer.cpp
    platform/graphics/texmap/TextureMapperLayer3DRenderingContext.cpp
    platform/graphics/texmap/TextureMapperPlatformLayer.cpp
    platform/graphics/texmap/TextureMapperShaderProgram.cpp
)

list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS
    platform/graphics/texmap/BitmapTexture.h
    platform/graphics/texmap/BitmapTexturePool.h
    platform/graphics/texmap/ClipPath.h
    platform/graphics/texmap/ClipStack.h
    platform/graphics/texmap/FloatPlane3D.h
    platform/graphics/texmap/FloatPolygon3D.h
    platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.h
    platform/graphics/texmap/GraphicsLayerTextureMapper.h
    platform/graphics/texmap/TextureMapper.h
    platform/graphics/texmap/TextureMapperAnimation.h
    platform/graphics/texmap/TextureMapperBackingStore.h
    platform/graphics/texmap/TextureMapperDamageVisualizer.h
    platform/graphics/texmap/TextureMapperFlags.h
    platform/graphics/texmap/TextureMapperFPSCounter.h
    platform/graphics/texmap/TextureMapperGLHeaders.h
    platform/graphics/texmap/TextureMapperGPUBuffer.h
    platform/graphics/texmap/TextureMapperLayer.h
    platform/graphics/texmap/TextureMapperLayer3DRenderingContext.h
    platform/graphics/texmap/TextureMapperPlatformLayer.h
    platform/graphics/texmap/TextureMapperSolidColorLayer.h
    platform/graphics/texmap/TextureMapperTile.h
    platform/graphics/texmap/TextureMapperTiledBackingStore.h
)

if (USE_COORDINATED_GRAPHICS)
    list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES
        "${WEBCORE_DIR}/page/scrolling/coordinated"
        "${WEBCORE_DIR}/platform/graphics/texmap/coordinated"
    )
    list(APPEND WebCore_SOURCES
        page/scrolling/coordinated/ScrollingCoordinatorCoordinated.cpp
        page/scrolling/coordinated/ScrollingStateNodeCoordinated.cpp
        page/scrolling/coordinated/ScrollingTreeCoordinated.cpp
        page/scrolling/coordinated/ScrollingTreeFixedNodeCoordinated.cpp
        page/scrolling/coordinated/ScrollingTreeFrameScrollingNodeCoordinated.cpp
        page/scrolling/coordinated/ScrollingTreeOverflowScrollProxyNodeCoordinated.cpp
        page/scrolling/coordinated/ScrollingTreeOverflowScrollingNodeCoordinated.cpp
        page/scrolling/coordinated/ScrollingTreePositionedNodeCoordinated.cpp
        page/scrolling/coordinated/ScrollingTreeScrollingNodeDelegateCoordinated.cpp
        page/scrolling/coordinated/ScrollingTreeStickyNodeCoordinated.cpp

        platform/graphics/texmap/coordinated/CoordinatedAnimatedBackingStoreClient.cpp
        platform/graphics/texmap/coordinated/CoordinatedBackingStore.cpp
        platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.cpp
        platform/graphics/texmap/coordinated/CoordinatedBackingStoreTile.cpp
        platform/graphics/texmap/coordinated/CoordinatedImageBackingStore.cpp
        platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp
        platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferExternalOES.cpp
        platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferHolePunch.cpp
        platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferNativeImage.cpp
        platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferProxy.cpp
        platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferRGB.cpp
        platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferYUV.cpp
        platform/graphics/texmap/coordinated/CoordinatedTileBuffer.cpp
        platform/graphics/texmap/coordinated/GraphicsContextGLTextureMapperANGLECoordinated.cpp
        platform/graphics/texmap/coordinated/GraphicsLayerAsyncContentsDisplayDelegateCoordinated.cpp
        platform/graphics/texmap/coordinated/GraphicsLayerContentsDisplayDelegateCoordinated.cpp
        platform/graphics/texmap/coordinated/GraphicsLayerCoordinated.cpp
    )
    list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS
        platform/graphics/texmap/coordinated/CoordinatedAnimatedBackingStoreClient.h
        platform/graphics/texmap/coordinated/CoordinatedBackingStore.h
        platform/graphics/texmap/coordinated/CoordinatedBackingStoreProxy.h
        platform/graphics/texmap/coordinated/CoordinatedBackingStoreTile.h
        platform/graphics/texmap/coordinated/CoordinatedImageBackingStore.h
        platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.h
        platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBuffer.h
        platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferProxy.h
        platform/graphics/texmap/coordinated/CoordinatedTileBuffer.h
        platform/graphics/texmap/coordinated/GraphicsLayerContentsDisplayDelegateCoordinated.h
        platform/graphics/texmap/coordinated/GraphicsLayerCoordinated.h
    )

    if (USE_GSTREAMER)
        list(APPEND WebCore_SOURCES
            platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferVideo.cpp
        )
    endif ()

    if (USE_GBM)
        list(APPEND WebCore_SOURCES
            platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferDMABuf.cpp
        )
        list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS
            platform/graphics/texmap/coordinated/CoordinatedPlatformLayerBufferDMABuf.h
        )
    endif ()

    if (USE_CAIRO)
        list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS
            platform/graphics/cairo/CairoPaintingEngine.h
        )

        list(APPEND WebCore_SOURCES
            platform/graphics/cairo/CairoOperationRecorder.cpp
            platform/graphics/cairo/CairoPaintingContext.cpp
            platform/graphics/cairo/CairoPaintingEngine.cpp
            platform/graphics/cairo/CairoPaintingEngineBasic.cpp
            platform/graphics/cairo/CairoPaintingEngineThreaded.cpp
        )
    endif ()
else ()
    list(APPEND WebCore_SOURCES
        platform/graphics/texmap/GraphicsLayerTextureMapper.cpp
        platform/graphics/texmap/TextureMapperTile.cpp
        platform/graphics/texmap/TextureMapperTiledBackingStore.cpp
    )

    list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS
        platform/graphics/texmap/GraphicsLayerTextureMapper.h
        platform/graphics/texmap/TextureMapperTile.h
        platform/graphics/texmap/TextureMapperTiledBackingStore.h
    )
endif ()

if (USE_GRAPHICS_LAYER_WC)
    list(APPEND WebCore_PRIVATE_INCLUDE_DIRECTORIES
        "${WEBCORE_DIR}/platform/graphics/wc"
    )
    list(APPEND WebCore_SOURCES
        platform/graphics/texmap/TextureMapperSparseBackingStore.cpp
    )
    list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS
        platform/graphics/texmap/TextureMapperSparseBackingStore.h

        platform/graphics/wc/WCPlatformLayer.h
    )
endif ()

if (USE_GBM)
    list(APPEND WebCore_PRIVATE_FRAMEWORK_HEADERS
        platform/graphics/gbm/DMABufBuffer.h
        platform/graphics/gbm/DRMDeviceManager.h
        platform/graphics/gbm/DRMDeviceNode.h
        platform/graphics/gbm/GraphicsContextGLTextureMapperGBM.h
    )
endif ()