mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
20 lines
972 B
C++
20 lines
972 B
C++
--- gpu/vulkan/vulkan_image.h.orig 2023-02-01 18:43:21 UTC
|
|
+++ gpu/vulkan/vulkan_image.h
|
|
@@ -87,7 +87,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanImage {
|
|
VkImageUsageFlags usage,
|
|
VkImageCreateFlags flags);
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
static std::unique_ptr<VulkanImage> CreateWithExternalMemoryAndModifiers(
|
|
VulkanDeviceQueue* device_queue,
|
|
const gfx::Size& size,
|
|
@@ -199,7 +199,7 @@ class COMPONENT_EXPORT(VULKAN) VulkanImage {
|
|
VkImageTiling image_tiling,
|
|
uint32_t queue_family_index);
|
|
|
|
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
bool InitializeWithExternalMemoryAndModifiers(VulkanDeviceQueue* device_queue,
|
|
const gfx::Size& size,
|
|
VkFormat format,
|