Donner SVG 0.8.0
0.8.0 ยท ebf353960.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::gpu::browser::BrowserGpuTask Struct Reference

Intrusive task. Its caller keeps it alive until the callback completes. More...

#include "donner/gpu/browser/BrowserGpuTaskQueue.h"

Public Attributes

void(* callback )(void *) = nullptr
 Nonblocking callback, allowed to reclaim this task.
void * context = nullptr
 Borrowed callback context.
BrowserGpuTask * next = nullptr
 Owner-thread link; never read after invoking callback.

Detailed Description

Intrusive task. Its caller keeps it alive until the callback completes.

Member Data Documentation

◆ callback

void(* donner::gpu::browser::BrowserGpuTask::callback) (void *) = nullptr

Nonblocking callback, allowed to reclaim this task.

◆ context

void* donner::gpu::browser::BrowserGpuTask::context = nullptr

Borrowed callback context.

◆ next

BrowserGpuTask* donner::gpu::browser::BrowserGpuTask::next = nullptr

Owner-thread link; never read after invoking callback.


The documentation for this struct was generated from the following file: