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