[webkit-changes] [WebKit/WebKit] 1bce9e: [EGL] Move image API helpers from GLContext to Pla...

Carlos Garcia Campos noreply at github.com
Wed Mar 22 05:00:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1bce9ee5245c33c2b02a5ce3de321b9660c13883
      https://github.com/WebKit/WebKit/commit/1bce9ee5245c33c2b02a5ce3de321b9660c13883
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2023-03-22 (Wed, 22 Mar 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/PlatformDisplay.cpp
    M Source/WebCore/platform/graphics/PlatformDisplay.h
    M Source/WebCore/platform/graphics/egl/GLContextEGL.cpp
    M Source/WebCore/platform/graphics/egl/GLContextEGL.h
    M Source/WebCore/platform/graphics/gbm/DMABufEGLUtilities.h
    M Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.cpp
    M Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerDmabuf.cpp
    M Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxyDMABuf.cpp

  Log Message:
  -----------
  [EGL] Move image API helpers from GLContext to PlatformDisplay
https://bugs.webkit.org/show_bug.cgi?id=254206

Reviewed by Žan Doberšek.

It's not context API, but display API.

* Source/WebCore/platform/graphics/PlatformDisplay.cpp:
(WebCore::PlatformDisplay::createEGLImage const):
(WebCore::PlatformDisplay::destroyEGLImage const):
* Source/WebCore/platform/graphics/PlatformDisplay.h:
* Source/WebCore/platform/graphics/egl/GLContextEGL.cpp:
(WebCore::GLContextEGL::GLContextEGL):
(WebCore::GLContextEGL::~GLContextEGL):
(WebCore::GLContextEGL::createImage const): Deleted.
(WebCore::GLContextEGL::destroyImage const): Deleted.
* Source/WebCore/platform/graphics/egl/GLContextEGL.h:
* Source/WebCore/platform/graphics/gbm/DMABufEGLUtilities.h:
(WebCore::DMABufEGLUtilities::constructEGLCreateImageAttributes):
* Source/WebCore/platform/graphics/gbm/GraphicsContextGLGBM.cpp:
(WebCore::GraphicsContextGLGBM::allocateDrawBufferObject):
* Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerDmabuf.cpp:
(WebCore::TextureMapperPlatformLayerDmabuf::validateTexture):
* Source/WebCore/platform/graphics/texmap/TextureMapperPlatformLayerProxyDMABuf.cpp:
(WebCore::TextureMapperPlatformLayerProxyDMABuf::DMABufLayer::EGLImageData::~EGLImageData):
(WebCore::TextureMapperPlatformLayerProxyDMABuf::DMABufLayer::createEGLImageData):
(WebCore::createImageKHR): Deleted.
(WebCore::destroyImageKHR): Deleted.

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




More information about the webkit-changes mailing list