| Age | Commit message (Collapse) | Author |
|
|
|
|
|
Otherwise layers won't work on Apple
|
|
Add volk as a repo dependency to replace the dependency on the Vulkan-Loader.
This makes it easier to build the repo as the vulkan-loader has a much more
complex build than volk does. It also allows vkcube to launch without vulkan
being installed on the system, allowing for better error handling.
Because volk can be used on all platforms, there is no longer a need for
android_wrapper. Thus it has been removed.
|
|
Only vkcube/vkcubepp make use of MoltenVK
|
|
Simplifies CMake code in various places for Apple builds
|
|
The Vulkan-Loader now supports find_package properly, allowing this repo to drop
the ad-hoc creation of the Vulkan::Vulkan target.
|
|
|
|
Allows for a clean shutdown of the rendering thread (CVDisplayLink) whilst the main thread is exiting
|
|
|
|
Made DemoViewController.m compatible with VK_EXT_metal_surface
extension and replaced all references
to VK_MVK_macos_surface and VK_MVK_ios_surface with
VK_EXT_metal_surface.
Change-Id: I4a163bc9c6109b44d169c6565313ab52161d38fc
|
|
Replaced LunarGIcon.icns with VulkanIcon.icns as part
of rebranding initiative.
Change-Id: I582b5d057f9177940c3f959a87a304c74993dec2
|
|
Update MoltenVK commit ID in known_good.json
and modified CMake files for cube, cubepp, and
vulkaninfo to accomidate the new file structure
of the MoltenVK repo.
Change-Id: I229aa1403b5d1d47060560876b177ae93190391e
|
|
Change-Id: Iaecb0e7e21a086c8523b8cd4bc9eccd05e1cbca0
|
|
This is a first pass reorganization of CMake files in this repo.
It consists primarily of dead code/variable removal, simplification,
and reformatting by latest cmake-format.
bump to cmake_minimum_required(3.4), for ccache support.
add USE_CCACHE
change 'ln -sf' to '-E create_symlink'
clarify why CMAKE_OSX_DEPLOYMENT_TARGET is pre-project().
sync FindVulkan.cmake from upstream CMake v3.8.0
Ensure our repos use identical copy of upstream FindVulkan.cmake
Copied from Modules/FindVulkan.cmake
https://gitlab.kitware.com/cmake/cmake.git
tag: v3.8.0 (commit da7833c5bb1f331162d46a2c664a443c1c641089)
change $<CONFIGURATION> to $<CONFIG>
The $<CONFIGURATION> genexp is officially deprecated.
change CMAKE_SYSTEM_NAME to UNIX/APPLE/WIN32
Note that UNIX evaluates true for OSX, so whenever the code intends
"Linux only", we use (UNIX AND NOT APPLE).
change TOOLS_TARGET_FOLDER to TOOLS_HELPER_FOLDER
for consistency with VVL and VL repos.
set Windows install prefix if needed
remove unused DisplayServer variable
remove deprecated GLSLANG_REPO_ROOT
The *_REPO_ROOT mechanism for finding packages is deprecated.
remove extra cmake_minimum_required
change LIBVK to Vulkan::Vulkan
change PYTHON_CMD to PYTHON_EXECUTABLE
section rulers, other cosmetics
.cmake-format.py 0.4.1
reformat using cmake-format 0.4.1
Change-Id: Id8e5b26fdcf5dc0b383de94cbec75a567704a55e
|
|
- Stop hardcoding CMAKE_INSTALL_PREFIX to CMAKE_BINARY_DIR so install
products are in a predictable location
- Use install/fixup_bundle to create stand-alone app bundles for cube,
cubepp, vulkaninfo-bundle at CMAKE_INSTALL_PREFIX
- Set INSTALL_RPATH_USE_LINK_PATH for bundle targets so fixup_bundle can
find libraries when run from the install tree
- Remove rpath from install copy of vulkaninfo
- Remove extraneous copy of libMoltenVK.dylib from CMAKE_INSTALL_PREFIX/demos
- Update BUILD.md
|
|
Add .cmake-format.py
Add cmake-format docs to CONTRIBUTING.md
Minor edits to existing files
Due to a bug in cmake-format, use this script to reformat:
for i in CMakeLists.txt cube/CMakeLists.txt cube/macOS/cube/cube.cmake cube/macOS/cubepp/cubepp.cmake icd/CMakeLists.txt mac_common.cmake vulkaninfo/CMakeLists.txt vulkaninfo/macOS/vulkaninfo.cmake
do
sed --in-place='' 's/^ *#/#/' $i
cmake-format --in-place $i
done
Change-Id: Ie451aacd7402828ad4d62adc04048449d0ea2abe
|
|
|
|
Fixed CMake files for macOS to include the vulkan dylib loader
file in the bundles instead of the vulkan framework file.
Change-Id: Ib59873fc392c8894d8a85b5a10bc0f17aa29061a
|
|
- Modify cube and cubepp to obtain the texture image data from
an include file instead of reading a PPM file at runtime.
(This is the way it works for Android)
This removes the need to install an image file or otherwise
make an image file available in a repo build.
- Add cube and cubepp to the install target.
Note: The file handling code is left in place to make it easy
to add a "-texture_file <file>" option so a user can pass in
a texture file.
Fixes #5
|
|
Updated CMake scripts to add building for MacOS
Change-Id: I413f79e337d33f37891092da97380597e28c8257
|
|
Change-Id: Ie1116b0b6de742b4f85834a4c9d1927dd641e19b
|