FMX.Types.GlobalUseGPUCanvas

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

GlobalUseGPUCanvas: Boolean = False;

C++

extern DELPHI_PACKAGE bool GlobalUseGPUCanvas;

Properties

Type Visibility Source Unit Parent
variable public
FMX.Types.pas
FMX.Types.hpp
FMX.Types FMX.Types

Description

Boolean variable that specifies whether to use the GPU (graphics processing unit) canvas for rendering graphics and text.

The GPU canvas is used by default on mobile platforms, but you can use the GPU canvas on Windows as well. To enable the GPU canvas, just set the global variable FMX.Types.GlobalUseGPUCanvas to true in the initialization section.

Note: The GPU canvas is not supported on OS X.

In addition to rendering graphics, the GPU canvas uses grayscale antialiasing text-rendering technology.


See Also