webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
WebKit::RemoteLayerTreeTransaction Class Reference

#include <RemoteLayerTreeTransaction.h>

Classes

struct  LayerCreationProperties
 
struct  LayerProperties
 

Public Types

enum  LayerChanges {
  NoChange = 0, NameChanged = 1LLU << 1, ChildrenChanged = 1LLU << 2, PositionChanged = 1LLU << 3,
  BoundsChanged = 1LLU << 4, BackgroundColorChanged = 1LLU << 5, AnchorPointChanged = 1LLU << 6, BorderWidthChanged = 1LLU << 7,
  BorderColorChanged = 1LLU << 8, OpacityChanged = 1LLU << 9, TransformChanged = 1LLU << 10, SublayerTransformChanged = 1LLU << 11,
  HiddenChanged = 1LLU << 12, GeometryFlippedChanged = 1LLU << 13, DoubleSidedChanged = 1LLU << 14, MasksToBoundsChanged = 1LLU << 15,
  OpaqueChanged = 1LLU << 16, ContentsHiddenChanged = 1LLU << 17, MaskLayerChanged = 1LLU << 18, ClonedContentsChanged = 1LLU << 19,
  ContentsRectChanged = 1LLU << 20, ContentsScaleChanged = 1LLU << 21, CornerRadiusChanged = 1LLU << 22, ShapeRoundedRectChanged = 1LLU << 23,
  ShapePathChanged = 1LLU << 24, MinificationFilterChanged = 1LLU << 25, MagnificationFilterChanged = 1LLU << 26, BlendModeChanged = 1LLU << 27,
  WindRuleChanged = 1LLU << 28, SpeedChanged = 1LLU << 29, TimeOffsetChanged = 1LLU << 30, BackingStoreChanged = 1LLU << 31,
  BackingStoreAttachmentChanged = 1LLU << 32, FiltersChanged = 1LLU << 33, AnimationsChanged = 1LLU << 34, EdgeAntialiasingMaskChanged = 1LLU << 35,
  CustomAppearanceChanged = 1LLU << 36, UserInteractionEnabledChanged = 1LLU << 37
}
 
typedef uint64_t LayerChange
 
typedef HashMap< WebCore::GraphicsLayer::PlatformLayerID, std::unique_ptr< LayerProperties > > LayerPropertiesMap
 
typedef uint64_t TransactionCallbackID
 

Public Member Functions

 RemoteLayerTreeTransaction ()
 
 ~RemoteLayerTreeTransaction ()
 
void encode (IPC::Encoder &) const
 
WebCore::GraphicsLayer::PlatformLayerID rootLayerID () const
 
void setRootLayerID (WebCore::GraphicsLayer::PlatformLayerID)
 
void layerPropertiesChanged (PlatformCALayerRemote &)
 
void setCreatedLayers (Vector< LayerCreationProperties >)
 
void setDestroyedLayerIDs (Vector< WebCore::GraphicsLayer::PlatformLayerID >)
 
void setLayerIDsWithNewlyUnreachableBackingStore (Vector< WebCore::GraphicsLayer::PlatformLayerID >)
 
WTF::CString description () const
 
void dump () const
 
Vector< LayerCreationPropertiescreatedLayers () const
 
Vector< WebCore::GraphicsLayer::PlatformLayerIDdestroyedLayers () const
 
Vector< WebCore::GraphicsLayer::PlatformLayerIDlayerIDsWithNewlyUnreachableBackingStore () const
 
Vector< RefPtr< PlatformCALayerRemote > > & changedLayers ()
 
const LayerPropertiesMapchangedLayerProperties () const
 
LayerPropertiesMapchangedLayerProperties ()
 
WebCore::IntSize contentsSize () const
 
void setContentsSize (const WebCore::IntSize &size)
 
WebCore::IntPoint scrollOrigin () const
 
void setScrollOrigin (const WebCore::IntPoint &origin)
 
WebCore::LayoutSize baseLayoutViewportSize () const
 
void setBaseLayoutViewportSize (const WebCore::LayoutSize &size)
 
WebCore::LayoutPoint minStableLayoutViewportOrigin () const
 
void setMinStableLayoutViewportOrigin (const WebCore::LayoutPoint &point)
 
WebCore::LayoutPoint maxStableLayoutViewportOrigin () const
 
void setMaxStableLayoutViewportOrigin (const WebCore::LayoutPoint &point)
 
WebCore::Color pageExtendedBackgroundColor () const
 
void setPageExtendedBackgroundColor (WebCore::Color color)
 
double pageScaleFactor () const
 
void setPageScaleFactor (double pageScaleFactor)
 
bool scaleWasSetByUIProcess () const
 
void setScaleWasSetByUIProcess (bool scaleWasSetByUIProcess)
 
uint64_t renderTreeSize () const
 
void setRenderTreeSize (uint64_t renderTreeSize)
 
double minimumScaleFactor () const
 
void setMinimumScaleFactor (double scale)
 
double maximumScaleFactor () const
 
void setMaximumScaleFactor (double scale)
 
double initialScaleFactor () const
 
void setInitialScaleFactor (double scale)
 
double viewportMetaTagWidth () const
 
void setViewportMetaTagWidth (double width)
 
bool viewportMetaTagWidthWasExplicit () const
 
void setViewportMetaTagWidthWasExplicit (bool widthWasExplicit)
 
bool viewportMetaTagCameFromImageDocument () const
 
void setViewportMetaTagCameFromImageDocument (bool cameFromImageDocument)
 
bool isInStableState () const
 
void setIsInStableState (bool isInStableState)
 
bool allowsUserScaling () const
 
void setAllowsUserScaling (bool allowsUserScaling)
 
uint64_t transactionID () const
 
void setTransactionID (uint64_t transactionID)
 
const Vector< TransactionCallbackID > & callbackIDs () const
 
void setCallbackIDs (Vector< TransactionCallbackID > &&callbackIDs)
 
WebCore::LayoutMilestones newlyReachedLayoutMilestones () const
 
void setNewlyReachedLayoutMilestones (WebCore::LayoutMilestones milestones)
 

Static Public Member Functions

static bool decode (IPC::Decoder &, RemoteLayerTreeTransaction &)
 

Member Typedef Documentation

◆ LayerChange

◆ LayerPropertiesMap

◆ TransactionCallbackID

Member Enumeration Documentation

◆ LayerChanges

Enumerator
NoChange 
NameChanged 
ChildrenChanged 
PositionChanged 
BoundsChanged 
BackgroundColorChanged 
AnchorPointChanged 
BorderWidthChanged 
BorderColorChanged 
OpacityChanged 
TransformChanged 
SublayerTransformChanged 
HiddenChanged 
GeometryFlippedChanged 
DoubleSidedChanged 
MasksToBoundsChanged 
OpaqueChanged 
ContentsHiddenChanged 
MaskLayerChanged 
ClonedContentsChanged 
ContentsRectChanged 
ContentsScaleChanged 
CornerRadiusChanged 
ShapeRoundedRectChanged 
ShapePathChanged 
MinificationFilterChanged 
MagnificationFilterChanged 
BlendModeChanged 
WindRuleChanged 
SpeedChanged 
TimeOffsetChanged 
BackingStoreChanged 
BackingStoreAttachmentChanged 
FiltersChanged 
AnimationsChanged 
EdgeAntialiasingMaskChanged 
CustomAppearanceChanged 
UserInteractionEnabledChanged 

Constructor & Destructor Documentation

◆ RemoteLayerTreeTransaction()

WebKit::RemoteLayerTreeTransaction::RemoteLayerTreeTransaction ( )
explicit

◆ ~RemoteLayerTreeTransaction()

WebKit::RemoteLayerTreeTransaction::~RemoteLayerTreeTransaction ( )

Member Function Documentation

◆ allowsUserScaling()

bool WebKit::RemoteLayerTreeTransaction::allowsUserScaling ( ) const
inline

◆ baseLayoutViewportSize()

WebCore::LayoutSize WebKit::RemoteLayerTreeTransaction::baseLayoutViewportSize ( ) const
inline

◆ callbackIDs()

const Vector<TransactionCallbackID>& WebKit::RemoteLayerTreeTransaction::callbackIDs ( ) const
inline

◆ changedLayerProperties() [1/2]

const LayerPropertiesMap& WebKit::RemoteLayerTreeTransaction::changedLayerProperties ( ) const
inline

◆ changedLayerProperties() [2/2]

LayerPropertiesMap& WebKit::RemoteLayerTreeTransaction::changedLayerProperties ( )
inline

◆ changedLayers()

Vector<RefPtr<PlatformCALayerRemote> >& WebKit::RemoteLayerTreeTransaction::changedLayers ( )
inline

◆ contentsSize()

WebCore::IntSize WebKit::RemoteLayerTreeTransaction::contentsSize ( ) const
inline

◆ createdLayers()

Vector<LayerCreationProperties> WebKit::RemoteLayerTreeTransaction::createdLayers ( ) const
inline

◆ decode()

bool WebKit::RemoteLayerTreeTransaction::decode ( IPC::Decoder decoder,
RemoteLayerTreeTransaction result 
)
static

◆ description()

CString WebKit::RemoteLayerTreeTransaction::description ( ) const

◆ destroyedLayers()

Vector<WebCore::GraphicsLayer::PlatformLayerID> WebKit::RemoteLayerTreeTransaction::destroyedLayers ( ) const
inline

◆ dump()

void WebKit::RemoteLayerTreeTransaction::dump ( ) const

◆ encode()

void WebKit::RemoteLayerTreeTransaction::encode ( IPC::Encoder encoder) const

◆ initialScaleFactor()

double WebKit::RemoteLayerTreeTransaction::initialScaleFactor ( ) const
inline

◆ isInStableState()

bool WebKit::RemoteLayerTreeTransaction::isInStableState ( ) const
inline

◆ layerIDsWithNewlyUnreachableBackingStore()

Vector<WebCore::GraphicsLayer::PlatformLayerID> WebKit::RemoteLayerTreeTransaction::layerIDsWithNewlyUnreachableBackingStore ( ) const
inline

◆ layerPropertiesChanged()

void WebKit::RemoteLayerTreeTransaction::layerPropertiesChanged ( PlatformCALayerRemote remoteLayer)

◆ maximumScaleFactor()

double WebKit::RemoteLayerTreeTransaction::maximumScaleFactor ( ) const
inline

◆ maxStableLayoutViewportOrigin()

WebCore::LayoutPoint WebKit::RemoteLayerTreeTransaction::maxStableLayoutViewportOrigin ( ) const
inline

◆ minimumScaleFactor()

double WebKit::RemoteLayerTreeTransaction::minimumScaleFactor ( ) const
inline

◆ minStableLayoutViewportOrigin()

WebCore::LayoutPoint WebKit::RemoteLayerTreeTransaction::minStableLayoutViewportOrigin ( ) const
inline

◆ newlyReachedLayoutMilestones()

WebCore::LayoutMilestones WebKit::RemoteLayerTreeTransaction::newlyReachedLayoutMilestones ( ) const
inline

◆ pageExtendedBackgroundColor()

WebCore::Color WebKit::RemoteLayerTreeTransaction::pageExtendedBackgroundColor ( ) const
inline

◆ pageScaleFactor()

double WebKit::RemoteLayerTreeTransaction::pageScaleFactor ( ) const
inline

◆ renderTreeSize()

uint64_t WebKit::RemoteLayerTreeTransaction::renderTreeSize ( ) const
inline

◆ rootLayerID()

WebCore::GraphicsLayer::PlatformLayerID WebKit::RemoteLayerTreeTransaction::rootLayerID ( ) const
inline

◆ scaleWasSetByUIProcess()

bool WebKit::RemoteLayerTreeTransaction::scaleWasSetByUIProcess ( ) const
inline

◆ scrollOrigin()

WebCore::IntPoint WebKit::RemoteLayerTreeTransaction::scrollOrigin ( ) const
inline

◆ setAllowsUserScaling()

void WebKit::RemoteLayerTreeTransaction::setAllowsUserScaling ( bool  allowsUserScaling)
inline

◆ setBaseLayoutViewportSize()

void WebKit::RemoteLayerTreeTransaction::setBaseLayoutViewportSize ( const WebCore::LayoutSize size)
inline

◆ setCallbackIDs()

void WebKit::RemoteLayerTreeTransaction::setCallbackIDs ( Vector< TransactionCallbackID > &&  callbackIDs)
inline

◆ setContentsSize()

void WebKit::RemoteLayerTreeTransaction::setContentsSize ( const WebCore::IntSize size)
inline

◆ setCreatedLayers()

void WebKit::RemoteLayerTreeTransaction::setCreatedLayers ( Vector< LayerCreationProperties createdLayers)

◆ setDestroyedLayerIDs()

void WebKit::RemoteLayerTreeTransaction::setDestroyedLayerIDs ( Vector< WebCore::GraphicsLayer::PlatformLayerID destroyedLayerIDs)

◆ setInitialScaleFactor()

void WebKit::RemoteLayerTreeTransaction::setInitialScaleFactor ( double  scale)
inline

◆ setIsInStableState()

void WebKit::RemoteLayerTreeTransaction::setIsInStableState ( bool  isInStableState)
inline

◆ setLayerIDsWithNewlyUnreachableBackingStore()

void WebKit::RemoteLayerTreeTransaction::setLayerIDsWithNewlyUnreachableBackingStore ( Vector< WebCore::GraphicsLayer::PlatformLayerID layerIDsWithNewlyUnreachableBackingStore)

◆ setMaximumScaleFactor()

void WebKit::RemoteLayerTreeTransaction::setMaximumScaleFactor ( double  scale)
inline

◆ setMaxStableLayoutViewportOrigin()

void WebKit::RemoteLayerTreeTransaction::setMaxStableLayoutViewportOrigin ( const WebCore::LayoutPoint point)
inline

◆ setMinimumScaleFactor()

void WebKit::RemoteLayerTreeTransaction::setMinimumScaleFactor ( double  scale)
inline

◆ setMinStableLayoutViewportOrigin()

void WebKit::RemoteLayerTreeTransaction::setMinStableLayoutViewportOrigin ( const WebCore::LayoutPoint point)
inline

◆ setNewlyReachedLayoutMilestones()

void WebKit::RemoteLayerTreeTransaction::setNewlyReachedLayoutMilestones ( WebCore::LayoutMilestones  milestones)
inline

◆ setPageExtendedBackgroundColor()

void WebKit::RemoteLayerTreeTransaction::setPageExtendedBackgroundColor ( WebCore::Color  color)
inline

◆ setPageScaleFactor()

void WebKit::RemoteLayerTreeTransaction::setPageScaleFactor ( double  pageScaleFactor)
inline

◆ setRenderTreeSize()

void WebKit::RemoteLayerTreeTransaction::setRenderTreeSize ( uint64_t  renderTreeSize)
inline

◆ setRootLayerID()

void WebKit::RemoteLayerTreeTransaction::setRootLayerID ( WebCore::GraphicsLayer::PlatformLayerID  rootLayerID)

◆ setScaleWasSetByUIProcess()

void WebKit::RemoteLayerTreeTransaction::setScaleWasSetByUIProcess ( bool  scaleWasSetByUIProcess)
inline

◆ setScrollOrigin()

void WebKit::RemoteLayerTreeTransaction::setScrollOrigin ( const WebCore::IntPoint origin)
inline

◆ setTransactionID()

void WebKit::RemoteLayerTreeTransaction::setTransactionID ( uint64_t  transactionID)
inline

◆ setViewportMetaTagCameFromImageDocument()

void WebKit::RemoteLayerTreeTransaction::setViewportMetaTagCameFromImageDocument ( bool  cameFromImageDocument)
inline

◆ setViewportMetaTagWidth()

void WebKit::RemoteLayerTreeTransaction::setViewportMetaTagWidth ( double  width)
inline

◆ setViewportMetaTagWidthWasExplicit()

void WebKit::RemoteLayerTreeTransaction::setViewportMetaTagWidthWasExplicit ( bool  widthWasExplicit)
inline

◆ transactionID()

uint64_t WebKit::RemoteLayerTreeTransaction::transactionID ( ) const
inline

◆ viewportMetaTagCameFromImageDocument()

bool WebKit::RemoteLayerTreeTransaction::viewportMetaTagCameFromImageDocument ( ) const
inline

◆ viewportMetaTagWidth()

double WebKit::RemoteLayerTreeTransaction::viewportMetaTagWidth ( ) const
inline

◆ viewportMetaTagWidthWasExplicit()

bool WebKit::RemoteLayerTreeTransaction::viewportMetaTagWidthWasExplicit ( ) const
inline

The documentation for this class was generated from the following files: