[webkit-changes] [WebKit/WebKit] dc1987: [WebGL] Reinstate const only access to GCGLSpan bu...
Dan Glastonbury
noreply at github.com
Tue Sep 6 17:00:51 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dc198777974b4d9893369328efda40c4aa578454
https://github.com/WebKit/WebKit/commit/dc198777974b4d9893369328efda40c4aa578454
Author: Dan Glastonbury <djg at apple.com>
Date: 2022-09-06 (Tue, 06 Sep 2022)
Changed paths:
M Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp
M Source/WebCore/platform/graphics/GraphicsContextGL.cpp
M Source/WebCore/platform/graphics/GraphicsTypesGL.h
M Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp
M Source/WebCore/platform/graphics/opengl/ExtensionsGLOpenGL.cpp
M Source/WebCore/platform/graphics/opengl/GraphicsContextGLOpenGL.cpp
M Source/WebCore/platform/graphics/opengl/GraphicsContextGLOpenGLBase.cpp
M Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.cpp
M Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxyFunctionsGenerated.cpp
M Tools/Scripts/generate-gpup-webgl
Log Message:
-----------
[WebGL] Reinstate const only access to GCGLSpan buffer size
https://bugs.webkit.org/show_bug.cgi?id=244752
rdar://problem/99514068
Reviewed by Kimmo Kinnunen.
* Source/WebCore/html/canvas/WebGLRenderingContextBase.cpp:
(WebCore::WebGLRenderingContextBase::texImageArrayBufferViewHelper):
- data -> data()
* Source/WebCore/platform/graphics/GraphicsContextGL.cpp:
(WebCore::GraphicsContextGL::extractTextureData):
- data -> data()
* Source/WebCore/platform/graphics/GraphicsTypesGL.h:
(GCGLSpan::GCGLSpan):
- struct -> class
- Make public members data & bufSize private and prepend m_
- Add data() and size() accesssors
* Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.cpp:
* Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.cpp:
- data -> data()
- bufSize -> size()
* Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxyFunctionsGenerated.cpp:
Regenerated
* Tools/Scripts/generate-gpup-webgl:
Update code generator to access GCGLSpan members via accessors data() & size().
Canonical link: https://commits.webkit.org/254207@main
More information about the webkit-changes
mailing list