Enums§
- Readback
Error - Why an offscreen readback could not produce pixels.
Constants§
- REQUIRE_
ADAPTER_ VAR - The variable a test run sets to insist on a GPU adapter.
Functions§
- adapter_
required truewhenREQUIRE_ADAPTER_VARasks for an adapter.- create_
offscreen_ renderer - Build an offscreen renderer on the shared device, or
Noneif this host can open no usable GPU device at all. - create_
test_ renderer create_offscreen_renderer, under its earlier name.- is_
lavapipe truefor Mesa’s lavapipe, the Vulkan rasteriser that runs on the CPU.- read_
texture_ rgba - Read a texture back as tightly-packed RGBA, panicking on GPU failure.
- require_
test_ renderer - An offscreen renderer for a GPU test, honouring
REQUIRE_ADAPTER_VAR. - try_
read_ texture_ level_ rgba try_read_texture_rgbaof mip levellevel, which iswidth × height.- try_
read_ texture_ rgba - Read a texture back as tightly-packed RGBA.