Interaction with Blend2D runtime.

Namespaces

Classes

Enumerations

Enumeration Type Documentation

BLRuntimeLimits

enum BLRuntimeLimits : uint32_t

Blend2D runtime limits.

NOTE: These constanst are used across Blend2D, but they are not designed to be ABI stable. New versions of Blend2D can increase certain limits without notice. Use runtime to query the limits dynamically, see BLRuntimeBuildInfo.

ConstantDescription
BL_RUNTIME_MAX_IMAGE_SIZE 

Maximum width and height of an image.

BL_RUNTIME_MAX_THREAD_COUNT 

Maximum number of threads for asynchronous operations (including rendering).

BLRuntimeInfoType

enum BLRuntimeInfoType : uint32_t

Type of runtime information that can be queried through blRuntimeQueryInfo().

ConstantDescription
BL_RUNTIME_INFO_TYPE_BUILD 

Blend2D build information.

BL_RUNTIME_INFO_TYPE_SYSTEM 

System information (includes CPU architecture, features, cores, etc...).

BL_RUNTIME_INFO_TYPE_MEMORY 

Runtime information regarding memory used, reserved, etc...

BL_RUNTIME_INFO_TYPE_COUNT 

Count of runtime information types.

BLRuntimeBuildType

enum BLRuntimeBuildType : uint32_t

Blend2D runtime build type.

ConstantDescription
BL_RUNTIME_BUILD_TYPE_DEBUG 

Describes a Blend2D debug build.

BL_RUNTIME_BUILD_TYPE_RELEASE 

Describes a Blend2D release build.

BLRuntimeCpuArch

enum BLRuntimeCpuArch : uint32_t

CPU architecture that can be queried by BLRuntime::querySystemInfo().

ConstantDescription
BL_RUNTIME_CPU_ARCH_UNKNOWN 

Unknown architecture.

BL_RUNTIME_CPU_ARCH_X86 

32-bit or 64-bit X86 architecture.

BL_RUNTIME_CPU_ARCH_ARM 

32-bit or 64-bit ARM architecture.

BL_RUNTIME_CPU_ARCH_MIPS 

32-bit or 64-bit MIPS architecture.

BLRuntimeCpuFeatures

enum BLRuntimeCpuFeatures : uint32_t

CPU features Blend2D supports.

BLRuntimeCleanupFlags

enum BLRuntimeCleanupFlags : uint32_t

Runtime cleanup flags that can be used through BLRuntime::cleanup().

ConstantDescription
BL_RUNTIME_CLEANUP_OBJECT_POOL 

Cleanup object memory pool.

BL_RUNTIME_CLEANUP_ZEROED_POOL 

Cleanup zeroed memory pool.

BL_RUNTIME_CLEANUO_THREAD_POOL 

Cleanup thread pool (would join unused threads).

BL_RUNTIME_CLEANUP_EVERYTHING 

Cleanup everything.