Interaction with Blend2D runtime.
BLResult blRuntimeMessageOut(
const char* msg)
BLResult blRuntimeMessageFmt(
const char* fmt, ...)
BLResult blRuntimeMessageVFmt(
const char* fmt,
va_list ap)
Blend2D runtime limits.
- Note
- These constants 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
.
Constant | Description |
---|
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).
|
Type of runtime information that can be queried through blRuntimeQueryInfo().
Constant | Description |
---|
BL_RUNTIME_INFO_TYPE_BUILD | Blend2D build information.
|
BL_RUNTIME_INFO_TYPE_SYSTEM | System information (includes CPU architecture, features, core count, etc...).
|
BL_RUNTIME_INFO_TYPE_RESOURCE | Resources information (includes Blend2D memory consumption)
|
BL_RUNTIME_INFO_TYPE_MAX_VALUE | Count of runtime information types.
|
Blend2D runtime build type.
Constant | Description |
---|
BL_RUNTIME_BUILD_TYPE_DEBUG | Describes a Blend2D debug build.
|
BL_RUNTIME_BUILD_TYPE_RELEASE | Describes a Blend2D release build.
|
CPU architecture that can be queried by BLRuntime::querySystemInfo()
.
Constant | Description |
---|
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.
|
CPU features Blend2D supports.
Runtime cleanup flags that can be used through BLRuntime::cleanup()
.
Constant | Description |
---|
BL_RUNTIME_CLEANUP_NO_FLAGS | No flags.
|
BL_RUNTIME_CLEANUP_OBJECT_POOL | Cleanup object memory pool.
|
BL_RUNTIME_CLEANUP_ZEROED_POOL | Cleanup zeroed memory pool.
|
BL_RUNTIME_CLEANUP_THREAD_POOL | Cleanup thread pool (would join unused threads).
|
BL_RUNTIME_CLEANUP_EVERYTHING | Cleanup everything.
|