Barnabás Pőcze
f5d51162c4
treewide: mark things static and const
...
Mark some structures, arrays static/const at various places.
In some cases this prevents unnecessary initialization
when a function is entered.
All in all, the text segments across all shared
libraries are reduced by about 2 KiB. However,
the total size increases by about 2 KiB as well.
2021-06-30 14:44:08 +02:00
Wim Taymans
4f60dcadc6
vulkan: check results of stat
2020-05-20 15:24:25 +02:00
Wim Taymans
f1dc3d9728
vulkan: fix macro variables
2020-05-20 15:24:25 +02:00
Wim Taymans
ab3a6d3441
Fix some compiler warnings on arm
2020-04-03 13:18:02 +02:00
Gleb Popov
b552863ec9
Don't include alloca.h on FreeBSD.
2020-03-31 12:16:45 +02:00
Wim Taymans
990ecd20c5
vulkan: handle older versions
...
Fixes #183
2019-09-27 10:53:36 +02:00
Wim Taymans
4f31ca5383
vulkan: only send out buffers when ready
...
Keep track of the buffer that is rendering and when it finishes,
move it to the ready queue.
2019-08-19 18:16:32 +02:00
Wim Taymans
38169ec5db
vulkan: update some properties
2019-08-19 16:47:02 +02:00
Wim Taymans
9799b0e679
vulkan: add vulkan compute source
...
Add a source that runs a compute shader and exports the GPU buffer
as a DmaBuf to the clients.
2019-08-19 16:32:22 +02:00