Export (0) Print
Expand All
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Settings.EnableGPUAcceleration Property

July 28, 2014

Gets a value that indicates whether to use graphics processor unit (GPU) hardware acceleration for cached compositions, which potentially results in graphics optimization.

Namespace:  System.Windows.Interop
Assembly:  System.Windows (in System.Windows.dll)

public bool EnableGPUAcceleration { get; }

Property Value

Type: System.Boolean
true if hardware acceleration is enabled; otherwise, false.

At the object level, you set cached composition information for graphics with the UIElement.CacheMode property and System.Windows.Media.BitmapCache values. However, the GPU acceleration feature must be enabled at application level, and by default the feature is disabled.

During profiling and performance tuning phases of application development, you can set EnableCacheVisualization to true to produce an overlay visualization of the areas in your UI that are being hardware accelerated.


Colored regions show textures that are passed to the GPU for acceleration.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2014 Microsoft