Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 685354bc969a297feb8030122b0ab696294debd7
      
https://github.com/WebKit/WebKit/commit/685354bc969a297feb8030122b0ab696294debd7
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2024-05-22 (Wed, 22 May 2024)

  Changed paths:
    M Source/WebCore/platform/graphics/PlatformDisplay.cpp
    M Source/WebCore/platform/graphics/PlatformDisplay.h
    M Source/WebCore/platform/graphics/skia/PlatformDisplaySkia.cpp

  Log Message:
  -----------
  [Skia] Use a different GL context on every thread
https://bugs.webkit.org/show_bug.cgi?id=274454

Reviewed by Miguel Gomez.

This will allow to have accelerated ImageBitmap and offscreen canvas.

* Source/WebCore/platform/graphics/PlatformDisplay.cpp:
(WebCore::PlatformDisplay::clearSharingGLContext):
* Source/WebCore/platform/graphics/PlatformDisplay.h:
(WebCore::PlatformDisplay::skiaGrContext): Deleted.
* Source/WebCore/platform/graphics/skia/PlatformDisplaySkia.cpp:
(WebCore::skiaGLInterface):
(WebCore::SkiaGLContext::create):
(WebCore::SkiaGLContext::invalidate):
(WebCore::SkiaGLContext::skiaGLContext const):
(WebCore::SkiaGLContext::skiaGrContext const):
(WebCore::SkiaGLContext::SkiaGLContext):
(WebCore::PlatformDisplay::skiaGLContext):
(WebCore::PlatformDisplay::skiaGrContext):
(WebCore::PlatformDisplay::invalidateSkiaGLContexts):

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