Skip to main content

Module gpu_state

Module gpu_state 

Source
Expand description

Centralized GPU state management.

This module provides management of GPU property keys (opacity, transforms, etc.), fade-in/fade-out animations for scrollbar opacity - as a single source of truth for the GPU cache.

Structs§

GpuStateManager
Manages GPU-accelerated properties across all DOMs.
GpuTickResult
Result of a GPU state tick operation.

Constants§

DEFAULT_FADE_DELAY_MS
Default delay before scrollbars start fading out (500ms)
DEFAULT_FADE_DURATION_MS
Default duration of scrollbar fade-out animation (200ms)