LunaSysMgr
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HostWindowDataSoftware Class Reference

#include <HostWindowDataSoftware.h>

Inheritance diagram for HostWindowDataSoftware:
[legend]
Collaboration diagram for HostWindowDataSoftware:
[legend]

Public Member Functions

 HostWindowDataSoftware (int key, int metaDataKey, int width, int height, bool hasAlpha)
 
virtual ~HostWindowDataSoftware ()
 
virtual bool isValid () const
 
virtual int key () const
 
virtual int width () const
 
virtual int height () const
 
virtual bool hasAlpha () const
 
virtual void flip ()
 
virtual PIpcBuffer * metaDataBuffer () const
 
virtual void initializePixmap (QPixmap &screenPixmap)
 
virtual QPixmap * acquirePixmap (QPixmap &screenPixmap)
 
virtual void allowUpdates (bool allow)
 
virtual void onUpdateRegion (QPixmap &screenPixmap, int x, int y, int w, int h)
 
virtual void onUpdateWindowRequest ()
 
virtual void updateFromAppDirectRenderingLayer (int screenX, int screenY, int screenOrientation)
 
virtual void onAboutToSendSyncMessage ()
 
- Public Member Functions inherited from HostWindowData
 HostWindowData ()
 
virtual ~HostWindowData ()
 

Protected Attributes

PIpcBuffer * m_ipcBuffer
 
PIpcBuffer * m_metaDataBuffer
 
int m_width
 
int m_height
 
bool m_hasAlpha
 
bool m_dirty
 

Constructor & Destructor Documentation

HostWindowDataSoftware::HostWindowDataSoftware ( int  key,
int  metaDataKey,
int  width,
int  height,
bool  hasAlpha 
)
HostWindowDataSoftware::~HostWindowDataSoftware ( )
virtual

Member Function Documentation

QPixmap * HostWindowDataSoftware::acquirePixmap ( QPixmap &  screenPixmap)
virtual
virtual void HostWindowDataSoftware::allowUpdates ( bool  allow)
inlinevirtual

Implements HostWindowData.

Reimplemented in HostWindowDataOpenGLTextureShared.

void HostWindowDataSoftware::flip ( )
virtual
virtual bool HostWindowDataSoftware::hasAlpha ( ) const
inlinevirtual

Implements HostWindowData.

virtual int HostWindowDataSoftware::height ( ) const
inlinevirtual

Implements HostWindowData.

virtual void HostWindowDataSoftware::initializePixmap ( QPixmap &  screenPixmap)
inlinevirtual
virtual bool HostWindowDataSoftware::isValid ( ) const
inlinevirtual

Reimplemented from HostWindowData.

virtual int HostWindowDataSoftware::key ( ) const
inlinevirtual

Implements HostWindowData.

virtual PIpcBuffer* HostWindowDataSoftware::metaDataBuffer ( ) const
inlinevirtual

Implements HostWindowData.

virtual void HostWindowDataSoftware::onAboutToSendSyncMessage ( )
inlinevirtual

Implements HostWindowData.

Reimplemented in HostWindowDataOpenGLTextureShared.

void HostWindowDataSoftware::onUpdateRegion ( QPixmap &  screenPixmap,
int  x,
int  y,
int  w,
int  h 
)
virtual
void HostWindowDataSoftware::onUpdateWindowRequest ( )
virtual

Implements HostWindowData.

Reimplemented in HostWindowDataOpenGLTextureShared.

void HostWindowDataSoftware::updateFromAppDirectRenderingLayer ( int  screenX,
int  screenY,
int  screenOrientation 
)
virtual
virtual int HostWindowDataSoftware::width ( ) const
inlinevirtual

Implements HostWindowData.

Member Data Documentation

bool HostWindowDataSoftware::m_dirty
protected
bool HostWindowDataSoftware::m_hasAlpha
protected
int HostWindowDataSoftware::m_height
protected
PIpcBuffer* HostWindowDataSoftware::m_ipcBuffer
protected
PIpcBuffer* HostWindowDataSoftware::m_metaDataBuffer
protected
int HostWindowDataSoftware::m_width
protected

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