EnableGPUAcceleration Property
Collapse the table of content
Expand the table of content

Settings.EnableGPUAcceleration Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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 ReadOnly Property EnableGPUAcceleration As Boolean

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

© 2017 Microsoft