Changeset 295170 in webkit
- Timestamp:
- Jun 2, 2022, 10:35:30 PM (4 years ago)
- Location:
- trunk/Source
- Files:
-
- 2 edited
-
WebCore/platform/graphics/PixelBuffer.h (modified) (1 diff)
-
WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/platform/graphics/PixelBuffer.h
r295113 r295170 40 40 WTF_MAKE_NONCOPYABLE(PixelBuffer); 41 41 public: 42 static bool supportedPixelFormat(PixelFormat);42 WEBCORE_EXPORT static bool supportedPixelFormat(PixelFormat); 43 43 44 44 WEBCORE_EXPORT static RefPtr<PixelBuffer> tryCreate(const PixelBufferFormat&, const IntSize&); -
trunk/Source/WebKit/GPUProcess/graphics/RemoteRenderingBackend.cpp
r295113 r295170 208 208 { 209 209 MESSAGE_CHECK(m_getPixelBufferSharedMemory, "No shared memory for getPixelBufferForImageBuffer"); 210 MESSAGE_CHECK(PixelBuffer::supportedPixelFormat(destinationFormat.pixelFormat), "Pixel format not supported"); 210 211 QualifiedRenderingResourceIdentifier qualifiedImageBuffer { imageBuffer, m_gpuConnectionToWebProcess->webProcessIdentifier() }; 211 212 if (auto imageBuffer = m_remoteResourceCache.cachedImageBuffer(qualifiedImageBuffer)) {
Note:
See TracChangeset
for help on using the changeset viewer.