-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information
1 parent
be4cdc9
commit 685354b
Showing
3 changed files
with
107 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters