Settings.enable2dCanvasAcceleration

bool enable2dCanvasAcceleration() @property

Get enable2dCanvasAcceleration property.

Returns

Enable or disable 2D canvas acceleration.

If this setting is enabled, the 2D canvas will be accelerated even if Skia CPU is used for rendering. However, the canvas can be unaccelerated even when this setting is enabled, for other reasons like its size or when willReadFrequently property is used.

void enable2dCanvasAcceleration(bool propval) @property

Set enable2dCanvasAcceleration property.

Parameters

propvalEnable or disable 2D canvas acceleration. If this setting is enabled, the 2D canvas will be accelerated even if Skia CPU is used for rendering. However, the canvas can be unaccelerated even when this setting is enabled, for other reasons like its size or when willReadFrequently property is used.