webgpu

  
A modern GPU API for graphics and compute from Kotlin.
Latest Update Stable Release Release Candidate Beta Release Alpha Release
January 14, 2026 - - - 1.0.0-alpha03

Declaring dependencies

To add a dependency on Webgpu, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.

Add the dependencies for the artifacts you need in the build.gradle file for your app or module:

Groovy

dependencies {
    implementation "androidx.webgpu:webgpu:1.0.0-alpha03"
}

Kotlin

dependencies {
    implementation("androidx.webgpu:webgpu:1.0.0-alpha03")
}

For more information about dependencies, see Add build dependencies.

Feedback

Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

Create a new issue

See the Issue Tracker documentation for more information.

There are no release notes for this artifact.

Version 1.0

Version 1.0.0-alpha03

January 14, 2026

androidx.webgpu:webgpu:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

New Features

  • Expanded Test Suite: Added more comprehensive tests to improve library stability.
  • Color Conversion Extension: Added extension functions to easily convert Android Color values into GPUColor.
  • Unified Callback Interface: A new GPURequestCallback interface has been added to handle asynchronous operations more consistently across the library.
  • Metadata: The library AAR now includes a dawn_build_metadata.json file in its assets. This file contains the specific Dawn Git SHA-1 commit used for the build.

API Changes

  • Callback Consolidation: Several specific callback interfaces have been removed in favor of the new generic GPURequestCallback.

Version 1.0.0-alpha02

December 17, 2025

androidx.webgpu:webgpu:1.0.0-alpha02 is released. Version 1.0.0-alpha02 contains these commits.

New Features

  • Expanded Test Suite: Added more comprehensive tests to improve library stability.
  • Minimum SDK Update: The library is now applicable for minSdk 24 and higher.

API Changes

  • Structure Renaming: All structures are now prefixed with "GPU" for consistency with existing objects. For example, BindGroupDescriptor has been renamed to GPUBindGroupDescriptor.
  • Global Method Wrapping: Global functions have been moved into a public GPU object for better clarity and organization within the Kotlin API.
  • Exception Handling Refactor: Internalized the getException function by moving it into the WebGpuRuntimeException companion object. This prevents developers from accessing the internal exception creation logic while maintaining a clean public API surface.

Version 1.0.0-alpha01

December 03, 2025

androidx.webgpu:webgpu:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.

New Features

  • This is the initial alpha version of the WebGPU for Android Applications library. It is intended at this stage for developer preview. The API is expected to be finalized over the next few releases.