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.
Settings.enable2dCanvasAcceleration
bool enable2dCanvasAcceleration() @propertyGet enable2dCanvasAcceleration property.
Returns
Enable or disable 2D canvas acceleration.
void enable2dCanvasAcceleration(bool propval) @propertySet enable2dCanvasAcceleration property.
Parameters
propval | 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. |