RESOLVED INVALID315011
[GTK][WPE] Skia Compositor: use SkCanvas::drawImageRect instead of SkSurface::writePixels to upload BGRA buffers to textures
https://bugs.webkit.org/show_bug.cgi?id=315011
Summary [GTK][WPE] Skia Compositor: use SkCanvas::drawImageRect instead of SkSurface:...
Carlos Garcia Campos
Reported 2026-05-18 04:08:09 PDT
When using SkSurface::writePixels the BGRA to RGBA conversion is always done by CPU before pixels are uploaded. With SkCanvas::drawImageRect is the GL platform supports BGRA, the pixels are uploaded as BGRA and then converted by the GPU before painting.
Attachments
Carlos Garcia Campos
Comment 1 2026-05-18 04:10:05 PDT
EWS
Comment 2 2026-05-18 06:19:23 PDT
Committed 313410@main (0862297dc193): <https://commits.webkit.org/313410@main> Reviewed commits have been landed. Closing PR #65100 and removing active labels.
WebKit Commit Bot
Comment 3 2026-05-19 02:33:48 PDT
Re-opened since this is blocked by bug 315087
Carlos Garcia Campos
Comment 4 2026-05-19 03:15:24 PDT
This didn't work, we will try a different approach.
Note You need to log in before you can comment on or make changes to this bug.