KhronosGroup/Vulkan-Samples — dự án backend — đang có 5.4k sao GitHub trong nhóm Backend. One stop solution for all Vulkan samples
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
ifndef::site-gen-antora[]
== Vulkan Documentation Site
Documentation for the samples is best viewed at the new link:https://docs.vulkan.org/samples/latest/README.html[Vulkan Documentation Site]. The documentation uses AsciiDoc which isn't fully supported by github.
endif::[]
== Introduction
The Vulkan Samples is collection of resources to help you develop optimized Vulkan applications.
If you are new to Vulkan the xref:samples/api/README.adoc[API samples] are the right place to start.
Additionally you may find the following links useful:
ifdef::site-gen-antora[]
xref:guide:ROOT:index.adoc[Vulkan Guide]
xref:tutorial:ROOT:00_Introduction.adoc[Get Started in Vulkan]
endif::[]
https://docs.vulkan.org/tutorial/latest/index.html[Get Started in Vulkan]
endif::[]
xref:samples/performance/README.adoc[Performance samples] show the recommended best practice together with real-time profiling information.
They are more advanced but also contain a detailed tutorial with more in-detail explanations.
=== Requirements
The samples are written in C{pp} and require a compiler that supports at least C{pp}20. To run the samples, a device that supports at least Vulkan 1.1 or newer is required. Some samples might require a higher Vulkan version and/or support for certain extensions.
=== Goals
Create a collection of resources that demonstrate best-practice recommendations in Vulkan
Create tutorials that explain the implementation of best-practices and include performance analysis guides
== Samples
xref:./samples/README.adoc[Listing of all samples available in this repository]
Prerequisites: https://git-scm.com/downloads[git] with https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage[git large file storage (git-lfs)].
Clone the repo with submodules using the following command:
git clone --recurse-submodules https://github.com/KhronosGroup/Vulkan-Samples.git
cd Vulkan-Samples
Follow build instructions for your platform below.
[NOTE]
The full repository is very large, and some ISPs appear to have trouble
providing a robust connection to github while the clone is being made.
If you notice problems such as submodules downloading at reported rates in
the tens of kB/s, or fatal timeout errors occurring, these may be due to
network routing issues to github within your ISP's internal network, rather
than anything wrong in your own networking setup.
It can be very difficult to get ISPs to acknowledge such problems exist, much
less to fix them.
One workaround is to switch the repository to use ssh protocol prior to the
submodule download, which can be done via e.g.
While this can be a good alternative if you are running into this connection
issue, you must have GitHub ssh key authentication setup to use ssh
protocol - see
link:https://docs.github.com/en/authentication/connecting-to-github-with-ssh[Connecting
to GitHub with SSH] for details.
So it is a not a solution we can implement as the repository default.
Another option which may help is to run github through a VPN service.
== Build
=== Supported Platforms
Windows - xref:./docs/build.adoc#windows[Build Guide]
The following shows some example command line usage on how to configure and run the Vulkan Samples.
Make sure that you are running the samples from the root directory of the repository.
Otherwise the samples will not be able to find the assets.
./build/app/bin///vulkan_samples
adb shell am start-activity -n com.khronos.vulkan_samples/com.khronos.vulkan_samples.SampleLauncherActivity -e sample swapchain_images
== License
See link:LICENSE[LICENSE].
This project has several xref:./third_party/README.adoc[third-party dependencies]
This project uses assets from https://github.com/KhronosGroup/Vulkan-Samples-Assets[vulkan-samples-assets].
Each one has its own license.
=== Trademarks
Vulkan is a registered trademark of the Khronos Group Inc.
== Contributions
Donated to Khronos by Arm, with further contributions by Sascha Willems and Adam Sawicki.
See xref:CONTRIBUTORS.adoc[CONTRIBUTORS] for the full contributor list.
Also see xref:CONTRIBUTING.adoc[CONTRIBUTING] for contribution guidelines.
== Related resources
https://developer.arm.com/documentation/101897/latest/[Mali GPU Best Practices]: A document with recommendations for efficient API usage
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/KhronosGroup/Vulkan-Samples là nguồn chính thức.
KhronosGroup/Vulkan-Samples có những chủ đề gì?
GitHub topics của KhronosGroup/Vulkan-Samples: "best-practices", "cpp", "graphics", "graphics-programming", "khronos", "tutorials", "vulkan", "vulkan-api", "vulkan-samples". TopGit xếp repo vào nhóm Backend.
KhronosGroup/Vulkan-Samples có phải mã nguồn mở không?
Có — KhronosGroup/Vulkan-Samples phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/KhronosGroup/Vulkan-Samples.
KhronosGroup/Vulkan-Samples có website riêng không?
TopGit chưa ghi nhận URL trang chủ cho KhronosGroup/Vulkan-Samples. Phần README ở tab phía trên thường có link demo, hoặc xem mô tả GitHub của repo.
KhronosGroup/Vulkan-Samples còn đang phát triển không?
Commit gần nhất trên KhronosGroup/Vulkan-Samples là 1 ngày trước (theo timestamp GitHub). Repo có 845 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
KhronosGroup/Vulkan-Samples dùng license gì?
KhronosGroup/Vulkan-Samples phát hành theo license Apache-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
Đọc đầy đủ README ở tab phía trên.
Vulkan-Samples có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về Vulkan-Samples.