Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QVncDirtyMap Class Referenceabstract

#include <qvnc_p.h>

+ Inheritance diagram for QVncDirtyMap:
+ Collaboration diagram for QVncDirtyMap:

Public Member Functions

 QVncDirtyMap (QVncScreen *screen)
 
virtual ~QVncDirtyMap ()
 
void reset ()
 
bool dirty (int x, int y) const
 
virtual void setDirty (int x, int y, bool force=false)=0
 
void setClean (int x, int y)
 

Public Attributes

QVncScreenscreen
 
int bytesPerPixel
 
int numDirty
 
int mapWidth
 
int mapHeight
 

Protected Attributes

ucharmap
 
ucharbuffer
 
int bufferWidth
 
int bufferHeight
 
int bufferStride
 
int numTiles
 

Detailed Description

Definition at line 29 of file qvnc_p.h.

Constructor & Destructor Documentation

◆ QVncDirtyMap()

QVncDirtyMap::QVncDirtyMap ( QVncScreen * screen)

Definition at line 26 of file qvnc.cpp.

References bufferHeight, bufferStride, bufferWidth, bytesPerPixel, QFbScreen::depth(), QFbScreen::geometry(), QRect::height(), map, MAP_TILE_SIZE, mapHeight, mapWidth, numTiles, screen, and QRect::width().

+ Here is the call graph for this function:

◆ ~QVncDirtyMap()

QVncDirtyMap::~QVncDirtyMap ( )
virtual

Definition at line 41 of file qvnc.cpp.

References buffer, and map.

Member Function Documentation

◆ dirty()

bool QVncDirtyMap::dirty ( int x,
int y ) const
inline

Definition at line 54 of file qvnc.cpp.

References map, and mapWidth.

◆ reset()

void QVncDirtyMap::reset ( )

Definition at line 47 of file qvnc.cpp.

References bufferHeight, bufferStride, map, numDirty, and numTiles.

◆ setClean()

void QVncDirtyMap::setClean ( int x,
int y )
inline

Definition at line 59 of file qvnc.cpp.

References map, mapWidth, and numDirty.

◆ setDirty()

virtual void QVncDirtyMap::setDirty ( int x,
int y,
bool force = false )
pure virtual

Implemented in QVncDirtyMapOptimized< T >.

Member Data Documentation

◆ buffer

uchar* QVncDirtyMap::buffer
protected

Definition at line 48 of file qvnc_p.h.

Referenced by ~QVncDirtyMap().

◆ bufferHeight

int QVncDirtyMap::bufferHeight
protected

Definition at line 50 of file qvnc_p.h.

Referenced by QVncDirtyMap(), and reset().

◆ bufferStride

int QVncDirtyMap::bufferStride
protected

Definition at line 51 of file qvnc_p.h.

Referenced by QVncDirtyMap(), and reset().

◆ bufferWidth

int QVncDirtyMap::bufferWidth
protected

Definition at line 49 of file qvnc_p.h.

Referenced by QVncDirtyMap().

◆ bytesPerPixel

int QVncDirtyMap::bytesPerPixel

Definition at line 41 of file qvnc_p.h.

Referenced by QVncDirtyMap().

◆ map

uchar* QVncDirtyMap::map
protected

Definition at line 47 of file qvnc_p.h.

Referenced by QVncDirtyMap(), ~QVncDirtyMap(), dirty(), reset(), and setClean().

◆ mapHeight

int QVncDirtyMap::mapHeight

Definition at line 44 of file qvnc_p.h.

Referenced by QVncDirtyMap().

◆ mapWidth

int QVncDirtyMap::mapWidth

Definition at line 43 of file qvnc_p.h.

Referenced by QVncDirtyMap(), dirty(), and setClean().

◆ numDirty

int QVncDirtyMap::numDirty

Definition at line 42 of file qvnc_p.h.

Referenced by reset(), setClean(), and QVncClient::setDirty().

◆ numTiles

int QVncDirtyMap::numTiles
protected

Definition at line 52 of file qvnc_p.h.

Referenced by QVncDirtyMap(), and reset().

◆ screen

QVncScreen* QVncDirtyMap::screen

Definition at line 40 of file qvnc_p.h.

Referenced by QVncDirtyMap().


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