Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QBackingStoreDefaultCompositor Class Reference

#include <qbackingstoredefaultcompositor_p.h>

+ Collaboration diagram for QBackingStoreDefaultCompositor:

Public Member Functions

 ~QBackingStoreDefaultCompositor ()
 
void reset ()
 
QRhiTexturetoTexture (const QPlatformBackingStore *backingStore, QRhi *rhi, QRhiResourceUpdateBatch *resourceUpdates, const QRegion &dirtyRegion, QPlatformBackingStore::TextureFlags *flags) const
 
QPlatformBackingStore::FlushResult flush (QPlatformBackingStore *backingStore, QRhi *rhi, QRhiSwapChain *swapchain, QWindow *window, qreal sourceDevicePixelRatio, const QRegion &region, const QPoint &offset, QPlatformTextureList *textures, bool translucentBackground)
 

Detailed Description

Definition at line 23 of file qbackingstoredefaultcompositor_p.h.

Constructor & Destructor Documentation

◆ ~QBackingStoreDefaultCompositor()

QBackingStoreDefaultCompositor::~QBackingStoreDefaultCompositor ( )

Definition at line 13 of file qbackingstoredefaultcompositor.cpp.

References reset().

+ Here is the call graph for this function:

Member Function Documentation

◆ flush()

QPlatformBackingStore::FlushResult QBackingStoreDefaultCompositor::flush ( QPlatformBackingStore backingStore,
QRhi rhi,
QRhiSwapChain swapchain,
QWindow window,
qreal  sourceDevicePixelRatio,
const QRegion region,
const QPoint offset,
QPlatformTextureList textures,
bool  translucentBackground 
)

Definition at line 448 of file qbackingstoredefaultcompositor.cpp.

References QRhi::beginFrame(), Qt::black, BottomLeft, cb, QRhi::clipSpaceCorrMatrix(), QRhiSwapChain::createOrResize(), QRhiSwapChain::currentFrameCommandBuffer(), QRhiSwapChain::currentFrameRenderTarget(), QRhiSwapChain::currentPixelSize(), QMatrix4x4::data(), dpr(), QRhi::endFrame(), QPlatformBackingStore::FlushFailed, QPlatformBackingStore::FlushFailedDueToLostDevice, QPlatformBackingStore::FlushSuccess, QWindow::format(), QRhi::FrameOpDeviceLost, QRhi::FrameOpSuccess, QRhi::FrameOpSwapChainOutOfDate, QWindowPrivate::get(), QPlatformBackingStore::graphicsBuffer(), QSize::height(), i, QRhi::isYUpInFramebuffer(), QRhi::isYUpInNDC(), QWindowPrivate::lastComposeTime, QRhiSwapChain::LeftBuffer, QPlatformTextureList::NeedsPremultipliedAlphaBlending, QRhi::nextResourceUpdateBatch(), QPlatformGraphicsBuffer::OriginBottomLeft, QRhiTexture::pixelSize(), prepareDrawForRenderToTextureWidget(), Q_ASSERT, qCDebug, qt_window_private(), qWarning, render(), reset(), QVarLengthArray< T, Prealloc >::resize(), QRhiSwapChain::RightBuffer, scaledOffset(), scaledRect(), scaledRegion(), QVLABaseBase::size(), sourceTransform(), QPlatformTextureList::StacksOnTop, QElapsedTimer::start(), QSurfaceFormat::stereo(), QRhiSwapChain::surfacePixelSize(), QPlatformGraphicsBuffer::SWReadAccess, QPlatformBackingStore::TextureFlip, QPlatformBackingStore::TexturePremultiplied, QPlatformBackingStore::TextureSwizzle, toBottomLeftRect(), QImage::toImageFormat(), TopLeft, toTexture(), QRect::translated(), Qt::transparent, QSize::width(), window(), and QRhiSwapChain::window().

Referenced by QPlatformBackingStore::rhiFlush().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ reset()

void QBackingStoreDefaultCompositor::reset ( )

Definition at line 18 of file qbackingstoredefaultcompositor.cpp.

References d.

Referenced by ~QBackingStoreDefaultCompositor(), flush(), and QPlatformBackingStore::graphicsDeviceReportedLost().

+ Here is the caller graph for this function:

◆ toTexture()

QRhiTexture * QBackingStoreDefaultCompositor::toTexture ( const QPlatformBackingStore backingStore,
QRhi rhi,
QRhiResourceUpdateBatch resourceUpdates,
const QRegion dirtyRegion,
QPlatformBackingStore::TextureFlags *  flags 
) const

Definition at line 38 of file qbackingstoredefaultcompositor.cpp.

References QPlatformBackingStore::toImage(), and toTexture().

Referenced by flush(), toTexture(), and QPlatformBackingStore::toTexture().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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