Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6cdc3eb25b8534dfbb2286ade5b8c7cd83ed0208
https://github.com/WebKit/WebKit/commit/6cdc3eb25b8534dfbb2286ade5b8c7cd83ed0208
Author: Mike Wyrzykowski <[email protected]>
Date: 2024-04-04 (Thu, 04 Apr 2024)
Changed paths:
M
LayoutTests/http/tests/webgpu/webgpu/web_platform/canvas/configure-expected.txt
M
LayoutTests/http/tests/webgpu/webgpu/web_platform/canvas/context_creation-expected.txt
M
LayoutTests/http/tests/webgpu/webgpu/web_platform/canvas/getCurrentTexture-expected.txt
M Source/WebCore/Modules/WebGPU/GPUCanvasConfiguration.h
M Source/WebCore/Modules/WebGPU/GPUCompositorIntegration.cpp
M Source/WebCore/Modules/WebGPU/GPUCompositorIntegration.h
M Source/WebCore/Modules/WebGPU/GPUPredefinedColorSpace.h
M Source/WebCore/Modules/WebGPU/GPUPredefinedColorSpace.idl
M Source/WebCore/Modules/WebGPU/GPUPresentationContext.cpp
M Source/WebCore/Modules/WebGPU/GPUPresentationContext.h
M Source/WebCore/Modules/WebGPU/GPUTexture.cpp
M Source/WebCore/Modules/WebGPU/GPUTexture.h
M
Source/WebCore/Modules/WebGPU/Implementation/WebGPUCompositorIntegrationImpl.cpp
M
Source/WebCore/Modules/WebGPU/Implementation/WebGPUCompositorIntegrationImpl.h
M
Source/WebCore/Modules/WebGPU/Implementation/WebGPUPresentationContextImpl.cpp
M
Source/WebCore/Modules/WebGPU/Implementation/WebGPUPresentationContextImpl.h
M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUCanvasConfiguration.h
M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUCompositorIntegration.h
M Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUPresentationContext.h
M Source/WebCore/html/HTMLCanvasElement.cpp
M Source/WebCore/html/OffscreenCanvas.cpp
M Source/WebCore/html/canvas/GPUBasedCanvasRenderingContext.h
M Source/WebCore/html/canvas/GPUCanvasContext.h
M Source/WebCore/html/canvas/GPUCanvasContextCocoa.h
M Source/WebCore/html/canvas/GPUCanvasContextCocoa.mm
M Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp
M Source/WebCore/html/canvas/WebGLRenderingContextBase.h
M Source/WebGPU/WebGPU/BindGroup.mm
M Source/WebGPU/WebGPU/CommandEncoder.h
M Source/WebGPU/WebGPU/CommandEncoder.mm
M Source/WebGPU/WebGPU/PresentationContextIOSurface.mm
M Source/WebGPU/WebGPU/Queue.h
M Source/WebGPU/WebGPU/Queue.mm
M Source/WebGPU/WebGPU/RenderPassEncoder.mm
M Source/WebGPU/WebGPU/Texture.h
M Source/WebGPU/WebGPU/Texture.mm
M Source/WebGPU/WebGPU/TextureView.h
M Source/WebGPU/WebGPU/TextureView.mm
M Source/WebGPU/WebGPU/WebGPU.h
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteCompositorIntegration.cpp
M Source/WebKit/GPUProcess/graphics/WebGPU/RemoteCompositorIntegration.h
M
Source/WebKit/GPUProcess/graphics/WebGPU/RemoteCompositorIntegration.messages.in
M Source/WebKit/GPUProcess/graphics/WebGPU/RemotePresentationContext.cpp
M Source/WebKit/GPUProcess/graphics/WebGPU/RemotePresentationContext.h
M
Source/WebKit/GPUProcess/graphics/WebGPU/RemotePresentationContext.messages.in
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
M Source/WebKit/Shared/WebGPU/WebGPUCanvasConfiguration.cpp
M Source/WebKit/Shared/WebGPU/WebGPUCanvasConfiguration.h
M Source/WebKit/Shared/WebGPU/WebGPUCanvasConfiguration.serialization.in
M
Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteCompositorIntegrationProxy.cpp
M
Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteCompositorIntegrationProxy.h
M
Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemotePresentationContextProxy.cpp
M
Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemotePresentationContextProxy.h
Log Message:
-----------
[WebGPU] http/tests/webgpu/webgpu/web_platform/canvas/configure.html,
getCurrentTexture.html, getPreferredCanvasFormat.html are failing (271660)
https://bugs.webkit.org/show_bug.cgi?id=271660
<radar://125362261>
Reviewed by Tadeu Zagallo.
Fix validation for GPUCanvasConfiguration with the exception of RGBA8 and
RGBA16Float readbacks.
Add passing expectations for the tests.
*
LayoutTests/http/tests/webgpu/webgpu/web_platform/canvas/configure-expected.txt:
*
LayoutTests/http/tests/webgpu/webgpu/web_platform/canvas/context_creation-expected.txt:
*
LayoutTests/http/tests/webgpu/webgpu/web_platform/canvas/getCurrentTexture-expected.txt:
* Source/WebCore/Modules/WebGPU/GPUCanvasConfiguration.h:
(WebCore::GPUCanvasConfiguration::convertToBacking const):
* Source/WebCore/Modules/WebGPU/GPUCompositorIntegration.cpp:
(WebCore::GPUCompositorIntegration::recreateRenderBuffers const):
* Source/WebCore/Modules/WebGPU/GPUCompositorIntegration.h:
* Source/WebCore/Modules/WebGPU/GPUPredefinedColorSpace.h:
(WebCore::convertToBacking):
* Source/WebCore/Modules/WebGPU/GPUPredefinedColorSpace.idl:
* Source/WebCore/Modules/WebGPU/GPUPresentationContext.cpp:
(WebCore::GPUPresentationContext::configure):
(WebCore::GPUPresentationContext::unconfigure):
(WebCore::GPUPresentationContext::getCurrentTexture):
(WebCore::GPUPresentationContext::present):
* Source/WebCore/Modules/WebGPU/GPUPresentationContext.h:
* Source/WebCore/Modules/WebGPU/GPUTexture.cpp:
(WebCore::GPUTexture::destroy):
(WebCore::GPUTexture::isDestroyed const):
* Source/WebCore/Modules/WebGPU/GPUTexture.h:
*
Source/WebCore/Modules/WebGPU/Implementation/WebGPUCompositorIntegrationImpl.cpp:
(WebCore::WebGPU::CompositorIntegrationImpl::recreateRenderBuffers):
*
Source/WebCore/Modules/WebGPU/Implementation/WebGPUCompositorIntegrationImpl.h:
*
Source/WebCore/Modules/WebGPU/Implementation/WebGPUPresentationContextImpl.cpp:
(WebCore::WebGPU::PresentationContextImpl::setSize):
(WebCore::WebGPU::PresentationContextImpl::configure):
(WebCore::WebGPU::PresentationContextImpl::getCurrentTexture):
(WebCore::WebGPU::PresentationContextImpl::present):
* Source/WebCore/Modules/WebGPU/Implementation/WebGPUPresentationContextImpl.h:
* Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUCanvasConfiguration.h:
* Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUCompositorIntegration.h:
* Source/WebCore/Modules/WebGPU/InternalAPI/WebGPUPresentationContext.h:
* Source/WebCore/html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::reset):
* Source/WebCore/html/OffscreenCanvas.cpp:
(WebCore::OffscreenCanvas::setSize):
(WebCore::OffscreenCanvas::transferToImageBitmap):
* Source/WebCore/html/canvas/GPUBasedCanvasRenderingContext.h:
* Source/WebCore/html/canvas/GPUCanvasContext.h:
* Source/WebCore/html/canvas/GPUCanvasContextCocoa.h:
* Source/WebCore/html/canvas/GPUCanvasContextCocoa.mm:
(WebCore::GPUCanvasContextCocoa::reshape):
(WebCore::GPUCanvasContextCocoa::drawBufferToCanvas):
(WebCore::GPUCanvasContextCocoa::getCurrentTextureAsImageBitmap):
(WebCore::equalConfigurations):
(WebCore::toWebCoreColorSpace):
(WebCore::GPUCanvasContextCocoa::configure):
(WebCore::GPUCanvasContextCocoa::unconfigure):
(WebCore::GPUCanvasContextCocoa::getCurrentTexture):
(WebCore::GPUCanvasContextCocoa::colorSpace const):
(WebCore::GPUCanvasContextCocoa::present):
(WebCore::GPUCanvasContextCocoa::prepareForDisplay):
* Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:
(WebCore::WebGLRenderingContextBase::reshape):
* Source/WebCore/html/canvas/WebGLRenderingContextBase.h:
* Source/WebGPU/WebGPU/BindGroup.mm:
(WebGPU::Device::createBindGroup):
* Source/WebGPU/WebGPU/CommandEncoder.h:
* Source/WebGPU/WebGPU/CommandEncoder.mm:
(WebGPU::CommandEncoder::errorValidatingCopyBufferToTexture const):
(WebGPU::CommandEncoder::copyBufferToTexture):
(WebGPU::CommandEncoder::errorValidatingCopyTextureToBuffer const):
(WebGPU::CommandEncoder::clearTextureIfNeeded):
(WebGPU::CommandEncoder::copyTextureToBuffer):
(WebGPU::errorValidatingCopyTextureToTexture):
(WebGPU::CommandEncoder::copyTextureToTexture):
(WebGPU::CommandEncoder::validateFinishError const):
(WebGPU::CommandEncoder::finish):
(WebGPU::CommandEncoder::clearTexture): Deleted.
(WebGPU::CommandEncoder::validateFinish const): Deleted.
* Source/WebGPU/WebGPU/PipelineLayout.mm:
(WebGPU::PipelineLayout::errorValidatingBindGroupCompatibility const):
* Source/WebGPU/WebGPU/PresentationContextIOSurface.mm:
(WebGPU::generateAValidationError):
(WebGPU::PresentationContextIOSurface::configure):
* Source/WebGPU/WebGPU/Queue.h:
* Source/WebGPU/WebGPU/Queue.mm:
(WebGPU::Queue::errorValidatingWriteTexture const):
(WebGPU::Queue::clearTextureIfNeeded):
(WebGPU::Queue::writeWillCompletelyClear):
(WebGPU::Queue::writeTexture):
(WebGPU::Queue::clearTextureViewIfNeeded):
(WebGPU::Queue::clearTexture): Deleted.
* Source/WebGPU/WebGPU/RenderPassEncoder.mm:
(WebGPU::m_maxDrawCount):
* Source/WebGPU/WebGPU/Texture.h:
* Source/WebGPU/WebGPU/Texture.mm:
(WebGPU::Texture::bytesPerRow):
(WebGPU::Texture::setCommandEncoder const):
(WebGPU::Texture::isCanvasBacking const):
(WebGPU::Texture::destroy):
(WebGPU::Texture::errorValidatingTextureCopyRange):
(WebGPU::Texture::setPreviouslyCleared):
(WebGPU::Texture::validateTextureCopyRange): Deleted.
* Source/WebGPU/WebGPU/TextureView.h:
(WebGPU::TextureView::apiParentTexture):
* Source/WebGPU/WebGPU/TextureView.mm:
(WebGPU::TextureView::setPreviouslyCleared):
(WebGPU::TextureView::parentRelativeMipLevel const):
(WebGPU::TextureView::parentRelativeSlice const):
(WebGPU::TextureView::destroy):
(WebGPU::TextureView::setCommandEncoder const):
* Source/WebGPU/WebGPU/WebGPU.h:
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteCompositorIntegration.cpp:
(WebKit::RemoteCompositorIntegration::recreateRenderBuffers):
* Source/WebKit/GPUProcess/graphics/WebGPU/RemoteCompositorIntegration.h:
*
Source/WebKit/GPUProcess/graphics/WebGPU/RemoteCompositorIntegration.messages.in:
* Source/WebKit/GPUProcess/graphics/WebGPU/RemotePresentationContext.cpp:
(WebKit::RemotePresentationContext::present):
* Source/WebKit/GPUProcess/graphics/WebGPU/RemotePresentationContext.h:
*
Source/WebKit/GPUProcess/graphics/WebGPU/RemotePresentationContext.messages.in:
* Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in:
* Source/WebKit/Shared/WebGPU/WebGPUCanvasConfiguration.cpp:
(WebKit::WebGPU::ConvertToBackingContext::convertToBacking):
(WebKit::WebGPU::ConvertFromBackingContext::convertFromBacking):
* Source/WebKit/Shared/WebGPU/WebGPUCanvasConfiguration.h:
* Source/WebKit/Shared/WebGPU/WebGPUCanvasConfiguration.serialization.in:
*
Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteCompositorIntegrationProxy.cpp:
(WebKit::WebGPU::RemoteCompositorIntegrationProxy::recreateRenderBuffers):
*
Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemoteCompositorIntegrationProxy.h:
*
Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemotePresentationContextProxy.cpp:
(WebKit::WebGPU::RemotePresentationContextProxy::unconfigure):
(WebKit::WebGPU::RemotePresentationContextProxy::present):
* Source/WebKit/WebProcess/GPU/graphics/WebGPU/RemotePresentationContextProxy.h:
Canonical link: https://commits.webkit.org/277079@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes