Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9969537eb29168a65c55e44cba724d3cd1319ff1
      
https://github.com/WebKit/WebKit/commit/9969537eb29168a65c55e44cba724d3cd1319ff1
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2025-08-12 (Tue, 12 Aug 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/PlatformDisplay.cpp
    M Source/WebCore/platform/graphics/PlatformDisplay.h
    M Source/WebCore/platform/graphics/egl/GLContext.cpp
    M Source/WebCore/platform/graphics/egl/GLContext.h
    M Source/WebCore/platform/graphics/egl/GLContextLibWPE.cpp
    M Source/WebCore/platform/graphics/egl/GLDisplay.cpp
    M Source/WebCore/platform/graphics/egl/GLDisplay.h
    M Source/WebCore/platform/graphics/egl/GLFence.cpp
    M Source/WebCore/platform/graphics/egl/PlatformDisplayDefault.cpp
    M Source/WebCore/platform/graphics/egl/PlatformDisplayDefault.h
    M Source/WebCore/platform/graphics/egl/PlatformDisplaySurfaceless.cpp
    M Source/WebCore/platform/graphics/egl/PlatformDisplaySurfaceless.h
    M Source/WebCore/platform/graphics/gbm/PlatformDisplayGBM.cpp
    M Source/WebCore/platform/graphics/gbm/PlatformDisplayGBM.h
    M Source/WebCore/platform/graphics/libwpe/PlatformDisplayLibWPE.cpp
    M Source/WebCore/platform/graphics/libwpe/PlatformDisplayLibWPE.h
    M Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp
    M Source/WebCore/platform/graphics/win/PlatformDisplayWin.cpp
    M Source/WebCore/platform/graphics/win/PlatformDisplayWin.h
    M Source/WebKit/GPUProcess/graphics/wc/WCSceneContext.cpp
    M Source/WebKit/UIProcess/XR/openxr/OpenXRLayer.cpp
    M Source/WebKit/UIProcess/gtk/Display.h
    M 
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/LayerTreeHostTextureMapper.cpp
    M 
Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/ThreadedCompositor.cpp

  Log Message:
  -----------
  [CoordinatedGraphics] Remove GLContext dependency on PlatformDisplay
https://bugs.webkit.org/show_bug.cgi?id=297215

Reviewed by Miguel Gomez.

GLContext is keeping a plain reference to PlatformDisplay because it was
assumed that global shared display was the only possible
PlatformDisplay. This patch makes GLDisplay reference counted and
GLContext now takes a weak reference of a GLDisplay instead of a plain
reference of a PlatformDisplay. We still keep the constructors taking a
PlatformDisplay for convenience.

Canonical link: https://commits.webkit.org/298560@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