Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5a63340b38600e28b633d722122e87857dda3f27
      
https://github.com/WebKit/WebKit/commit/5a63340b38600e28b633d722122e87857dda3f27
  Author: Kimmo Kinnunen <[email protected]>
  Date:   2025-08-08 (Fri, 08 Aug 2025)

  Changed paths:
    M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.cpp
    M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.h
    M Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.messages.in
    M 
Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLFunctionsGenerated.h
    M Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.cpp
    M Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.h
    M 
Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxyFunctionsGenerated.cpp
    M Tools/Scripts/generate-gpup-webgl

  Log Message:
  -----------
  RemoteGraphicsContextGL should copy GLenum arrays
https://bugs.webkit.org/show_bug.cgi?id=293116
rdar://148500598

Reviewed by Mike Wyrzykowski.

Move drawBuffers, drawBuffersEXT, invalidateFramebuffer,
invalidateSubFramebuffer, framebufferDiscard to manual functions and
copy the enum arrays to Vectors before calling into ANGLE.

* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.cpp:
(WebKit::RemoteGraphicsContextGL::drawBuffers):
(WebKit::RemoteGraphicsContextGL::drawBuffersEXT):
(WebKit::RemoteGraphicsContextGL::invalidateFramebuffer):
(WebKit::RemoteGraphicsContextGL::invalidateSubFramebuffer):
(WebKit::RemoteGraphicsContextGL::framebufferDiscard):
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.h:
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.messages.in:
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLFunctionsGenerated.h:
(framebufferTextureLayer):
(drawRangeElements):
(getTranslatedShaderSourceANGLE):
(disableFoveation):
(invalidateFramebuffer): Deleted.
(invalidateSubFramebuffer): Deleted.
(drawBuffers): Deleted.
(drawBuffersEXT): Deleted.
(framebufferDiscard): Deleted.
* Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.cpp:
(WebKit::RemoteGraphicsContextGLProxy::drawBuffers):
(WebKit::RemoteGraphicsContextGLProxy::drawBuffersEXT):
(WebKit::RemoteGraphicsContextGLProxy::invalidateFramebuffer):
(WebKit::RemoteGraphicsContextGLProxy::invalidateSubFramebuffer):
(WebKit::RemoteGraphicsContextGLProxy::framebufferDiscard):
* Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.h:
* 
Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxyFunctionsGenerated.cpp:
(WebKit::RemoteGraphicsContextGLProxy::invalidateFramebuffer): Deleted.
(WebKit::RemoteGraphicsContextGLProxy::invalidateSubFramebuffer): Deleted.
(WebKit::RemoteGraphicsContextGLProxy::drawBuffers): Deleted.
(WebKit::RemoteGraphicsContextGLProxy::drawBuffersEXT): Deleted.
(WebKit::RemoteGraphicsContextGLProxy::framebufferDiscard): Deleted.
* Tools/Scripts/generate-gpup-webgl:
(webkit_ipc_cpp_proxy_impl.process_out_args):

Originally-landed-as: 289651.532@safari-7621-branch (726be12b8c74). 
rdar://157791727
Canonical link: https://commits.webkit.org/298468@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

Reply via email to