Public Types | Public Member Functions | Public Attributes | Static Public Attributes

mozilla::layers::FrameMetrics Struct Reference

The viewport and displayport metrics for the painted frame at the time of a layer-tree transaction. More...

#include <Layers.h>

Collaboration diagram for mozilla::layers::FrameMetrics:

List of all members.

Public Types

typedef PRUint64 ViewID

Public Member Functions

 FrameMetrics ()
PRBool operator== (const FrameMetrics &aOther) const
PRBool IsDefault () const
PRBool IsRootScrollable () const
PRBool IsScrollable () const

Public Attributes

nsIntRect mViewport
nsIntSize mContentSize
nsIntPoint mViewportScrollOffset
nsIntRect mDisplayPort
ViewID mScrollId

Static Public Attributes

static const ViewID NULL_SCROLL_ID
static const ViewID ROOT_SCROLL_ID
static const ViewID START_SCROLL_ID

Detailed Description

The viewport and displayport metrics for the painted frame at the time of a layer-tree transaction.

These metrics are especially useful for shadow layers, because the metrics values are updated atomically with new pixels.


Member Typedef Documentation


Constructor & Destructor Documentation

mozilla::layers::FrameMetrics::FrameMetrics (  )  [inline]

Member Function Documentation

PRBool mozilla::layers::FrameMetrics::IsDefault (  )  const [inline]
PRBool mozilla::layers::FrameMetrics::IsRootScrollable (  )  const [inline]
PRBool mozilla::layers::FrameMetrics::IsScrollable (  )  const [inline]
PRBool mozilla::layers::FrameMetrics::operator== ( const FrameMetrics aOther  )  const [inline]

Member Data Documentation


The documentation for this struct was generated from the following file: