[webkit-changes] [WebKit/WebKit] a07d3e: [GTK] Use the new GTK API to create a GdkTexture f...
Carlos Garcia Campos
noreply at github.com
Thu Feb 1 00:57:59 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a07d3e4e2067578a818215d89f5742b5e9707389
https://github.com/WebKit/WebKit/commit/a07d3e4e2067578a818215d89f5742b5e9707389
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2024-02-01 (Thu, 01 Feb 2024)
Changed paths:
M Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp
M Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h
Log Message:
-----------
[GTK] Use the new GTK API to create a GdkTexture from a DMA-BUF buffer
https://bugs.webkit.org/show_bug.cgi?id=268445
Reviewed by Alejandro G. Castro.
Using GdkDmabufTextureBuilder we can create a GdkTexture to pass to GTK
without having to use EGL.
* Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.cpp:
(WebKit::AcceleratedBackingStoreDMABuf::BufferDMABuf::create):
(WebKit::AcceleratedBackingStoreDMABuf::BufferDMABuf::BufferDMABuf):
(WebKit::AcceleratedBackingStoreDMABuf::BufferDMABuf::didUpdateContents):
(WebKit::AcceleratedBackingStoreDMABuf::Renderer::snapshot const):
(WebKit::AcceleratedBackingStoreDMABuf::didCreateBuffer):
* Source/WebKit/UIProcess/gtk/AcceleratedBackingStoreDMABuf.h:
Canonical link: https://commits.webkit.org/273890@main
More information about the webkit-changes
mailing list