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
QRhiNull Class Reference

#include <qrhinull_p.h>

+ Inheritance diagram for QRhiNull:
+ Collaboration diagram for QRhiNull:

Public Member Functions

 QRhiNull (QRhiNullInitParams *params)
 
bool create (QRhi::Flags flags) override
 
void destroy () override
 
QRhiGraphicsPipelinecreateGraphicsPipeline () override
 
QRhiComputePipelinecreateComputePipeline () override
 
QRhiShaderResourceBindingscreateShaderResourceBindings () override
 
QRhiBuffercreateBuffer (QRhiBuffer::Type type, QRhiBuffer::UsageFlags usage, quint32 size) override
 
QRhiRenderBuffercreateRenderBuffer (QRhiRenderBuffer::Type type, const QSize &pixelSize, int sampleCount, QRhiRenderBuffer::Flags flags, QRhiTexture::Format backingFormatHint) override
 
QRhiTexturecreateTexture (QRhiTexture::Format format, const QSize &pixelSize, int depth, int arraySize, int sampleCount, QRhiTexture::Flags flags) override
 
QRhiSamplercreateSampler (QRhiSampler::Filter magFilter, QRhiSampler::Filter minFilter, QRhiSampler::Filter mipmapMode, QRhiSampler::AddressMode u, QRhiSampler::AddressMode v, QRhiSampler::AddressMode w) override
 
QRhiTextureRenderTargetcreateTextureRenderTarget (const QRhiTextureRenderTargetDescription &desc, QRhiTextureRenderTarget::Flags flags) override
 
QRhiSwapChaincreateSwapChain () override
 
QRhi::FrameOpResult beginFrame (QRhiSwapChain *swapChain, QRhi::BeginFrameFlags flags) override
 
QRhi::FrameOpResult endFrame (QRhiSwapChain *swapChain, QRhi::EndFrameFlags flags) override
 
QRhi::FrameOpResult beginOffscreenFrame (QRhiCommandBuffer **cb, QRhi::BeginFrameFlags flags) override
 
QRhi::FrameOpResult endOffscreenFrame (QRhi::EndFrameFlags flags) override
 
QRhi::FrameOpResult finish () override
 
void resourceUpdate (QRhiCommandBuffer *cb, QRhiResourceUpdateBatch *resourceUpdates) override
 
void beginPass (QRhiCommandBuffer *cb, QRhiRenderTarget *rt, const QColor &colorClearValue, const QRhiDepthStencilClearValue &depthStencilClearValue, QRhiResourceUpdateBatch *resourceUpdates, QRhiCommandBuffer::BeginPassFlags flags) override
 
void endPass (QRhiCommandBuffer *cb, QRhiResourceUpdateBatch *resourceUpdates) override
 
void setGraphicsPipeline (QRhiCommandBuffer *cb, QRhiGraphicsPipeline *ps) override
 
void setShaderResources (QRhiCommandBuffer *cb, QRhiShaderResourceBindings *srb, int dynamicOffsetCount, const QRhiCommandBuffer::DynamicOffset *dynamicOffsets) override
 
void setVertexInput (QRhiCommandBuffer *cb, int startBinding, int bindingCount, const QRhiCommandBuffer::VertexInput *bindings, QRhiBuffer *indexBuf, quint32 indexOffset, QRhiCommandBuffer::IndexFormat indexFormat) override
 
void setViewport (QRhiCommandBuffer *cb, const QRhiViewport &viewport) override
 
void setScissor (QRhiCommandBuffer *cb, const QRhiScissor &scissor) override
 
void setBlendConstants (QRhiCommandBuffer *cb, const QColor &c) override
 
void setStencilRef (QRhiCommandBuffer *cb, quint32 refValue) override
 
void draw (QRhiCommandBuffer *cb, quint32 vertexCount, quint32 instanceCount, quint32 firstVertex, quint32 firstInstance) override
 
void drawIndexed (QRhiCommandBuffer *cb, quint32 indexCount, quint32 instanceCount, quint32 firstIndex, qint32 vertexOffset, quint32 firstInstance) override
 
void debugMarkBegin (QRhiCommandBuffer *cb, const QByteArray &name) override
 
void debugMarkEnd (QRhiCommandBuffer *cb) override
 
void debugMarkMsg (QRhiCommandBuffer *cb, const QByteArray &msg) override
 
void beginComputePass (QRhiCommandBuffer *cb, QRhiResourceUpdateBatch *resourceUpdates, QRhiCommandBuffer::BeginPassFlags flags) override
 
void endComputePass (QRhiCommandBuffer *cb, QRhiResourceUpdateBatch *resourceUpdates) override
 
void setComputePipeline (QRhiCommandBuffer *cb, QRhiComputePipeline *ps) override
 
void dispatch (QRhiCommandBuffer *cb, int x, int y, int z) override
 
const QRhiNativeHandlesnativeHandles (QRhiCommandBuffer *cb) override
 
void beginExternal (QRhiCommandBuffer *cb) override
 
void endExternal (QRhiCommandBuffer *cb) override
 
double lastCompletedGpuTime (QRhiCommandBuffer *cb) override
 
QList< int > supportedSampleCounts () const override
 
int ubufAlignment () const override
 
bool isYUpInFramebuffer () const override
 
bool isYUpInNDC () const override
 
bool isClipDepthZeroToOne () const override
 
QMatrix4x4 clipSpaceCorrMatrix () const override
 
bool isTextureFormatSupported (QRhiTexture::Format format, QRhiTexture::Flags flags) const override
 
bool isFeatureSupported (QRhi::Feature feature) const override
 
int resourceLimit (QRhi::ResourceLimit limit) const override
 
const QRhiNativeHandlesnativeHandles () override
 
QRhiDriverInfo driverInfo () const override
 
QRhiStats statistics () override
 
bool makeThreadLocalNativeContextCurrent () override
 
void releaseCachedResources () override
 
bool isDeviceLost () const override
 
QByteArray pipelineCacheData () override
 
void setPipelineCacheData (const QByteArray &data) override
 
void simulateTextureUpload (const QRhiResourceUpdateBatchPrivate::TextureOp &u)
 
void simulateTextureCopy (const QRhiResourceUpdateBatchPrivate::TextureOp &u)
 
void simulateTextureGenMips (const QRhiResourceUpdateBatchPrivate::TextureOp &u)
 
- Public Member Functions inherited from QRhiImplementation
virtual ~QRhiImplementation ()
 
void prepareForCreate (QRhi *rhi, QRhi::Implementation impl, QRhi::Flags flags)
 
bool isCompressedFormat (QRhiTexture::Format format) const
 
void compressedFormatInfo (QRhiTexture::Format format, const QSize &size, quint32 *bpl, quint32 *byteSize, QSize *blockDim) const
 
void textureFormatInfo (QRhiTexture::Format format, const QSize &size, quint32 *bpl, quint32 *byteSize, quint32 *bytesPerPixel) const
 
bool isStencilSupportingFormat (QRhiTexture::Format format) const
 
void registerResource (QRhiResource *res, bool ownsNativeResources=true)
 
void unregisterResource (QRhiResource *res)
 
void addDeleteLater (QRhiResource *res)
 
void addCleanupCallback (const QRhi::CleanupCallback &callback)
 
void addCleanupCallback (const void *key, const QRhi::CleanupCallback &callback)
 
void removeCleanupCallback (const void *key)
 
bool sanityCheckGraphicsPipeline (QRhiGraphicsPipeline *ps)
 
bool sanityCheckShaderResourceBindings (QRhiShaderResourceBindings *srb)
 
void updateLayoutDesc (QRhiShaderResourceBindings *srb)
 
quint32 pipelineCacheRhiId () const
 
void pipelineCreationStart ()
 
void pipelineCreationEnd ()
 
qint64 totalPipelineCreationTime () const
 
QRhiVertexInputAttribute::Format shaderDescVariableFormatToVertexInputFormat (QShaderDescription::VariableType type) const
 
quint32 byteSizePerVertexForVertexInputFormat (QRhiVertexInputAttribute::Format format) const
 
int effectiveSampleCount (int sampleCount) const
 

Public Attributes

QRhiNullNativeHandles nativeHandlesStruct
 
QRhiSwapChaincurrentSwapChain = nullptr
 
QNullCommandBuffer offscreenCommandBuffer
 
- Public Attributes inherited from QRhiImplementation
QRhiq
 
bool debugMarkers = false
 
int currentFrameSlot = 0
 
bool inFrame = false
 

Additional Inherited Members

- Static Public Member Functions inherited from QRhiImplementation
static const QRhiShaderResourceBinding::DatashaderResourceBindingData (const QRhiShaderResourceBinding &binding)
 
static QRhiShaderResourceBinding::DatashaderResourceBindingData (QRhiShaderResourceBinding &binding)
 
static bool sortedBindingLessThan (const QRhiShaderResourceBinding &a, const QRhiShaderResourceBinding &b)
 
- Static Public Attributes inherited from QRhiImplementation
static const int MAX_SHADER_CACHE_ENTRIES = 128
 

Detailed Description

Definition at line 172 of file qrhinull_p.h.

Constructor & Destructor Documentation

◆ QRhiNull()

QRhiNull::QRhiNull ( QRhiNullInitParams * params)

Definition at line 42 of file qrhinull.cpp.

References Q_UNUSED.

Member Function Documentation

◆ beginComputePass()

void QRhiNull::beginComputePass ( QRhiCommandBuffer * cb,
QRhiResourceUpdateBatch * resourceUpdates,
QRhiCommandBuffer::BeginPassFlags flags )
overridevirtual

Implements QRhiImplementation.

Definition at line 549 of file qrhinull.cpp.

References cb, Q_UNUSED, and resourceUpdate().

+ Here is the call graph for this function:

◆ beginExternal()

void QRhiNull::beginExternal ( QRhiCommandBuffer * cb)
overridevirtual

Implements QRhiImplementation.

Definition at line 343 of file qrhinull.cpp.

References cb, and Q_UNUSED.

◆ beginFrame()

QRhi::FrameOpResult QRhiNull::beginFrame ( QRhiSwapChain * swapChain,
QRhi::BeginFrameFlags flags )
overridevirtual

Implements QRhiImplementation.

Definition at line 359 of file qrhinull.cpp.

References currentSwapChain, QRhi::FrameOpSuccess, and Q_UNUSED.

◆ beginOffscreenFrame()

QRhi::FrameOpResult QRhiNull::beginOffscreenFrame ( QRhiCommandBuffer ** cb,
QRhi::BeginFrameFlags flags )
overridevirtual

Implements QRhiImplementation.

Definition at line 375 of file qrhinull.cpp.

References cb, QRhi::FrameOpSuccess, offscreenCommandBuffer, and Q_UNUSED.

◆ beginPass()

void QRhiNull::beginPass ( QRhiCommandBuffer * cb,
QRhiRenderTarget * rt,
const QColor & colorClearValue,
const QRhiDepthStencilClearValue & depthStencilClearValue,
QRhiResourceUpdateBatch * resourceUpdates,
QRhiCommandBuffer::BeginPassFlags flags )
overridevirtual

Implements QRhiImplementation.

Definition at line 522 of file qrhinull.cpp.

References cb, Q_UNUSED, QRHI_RES, QRhiResource::resourceType(), resourceUpdate(), and QRhiResource::TextureRenderTarget.

+ Here is the call graph for this function:

◆ clipSpaceCorrMatrix()

QMatrix4x4 QRhiNull::clipSpaceCorrMatrix ( ) const
overridevirtual

Implements QRhiImplementation.

Definition at line 93 of file qrhinull.cpp.

◆ create()

bool QRhiNull::create ( QRhi::Flags flags)
overridevirtual

Implements QRhiImplementation.

Definition at line 48 of file qrhinull.cpp.

References Q_UNUSED.

◆ createBuffer()

QRhiBuffer * QRhiNull::createBuffer ( QRhiBuffer::Type type,
QRhiBuffer::UsageFlags usage,
quint32 size )
overridevirtual

Implements QRhiImplementation.

Definition at line 68 of file qrhinull.cpp.

◆ createComputePipeline()

QRhiComputePipeline * QRhiNull::createComputePipeline ( )
overridevirtual

Implements QRhiImplementation.

Definition at line 222 of file qrhinull.cpp.

◆ createGraphicsPipeline()

QRhiGraphicsPipeline * QRhiNull::createGraphicsPipeline ( )
overridevirtual

Implements QRhiImplementation.

Definition at line 217 of file qrhinull.cpp.

◆ createRenderBuffer()

QRhiRenderBuffer * QRhiNull::createRenderBuffer ( QRhiRenderBuffer::Type type,
const QSize & pixelSize,
int sampleCount,
QRhiRenderBuffer::Flags flags,
QRhiTexture::Format backingFormatHint )
overridevirtual

Implements QRhiImplementation.

Definition at line 190 of file qrhinull.cpp.

◆ createSampler()

QRhiSampler * QRhiNull::createSampler ( QRhiSampler::Filter magFilter,
QRhiSampler::Filter minFilter,
QRhiSampler::Filter mipmapMode,
QRhiSampler::AddressMode u,
QRhiSampler::AddressMode v,
QRhiSampler::AddressMode w )
overridevirtual

Implements QRhiImplementation.

Definition at line 204 of file qrhinull.cpp.

◆ createShaderResourceBindings()

QRhiShaderResourceBindings * QRhiNull::createShaderResourceBindings ( )
overridevirtual

Implements QRhiImplementation.

Definition at line 227 of file qrhinull.cpp.

◆ createSwapChain()

QRhiSwapChain * QRhiNull::createSwapChain ( )
overridevirtual

Implements QRhiImplementation.

Definition at line 63 of file qrhinull.cpp.

◆ createTexture()

QRhiTexture * QRhiNull::createTexture ( QRhiTexture::Format format,
const QSize & pixelSize,
int depth,
int arraySize,
int sampleCount,
QRhiTexture::Flags flags )
overridevirtual

Implements QRhiImplementation.

Definition at line 197 of file qrhinull.cpp.

◆ createTextureRenderTarget()

QRhiTextureRenderTarget * QRhiNull::createTextureRenderTarget ( const QRhiTextureRenderTargetDescription & desc,
QRhiTextureRenderTarget::Flags flags )
overridevirtual

Implements QRhiImplementation.

Definition at line 211 of file qrhinull.cpp.

◆ debugMarkBegin()

void QRhiNull::debugMarkBegin ( QRhiCommandBuffer * cb,
const QByteArray & name )
overridevirtual

Implements QRhiImplementation.

Definition at line 306 of file qrhinull.cpp.

References cb, and Q_UNUSED.

◆ debugMarkEnd()

void QRhiNull::debugMarkEnd ( QRhiCommandBuffer * cb)
overridevirtual

Implements QRhiImplementation.

Definition at line 312 of file qrhinull.cpp.

References cb, and Q_UNUSED.

◆ debugMarkMsg()

void QRhiNull::debugMarkMsg ( QRhiCommandBuffer * cb,
const QByteArray & msg )
overridevirtual

Implements QRhiImplementation.

Definition at line 317 of file qrhinull.cpp.

References cb, and Q_UNUSED.

◆ destroy()

void QRhiNull::destroy ( )
overridevirtual

Implements QRhiImplementation.

Definition at line 54 of file qrhinull.cpp.

◆ dispatch()

void QRhiNull::dispatch ( QRhiCommandBuffer * cb,
int x,
int y,
int z )
overridevirtual

Implements QRhiImplementation.

Definition at line 329 of file qrhinull.cpp.

References cb, and Q_UNUSED.

◆ draw()

void QRhiNull::draw ( QRhiCommandBuffer * cb,
quint32 vertexCount,
quint32 instanceCount,
quint32 firstVertex,
quint32 firstInstance )
overridevirtual

Implements QRhiImplementation.

Definition at line 285 of file qrhinull.cpp.

References cb, instanceCount, and Q_UNUSED.

◆ drawIndexed()

void QRhiNull::drawIndexed ( QRhiCommandBuffer * cb,
quint32 indexCount,
quint32 instanceCount,
quint32 firstIndex,
qint32 vertexOffset,
quint32 firstInstance )
overridevirtual

Implements QRhiImplementation.

Definition at line 295 of file qrhinull.cpp.

References cb, instanceCount, and Q_UNUSED.

◆ driverInfo()

QRhiDriverInfo QRhiNull::driverInfo ( ) const
overridevirtual

Implements QRhiImplementation.

Definition at line 152 of file qrhinull.cpp.

References info, and QByteArrayLiteral.

◆ endComputePass()

void QRhiNull::endComputePass ( QRhiCommandBuffer * cb,
QRhiResourceUpdateBatch * resourceUpdates )
overridevirtual

Implements QRhiImplementation.

Definition at line 558 of file qrhinull.cpp.

References cb, and resourceUpdate().

+ Here is the call graph for this function:

◆ endExternal()

void QRhiNull::endExternal ( QRhiCommandBuffer * cb)
overridevirtual

Implements QRhiImplementation.

Definition at line 348 of file qrhinull.cpp.

References cb, and Q_UNUSED.

◆ endFrame()

QRhi::FrameOpResult QRhiNull::endFrame ( QRhiSwapChain * swapChain,
QRhi::EndFrameFlags flags )
overridevirtual

Implements QRhiImplementation.

Definition at line 366 of file qrhinull.cpp.

References currentSwapChain, QRhi::FrameOpSuccess, Q_UNUSED, and QRHI_RES.

◆ endOffscreenFrame()

QRhi::FrameOpResult QRhiNull::endOffscreenFrame ( QRhi::EndFrameFlags flags)
overridevirtual

Implements QRhiImplementation.

Definition at line 382 of file qrhinull.cpp.

References QRhi::FrameOpSuccess, and Q_UNUSED.

◆ endPass()

void QRhiNull::endPass ( QRhiCommandBuffer * cb,
QRhiResourceUpdateBatch * resourceUpdates )
overridevirtual

Implements QRhiImplementation.

Definition at line 543 of file qrhinull.cpp.

References cb, and resourceUpdate().

+ Here is the call graph for this function:

◆ finish()

QRhi::FrameOpResult QRhiNull::finish ( )
overridevirtual

Implements QRhiImplementation.

Definition at line 388 of file qrhinull.cpp.

References QRhi::FrameOpSuccess.

◆ isClipDepthZeroToOne()

bool QRhiNull::isClipDepthZeroToOne ( ) const
overridevirtual

Implements QRhiImplementation.

Definition at line 88 of file qrhinull.cpp.

◆ isDeviceLost()

bool QRhiNull::isDeviceLost ( ) const
overridevirtual

Implements QRhiImplementation.

Definition at line 175 of file qrhinull.cpp.

◆ isFeatureSupported()

bool QRhiNull::isFeatureSupported ( QRhi::Feature feature) const
overridevirtual

Implements QRhiImplementation.

Definition at line 105 of file qrhinull.cpp.

References Q_UNUSED.

◆ isTextureFormatSupported()

bool QRhiNull::isTextureFormatSupported ( QRhiTexture::Format format,
QRhiTexture::Flags flags ) const
overridevirtual

Implements QRhiImplementation.

Definition at line 98 of file qrhinull.cpp.

References Q_UNUSED.

◆ isYUpInFramebuffer()

bool QRhiNull::isYUpInFramebuffer ( ) const
overridevirtual

Implements QRhiImplementation.

Definition at line 78 of file qrhinull.cpp.

◆ isYUpInNDC()

bool QRhiNull::isYUpInNDC ( ) const
overridevirtual

Implements QRhiImplementation.

Definition at line 83 of file qrhinull.cpp.

◆ lastCompletedGpuTime()

double QRhiNull::lastCompletedGpuTime ( QRhiCommandBuffer * cb)
overridevirtual

Implements QRhiImplementation.

Definition at line 353 of file qrhinull.cpp.

References cb, and Q_UNUSED.

◆ makeThreadLocalNativeContextCurrent()

bool QRhiNull::makeThreadLocalNativeContextCurrent ( )
overridevirtual

Implements QRhiImplementation.

Definition at line 164 of file qrhinull.cpp.

◆ nativeHandles() [1/2]

const QRhiNativeHandles * QRhiNull::nativeHandles ( )
overridevirtual

Implements QRhiImplementation.

Definition at line 147 of file qrhinull.cpp.

References nativeHandlesStruct.

◆ nativeHandles() [2/2]

const QRhiNativeHandles * QRhiNull::nativeHandles ( QRhiCommandBuffer * cb)
overridevirtual

Implements QRhiImplementation.

Definition at line 337 of file qrhinull.cpp.

References cb, and Q_UNUSED.

◆ pipelineCacheData()

QByteArray QRhiNull::pipelineCacheData ( )
overridevirtual

Implements QRhiImplementation.

Definition at line 180 of file qrhinull.cpp.

References QByteArray().

+ Here is the call graph for this function:

◆ releaseCachedResources()

void QRhiNull::releaseCachedResources ( )
overridevirtual

Implements QRhiImplementation.

Definition at line 170 of file qrhinull.cpp.

◆ resourceLimit()

◆ resourceUpdate()

void QRhiNull::resourceUpdate ( QRhiCommandBuffer * cb,
QRhiResourceUpdateBatch * resourceUpdates )
overridevirtual

Implements QRhiImplementation.

Definition at line 459 of file qrhinull.cpp.

References QRhiResourceUpdateBatchPrivate::BufferOp::buf, cb, QRhiBufferData::constData(), QRhiResourceUpdateBatchPrivate::TextureOp::Copy, QRhiSwapChain::currentPixelSize(), currentSwapChain, QRhiReadbackResult::data, QRhiResourceUpdateBatchPrivate::BufferOp::data, QRhiResourceUpdateBatchPrivate::TextureOp::dst, QRhiResourceUpdateBatchPrivate::BufferOp::DynamicUpdate, QRhiTexture::format(), QRhiResourceUpdateBatchPrivate::TextureOp::GenMips, QRhiResourceUpdateBatchPrivate::get(), QRhiReadbackDescription::layer(), QRhiReadbackDescription::level(), QRhiResourceUpdateBatchPrivate::BufferOp::offset, Q_ASSERT, Q_UNUSED, QRHI_RES, QRhiResourceUpdateBatchPrivate::TextureOp::rb, QRhiResourceUpdateBatchPrivate::BufferOp::Read, QRhiResourceUpdateBatchPrivate::TextureOp::Read, QRhiResourceUpdateBatchPrivate::BufferOp::readSize, QByteArray::resize(), QRhiResourceUpdateBatchPrivate::BufferOp::result, QRhiResourceUpdateBatchPrivate::TextureOp::result, QRhiTexture::RGBA8, simulateTextureCopy(), simulateTextureGenMips(), simulateTextureUpload(), QRhiBufferData::size(), QRhiResourceUpdateBatchPrivate::TextureOp::src, QRhiResourceUpdateBatchPrivate::BufferOp::StaticUpload, QRhiReadbackDescription::texture(), QRhiImplementation::textureFormatInfo(), QRhiResourceUpdateBatchPrivate::BufferOp::type, QRhiResourceUpdateBatchPrivate::TextureOp::type, and QRhiResourceUpdateBatchPrivate::TextureOp::Upload.

Referenced by beginComputePass(), beginPass(), endComputePass(), and endPass().

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

◆ setBlendConstants()

void QRhiNull::setBlendConstants ( QRhiCommandBuffer * cb,
const QColor & c )
overridevirtual

Implements QRhiImplementation.

Definition at line 273 of file qrhinull.cpp.

References cb, and Q_UNUSED.

◆ setComputePipeline()

void QRhiNull::setComputePipeline ( QRhiCommandBuffer * cb,
QRhiComputePipeline * ps )
overridevirtual

Implements QRhiImplementation.

Definition at line 323 of file qrhinull.cpp.

References cb, and Q_UNUSED.

◆ setGraphicsPipeline()

void QRhiNull::setGraphicsPipeline ( QRhiCommandBuffer * cb,
QRhiGraphicsPipeline * ps )
overridevirtual

Implements QRhiImplementation.

Definition at line 232 of file qrhinull.cpp.

References cb, and Q_UNUSED.

◆ setPipelineCacheData()

void QRhiNull::setPipelineCacheData ( const QByteArray & data)
overridevirtual

Implements QRhiImplementation.

Definition at line 185 of file qrhinull.cpp.

References Q_UNUSED.

◆ setScissor()

void QRhiNull::setScissor ( QRhiCommandBuffer * cb,
const QRhiScissor & scissor )
overridevirtual

Implements QRhiImplementation.

Definition at line 267 of file qrhinull.cpp.

References cb, and Q_UNUSED.

◆ setShaderResources()

void QRhiNull::setShaderResources ( QRhiCommandBuffer * cb,
QRhiShaderResourceBindings * srb,
int dynamicOffsetCount,
const QRhiCommandBuffer::DynamicOffset * dynamicOffsets )
overridevirtual

Implements QRhiImplementation.

Definition at line 238 of file qrhinull.cpp.

References cb, and Q_UNUSED.

◆ setStencilRef()

void QRhiNull::setStencilRef ( QRhiCommandBuffer * cb,
quint32 refValue )
overridevirtual

Implements QRhiImplementation.

Definition at line 279 of file qrhinull.cpp.

References cb, and Q_UNUSED.

◆ setVertexInput()

void QRhiNull::setVertexInput ( QRhiCommandBuffer * cb,
int startBinding,
int bindingCount,
const QRhiCommandBuffer::VertexInput * bindings,
QRhiBuffer * indexBuf,
quint32 indexOffset,
QRhiCommandBuffer::IndexFormat indexFormat )
overridevirtual

Implements QRhiImplementation.

Definition at line 248 of file qrhinull.cpp.

References cb, and Q_UNUSED.

◆ setViewport()

void QRhiNull::setViewport ( QRhiCommandBuffer * cb,
const QRhiViewport & viewport )
overridevirtual

Implements QRhiImplementation.

Definition at line 261 of file qrhinull.cpp.

References cb, Q_UNUSED, and viewport().

+ Here is the call graph for this function:

◆ simulateTextureCopy()

void QRhiNull::simulateTextureCopy ( const QRhiResourceUpdateBatchPrivate::TextureOp & u)

◆ simulateTextureGenMips()

void QRhiNull::simulateTextureGenMips ( const QRhiResourceUpdateBatchPrivate::TextureOp & u)

Definition at line 450 of file qrhinull.cpp.

References QRhiResourceUpdateBatchPrivate::TextureOp::dst, QRHI_RES, and QSize::scaled().

Referenced by resourceUpdate().

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

◆ simulateTextureUpload()

void QRhiNull::simulateTextureUpload ( const QRhiResourceUpdateBatchPrivate::TextureOp & u)

Definition at line 393 of file qrhinull.cpp.

References QPainter::CompositionMode_Source, QPainter::drawImage(), QRhiResourceUpdateBatchPrivate::TextureOp::dst, QSize::isEmpty(), QRhi::MAX_MIP_LEVELS, painter, QRHI_RES, QPainter::setCompositionMode(), QVLABaseBase::size(), QRhiResourceUpdateBatchPrivate::TextureOp::subresDesc, and QSize::width().

Referenced by resourceUpdate().

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

◆ statistics()

QRhiStats QRhiNull::statistics ( )
overridevirtual

Implements QRhiImplementation.

Definition at line 159 of file qrhinull.cpp.

◆ supportedSampleCounts()

QList< int > QRhiNull::supportedSampleCounts ( ) const
overridevirtual

Implements QRhiImplementation.

Definition at line 58 of file qrhinull.cpp.

◆ ubufAlignment()

int QRhiNull::ubufAlignment ( ) const
overridevirtual

Implements QRhiImplementation.

Definition at line 73 of file qrhinull.cpp.

Member Data Documentation

◆ currentSwapChain

QRhiSwapChain* QRhiNull::currentSwapChain = nullptr

Definition at line 289 of file qrhinull_p.h.

Referenced by beginFrame(), endFrame(), and resourceUpdate().

◆ nativeHandlesStruct

QRhiNullNativeHandles QRhiNull::nativeHandlesStruct

Definition at line 288 of file qrhinull_p.h.

Referenced by nativeHandles().

◆ offscreenCommandBuffer

QNullCommandBuffer QRhiNull::offscreenCommandBuffer

Definition at line 290 of file qrhinull_p.h.

Referenced by beginOffscreenFrame().


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