{"id":13542192,"url":"https://github.com/googlesamples/android-vulkan-tutorials","last_synced_at":"2025-10-02T23:35:02.960Z","repository":{"id":40212280,"uuid":"53032527","full_name":"googlesamples/android-vulkan-tutorials","owner":"googlesamples","description":"A set of samples to illustrate Vulkan API on Android","archived":false,"fork":false,"pushed_at":"2023-11-16T14:37:23.000Z","size":1141,"stargazers_count":876,"open_issues_count":7,"forks_count":164,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-01-15T01:19:09.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/googlesamples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE-2.0.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-03-03T08:05:32.000Z","updated_at":"2025-01-04T14:48:11.000Z","dependencies_parsed_at":"2024-02-01T22:09:01.183Z","dependency_job_id":"609f3d56-42ca-467c-a67f-660339dbc581","html_url":"https://github.com/googlesamples/android-vulkan-tutorials","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlesamples%2Fandroid-vulkan-tutorials","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlesamples%2Fandroid-vulkan-tutorials/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlesamples%2Fandroid-vulkan-tutorials/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googlesamples%2Fandroid-vulkan-tutorials/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googlesamples","download_url":"https://codeload.github.com/googlesamples/android-vulkan-tutorials/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235048985,"owners_count":18927716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T10:01:02.675Z","updated_at":"2025-10-02T23:35:02.541Z","avatar_url":"https://github.com/googlesamples.png","language":"C++","readme":"Tutorial Samples\n================\nA set of samples to illustrate Vulkan API on Android with Android Studio\t\t\nTo build on windows for tutorial02/03, copy/install ndk-r12 ( or better ) to a directory close to root dir ( C: ) to workaround command path 260 character limit issue; see tutorial02/03's build.gradle for details. To Build samples:\n- Inside Andriod, menu File --\u003e New --\u003e Import Project\n- Find your sample's build.gradle and open it\nThis will force andrioid studio to create local.properties file to config your SDK and NDK location; if you see error during importing, open local.properties file and correct the NDK and SDK location, then re-sync.\n\nOther Resources:\t\nAdditional Android Studio/NDK samples:    \n- [Android Vulkan API Basic Samples](https://github.com/googlesamples/vulkan-basic-samples)\n- [Google Play Game Samples](https://github.com/playgameservices/cpp-android-basic-samples)\n- [Google Android NDK Samples](https://github.com/googlesamples/android-ndk)\n\nContents\n-------------\n- [Tutorial 1 - Load Vulkan](./tutorial01_load_vulkan)\n  - create a vulkan device\n- [Tutorial 2 - Prebuilt Layers](./tutorial02_prebuild_layers)\n  - create a vulkan device with vulkan validation layers\n- [Tutorial 3 - Traceable Layers](./tutorial03_traceable_layers)\n  - create a vulkan device with validation layers that could be traced.\nRefer to README.md under its directory\n- [Tutorial 4 - First Window](./tutorial04_first_window)\n  - create a vulkan window with WSI \n- [Tutoiral 5 - Triangle](./tutorial05_triangle)\n  - draw a simple triangle with Android Studio integrated shaderc feature\n- [Tutorial 6 - Texture](./tutorial06_texture)\n  - draw textured triangle with [CDep](https://github.com/google/cdep) packed shaderc pre-built binary\n  - glsl shaders are compiled at app run time (similar to openGL traditional shader compiling model)\n\nPre-requisites\n--------------\n- A device running Android 7.0 (API level 24) or higher\n- [Android Studio 3.0](https://developer.android.com/studio/index.html) or higher\n- Android NDK\n    * [NDK](https://developer.android.com/ndk/downloads/index.html)\n    * SDK with the latest cmake package\n\nTest Matrix\n------------\n| Andrid Studio Version | cmake in SDK| NDK      | device  |\n|-----------------------|-------------|----------|---------|\n| 3.0.0                 | 3.6.4111459 | NDK-r16  | Pixel XL|\n\nKnown Issue:\n\nGetting Started\n---------------\n- From the Welcome screen, select \"Import Project\" (or, if you already have a project open, select File \u003e New \u003e Import Project)\n- Navigate to the sample you downloaded and click OK\n\nLicense\n-------\nCopyright 2016 Google, Inc.\n\nLicensed to the Apache Software Foundation (ASF) under one or more contributor\nlicense agreements.  See the NOTICE file distributed with this work for\nadditional information regarding copyright ownership.  The ASF licenses this\nfile to you under the Apache License, Version 2.0 (the \"License\"); you may not\nuse this file except in compliance with the License.  You may obtain a copy of\nthe License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\nWARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.  See the\nLicense for the specific language governing permissions and limitations under\nthe License.\n","funding_links":[],"categories":["Vulkan","C++","Samples"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglesamples%2Fandroid-vulkan-tutorials","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgooglesamples%2Fandroid-vulkan-tutorials","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgooglesamples%2Fandroid-vulkan-tutorials/lists"}