[webkit-changes] [WebKit/WebKit] dc0f5e: Implement EXT_blend_func_extended
Alexey Knyazev
noreply at github.com
Fri Sep 8 00:29:47 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dc0f5e287183058a1fec5778f4d68b98fe18914d
https://github.com/WebKit/WebKit/commit/dc0f5e287183058a1fec5778f4d68b98fe18914d
Author: Alexey Knyazev <3479527+lexaknyazev at users.noreply.github.com>
Date: 2023-09-08 (Fri, 08 Sep 2023)
Changed paths:
M LayoutTests/TestExpectations
M LayoutTests/platform/ios-simulator/webgl/webgl-draft-extensions-flag-default-expected.txt
M LayoutTests/platform/ios-simulator/webgl/webgl-draft-extensions-flag-on-expected.txt
M LayoutTests/webgl/resources/webgl-draft-extensions-flag.js
M LayoutTests/webgl/webgl-draft-extensions-flag-default-expected.txt
M LayoutTests/webgl/webgl-draft-extensions-flag-off-expected.txt
M LayoutTests/webgl/webgl-draft-extensions-flag-on-expected.txt
M Source/WebCore/CMakeLists.txt
M Source/WebCore/DerivedSources-input.xcfilelist
M Source/WebCore/DerivedSources-output.xcfilelist
M Source/WebCore/DerivedSources.make
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/bindings/js/JSDOMConvertWebGL.cpp
A Source/WebCore/html/canvas/EXTBlendFuncExtended.cpp
A Source/WebCore/html/canvas/EXTBlendFuncExtended.h
A Source/WebCore/html/canvas/EXTBlendFuncExtended.idl
M Source/WebCore/html/canvas/WebGL2RenderingContext.cpp
M Source/WebCore/html/canvas/WebGLExtensionAny.h
M Source/WebCore/html/canvas/WebGLExtensionAnyInlines.h
M Source/WebCore/html/canvas/WebGLRenderingContext.cpp
M Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp
M Source/WebCore/html/canvas/WebGLRenderingContextBase.h
M Source/WebCore/platform/graphics/GraphicsContextGL.h
Log Message:
-----------
Implement EXT_blend_func_extended
https://bugs.webkit.org/show_bug.cgi?id=261269
Reviewed by Kimmo Kinnunen.
Also removed redundant blendFunc validation.
* LayoutTests/TestExpectations:
* LayoutTests/platform/ios-simulator/webgl/webgl-draft-extensions-flag-default-expected.txt:
* LayoutTests/platform/ios-simulator/webgl/webgl-draft-extensions-flag-on-expected.txt:
* LayoutTests/webgl/resources/webgl-draft-extensions-flag.js:
* LayoutTests/webgl/webgl-draft-extensions-flag-default-expected.txt:
* LayoutTests/webgl/webgl-draft-extensions-flag-off-expected.txt:
* LayoutTests/webgl/webgl-draft-extensions-flag-on-expected.txt:
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/bindings/js/JSDOMConvertWebGL.cpp:
(WebCore::convertToJSValue):
* Source/WebCore/html/canvas/EXTBlendFuncExtended.cpp: Added.
(WebCore::EXTBlendFuncExtended::EXTBlendFuncExtended):
(WebCore::EXTBlendFuncExtended::supported):
* Source/WebCore/html/canvas/EXTBlendFuncExtended.h: Added.
* Source/WebCore/html/canvas/EXTBlendFuncExtended.idl: Added.
* Source/WebCore/html/canvas/WebGL2RenderingContext.cpp:
(WebCore::WebGL2RenderingContext::getExtension):
(WebCore::WebGL2RenderingContext::getSupportedExtensions):
* Source/WebCore/html/canvas/WebGLExtensionAny.h:
* Source/WebCore/html/canvas/WebGLExtensionAnyInlines.h:
* Source/WebCore/html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::getExtension):
(WebCore::WebGLRenderingContext::getSupportedExtensions):
* Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:
(WebCore::WebGLRenderingContextBase::blendFunc):
(WebCore::WebGLRenderingContextBase::blendFuncSeparate):
(WebCore::WebGLRenderingContextBase::getParameter):
(WebCore::WebGLRenderingContextBase::extensionIsEnabled):
(WebCore::WebGLRenderingContextBase::loseExtensions):
(WebCore::WebGLRenderingContextBase::validateBlendFuncFactors): Deleted.
* Source/WebCore/html/canvas/WebGLRenderingContextBase.h:
* Source/WebCore/platform/graphics/GraphicsContextGL.h:
Canonical link: https://commits.webkit.org/267775@main
More information about the webkit-changes
mailing list