Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a07d3e4e2067578a818215d89f5742b5e9707389
      
https://github.com/WebKit/WebKit/commit/a07d3e4e2067578a818215d89f5742b5e9707389
  Author: Carlos Garcia Campos <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to