Module webrender::prim_store [] [src]

Structs

BorderPrimitiveCpu
BoxShadowPrimitiveCacheKey
BoxShadowPrimitiveCpu
ClipCorner
ClipData
ClipRect
DeferredResolve

For external images, it's not possible to know the UV coords of the image (or the image data itself) until the render thread receives the frame and issues callbacks to the client application. For external images that are visible, a DeferredResolve is created that is stored in the frame. This allows the render thread to iterate this list and update any changed texture data and update the UV rect.

GlyphPrimitive
GradientDataEntry
GradientGpuBlockBuilder
GradientPrimitiveCpu
ImageMaskData
ImagePrimitiveCpu
LinePrimitive
PrimitiveIndex
PrimitiveMetadata
PrimitiveOpacity
PrimitiveStore
RadialGradientPrimitiveCpu
RectanglePrimitive
SpecificPrimitiveIndex
TexelRect

Stores two coordinates in texel space. The coordinates are stored in texel coordinates because the texture atlas may grow. Storing them as texel coords and normalizing the UVs in the vertex shader means nothing needs to be updated on the CPU when the texture size changes.

TextDecoration
TextRunPrimitiveCpu
TextShadowPrimitiveCpu
YuvImagePrimitiveCpu

Enums

ImagePrimitiveKind
PrimitiveCacheKey
PrimitiveContainer
PrimitiveKind
TextRunMode

Constants

CLIP_DATA_GPU_BLOCKS
GRADIENT_DATA_FIRST_STOP
GRADIENT_DATA_LAST_STOP
GRADIENT_DATA_SIZE
GRADIENT_DATA_TABLE_BEGIN
GRADIENT_DATA_TABLE_END
GRADIENT_DATA_TABLE_SIZE

Traits

InsideTest