Skip to main content

Module quad

Module quad 

Source

Structsยง

QuadCacheKey
QuadTileClassifier
A helper struct for classifying a set of tiles within a quad depending on what strategy they can be used to draw them.
QuadTileInfo
QuadTileIterator
QuadTransformState
Contains some transform-related information that is computed per primitive cluster.

Enumsยง

QuadRenderStrategy
Describes how clipping affects the rendering of a quad primitive.
QuadTileKind
Classification result for a tile within a quad

Constantsยง

MAX_TILES_PER_QUAD_X ๐Ÿ”’
MAX_TILES_PER_QUAD_Y ๐Ÿ”’
MIN_AA_SEGMENTS_SIZE ๐Ÿ”’
MIN_QUAD_SPLIT_SIZE ๐Ÿ”’

Functionsยง

add_composite_prim ๐Ÿ”’
add_pattern_prim ๐Ÿ”’
add_render_task_with_mask ๐Ÿ”’
add_to_batch
adjust_indirect_pattern_resolution ๐Ÿ”’
Adjust the transform and device rect until the latter fits the provided maximum size. Also ensure that near-zero size tasks do are at least
cache_key
create_quad_primitive ๐Ÿ”’
get_prim_render_strategy ๐Ÿ”’
prepare_border_image_nine_patch
prepare_clip_range
prepare_clip_task
prepare_indirect_pattern ๐Ÿ”’
prepare_nine_patch ๐Ÿ”’
prepare_quad
prepare_quad_impl ๐Ÿ”’
prepare_repeatable_quad
prepare_tiles ๐Ÿ”’
write_device_prim_blocks
Write the gpu blocks for a primitive in device space.
write_layout_prim_blocks
Write the gpu blocks for a primitive in layout space.
write_prim_blocks ๐Ÿ”’
Write the GPU blocks, either in local or device space
write_prim_blocks_impl ๐Ÿ”’

Type Aliasesยง

LayoutOrDeviceRect
This type reflects the unfortunate situation with quad coordinates where we sometimes use layout and sometimes device coordinates.