3#include "FramePixelBuffer.h"
4#include <QLoggingCategory>
6static Q_LOGGING_CATEGORY(log,
"VNC")
10 rfb::FullFramePixelBuffer(rfb::PixelFormat(32, 24, false, true,
11 255, 255, 255, 16, 8, 0),
13 m_FrameBuffer(width, height, QImage::Format_RGB32)
15 setBuffer(width, height, m_FrameBuffer.bits(),
16 m_FrameBuffer.bytesPerLine() / (getPF().bpp/8));
19CFramePixelBuffer::~CFramePixelBuffer()
21 qDebug(log) <<
"CFramePixelBuffer::~CFramePixelBuffer()";
24const QImage& CFramePixelBuffer::getImage()