हमारा सुझाव है कि 27 मार्च, 2025 से AOSP को बनाने और उसमें योगदान देने के लिए, aosp-main
के बजाय android-latest-release
का इस्तेमाल करें. ज़्यादा जानकारी के लिए, AOSP में हुए बदलाव लेख पढ़ें.
Vulkan
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Android पर Vulkan काम करता है. यह कम ओवरहेड वाला क्रॉस-प्लैटफ़ॉर्म एपीआई है, जो बेहतर परफ़ॉर्मेंस वाले 3D ग्राफ़िक के लिए इस्तेमाल किया जाता है. OpenGL ES (GLES) की तरह ही, Vulkan भी ऐप्लिकेशन में रीयल-टाइम में अच्छी क्वालिटी के ग्राफ़िक बनाने के लिए टूल उपलब्ध कराता है. Vulkan का इस्तेमाल करने के फ़ायदों में, सीपीयू ओवरहेड में कमी और SPIR-V बिनेरी इंटरमीडिएट भाषा के लिए सहायता शामिल है.
चिप पर सिस्टम (SoC) वेंडर, जैसे कि जीपीयू इंडिपेंडेंट हार्डवेयर वेंडर (आईएचवी), Android के लिए Vulkan ड्राइवर लिख सकते हैं. OEM को खास डिवाइसों के लिए इन ड्राइवर को इंटिग्रेट करना होगा. Vulkan ड्राइवर, सिस्टम के साथ कैसे इंटरैक्ट करता है, जीपीयू के लिए खास टूल कैसे इंस्टॉल किए जाने चाहिए, और Android से जुड़ी ज़रूरी शर्तों के बारे में जानने के लिए, Vulkan को लागू करना लेख पढ़ें.
ऐप्लिकेशन डेवलपर, ऐसे ऐप्लिकेशन बनाने के लिए Vulkan का इस्तेमाल करते हैं जो GPU पर कम ओवरहेड के साथ कमांड को लागू करते हैं. Vulkan, EGL और GLES की तुलना में, मौजूदा ग्राफ़िक्स हार्डवेयर में मौजूद सुविधाओं के लिए ज़्यादा सीधी मैपिंग भी उपलब्ध कराता है. इससे ड्राइवर बग के अवसर कम हो जाते हैं और डेवलपर को टेस्टिंग में कम समय लगता है.
Vulkan के बारे में सामान्य जानकारी के लिए, Vulkan के बारे में खास जानकारी देखें या संसाधनों की सूची देखें.
Vulkan कॉम्पोनेंट
Vulkan के साथ काम करने वाले डिवाइसों में ये कॉम्पोनेंट शामिल होते हैं.

पहली इमेज. Vulkan कॉम्पोनेंट
कॉम्पोनेंट का नाम |
सेवा देने वाली कंपनी |
ब्यौरा |
Vulkan की पुष्टि करने वाली लेयर |
Android (NDK में) |
Vulkan ऐप्लिकेशन के डेवलपमेंट के दौरान इस्तेमाल की जाने वाली लाइब्रेरी, ताकि ऐप्लिकेशन में Vulkan API के इस्तेमाल से जुड़ी गड़बड़ियों का पता लगाया जा सके. एपीआई के इस्तेमाल से जुड़ी गड़बड़ियां मिलने के बाद, इन लाइब्रेरी को हटा दिया जाना चाहिए. |
Vulkan रनटाइम |
Android |
नेटिव लाइब्रेरी, libvulkan.so , जो नेटिव
Vulkan API उपलब्ध कराती है.
Vulkan Runtime के ज़्यादातर फ़ंक्शन, जीपीयू वेंडर के दिए गए ड्राइवर से लागू होते हैं. Vulkan Runtime, ड्राइवर को रैप करता है और एपीआई को इंटरसेप्ट करने की सुविधाएं देता है. यह सुविधा, डिबग करने और डेवलपर टूल के लिए उपलब्ध होती है. साथ ही, यह ड्राइवर और प्लैटफ़ॉर्म की डिपेंडेंसी के बीच इंटरैक्शन को मैनेज करता है. |
Vulkan ड्राइवर |
SoC |
यह Vulkan API को हार्डवेयर के हिसाब से GPU निर्देशों और इंटरैक्शन पर मैप करता है. साथ ही, इसे कोर ग्राफ़िक ड्राइवर के साथ काम करता है. |
बदले गए कॉम्पोनेंट
BufferQueue और Gralloc, Vulkan के साथ काम करते हैं:
- BufferQueue. BufferQueue और
ANativeWindow
इंटरफ़ेस में, ज़्यादा वैल्यू और तरीके मौजूद हैं. इनकी मदद से, Vulkan रनटाइम, ANativeWindow
के ज़रिए BufferQueue से कनेक्ट हो सकता है.
- Gralloc. वैकल्पिक इंटरफ़ेस की मदद से, Gralloc यह पता लगा सकता है कि किसी खास प्रोड्यूसर/कंज्यूमर कॉम्बिनेशन के लिए, बफ़र को असाइन किए बिना किसी फ़ॉर्मैट का इस्तेमाल किया जा सकता है या नहीं.
इन कॉम्पोनेंट के बारे में ज़्यादा जानने के लिए, BufferQueue और gralloc देखें. ANativeWindow
के बारे में ज़्यादा जानकारी के लिए, EGLSurfaces और OpenGL
ES देखें.
संसाधन
Vulkan के बारे में ज़्यादा जानने के लिए, इन संसाधनों का इस्तेमाल करें:
-
platform/frameworks/native/vulkan
पर Vulkan लोडर (libvulkan.so
). इसमें Android का Vulkan लोडर और प्लैटफ़ॉर्म डेवलपर के लिए काम के Vulkan से जुड़े कुछ टूल शामिल हैं.
- Vulkan लागू करना.
यह Android के लिए Vulkan ड्राइवर लिखने वाले जीपीयू आईएचवी और खास डिवाइसों के लिए उन ड्राइवर को इंटिग्रेट करने वाले ओईएम के लिए है. इसमें बताया गया है कि Vulkan ड्राइवर, सिस्टम के साथ कैसे इंटरैक्ट करता है, जीपीयू के लिए खास टूल कैसे इंस्टॉल किए जाने चाहिए, और Android पर इसे लागू करने से जुड़ी ज़रूरी शर्तें क्या हैं.
- Vulkan Graphics API की गाइड. इसमें Android ऐप्लिकेशन में Vulkan का इस्तेमाल शुरू करने, Android के Vulkan डिज़ाइन के दिशा-निर्देशों वाले प्लैटफ़ॉर्म, Vulkan के शेडर कंपाइलर का इस्तेमाल करने, और पुष्टि करने वाली लेयर का इस्तेमाल करने के बारे में जानकारी शामिल है. इससे, Vulkan का इस्तेमाल करने वाले ऐप्लिकेशन के सही तरीके से काम करने की पुष्टि करने में मदद मिलती है.
- Vulkan News. इसमें, Vulkan से जुड़े इवेंट, पैच, ट्यूटोरियल, और अन्य समाचार लेख शामिल हैं.
इस पेज पर मौजूद कॉन्टेंट और कोड सैंपल कॉन्टेंट के लाइसेंस में बताए गए लाइसेंस के हिसाब से हैं. Java और OpenJDK, Oracle और/या इससे जुड़ी हुई कंपनियों के ट्रेडमार्क या रजिस्टर किए हुए ट्रेडमार्क हैं.
आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-07-27 (UTC) को अपडेट किया गया."],[],[],null,["# Vulkan\n\nAndroid supports\n[Vulkan](https://www.khronos.org/vulkan/), a\nlow-overhead, cross-platform API for high-performance 3D graphics. Like\n[OpenGL ES (GLES)](https://www.khronos.org/opengles/),\nVulkan provides tools for creating high-quality, real-time graphics\nin apps. Advantages of using Vulkan include reductions in CPU overhead and\nsupport for the [SPIR-V\nBinary Intermediate](https://www.khronos.org/spir) language.\n\nSystem on chip vendors (SoCs) such as GPU independent hardware vendors (IHVs)\ncan write Vulkan drivers for Android. OEMs need to integrate these\ndrivers for specific devices. For details on how a Vulkan driver interacts with\nthe system, how GPU-specific tools should be installed, and Android-specific\nrequirements, see [Implementing\nVulkan.](/docs/core/graphics/implement-vulkan)\n\nApplication developers use Vulkan to create apps that\nexecute commands on the GPU with significantly reduced overhead. Vulkan also\nprovides a more direct mapping to the capabilities found in current graphics\nhardware compared to [EGL](https://www.khronos.org/egl) and GLES,\nminimizing opportunities for driver bugs and reducing developer testing time.\n\nFor general information on Vulkan, refer to the\n[Vulkan\nOverview](http://khr.io/vulkanlaunchoverview) or see the list of [Resources](#resources).\n\nVulkan components\n-----------------\n\nVulkan support includes the following components.\n\n**Figure 1.** Vulkan components\n\n| Component name | Provider | Description |\n|--------------------------|----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Vulkan Validation Layers | Android (in the NDK) | Libraries used during the development of Vulkan apps to find errors in an app's use of the Vulkan API. After API usage errors are found, these libraries should be removed. |\n| Vulkan Runtime | Android | A native library, `libvulkan.so`, that provides a native Vulkan API. Most of Vulkan Runtime's functionality is implemented by a driver provided by the GPU vendor. Vulkan Runtime wraps the driver, provides API interception capabilities (for debugging and other developer tools), and manages the interaction between the driver and the platform dependencies. |\n| Vulkan Driver | SoC | Maps the Vulkan API onto hardware-specific GPU commands and interactions with the kernel graphics driver. |\n\nModified components\n-------------------\n\nBufferQueue and Gralloc support Vulkan:\n\n- **BufferQueue.** Additional enum values and methods in BufferQueue and the `ANativeWindow` interface enable Vulkan Runtime to connect to BufferQueue through `ANativeWindow`.\n- **Gralloc.** An optional interface lets Gralloc discover whether a given format can be used for a particular producer/consumer combination without allocating a buffer.\n\nFor details on these components, see\n[BufferQueue and\ngralloc](/docs/core/graphics/arch-bq-gralloc). For details on `ANativeWindow`, see\n[EGLSurfaces and OpenGL\nES](/docs/core/graphics/arch-egl-opengl)).\n\nResources\n---------\n\nUse the following resources to learn more about Vulkan:\n\n- [Vulkan Loader](https://android.googlesource.com/platform/frameworks/native/+/android16-release/vulkan/#) (`libvulkan.so`) at `platform/frameworks/native/vulkan`. Contains Android's Vulkan loader, as well as some Vulkan-related tools useful to platform developers.\n- [Implementing Vulkan](/docs/core/graphics/implement-vulkan). Intended for GPU IHVs writing Vulkan drivers for Android and OEMs integrating those drivers for specific devices. It describes how a Vulkan driver interacts with the system, how GPU-specific tools should be installed, and Android-specific implementation requirements.\n- [Vulkan Graphics API Guide](https://developer.android.com/ndk/guides/graphics/index.html). Includes information on getting started with using Vulkan in Android apps, Android's Vulkan design guidelines platform, using Vulkan's shader compilers, and using validation layers to help ensure stability in apps using Vulkan.\n- [Vulkan News](https://www.khronos.org/#slider_vulkan). Covers events, patches, tutorials, and more Vulkan-related news articles."]]