diff options
Diffstat (limited to 'devel/electron29/files/patch-ui_gfx_gpu__memory__buffer.h')
-rw-r--r-- | devel/electron29/files/patch-ui_gfx_gpu__memory__buffer.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-ui_gfx_gpu__memory__buffer.h b/devel/electron29/files/patch-ui_gfx_gpu__memory__buffer.h new file mode 100644 index 000000000000..5da432b2f2c4 --- /dev/null +++ b/devel/electron29/files/patch-ui_gfx_gpu__memory__buffer.h @@ -0,0 +1,20 @@ +--- ui/gfx/gpu_memory_buffer.h.orig 2023-03-30 00:34:18 UTC ++++ ui/gfx/gpu_memory_buffer.h +@@ -15,7 +15,7 @@ + #include "ui/gfx/geometry/rect.h" + #include "ui/gfx/gfx_export.h" + +-#if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_OZONE) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + #include "ui/gfx/native_pixmap_handle.h" + #elif BUILDFLAG(IS_APPLE) + #include "ui/gfx/mac/io_surface.h" +@@ -75,7 +75,7 @@ struct GFX_EXPORT GpuMemoryBufferHandle { + base::UnsafeSharedMemoryRegion region; + uint32_t offset = 0; + uint32_t stride = 0; +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_FUCHSIA) || BUILDFLAG(IS_BSD) + NativePixmapHandle native_pixmap_handle; + #elif BUILDFLAG(IS_APPLE) + ScopedIOSurface io_surface; |