Home

Awesome

<!-- - Copyright (c) 2019, Arm Limited and Contributors - - SPDX-License-Identifier: MIT - - Permission is hereby granted, free of charge, - to any person obtaining a copy of this software and associated documentation files (the "Software"), - to deal in the Software without restriction, including without limitation the rights to - use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, - and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, - INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. - IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -->

Vulkan Best Practice for Mobile Developers <!-- omit in toc -->

Vulkan Best Practice for Mobile Developers banner


This project has been donated to Khronos Group. Development has now moved to:

Please open issues and pull requests there.


Contents <!-- omit in toc -->

Introduction

The Vulkan Best Practice for Mobile Developers is collection of resources to help you develop optimized Vulkan applications for mobile platforms.

Goals

Disclaimer: This project covers advanced Vulkan concepts. If you are new to Vulkan here are a few links to get you started:

Tutorials

Setup

Clone the repo with submodules using the following command:

git clone --recurse-submodules https://github.com/ARM-software/vulkan_best_practice_for_mobile_developers.git
cd vulkan_best_practice_for_mobile_developers

Follow build instructions for your platform below.

Build

Supported Platforms

Usage

The following shows some example command line usage on how to configure and run the Vulkan Best Practices.

# Run Swapchain Images sample
vulkan_best_practice swapchain_images

# Run AFBC sample in benchmark mode for 5000 frames
vulkan_best_practice --sample afbc --benchmark 5000

# Run bonza test offscreen
vulkan_best_practice --test bonza --hide

# Run all the performance samples
vulkan_best_practice --batch performance

Tests

License

See LICENSE.

This project has some third-party dependencies, each of which may have independent licensing:

This project uses the following 3D models. Each one has its own licence.

Sponza model downloaded from Morgan McGuire's Computer Graphics Archive.

Fonts downloaded from Google Fonts, under license Apache 2.0

PBR References:

Trademarks

Vulkan is a registered trademark of the Khronos Group Inc.

Contributions

All contributions are accepted under the same LICENSE.

Related resources