API Changes
- Tab Global End Action: Added support for a global end action to
TabTemplateviasetEndActionandgetEndAction, along withActionsConstraints.ACTIONS_CONSTRAINTS_TAB_ACTIONS. I5c203 - Section Header Enhancements: Added
setHeadlinetoSectionHeader.Builder(headline and subtitle are mutually exclusive), and relaxed icon constraints inSectionHeader.Builder.setStartIcon()andsetEndIcon()to allowTYPE_URI(content://) icons. I55e08 I97243 - Progress Bar Track Color: Added
trackColortoCarProgressBarStyleto customize the unfilled portion of a progress bar. I1c819 - Custom Tinted
CarIcon: AddedCarIcon.createTintedIcon(IconCompat, CarColor)to create a tinted icon with a custom tint color. Icb804
Bug Fixes
API Changes
- Add @AppFunctionAccessLevel annotation to support access restriction setting. Id47e1
- Rename
AppFunctionannotation toAppFunctionDeclarationI4b15d - Rename
ObserveAppFunctionsEventtoAppFunctionsChangeEventIec918 - Surface
AppFunctionMetadatainAppFunctionService. If1117
Bug Fixes
- Support all built-in proxy types (LocalDate, LocalTime, Instant, ZoneId) in AppFunctionData. I61c16
Bug Fixes
- Fixed an issue where
OpenXrRuntimefailed to configure the session when augmented image tracking was unsupported. I8b9759 - Fixed multiple issues including: improved memory management in
XrInstanceManagerby usingapplicationContext, resolved potential lifecycle-related issues by simplifyingSessionandScenecaching mechanisms, and enhanced theReferenceCleanerto ensure thread-safe cleanup registrations and explicit disposals. Id0b76c
API Changes
- Payload keys are now documented as
BackupActionInputKeys,BackupActionOutputKeys, andBackupActionValues, replacing the constants onBackupDeviceAction. AddedBackupDeviceActionResult.success()andfailure()factories, along withisSuccessanderrorMessageaccessors. Ibd493
Bug Fixes
BackupRestoreController.clearAppDatanow throwsIOExceptionwhenpm cleardoes not report success, instead of continuing silently. I61556- Shell arguments passed to
BackupRestoreControllerfor device execution are now correctly escaped to prevent command injection and ensure file paths with spaces are handled securely. - Hardened the bundled storage actions (
PopulateStorageActionandAssertStorageAction) against silent verification passes to ensure tests strictly fail when expected data is missing. - Host-side test orchestrators now correctly honor in-band action failures reported by the device instead of ignoring them.
- Fixed an issue with database row population by percent-encoding the database
'values'wire format, preventing data corruption during payload transport. - Addressed security vulnerabilities in
androidx.test.backup:backup-hostby upgrading dependencies.
New Features
- The benchmark
:lockClockstask now uses fixed performance mode when available, over the previous root-only implementation. This means you can lock clocks on many more physical devices for stable results, especially for useful for stable microbenchmarks. Please report issues with thermal throttling with the new behavior if you see it. I0d032
API Changes
- Added
MemoryProfilingConfigtoExperimentalConfigto allow macrobenchmark runs to opt into Perfetto heap profiling. Ibc931
Bug Fixes
- Fixed a bug in microbenchmark where method trace capture was sometimes overcautiously skipped to avoid ANRs. Ifc307
- Fix Baseline profile capture for processes not using a
:<suffix>naming pattern. I512ab - Profiler trace links are now reported under a separate 'Profiling Traces' section in IDE summaries. Id639f
- Fix a bug in virtual file flushing which would result in
Unable to flush profiles for <packagename>. I48ccc - Fix synchronization in method traces embedded in system trace. Ifd2e33 b/537688349
- Baseline Profile Gradle Plugin - Improved
CollectBaselineProfileTaskto support findingtest-result.pbfiles in subdirectories, enabling compatibility with the new built-in test platform. Id9c488 b/543799367
Important changes since 1.6.0:
- Added
.toOrderedScatterSet()extension. This provides a read-only alternative to the mutable conversion function and returns an allocation-free singleton when the source collection is empty. - Implemented
toString()forScatterMap.asMapkey, value, and entry views. This provides better debug visibility for developers using theasMap()wrapper. - Optimized
ScatterMap.getOrPut()performance. - Added
sortWith,sortBy, andsortByDescendingfunctions toMutableObjectList, alongsidebinarySearchalgorithms onObjectListand primitive list classes (FloatList,IntList,LongList,DoubleList). AddedbinarySearchoverloads using exact component types forFloatList,LongList, andDoubleListalongside existingIntmethods. - Improved hashing in
ScatterMapand primitive collections to reduce collisions for Float keys.
API Changes
- Libraries now target Kotlin 2.2 and require kotlinc 2.2 I82396 b/498369605
Bug Fixes
- Fixed a crash in SeekableTransitionState where rounding NaN values threw an IllegalArgumentException during zero-duration or interrupted transitions. I8f3a9 b/555294641
API Changes
- Added
@FloatRangeand@IntRangeannotations toPolygonShapeandPolygonShapeScopefactory parameters, and restrictedinnerRadiusRatioinPolygonShape.starandPolygonShape.pillStarto(0f, 1f). I47ea3 - Updated
PolygonShapeAPIs: movedCornerRoundingto top-level withdp()andfraction()factories, replacedtransformed()andscaledToFit()extensions with in-place mutablePolygonShape.transform(PolygonShapeTransformScope.() -> Unit)andPolygonShape.copy(). If5970 - Fixed a bug where requesting focus on a
BasicTextFieldbefore the window was focused (e.g. inonCreate) caused the software keyboard to not appear.BasicTextFieldnow waits for the window to gain focus before starting the text input session. If this causes problems for developers, you can revert to the previous behavior by settingComposeFoundationFlags.isTextFieldWaitWindowFocusForInputSessionEnabledto false. I4206b - Libraries now target Kotlin 2.2 and require kotlinc 2.2 I82396 b/498369605
- Added a
styleLayer()method toCommonStylethat declares that all properties is in a layer will take precedence over properties set in a lower layer. Thestate()method (and state helpers likepressed()) now implicitly create a layer. I24473
Bug Fixes
- Fixed an issue in
FlexBoxwhere settingalignContent(FlexAlignContent.Stretch) incorrectly forced child items to stretch with line. Ida156 - Fixed an issue in
FlexBoxwhere a single wrapped line (FlexWrap.WraporFlexWrap.WrapReverse) was forcibly expanded to the container's minimum cross-axis constraint, causingalignContentandalignItemsto misalign items. I038b1 - Fixed an
IllegalStateExceptioncrash when updatingconsumeWindowInsets,windowInsetsPadding, oronConsumedWindowInsetsChangedon detached modifier nodes, such as duringmovableContentmovement. I80ae5 androidx.lifecycle:lifecycle-runtimedependency was updated to 2.10.0. This version is required for bundled lifecycle runtime lint checks to run with AGP version 9.5.0-alpha04 or later. I99bfd b/556807521
API Changes
- Libraries now target Kotlin 2.2 and require kotlinc 2.2 I82396 b/498369605
Dependencies
androidx.lifecycle:lifecycle-runtimedependency was updated to 2.10.0. This version is required for bundled lifecycle runtime lint checks to run with AGP version 9.5.0-alpha04 or later. I99bfd b/556807521
API Changes
- Restored
TopAppBarDefaults.enterAlwaysScrollBehavioroverload takingreverseLayoutas deprecated with warning to maintain compatibility with 1.4. I4a87a - Restored
DraggableStateonSliderStateand retainedSlider,VerticalSlider, andRangeSlideroverloads with nullableonValueChangeas hidden deprecated APIs to maintain binary compatibility. Ie4aee - Updated
PolygonShapeAPIs: movedCornerRoundingto top-level withdp()andfraction()factories, replacedtransformed()andscaledToFit()extensions with in-place mutablePolygonShape.transform(PolygonShapeTransformScope.() -> Unit)andPolygonShape.copy(). If5970 HorizontalCenteredHeroCarousel'smaxItemWidthparameter has been renamed topreferredItemWidth. Ie7883- Added
CarouselDefaults.ItemSpacingandCarouselDefaults.ContentPadding, which hold the default item spacing and content padding used by the carousel composables. I2f36a
API Changes
- Libraries now target Kotlin 2.2 and require kotlinc 2.2 I82396 b/498369605
Bug Fixes
- Fixed a bug where passing
Float.NaNorDouble.NaNinto a@Composablefunction would prevent that function from ever skipping recomposition, even when all arguments are unchanged. This bug affected functions that receivedDp.UnspecifiedbecauseDp.Unspecifiedis backed byFloat.NaN. I7a643 b/564569402 - The
CompositionObserveris now resolved once per composition pass. Setting or replacing it withsetObserverwhile a composition is in progress takes effect starting with the next pass. Movable content insertion now also reportsonBeginCompositionandonEndComposition. Iad280 - The calculation block of
computedStateOfis now enforced to be read-only. Writing to a state inside this block will throw anIllegalStateException. Id045f b/456249371 - Fixed a memory leak in
LinkComposerwhere movingmovableContentretained wrapper group slots across moves. I17af2 androidx.lifecycle:lifecycle-runtimedependency was updated to 2.10.0. This version is required for bundled lifecycle runtime lint checks to run with AGP version 9.5.0-alpha04 or later. I99bfd b/556807521- Support off-main thread usage of
ComposeTracer. I139e4
External Contribution
- Fixed an issue in
computedStateOfthat could lead to unexpected invalidations when read withSnapshotStateObserver. Ie3f8b b/561372470
API Changes
- Reverted
Modifier.interactionBarrier()from the public API surface for 1.13. I47974 b/564575045 b/347038246 - Updated
PolygonShapeAPIs: movedCornerRoundingto top-level withdp()andfraction()factories, replacedtransformed()andscaledToFit()extensions with in-place mutablePolygonShape.transform(PolygonShapeTransformScope.() -> Unit)andPolygonShape.copy(). If5970 onValueChangeis now a required parameter onSlider,VerticalSlider, andRangeSlider. Removed previously hidden deprecated APIs acrossSliderandRangeSlidercomponents, including theDraggableStateimplementation onSliderStateand legacySaveroverloads. RemovedisVerticalfromSliderState. DeprecatedSliderDefaults.Thumboverload takingSliderStatein favor of theisVerticaloverload. I3fdc1- The
Postureclass inMediaQueryhas been replaced withWindowPosture, which exposes physicalWindowFolds (FoldStateandFoldOrientation). AddedisTabletopandisFlatconvenience properties onWindowPosture, and removed the explicit Book posture. Id9e8e - Libraries now target Kotlin 2.2 and require kotlinc 2.2 I82396 b/498369605
- Added
@FloatRangetoBlurStop.fraction, changed the defaultfallOffRadiusinBlurRadiusSpec.radialGradienttoDp.Unspecified, renamedModifier.blur'sradiusparameter toblurRadiusSpec, and renamedBlurScope.radiustoblurRadiusSpec. I91dbc b/556335791
Bug Fixes
- Fixed an IllegalArgumentException ('LayoutNode not found in RectList') when alignment lines are queried during measurement. Icec9e b/549552303
VectorPainterwill now share internal graphics resources (ImageBitmap) when rendering the sameImageVectoracross multiple composables. This reduces redundant texture uploads and memory usage, improving performance in scenarios like lists using repeated icons. This optimization can be disabled viaComposeUiFlags.isVectorDrawCacheSharingEnabled. I91b41- Fixed a bug where AndroidTextPaint.setTextMotion did not clear LINEAR_TEXT_FLAG when transitioning to FontHinting or None linearity. I8c19c
- Fixed an issue where TalkBack touch exploration focus could jump to an embedded AndroidView (such as a WebView) covered by Compose UI content. I11372 b/561099702
- Fixed an issue where calling
Color.toColorLong()or setting a color composited overColor.Unspecifiedon a Paint could crash with anIllegalArgumentException. Ia365b b/557521315 androidx.lifecycle:lifecycle-runtimedependency was updated to 2.10.0. This version is required for bundled lifecycle runtime lint checks to run with AGP version 9.5.0-alpha04 or later. I99bfd b/556807521- Fixed parameter extraction in tooling for composables with >10 parameters. Ib167d
- Fixed an issue where deactivated layout nodes were not cleared from the layout queue, causing a crash during remeasure. Ie64a5
Bug Fixes
- Bump core-telecom to 1.1.0-rc01. Iba053
- Fixed an issue where video calls started with a preferred audio endpoint (such as the phone earpiece) would erroneously revert to the device speaker shortly after connecting. I38ea6
- Fixed an issue where video calls would incorrectly route audio to the device speaker instead of a connected wired headset on call start. I575a8
- Allow
VoIPapps to disconnect withDisconnectCause.ERRORstarting in SDK 38, with automatic remapping to LOCAL on older platform versions. I5a58c
API Changes
- Added
CATEGORY_PROVIDER_CONFIG,EXTRA_CONFIG_WIDGET_ID, andEXTRA_CONFIG_PROVIDER_COMPONENTconstants toGlanceWearWidgetfor handling widget provider configuration intents. I32fa4 - Renamed
useSafeFallbackRendererVersionparameter in theWearWidgetPreviewtouseBaselineHostVersion. I07bca
Bug Fixes
API Changes
- Added
CanvasFrontBufferRenderer#executeAPI Ie82c8
Bug Fixes
- Fixed a race condition during
GLFrameBufferRendererteardown by releasingSurfaceControlon the GL thread. - Fixed inverted buffer transforms in
CanvasFrontBufferedRendererandLowLatencyCanvasView. - Added fallback display rotation resolution for API < 32 devices.
- Fixed visual artifacts on devices that do not preserve buffer contents.
- Fixed redundant draws and render stalls when surfaces are recreated.
- Fixed memory leaks by unparenting
SurfaceControlinstances and clearing references onrelease(). - Reduced allocations and redundant thread hops during draw loops.
- Replaced unused
annotation-experimentaldependency withannotation:1.8.0.
API Changes
- Add focused color customization to Button I6524a
Bug Fixes
- Fixed a potential memory leak by removing the
perceptionRuntimeCacheinSessionExtand refactored it to retrieve thePerceptionRuntimedirectly from theSessioninstance. Ie35b1 - Fixed a potential context leak by using
applicationContextforOpenXRnative handles to ensure the native runtime does not hold references to anActivitycontext. Ie35b1 - Fixed race conditions in
XrInstanceManagerby introducing proper synchronization and initialization locking. Ie35b1 - Fixed
ReferenceCleanerto support de-registration of cleaning actions and ensuredEntitycleanup actions are run explicitly duringdispose(), preventing duplicate execution upon garbage collection. Ie35b1 - Fixed a memory leak in
Sceneby removing thesceneCacheinSessionExtand refactoringSceneto fetch the instance directly fromsessionConnectors. Ie35b1
API Changes
SceneInfoclass has addedtitleandurlproperties which are automatically populated from the Scene's lastNavEntry'smetadata. UseTitleMetadataKeyandUrlMetadataKeyto define destination titles and URLs in the entry's metadata.. I78a20 b/542693522
Important changes since 1.1.0:
New in TestNavigationEventDispatcherOwner
- Added
onForwardCompletedFallbackto enable tracking and testing of unhandled forward navigation events. - Added
navigationEventInputto simplify simulating navigation events in tests
New in NavigationEventInput
- Added
hasEnabledHandlers,hasEnabledBackHandlers, andhasEnabledForwardHandlersto allow developers to query the current handler state directly without relying on callbacks.
Other changes
- New
NavigationEventDispatcherOwnerfactory to allow easy creation of a owner backed by the givenNavigationEventDispatcher Titleandurlproperties added toNavigationEventInfoto allow customizing the destination title and location URL.
Bug Fixes
Pager.append()calls before initial refresh completes will no longer throwNoSuchElementException. The append call will be no-op. Ide387 b/556780796
API Changes
- Added
createThemedRemoteColortoRemoteColor.Companionfor light/dark theme-aware remote colors. I0214b - Introduced
RemoteTextMeasurerandrememberRemoteTextMeasurerto measure text dimensions inRemoteCompose. Icb4f1 - Added
Float.rspandRemoteFloat.rspextension properties to create SpRemoteTextUnitinstances from float literals and dynamicRemoteFloatexpressions. I21403 - Exposed state creation constructors and factory functions annotated with @
RememberInComposition. I6db3d - Added an optional
profileparameter toRemoteDocumentPreviewto configure the document buffer before inflation. I58900 - Added support for
DrawTextOnCircleinRemoteComposeplayer and test profiles. I859cb
Bug Fixes
- Remote Compose players now load DEFLATE-compressed documents Icb094
- Hardened
captureSingleRemoteDocumentandcaptureRemoteDocumentlifecycle and snapshot handling across background and main dispatchers, and fixedcaptureRemoteDocumentsilently dropping updates when the collector could not keep up with recomposition. I28565 - Added support for custom enter/exit visibility animations. I7857a
- Updated
RemoteTimeDefaults.defaultTimeStringto format 12-hour time ash:mmwithout AM/PM, matching Wear Compose Material 3TimeTextDefaults. I6a05e - Fix spring-backed float animations snapping to their target instead of animating after an idle period. Id026a
- Fix spring animations producing out-of-range values on slow or dropped frames. I9cf09
- Avoid emitting duplicate
WidthModifier/HeightModifieroperations when multiple dimension modifiers are chained on a component. I32a62
Bug Fixes
- Fixed various issues in
androidx.xr.runtimeandandroidx.xr.scenecoreto improve memory safety and resource lifecycle management. This includes updates to context handling and reference cleanup logic to prevent memory leaks. Id61f8
Bug Fixes
- Bug fixes for the sensor fusion feature and minor documentation improvements. Ic3ce5 b/563444625
API Changes
- Added new
AppScaffoldandScreenScaffoldoverloads without thetimeTextparameter, establishing the recommended direction for Wear Compose 1.8 to migrate to the new System Status Bar. When running on older builds without System Status Bar, these new overloads fall back to defaultTimeText. The existing overloads now migrate to the System Status Bar by default unless an explicit customtimeTextis provided. I40a5e - Added
StatusBarSuppressionhelper composable to suppress the System Status Bar within full-screen and overlay components. I387c3 - Introduced Modifier.
curveToEdge, which uses a shader to curve a component to the border of the parent container around the center, always treating the container as a circle. Known issues: clickable components will have incorrect clickable bounds andTalkBackdoes not highlight components correctly. I8bbaa - Added
PullToRefreshBoxandPullToRefreshStateto Wear Compose Material 3, with drag distances and refresh thresholds tailored for Wear OS devices.Iee9a5 - Promoted
PullToRefreshBox,PullToRefreshDefaults, andPullToRefreshStateto stable public APIs in Wear Compose Material 3. I079b6 - Adds an overload of
SwipeToRevealwith a transformation parameter to support container transformations inTransformingLazyColumn. I328ce - Libraries now target Kotlin 2.2 and require kotlinc 2.2 I82396 b/498369605
- Removed experimental feature flag
WearComposeFoundationFlags.isTransformingLazyColumnClickableThresholdEnabled. The clickable threshold inTransformingLazyColumnis now always enabled. Ib68c8 - Removed experimental flag
WearComposeFoundationFlags.isTransformingLazyColumnPinnableContainerEnabled. Ibad2e
Bug Fixes
- Fixed bug in Wear Compose Foundation
HorizontalPager, where the gesture handling failed to prioritize correctly between paging and swiping to dismiss. I54caf - Added
Modifier.testTag("time_text")toTimeTextso that it can be detected in test cases where System Status Bar falls back to a defaultTimeTextcomposable. Iacb09 - Fixed
IllegalStateExceptioninOneHandedGestureModifier.updateCompositionLocalscaused by accessing nodes before attachment. I662271 - Added
AlertDialoggesture support, so that scrolling down andConfirmbutton clicks are available by default. I51f81 - Fixed in-app
TimeTextflash when transitioning to inherited status bar by improving visibility suppression logic inScreenContent. I12dd01 - Fixed an issue where components suppressing the System Status Bar (such as Stepper) fell back to rendering an in-app
TimeText. I86830 - Fixed
StatusBarSuppression()to respectLocalStatusBarEnabledwhen the global status bar is disabled, preventing unnecessary layout passes in dialogs. I4f77f6 - Fixed an issue in Wear Material3
ScaffoldwherecurrentScrollInfoProviderdid not inherit from underlying screens when the top screen provided null. I97874 - Added support for
Dialogstatus bar suppression and nestedScreenScaffolds in Wear Material3 Scaffold. I01772 - Fixed an issue in
AppScaffoldwhere the status bar overlay reappeared while scrolling when the top anchor item. I421b3 - Fixed an issue where
ScreenScaffoldtop padding collapsed when opening screens with a disabled status bar mode. I7cf4f - Added multi-window status bar orchestration support to Wear Compose Material3 scaffolds, allowing dialogs and separate windows to drive their own system status bar controllers. Ibf82c
- Made
TransformingLazyColumnrobust to negative item spacings I99ac7 - Optimized gesture indicators by replacing indicator pointer background in the resources with canvas functions using paths. Iee2b7
- Optimized gesture indicators by replacing primary and dismiss AVDs in the resources with draw functions using paths. Ib2d05
androidx.lifecycle:lifecycle-runtimedependency was updated to 2.10.0. This version is required for bundled lifecycle runtime lint checks to run with AGP version 9.5.0-alpha04 or later. I99bfd b/556807521- Updated baseline profiles for Wear Compose Foundation, Material3, and Navigation3 libraries. I9b0a3
API Changes
- Add
RemoteButtonDefaults.buttonWithContainerPainterColorsoverload supporting color customization. If62d4 - Introduce
RemoteBorderStrokeand add border:RemoteBorderStroke? parameter toRemoteCard,RemoteAppCard, andRemoteTitleCard. AddRemoteCardDefaults.outlinedCardBorder. I57abf - Added
backgroundColorand container background arc rendering toRemoteHorizontalPageIndicatorandRemoteVerticalPageIndicatorto match Material 3 specifications. Ifd062 - Add
childButtonColorstoRemoteButtonDefaults, and add unboundedRemoteButtonDefaults.scrimBrush. Iadcf2
Bug Fixes
New Features
- Hardware Buffer Integration: Added
GPUAndroidHardwareBufferUtilto zero-copy importHardwareBuffermemory into Dawn. IncludescreateTexture()for RGB buffers andcreateExternalTexture()for multi-planarYCbCrbuffers (requiresSharedTextureMemoryAHardwareBufferandYCbCrVulkanSamplersfeatures). - Fence Synchronization: Added
GPUSyncFenceas anAutoCloseablewrapper around aParcelFileDescriptorholding a kernel sync file. Addedawait(timeoutMillis)which blocks natively until fence signals. AddedfromSyncFencewhich adopts descriptors out of a platformandroid.hardware.SyncFenceon API 33+. AddedExtensions.toSyncFenceto convert back to a platformSyncFence. - Dawn Toggles Descriptor: Added
GPUDawnTogglesDescriptorand its correspondingBuilderto pass Dawn implementation toggles asenabledTogglesanddisabledTogglesstring arrays. Toggles can be scoped to instances, adapter selections, or single devices because this object integrates as an optionaldawnTogglesDescriptorproperty withinGPUInstanceDescriptor,GPURequestAdapterOptions, andGPUDeviceDescriptor. - Color Space and HDR Support: Added
GPUColorSpaceDawnand its correspondingBuilderto specify color space parameters including primaries, transfer characteristics, matrix, full or narrow range, and HDR reference white luminance. Added supporting color space constants likeColorSpacePrimariesDawn,ColorSpaceTransferDawn,ColorSpaceYCbCrMatrixDawn, andColorSpaceYCbCrRangeDawn.
API Changes
- Minimum SDK Update: Minimum supported SDK for
androidx.webgpuhas been increased from API 24 to API 26. - Builder Pattern Migration: Descriptors and configuration structures across libraries now provide a dedicated nested
Builderclass. Java callers must use new builders because@JvmOverloadsannotations have been removed from Kotlin constructors to improve Java interoperability. Affected structures includeGPUBufferDescriptor,GPUTextureBindingLayout,GPUPipelineLayoutDescriptor,GPUComputePipelineDescriptor,GPUVertexState, andGPUSurfaceDescriptor. - Thread Safety Enforcement: Updated
WebGpuhelper classes for strict single-threaded execution. Addedadapter,dispatcher, andisClosedproperties, alongsideexecute()andprocessEventsLoop()suspend functions.createWebGpu()now accepts a customCoroutineDispatcher. - Experimental API Annotation: Introduced
@ExperimentalWebGpuApito mark incubating and Dawn specific experimental APIs across libraries. This includesGPUSyncFence,GPUDawnTogglesDescriptor,GPUExternalTextureDescriptor, andGPUHardwareBufferWrapper. - Hardware Buffer Extras: Added
GPUHardwareBufferWrapperas a common base for hardware buffer imports. AddedGPUExternalTextureDescriptorand its correspondingBuilder,GPUExtent2D, andGPUOrigin2Dso crop rects, color spaces, and rotation can fold into sampling operations. - Color Conversion Extension: Removed the
@RequiresApi(26)restriction onExtensions.toGPUColor(long)as it is now redundant with the library's overall minimum SDK bump to API 26. - Immediate Executions: Added
setImmediatesmethod toGPUComputePassEncoder,GPURenderBundleEncoder, andGPURenderPassEncoder. - Device Methods: Added
createErrorExternalTextureandcreateExternalTexturemethods toGPUDevice. - Texture Methods: Added
destroymethod toGPUExternalTexture. - New Constants and Supported Features:
VertexFormat: AddedSnorm10_10_10_2.SType: AddedDawnTogglesDescriptor.WGSLLanguageFeatureName: AddedBufferView,FragmentDepth,ImmediateAddressSpace,LinearIndexing, andSwizzleAssignment.FeatureName: AddedSubgroupSizeControl.- Added experimental features like
OpaqueYCbCrAndroidForExternalTexture,SharedFenceSyncFD,SharedTextureMemoryAHardwareBuffer, andYCbCrVulkanSamplers. PredefinedColorSpace: AddedDisplayP3Linear,Rec2020Linear, andSRGBLinear.ExternalTextureRotation: AddedRotate0Degrees,Rotate90Degrees,Rotate180Degrees, andRotate270Degrees.
Important Note: Documentation provided in this library release has been generated utilizing Google Gemini and may contain errors.
Bug Fixes
- Clarified in documentation that Profile custom request header changes take effect on document load. Id3b6f b/561650101