Module webrender::api [] [src]

Modules

channel

Structs

AddFontInstance
AddImage
AuxIter
BlobImageDescriptor
BlobImageRequest
BorderDisplayItem
BorderRadius
BorderSide
BorderWidths
BoxShadowDisplayItem
BuiltDisplayList

A display list.

BuiltDisplayListDescriptor

Describes the memory layout of a display list.

BuiltDisplayListIter
ClipAndScrollInfo
ClipDisplayItem
ColorF

Represents RGBA screen colors with floating point numbers.

ColorU

Represents RGBA screen colors with one byte per channel.

ComplexClipRegion
DevicePixel

Geometry in the coordinate system of the render target (screen or intermediate surface) in physical pixels.

DisplayItem
DisplayItemRef
DisplayListBuilder
DocumentId
DynamicProperties

When using generate_frame(), a list of PropertyValue structures can optionally be supplied to provide the current value of any animated properties.

Epoch
ExternalEvent

An opaque pointer-sized value.

ExternalImageData
ExternalImageId

An arbitrary identifier for an external image provided by the application. It must be a unique identifier for each external image.

FontInstance
FontInstanceKey
FontInstanceOptions
FontInstancePlatformOptions
FontKey
FontVariation
GlyphDimensions
GlyphInstance
GlyphKey
GlyphOptions
Gradient
GradientBorder
GradientDisplayItem
GradientStop
HitTestFlags
HitTestItem
HitTestResult
IdNamespace
IframeDisplayItem
ImageBorder
ImageDescriptor
ImageDisplayItem
ImageKey
ImageMask
ItemRange
LayerPixel

Geometry in a layer's local coordinate space (logical pixels).

LineDisplayItem
NativeFontHandle

Native fonts are not used on Linux; all fonts are raw.

NinePatchDescriptor
NormalBorder
PipelineId

From the point of view of WR, PipelineId is completely opaque and generic as long as it's clonable, serializable, comparable, and hashable.

PrimitiveInfo
PropertyBindingId
PropertyBindingKey

A unique key that is used for connecting animated property values to bindings in the display list.

PropertyValue

The current value of an animated property. This is supplied by the calling code.

PushStackingContextDisplayItem
RadialGradient
RadialGradientBorder
RadialGradientDisplayItem
RasterizedBlobImage
RectangleDisplayItem
RenderApi
RenderApiSender
ResourceId
ResourceUpdates

The resource updates for a given transaction (they must be applied in the same frame).

SaveState
ScrollFrameDisplayItem
ScrollLayerPixel

Geometry in a layer's scrollable parent coordinate space (logical pixels).

ScrollLayerState
Shadow
StackingContext
StickyFrameDisplayItem
StickySideConstraint
TextDisplayItem
Tiles

Offset in number of tiles.

UpdateImage
WorldPixel

Geometry in the document's coordinate space (logical pixels).

YuvImageDisplayItem
ZoomFactor

Represents a zoom factor.

Enums

AddFont
ApiMsg
BlobImageError
BorderDetails
BorderStyle
BoxShadowClipMode
ClipId
ClipMode
DebugCommand
DocumentMsg
ExtendMode
ExternalImageType
FilterOp
FontHinting
FontLCDFilter
FontRenderMode
FontTemplate
ImageData
ImageFormat
ImageRendering
LineOrientation
LineStyle
LocalClip
MixBlendMode
PropertyBinding

A binding property can either be a specific value (the normal, non-animated case) or point to a binding location to fetch the current value from.

RepeatMode
ResourceUpdate
ScrollClamping
ScrollEventPhase
ScrollLocation
ScrollPolicy
ScrollSensitivity
SpecificDisplayItem
SubpixelDirection
SubpixelOffset
TransformStyle
YuvColorSpace
YuvData
YuvFormat

Constants

FONT_EMBEDDED_BITMAP
FONT_EMBOLDEN
FONT_FORCE_AUTOHINT
FONT_NO_AUTOHINT
FONT_SUBPIXEL_BGR
FONT_VERTICAL_LAYOUT
MAX_TEXT_RUN_LENGTH
YUV_COLOR_SPACES
YUV_FORMATS

Traits

BlobImageRenderer
BlobImageResources
RenderNotifier
ToBits

Functions

as_scroll_parent_rect
as_scroll_parent_vector
device_length

Type Definitions

BlobImageData
BlobImageResult
DeviceIntLength
DeviceIntPoint
DeviceIntRect
DeviceIntSize
DevicePoint
DeviceRect
DeviceSize
DeviceUintPoint
DeviceUintRect
DeviceUintSize
DeviceVector2D
GlyphIndex
ItemTag

A tag that can be used to identify items during hit testing. If the tag is missing then the item doesn't take part in hit testing at all. This is composed of two numbers. In Servo, the first is an identifier while the second is used to select the cursor that should be used during mouse movement.

LayerPoint
LayerPoint3D
LayerPrimitiveInfo
LayerRect
LayerSize
LayerToScrollTransform
LayerToWorldTransform
LayerTransform
LayerVector2D
LayerVector3D
LayoutPixel

Geometry in a stacking context's local coordinate space (logical pixels).

LayoutPoint
LayoutPrimitiveInfo
LayoutRect
LayoutSize
LayoutTransform
LayoutVector2D
LayoutVector3D
PipelineSourceId

This type carries no valuable semantics for WR. However, it reflects the fact that clients (Servo) may generate pipelines by different semi-independent sources. These pipelines still belong to the same IdNamespace and the same DocumentId. Having this extra Id field enables them to generate PipelineId without collision.

ScrollLayerPoint
ScrollLayerRect
ScrollLayerSize
ScrollLayerVector2D
ScrollToLayerTransform
ScrollToWorldTransform
StickyFrameInfo
TileOffset
TileSize
WorldPoint
WorldPoint3D
WorldRect
WorldSize
WorldToLayerTransform
WorldVector2D
WorldVector3D