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

#include <RemoteLayerBackingStore.h>

Public Types

enum  LayerContentsType { LayerContentsType::IOSurface, LayerContentsType::CAMachPort }
 
enum  BufferType { BufferType::Front, BufferType::Back, BufferType::SecondaryBack }
 

Public Member Functions

 RemoteLayerBackingStore (PlatformCALayerRemote *)
 
 ~RemoteLayerBackingStore ()
 
void ensureBackingStore (WebCore::FloatSize, float scale, bool acceleratesDrawing, bool deepColor, bool isOpaque)
 
void setNeedsDisplay (const WebCore::IntRect)
 
void setNeedsDisplay ()
 
bool display ()
 
WebCore::FloatSize size () const
 
float scale () const
 
bool acceleratesDrawing () const
 
bool isOpaque () const
 
unsigned bytesPerPixel () const
 
PlatformCALayerRemotelayer () const
 
void applyBackingStoreToLayer (CALayer *, LayerContentsType)
 
void encode (IPC::Encoder &) const
 
void enumerateRectsBeingDrawn (CGContextRef, void(^)(CGRect))
 
bool hasFrontBuffer () const
 
RetainPtr< CGContextReftakeFrontContextPendingFlush ()
 
bool setBufferVolatility (BufferType type, bool isVolatile)
 
std::chrono::steady_clock::time_point lastDisplayTime () const
 

Static Public Member Functions

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

Member Enumeration Documentation

◆ BufferType

Enumerator
Front 
Back 
SecondaryBack 

◆ LayerContentsType

Enumerator
IOSurface 
CAMachPort 

Constructor & Destructor Documentation

◆ RemoteLayerBackingStore()

WebKit::RemoteLayerBackingStore::RemoteLayerBackingStore ( PlatformCALayerRemote layer)

◆ ~RemoteLayerBackingStore()

WebKit::RemoteLayerBackingStore::~RemoteLayerBackingStore ( )

Member Function Documentation

◆ acceleratesDrawing()

bool WebKit::RemoteLayerBackingStore::acceleratesDrawing ( ) const
inline

◆ applyBackingStoreToLayer()

void WebKit::RemoteLayerBackingStore::applyBackingStoreToLayer ( CALayer layer,
LayerContentsType  contentsType 
)

◆ bytesPerPixel()

unsigned WebKit::RemoteLayerBackingStore::bytesPerPixel ( ) const

◆ decode()

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

◆ display()

bool WebKit::RemoteLayerBackingStore::display ( )

◆ encode()

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

◆ ensureBackingStore()

void WebKit::RemoteLayerBackingStore::ensureBackingStore ( WebCore::FloatSize  size,
float  scale,
bool  acceleratesDrawing,
bool  deepColor,
bool  isOpaque 
)

◆ enumerateRectsBeingDrawn()

void WebKit::RemoteLayerBackingStore::enumerateRectsBeingDrawn ( CGContextRef  context,
void(^)(CGRect block 
)

◆ hasFrontBuffer()

bool WebKit::RemoteLayerBackingStore::hasFrontBuffer ( ) const
inline

◆ isOpaque()

bool WebKit::RemoteLayerBackingStore::isOpaque ( ) const
inline

◆ lastDisplayTime()

std::chrono::steady_clock::time_point WebKit::RemoteLayerBackingStore::lastDisplayTime ( ) const
inline

◆ layer()

PlatformCALayerRemote* WebKit::RemoteLayerBackingStore::layer ( ) const
inline

◆ scale()

float WebKit::RemoteLayerBackingStore::scale ( ) const
inline

◆ setBufferVolatility()

bool WebKit::RemoteLayerBackingStore::setBufferVolatility ( BufferType  type,
bool  isVolatile 
)

◆ setNeedsDisplay() [1/2]

void WebKit::RemoteLayerBackingStore::setNeedsDisplay ( const WebCore::IntRect  rect)

◆ setNeedsDisplay() [2/2]

void WebKit::RemoteLayerBackingStore::setNeedsDisplay ( )

◆ size()

WebCore::FloatSize WebKit::RemoteLayerBackingStore::size ( ) const
inline

◆ takeFrontContextPendingFlush()

RetainPtr< CGContextRef > WebKit::RemoteLayerBackingStore::takeFrontContextPendingFlush ( )

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