12022-03-02 Ben Nham <nham@apple.com>
2
3 Give WebKit-owned IOSurfaces names
4 https://bugs.webkit.org/show_bug.cgi?id=141586
5
6 Reviewed by NOBODY (OOPS!).
7
8 * platform/graphics/ca/LayerPool.cpp:
9 (WebCore::LayerPool::addLayer):
10 (WebCore::LayerPool::takeLayerWithSize):
11 Let PlatformCALayers know when they're moving in/out of the layer pool.
12
13 * platform/graphics/ca/PlatformCALayer.cpp:
14 (WebCore::PlatformCALayer::willMoveToLayerPool):
15 (WebCore::PlatformCALayer::didLeaveLayerPool):
16 * platform/graphics/ca/PlatformCALayer.h:
17 * platform/graphics/cg/IOSurfacePool.cpp:
18 (WebCore::IOSurfacePool::willAddSurface):
19
20 * platform/graphics/ConcreteImageBuffer.h:
21 * platform/graphics/ImageBuffer.h:
22 * platform/graphics/ImageBufferBackend.h:
23 (WebCore::ImageBufferBackend::setName):
24 * platform/graphics/cg/ImageBufferIOSurfaceBackend.cpp:
25 (WebCore::ImageBufferIOSurfaceBackend::setName):
26 * platform/graphics/cg/ImageBufferIOSurfaceBackend.h:
27 * platform/graphics/cocoa/IOSurface.h:
28 * platform/graphics/cocoa/IOSurface.mm:
29 (WebCore::IOSurface::setName):
30