- class GrVkBackendContext¶
The BackendContext contains all of the base Vulkan objects needed by the GrVkGpu. The assumption is that the client will set these up and pass them to the GrVkGpu constructor. The VkDevice created must support at least one graphics queue, which is passed in as well. The QueueFamilyIndex must match the family of the given queue. It is needed for CommandPool creation, and any GrBackendObjects handed to us (e.g., for wrapped textures) needs to be created in or transitioned to that family. The refs held by members of this struct must be released (either by deleting the struct or manually releasing the refs) before the underlying vulkan device and instance are destroyed.
__init__(self: skia.GrVkBackendContext) -> None