Bug 236635

Summary: [GTK][WPE] Implement dmabuf path for GStreamer texture sharing with WebGL/ANGLE
Product: WebKit Reporter: Chris Lord <clord>
Component: ANGLEAssignee: Chris Lord <clord>
Status: NEW ---    
Severity: Normal CC: dino, don.olmstead, eric.carlson, Hironori.Fujii, jer.noble, kbr, kkinnunen, pnormand, zan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 236587    
Bug Blocks: 237649    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
ews-feeder: commit-queue-
Patch none

Description Chris Lord 2022-02-15 00:56:10 PST
Bug 236587 disables the texture-sharing path with ANGLE (because it's broken), we should implement an alternative GPU-side path for texture sharing using dmabufs.
Comment 1 Chris Lord 2022-02-22 04:54:43 PST
Created attachment 452856 [details]
Patch
Comment 2 Chris Lord 2022-02-22 06:11:32 PST
Created attachment 452863 [details]
Patch
Comment 3 Don Olmstead 2022-02-22 10:14:43 PST
Comment on attachment 452863 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=452863&action=review

r=me when bots are green

> Source/WebCore/platform/graphics/texmap/GraphicsContextGLTextureMapper.cpp:34
> +#include "GBMDevice.h"

This should be guarded.
Comment 4 Chris Lord 2022-02-23 02:01:39 PST
Created attachment 452953 [details]
Patch
Comment 5 Chris Lord 2022-02-23 02:37:27 PST
Created attachment 452955 [details]
Patch
Comment 6 Zan Dobersek 2022-02-23 02:43:32 PST
This should wait on dmabuf-related changes in MediaPlayerPrivateGStreamer.