Bug 236635 - [GTK][WPE] Implement dmabuf path for GStreamer texture sharing with WebGL/ANGLE
Summary: [GTK][WPE] Implement dmabuf path for GStreamer texture sharing with WebGL/ANGLE
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: ANGLE (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Lord
URL:
Keywords:
Depends on: 236587
Blocks: DMA-BUF
  Show dependency treegraph
 
Reported: 2022-02-15 00:56 PST by Chris Lord
Modified: 2023-03-18 09:29 PDT (History)
10 users (show)

See Also:


Attachments
Patch (13.32 KB, patch)
2022-02-22 04:54 PST, Chris Lord
no flags Details | Formatted Diff | Diff
Patch (13.25 KB, patch)
2022-02-22 06:11 PST, Chris Lord
no flags Details | Formatted Diff | Diff
Patch (13.80 KB, patch)
2022-02-23 02:01 PST, Chris Lord
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (13.84 KB, patch)
2022-02-23 02:37 PST, Chris Lord
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.
Comment 7 Philippe Normand 2023-03-18 09:29:30 PDT
(In reply to Zan Dobersek from comment #6)
> This should wait on dmabuf-related changes in MediaPlayerPrivateGStreamer.

Is this patch now worth rebasing?