Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 773d3731d40eda83458bd4224800cf0ba4f3949f
https://github.com/WebKit/WebKit/commit/773d3731d40eda83458bd4224800cf0ba4f3949f
Author: Sihui Liu <[email protected]>
Date: 2024-11-21 (Thu, 21 Nov 2024)
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/Platform/IPC/StreamServerConnection.cpp
M Source/WebKit/Platform/IPC/StreamServerConnection.h
M Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.h
M Tools/Scripts/generate-gpup-webgl
Log Message:
-----------
Add message check support to StreamServerConnection
https://bugs.webkit.org/show_bug.cgi?id=283399
rdar://140257762
Reviewed by Kimmo Kinnunen.
MESSAGE_CHECK currently invokes markCurrentlyDispatchedMessageAsInvalid() on
connection when check fails. To enable
message check on StreamServerConnection, add
StreamServerConnection::markCurrentlyDispatchedMessageAsInvalid(). With
this change, RemoteGraphicsContextGL could do message check in message handler
functions and we could remove EnabledIf
annotation in RemoteGraphicsContextGL.messages.in. EnabledIf currently overlaps
with both EnabledBy and MESSAGE_CHECK,
and we will drop it soon to avoid confusion.
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.cpp:
(WebKit::RemoteGraphicsContextGL::messageCheck):
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.h:
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.messages.in:
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGLFunctionsGenerated.h:
(createExternalImage):
(deleteExternalImage):
(bindExternalImage):
(createExternalSync):
(deleteExternalSync):
(enableRequiredWebXRExtensions):
(addFoveation):
(enableFoveation):
(disableFoveation):
(framebufferDiscard):
(framebufferResolveRenderbuffer):
* Source/WebKit/Platform/IPC/StreamServerConnection.cpp:
(IPC::StreamServerConnection::dispatchStreamMessage):
(IPC::StreamServerConnection::markCurrentlyDispatchedMessageAsInvalid):
* Source/WebKit/Platform/IPC/StreamServerConnection.h:
* Source/WebKit/WebProcess/GPU/graphics/RemoteGraphicsContextGLProxy.h:
* Tools/Scripts/generate-gpup-webgl:
(cpp_func):
(cpp_func.__init__):
(webkit_ipc_msg):
(webkit_ipc_msg.__init__):
(webkit_ipc_msg.__str__):
(webkit_ipc_cpp_impl.__init__):
(create_cpp_arg_list):
(create_cpp_func):
(main):
Canonical link: https://commits.webkit.org/286924@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