mutter/cogl
Jonas Ådahl 49ac60e346 cogl/renderer: Add 'is_dma_buf_supported()' vfunc
Returns TRUE if the active renderer backend can allocate DMA buffers.
This is the case hardware accelerated GBM backends, but FALSE for
surfaceless (i.e. no render node) and EGLDevice (legacy NVIDIA paths).
While software based gbm devices can allocate DMA buffers, we don't want
to allocate them for offscreen rendering, as we really only use these
for inter process transfers, and as buffers allocated for scanout
doesn't use the relevant API, making it return FALSE for these solves
that.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1939>
2022-02-07 10:56:57 +00:00
..
cogl cogl/renderer: Add 'is_dma_buf_supported()' vfunc 2022-02-07 10:56:57 +00:00
cogl-pango cogl: Remove usages of framebuffer_draw_primitive 2021-12-07 15:32:21 +00:00
test-fixtures cogl/test-utils: Skip "showing" the onscreen 2021-01-30 09:11:46 +00:00
tests tests: Rename 'material' variables to 'pipeline' 2021-12-07 15:32:21 +00:00
.gitignore cogl: Remove CoglPath and the tesselator 2020-04-08 11:38:48 +02:00
cogl-config.h.meson *: Fix spelling mistakes found by codespell 2020-08-29 09:10:31 +00:00
cogl-mutter-config.h.in
config-custom.h
meson.build cogl/dma-buf: Add API to synchronize reading 2020-05-26 13:54:28 +00:00