Bug 268445
| Summary: | [GTK] Use the new GTK API to create a GdkTexture from a DMA-BUF buffer | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
| Component: | WebKitGTK | Assignee: | Carlos Garcia Campos <cgarcia> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply, kdwkleung, otte |
| Priority: | P2 | Keywords: | Gtk |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=267578 | ||
Carlos Garcia Campos
Using GdkDmabufTextureBuilder we can create a GdkTexture to pass to GTK without having to use EGL.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Carlos Garcia Campos
Pull request: https://github.com/WebKit/WebKit/pull/23567
Benjamin Otte
First patch that actually checks for a NULL return value!
Patch looks good, only thing I was thinking about is premultiplied-ness but I suppose it's all opaque so that doesn't matter, and even if it wasn't opaque, Webkit probably renders premultiplied anyway?
EWS
Committed 273890@main (a07d3e4e2067): <https://commits.webkit.org/273890@main>
Reviewed commits have been landed. Closing PR #23567 and removing active labels.