-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebGL rendering contexts have redundant framebuffer functions, TexIma…
…geSource typedef https://bugs.webkit.org/show_bug.cgi?id=260381 rdar://problem/114072108 Reviewed by Dan Glastonbury. Remove the unused functions and duplicated TexImageSource typedef. Move ensureNotNull to a translation unit local free function. * Source/WebCore/html/canvas/WebGL2RenderingContext.cpp: (WebCore::WebGL2RenderingContext::getReadFramebufferBinding): Deleted. (WebCore::WebGL2RenderingContext::restoreCurrentFramebuffer): Deleted. * Source/WebCore/html/canvas/WebGL2RenderingContext.h: * Source/WebCore/html/canvas/WebGLRenderingContext.cpp: (WebCore::root): * Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp: (WebCore::ensureNotNull): (WebCore::root): (WebCore::WebGLRenderingContextBase::getReadFramebufferBinding): Deleted. (WebCore::WebGLRenderingContextBase::ensureNotNull const): Deleted. (WebCore::WebGLRenderingContextBase::enableOrDisable): Deleted. (WebCore::WebGLRenderingContextBase::restoreCurrentFramebuffer): Deleted. (WebCore::WebGLRenderingContextBase::restoreCurrentTexture2D): Deleted. * Source/WebCore/html/canvas/WebGLRenderingContextBase.h: Canonical link: https://commits.webkit.org/267394@main
- Loading branch information
1 parent
8224c07
commit c7e4339
Showing
4 changed files
with
7 additions
and
66 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
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