|
|
Donner 0.5.1
Embeddable browser-grade SVG2 engine
|
Result payload for a render call. Fields are populated according to status — see each field comment for when it's valid. More...
#include "donner/editor/sandbox/SandboxHost.h"
Public Attributes | |
| SandboxStatus | status = SandboxStatus::kOk |
| int | exitCode = 0 |
| Raw exit code (0 on success), or -signal when the child died on a signal. | |
| std::string | diagnostics |
| Child's stderr captured verbatim. Always available regardless of status. | |
| std::vector< uint8_t > | png |
| PNG-encoded image bytes. Populated only by render() on kOk. | |
| std::vector< uint8_t > | wire |
| Raw wire-format bytes read from the child's stdout. Always populated when the child reached kEndFrame, regardless of whether the host-side replay succeeded. Useful for debugging and for piping into a file recorder (see S4 in the design doc). | |
| uint32_t | unsupportedCount = 0 |
| Count of kUnsupported messages the replayer observed, if any. A non-zero value means the output is lossy compared to an in-process render (gradients, filters, masks, etc.). | |
Result payload for a render call. Fields are populated according to status — see each field comment for when it's valid.
| std::string donner::editor::sandbox::RenderResult::diagnostics |
Child's stderr captured verbatim. Always available regardless of status.
| int donner::editor::sandbox::RenderResult::exitCode = 0 |
Raw exit code (0 on success), or -signal when the child died on a signal.
| std::vector<uint8_t> donner::editor::sandbox::RenderResult::png |
PNG-encoded image bytes. Populated only by render() on kOk.
| SandboxStatus donner::editor::sandbox::RenderResult::status = SandboxStatus::kOk |
| uint32_t donner::editor::sandbox::RenderResult::unsupportedCount = 0 |
Count of kUnsupported messages the replayer observed, if any. A non-zero value means the output is lossy compared to an in-process render (gradients, filters, masks, etc.).
| std::vector<uint8_t> donner::editor::sandbox::RenderResult::wire |
Raw wire-format bytes read from the child's stdout. Always populated when the child reached kEndFrame, regardless of whether the host-side replay succeeded. Useful for debugging and for piping into a file recorder (see S4 in the design doc).