Commit graph

17 commits

Author SHA1 Message Date
Tom Anderson
0f0cfd88d7 GN build: Define VK_USE_PLATFORM_XLIB_KHR
This is required to define vkCreateXlibSurfaceKHR, which is required
by GTK4.

Depends on Dawn CL:
https://dawn-review.googlesource.com/c/dawn/+/229494

Needed to fix this Chromium issue:
https://g-issues.chromium.org/issues/345261080
2025-03-06 15:49:41 -06:00
Shahbaz Youssefi
9dff1f571c Fix GN include checks 2024-11-28 09:13:14 -07:00
unknown
5ac36269f5 build: Update build.gn with AV1 headers
av1std_decode.h & av1std.h were added recently and needed adding to the
build.gn build.
2024-02-09 08:18:46 -08:00
Juan Ramos
aff5071d4e gn: Fix validation layer build
closes KhronosGroup/Vulkan-ValidationLayers/issues/6780
2023-10-23 14:34:57 -06:00
Juan Ramos
bc14fdad60 Add REUSE compliance checker to CI 2023-07-14 09:57:20 -06:00
Mike Schuchardt
6c68315849 Add -Wno-redundant-parens to BUILD.gn
The SC vk.xml merge added extra parentheses to the
VK_DEFINE_NON_DISPATCHABLE_HANDLES macro in order to satisfy MISRA rule
20.7.  Make sure this doesn't break downstream builds that would
otherwise warn about them.
2023-02-17 16:36:20 -07:00
Juan Ramos
6f62a95edb build: Remove vk_sdk_platform.h
Users have already been warned about this file being deprecated.
2023-01-19 10:02:09 -07:00
Juan Ramos
24115c70be docs: Update copyright 2023-01-04 10:41:02 -07:00
Juan Ramos
cbce167390 gn: Fix GN build warnings 2023-01-04 10:41:02 -07:00
Antonio Caggiano
628eaec640 GN: Wayland include directories
Wayland headers can be found in multiple directories. Use an array to
specify those include directories.
2022-04-01 10:04:36 -07:00
Antonio Caggiano
b6554a7ff3 GN: Wayland include directories
Improve support for environments without wayland in their system include
directories, by adding the vulkan_wayland_include_dir variable which can
be defined in build_overrides.
2022-03-23 10:00:40 -07:00
Antonio Caggiano
0873a22a11 GN: Support Wayland platform
Following the approach taken with XCB, add support for Wayland based on
user-defined variable.
2022-01-12 09:43:48 -08:00
Yuly Novikov
c428484bc8 Fix build after adding new header
Add new vulkan_screen.h header to BUILD.gn

fixes #187
2021-03-01 12:16:54 -08:00
Ethan Lee
f63dd5c9d8 GN: Make PLATFORM_XCB optional, based on a user-defined variable.
Not all Linux platforms will have X11 available (Wayland, GGP), so we have to
declare a variable that checks use_x11 separately.
2019-12-27 22:15:11 -08:00
Jamie Madill
d42d0747ee GN: Add support for Google Games Platform.
This is conditional upon defining a variable 'is_ggp'. The variable is
optional.
2019-11-06 08:13:12 -08:00
Jonah Ryan-Davis
52c2645854 build: BUILD.gn missing defines for MacOS
BUILD.gn does not define VK_USE_PLATFORM_METAL_EXT for MacOS
2019-11-06 07:57:37 -08:00
Mike Schuchardt
c277ce529d build: Add support for GN build system 2019-04-23 13:38:42 -07:00