mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-17 06:46:39 -04:00
render/vulkan: Guard hostmem import with env flag
Direct host memory import is experimental. Put it behind an environment variable to allow easy testing.
This commit is contained in:
parent
b385af41dc
commit
dfbb819044
4 changed files with 11 additions and 1 deletions
|
|
@ -324,6 +324,8 @@ struct wlr_vk_renderer {
|
|||
VkImage dst_image;
|
||||
VkDeviceMemory dst_img_memory;
|
||||
} read_pixels_cache;
|
||||
|
||||
bool direct_shm_import;
|
||||
};
|
||||
|
||||
// vertex shader push constant range data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue