Closed Bug 1578380 Opened 5 months ago Closed 4 months ago

[Wayland] Implement WaylandDMABUFTextureClientOGL / WaylandDMABUFTextureHostOGL

Categories

(Core :: Graphics: Layers, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(8 files)

47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review

[Wayland] Implement WaylandDMABUFTextureClientOGL / WaylandDMABUFTextureHostOGL.

WaylandDMABufSurface is used as a backend for WaylandDMABUFTextureClientOGL.
Pixel data of WaylandDMABufSurface are located at GPU memory and can be
shared by processes.

WaylandDMABufSurface is used as a backend for WaylandDMABUFTextureHostOGL.
Pixel data of WaylandDMABufSurface are located at GPU memory and are
binded from WaylandDMABUFTextureClientOGL.

WaylandDMABufSurface can be binded as EGLImage so EGLImageTextureSource is used.

Depends on D46836

Let's use single Wayland configuration point at gfxPlatformGtk instead of various GDK_IS_X11_DISPLAY() calls.
Also provide info about enabled DMABuf surfaces when Wayland backend is used.

Depends on D46842

Keywords: checkin-needed

Pushed by cbrindusan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ca57727c3aad
[Wayland] Implement WaylandDMABUFTextureClientOGL, r=sotaro
https://hg.mozilla.org/integration/autoland/rev/2b52c3d15b7b
[Wayland] Implement WaylandDMABUFTextureHostOGL, r=sotaro
https://hg.mozilla.org/integration/autoland/rev/3a8abb5d7a43
[Wayland] Enable build of WaylandDMABUFTextureClientOGL/WaylandDMABUFTextureHostOGL, r=sotaro
https://hg.mozilla.org/integration/autoland/rev/b80b7e186f02
Export WaylandDMABUF TextureType, r=sotaro
https://hg.mozilla.org/integration/autoland/rev/754865b2810f
[Wayland] Use WaylandDMABUF texure backend on Wayland when DMABuf is enabled, r=sotaro
https://hg.mozilla.org/integration/autoland/rev/3fdbc241d63a
[Wayland] Use WaylandDMABufSurface as ref-counted and store GLContext, r=jhorak
https://hg.mozilla.org/integration/autoland/rev/373c4563e9fd
[Wayland] Provide gfxPlatformGtk::IsX11Display() and gfxPlatformGtk::UseWaylandDMABufSurfaces(), r=sotaro
https://hg.mozilla.org/integration/autoland/rev/28c2e884d20a
[Wayland] Use ContentClientDoubleBuffered() on Wayland with DMABuf texture backend enabled, r=sotaro

Keywords: checkin-needed

Hm, I don't quite understand how is that possible, I did try and that went fine:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=254143795a2740445e5391d8049a6d932a173dfd

Flags: needinfo?(stransky)

Ahh I see. UseWaylandDMABufSurfaces() is defined only when MOZ_WAYLAND is defined.

Keywords: checkin-needed

Pushed by cbrindusan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/90e37db667c1
[Wayland] Implement WaylandDMABUFTextureClientOGL, r=sotaro
https://hg.mozilla.org/integration/autoland/rev/d2becde7f177
[Wayland] Implement WaylandDMABUFTextureHostOGL, r=sotaro
https://hg.mozilla.org/integration/autoland/rev/bafb308b2ad1
[Wayland] Enable build of WaylandDMABUFTextureClientOGL/WaylandDMABUFTextureHostOGL, r=sotaro
https://hg.mozilla.org/integration/autoland/rev/2fc6b1a863fd
Export WaylandDMABUF TextureType, r=sotaro
https://hg.mozilla.org/integration/autoland/rev/d286f2b700d7
[Wayland] Use WaylandDMABUF texure backend on Wayland when DMABuf is enabled, r=sotaro
https://hg.mozilla.org/integration/autoland/rev/935af7c7e287
[Wayland] Use WaylandDMABufSurface as ref-counted and store GLContext, r=jhorak
https://hg.mozilla.org/integration/autoland/rev/f5f1a7abdd43
[Wayland] Provide gfxPlatformGtk::IsX11Display() and gfxPlatformGtk::UseWaylandDMABufSurfaces(), r=sotaro
https://hg.mozilla.org/integration/autoland/rev/0fd48261532d
[Wayland] Use ContentClientDoubleBuffered() on Wayland with DMABuf texture backend enabled, r=sotaro

Keywords: checkin-needed
You need to log in before you can comment on or make changes to this bug.