[webkit-changes] [WebKit/WebKit] 10ab3e: [GTK][WPE] WebGL: add support for platforms where ...

Carlos Garcia Campos noreply at github.com
Wed Jun 21 08:10:56 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 10ab3e37dd66d9bf8cbc500e17455a5d01c082f0
      https://github.com/WebKit/WebKit/commit/10ab3e37dd66d9bf8cbc500e17455a5d01c082f0
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-06-21 (Wed, 21 Jun 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/GraphicsTypesGL.h
    M Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.h
    M Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp

  Log Message:
  -----------
  [GTK][WPE] WebGL: add support for platforms where surfaceless context is not available
https://bugs.webkit.org/show_bug.cgi?id=258350

Reviewed by Miguel Gomez.

Create a mock pbuffer surface when surfaceless is not supported.

* Source/WebCore/platform/graphics/GraphicsTypesGL.h:
* Source/WebCore/platform/graphics/angle/GraphicsContextGLANGLE.h:
* Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapperANGLE.cpp:
(WebCore::GraphicsContextGLANGLE::~GraphicsContextGLANGLE):
(WebCore::GraphicsContextGLANGLE::makeContextCurrent):
(WebCore::GraphicsContextGLTextureMapperANGLE::platformInitializeContext):

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




More information about the webkit-changes mailing list