[webkit-changes] [WebKit/WebKit] bd4fdb: Only allow messages to RemoteGraphicsContextGL whe...

Ryosuke Niwa noreply at github.com
Wed Aug 7 15:55:41 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bd4fdb4399408b01fc0d96303e4dc466d3c1ca7e
      https://github.com/WebKit/WebKit/commit/bd4fdb4399408b01fc0d96303e4dc466d3c1ca7e
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2024-08-07 (Wed, 07 Aug 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 Tools/Scripts/generate-gpup-webgl

  Log Message:
  -----------
  Only allow messages to RemoteGraphicsContextGL when WebGL is enabled
https://bugs.webkit.org/show_bug.cgi?id=277534

Reviewed by Kimmo Kinnunen.

Enable RemoteGraphicsContextGL only when WebGL is enabled and GPU process is used for WebGL.

* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.cpp:
(WebKit::RemoteGraphicsContextGL::RemoteGraphicsContextGL):
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.h:
(WebKit::RemoteGraphicsContextGL::sharedPreferencesForWebProcess const):
* Source/WebKit/GPUProcess/graphics/RemoteGraphicsContextGL.messages.in:
* Tools/Scripts/generate-gpup-webgl:

Canonical link: https://commits.webkit.org/281964@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list