Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Align WebGL draw call functions
https://bugs.webkit.org/show_bug.cgi?id=241347 Patch by Alexey Knyazev <3479527+lexaknyazev@users.noreply.github.com> on 2022-06-13 Reviewed by Kimmo Kinnunen. Some draw commands did not have implicit clears, inspector helpers, and post-draw notifications. * Source/WebCore/html/canvas/WebGL2RenderingContext.cpp: (WebCore::WebGL2RenderingContext::drawRangeElements): * Source/WebCore/html/canvas/WebGLMultiDraw.cpp: (WebCore::WebGLMultiDraw::multiDrawArraysWEBGL): (WebCore::WebGLMultiDraw::multiDrawArraysInstancedWEBGL): (WebCore::WebGLMultiDraw::multiDrawElementsWEBGL): (WebCore::WebGLMultiDraw::multiDrawElementsInstancedWEBGL): * Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp: (WebCore::InspectorScopedShaderProgramHighlight::InspectorScopedShaderProgramHighlight): (WebCore::InspectorScopedShaderProgramHighlight::~InspectorScopedShaderProgramHighlight): (WebCore::InspectorScopedShaderProgramHighlight::showHighlight): (WebCore::InspectorScopedShaderProgramHighlight::hideHighlight): (WebCore::InspectorScopedShaderProgramHighlight::saveBlendValue): (WebCore::InspectorScopedShaderProgramHighlight::hasBufferBinding): (WebCore::InspectorScopedShaderProgramHighlight::hasFramebufferParameterAttachment): (WebCore::WebGLRenderingContextBase::drawArraysInstanced): (WebCore::WebGLRenderingContextBase::drawElementsInstanced): (WebCore::InspectorScopedShaderProgramHighlight::showHightlight): Deleted. * Source/WebCore/html/canvas/WebGLRenderingContextBase.h: Canonical link: https://commits.webkit.org/251491@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@295486 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
079a232
commit cb33047e076bd189226dafb137d0e5eeabc614e0
Showing
4 changed files
with
204 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.