MCPcopy Create free account
hub / github.com/KDAB/GammaRay / sendFrame

Method sendFrame

core/remoteviewserver.cpp:88–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void RemoteViewServer::sendFrame(const RemoteViewFrame &frame)
89{
90 m_clientReady = false;
91
92 const QSize frameImageSize = frame.image().size() / frame.image().devicePixelRatio();
93 m_lastTransmittedViewRect = frame.viewRect();
94 m_lastTransmittedImageRect = frame.transform().mapRect(QRect(QPoint(), frameImageSize));
95
96 if (m_pendingCompleteFrame && frameImageSize == frame.viewRect().size())
97 m_pendingCompleteFrame = false;
98 emit frameUpdated(frame);
99}
100
101QRectF RemoteViewServer::userViewport() const
102{

Callers 5

repaintMethod · 0.80
sendRenderedSceneMethod · 0.80
textureGrabbedMethod · 0.80
textureGrabbedUntypedMethod · 0.80
updateWidgetPreviewMethod · 0.80

Calls 6

QRectClass · 0.85
QPointClass · 0.85
viewRectMethod · 0.80
sizeMethod · 0.45
imageMethod · 0.45
transformMethod · 0.45

Tested by 2

sendRenderedSceneMethod · 0.64
updateWidgetPreviewMethod · 0.64