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
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 455 of file qbackingstoredefaultcompositor.cpp.

References QRhi::beginFrame(), Qt::black, BottomLeft, cb, 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(), i, QRhi::isYUpInFramebuffer(), QRhi::isYUpInNDC(), QRhiSwapChain::LeftBuffer, QPlatformTextureList::MirrorVertically, QPlatformTextureList::NeedsPremultipliedAlphaBlending, QRhi::nextResourceUpdateBatch(), QPlatformGraphicsBuffer::OriginBottomLeft, prepareDrawForRenderToTextureWidget(), Q_ASSERT, qCDebug, qt_window_private(), qWarning, render(), QRhiSwapChain::renderPassDescriptor(), reset(), QVarLengthArray< T, Prealloc >::resize(), QRhiSwapChain::RightBuffer, scaledOffset(), scaledRect(), scaledRegion(), QVLABaseBase::size(), sourceTransform(), QPlatformTextureList::StacksOnTop, QSurfaceFormat::stereo(), QRhiSwapChain::surfacePixelSize(), QPlatformGraphicsBuffer::SWReadAccess, QPlatformBackingStore::TextureFlip, QPlatformBackingStore::TexturePremultiplied, QPlatformBackingStore::TextureSwizzle, toBottomLeftRect(), QImage::toImageFormat(), TopLeft, toTexture(), Qt::transparent, 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 33 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: