![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qrhigles2_p.h>
Classes | |
| struct | Caps |
| struct | DeferredReleaseEntry |
| struct | OffscreenFrame |
| struct | PipelineCacheData |
| struct | Scratch |
Public Types | |
| enum | ProgramCacheResult { ProgramCacheHit , ProgramCacheMiss , ProgramCacheError } |
| using | ActiveUniformLocationTracker = QDuplicateTracker<int, 32> |
Static Public Member Functions | |
| static void | setupUniformStateTracking (QGles2UniformDescriptionVector *uniforms, QGles2UniformDescriptionVector *pushConstantUniforms, QGles2UniformStateVector *uniformState) |
| Static Public Member Functions inherited from QRhiImplementation | |
| static QRhiImplementation * | newInstance (QRhi::Implementation impl, QRhiInitParams *paramsparams, QRhiNativeHandles *importDevice) |
| static const QRhiShaderResourceBinding::Data * | shaderResourceBindingData (const QRhiShaderResourceBinding &binding) |
| static QRhiShaderResourceBinding::Data * | shaderResourceBindingData (QRhiShaderResourceBinding &binding) |
| static bool | sortedBindingLessThan (const QRhiShaderResourceBinding &aa, const QRhiShaderResourceBinding &bb) |
Static Public Attributes | |
| static constexpr quint32 | MAX_PUSH_CONSTANTS_SIZE = 128 |
| Static Public Attributes inherited from QRhiImplementation | |
| static const int | MAX_SHADER_CACHE_ENTRIES = 128 |
| static const quint32 | MAX_BINARY_CACHE_BYTES = 16 * 1024 * 1024 |
Definition at line 861 of file qrhigles2_p.h.
| using QRhiGles2::ActiveUniformLocationTracker = QDuplicateTracker<int, 32> |
Definition at line 1044 of file qrhigles2_p.h.
| Enumerator | |
|---|---|
| ProgramCacheHit | |
| ProgramCacheMiss | |
| ProgramCacheError | |
Definition at line 1067 of file qrhigles2_p.h.
| QRhiGles2::QRhiGles2 | ( | QRhiGles2InitParams * | params, |
| QRhiGles2NativeHandles * | importDevice = nullptr ) |
Definition at line 693 of file qrhigles2.cpp.
References QRhiGles2(), and importedContext.
Referenced by QRhiGles2().
| GLbitfield QRhiGles2::barriersForNextDispatch | ( | QGles2CommandBuffer * | cbD | ) |
Definition at line 6003 of file qrhigles2.cpp.
References QGles2CommandBuffer::ComputePassState::Read.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 5930 of file qrhigles2.cpp.
References QGles2CommandBuffer::ComputePass, enqueueBarriersForPass(), enqueueResourceUpdates(), QGles2CommandBuffer::NoPass, QGles2CommandBuffer::recordingPass, and QGles2CommandBuffer::resetCachedState().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2748 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::Barrier, QGles2CommandBuffer::Command::cmd, QRhiGles2::Caps::compute, QGles2CommandBuffer::ComputePass, currentSwapChain, executeCommandBuffer(), f, QGles2CommandBuffer::recordingPass, QGles2CommandBuffer::resetCommands(), and vao.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2811 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::BeginFrame, currentSwapChain, QGles2SwapChain::currentTimestampPairIndex, executeDeferredReleases(), and frameNo.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2874 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::BeginFrame, executeDeferredReleases(), and f.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 5725 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::Clear, QGles2CommandBuffer::Command::cmd, QGles2RenderTargetData::colorAttCount, QRhiGles2::Caps::compute, QGles2TextureRenderTarget::create(), QGles2RenderTargetData::dsAttCount, enqueueBarriersForPass(), enqueueResourceUpdates(), QGles2CommandBuffer::NoPass, QGles2CommandBuffer::passNeedsResourceTracking, QGles2CommandBuffer::recordingPass, QGles2CommandBuffer::RenderPass, and QGles2CommandBuffer::resetCachedState().
| void QRhiGles2::bindCombinedSampler | ( | QGles2CommandBuffer * | cbD, |
| QGles2Texture * | texD, | ||
| QGles2Sampler * | samplerD, | ||
| void * | ps, | ||
| uint | psGeneration, | ||
| int | glslLocation, | ||
| int * | texUnit, | ||
| bool * | activeTexUnitAltered ) |
Definition at line 5101 of file qrhigles2.cpp.
References f, QGles2CommandBuffer::TextureUnitState::ps, QGles2CommandBuffer::TextureUnitState::psGeneration, QGles2CommandBuffer::TextureUnitState::texture, QRhiGles2::Caps::texture3D, and QRhiGles2::Caps::textureCompareMode.
| void QRhiGles2::bindShaderResources | ( | QGles2CommandBuffer * | cbD, |
| QRhiGraphicsPipeline * | maybeGraphicsPs, | ||
| QRhiComputePipeline * | maybeComputePs, | ||
| QRhiShaderResourceBindings * | srb, | ||
| const uint * | dynOfsPairs, | ||
| int | dynOfsCount ) |
Definition at line 5489 of file qrhigles2.cpp.
References f, QGles2ComputePipeline::generation, and QGles2GraphicsPipeline::generation.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1575 of file qrhigles2.cpp.
| std::optional< QShaderVersion > QRhiGles2::commonGlslEsVersion | ( | const QRhiShaderStage * | stages, |
| int | stageCount ) const |
Definition at line 6220 of file qrhigles2.cpp.
References QRhiGles2::Caps::gles.
| bool QRhiGles2::compileShader | ( | GLuint | program, |
| const QRhiShaderStage & | shaderStage, | ||
| QShaderVersion * | shaderVersion, | ||
| std::optional< QShaderVersion > | commonVersion = std::nullopt ) |
Definition at line 6268 of file qrhigles2.cpp.
References f.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 833 of file qrhigles2.cpp.
References QRhiGles2::Caps::baseInstance, QRhiGles2::Caps::baseVertex, QRhiGles2::Caps::bgraExternalFormat, QRhiGles2::Caps::bgraInternalFormat, QRhiGles2::Caps::clearBuffer, QRhiGles2::Caps::compute, contextLost, QRhiGles2::Caps::copyBuffer, QRhiGles2::Caps::coreProfile, QRhiGles2::Caps::ctxMajor, QRhiGles2::Caps::ctxMinor, QRhiGles2::Caps::depth24, QRhiGles2::Caps::depthClamp, QRhiGles2::Caps::depthTexture, QRhiGles2::Caps::dispatchIndirect, QRhiGles2::Caps::drawIndirect, QRhiGles2::Caps::drawIndirectCount, QRhiGles2::Caps::drawIndirectMulti, QRhiGles2::Caps::elementIndexUint, f, QRhiGles2::Caps::fixedIndexPrimitiveRestart, QRhiGles2::Caps::floatFormats, QRhiGles2::Caps::geometryShader, GLenum, QRhiGles2::Caps::gles, QRhiGles2::Caps::glesMultisampleRenderToTexture, QRhiGles2::Caps::glesMultiviewMultisampleRenderToTexture, GLint, GLintptr, GLuint, QRhiGles2::Caps::halfAttributes, QRhiGles2::Caps::hasDrawBuffersFunc, QRhiGles2::Caps::imageLoadStore, importedContext, QRhiGles2::Caps::instancing, QRhiGles2::Caps::intAttributes, QRhiGles2::Caps::maxDrawBuffers, QRhiGles2::Caps::maxFragmentStorageBuffers, QRhiGles2::Caps::maxSamples, QRhiGles2::Caps::maxTextureArraySize, QRhiGles2::Caps::maxTextureSize, QRhiGles2::Caps::maxThreadGroupsPerDimension, QRhiGles2::Caps::maxThreadGroupsX, QRhiGles2::Caps::maxThreadGroupsY, QRhiGles2::Caps::maxThreadGroupsZ, QRhiGles2::Caps::maxThreadsPerThreadGroup, QRhiGles2::Caps::maxUniformVectors, QRhiGles2::Caps::maxVertexInputs, QRhiGles2::Caps::maxVertexOutputs, QRhiGles2::Caps::maxVertexStorageBuffers, QRhiGles2::Caps::msaaRenderBuffer, QRhiGles2::Caps::multisampledTexture, QRhiGles2::Caps::multiView, QRhiGles2::Caps::needsDepthStencilCombinedAttach, QRhiGles2::Caps::nonBaseLevelFramebufferTexture, QRhiGles2::Caps::npotTextureFull, QRhiGles2::Caps::objectLabel, QRhiGles2::Caps::packedDepthStencil, QRhiGles2::Caps::perRenderTargetBlending, QRhiGles2::Caps::programBinary, QRhiGles2::Caps::properMapBuffer, QRhiGles2::Caps::r16Format, QRhiGles2::Caps::r32uiFormat, QRhiGles2::Caps::r8Format, QRhiGles2::Caps::rgb10Formats, QRhiGles2::Caps::rgba8Format, QRhiGles2::Caps::sampleVariables, QRhiGles2::Caps::screenSpaceDerivatives, QRhiGles2::Caps::shaderDrawParameters, QRhiGles2::Caps::srgbGenerateMipmap, QRhiGles2::Caps::srgbTextureFormat, QRhiGles2::Caps::srgbTextureRenderTarget, QRhiGles2::Caps::srgbWriteControl, QRhiGles2::Caps::tessellation, QRhiGles2::Caps::texelFetch, QRhiGles2::Caps::texture1D, QRhiGles2::Caps::texture3D, QRhiGles2::Caps::textureCompareMode, QRhiGles2::Caps::textureStorage, QRhiGles2::Caps::timestamps, QRhiGles2::Caps::uniformBuffers, QRhiGles2::Caps::unpackRowLength, QRhiGles2::Caps::vertexArrayObject, void(), void(), void(), void(), void(), void(), void(), void(), void(), void(), and void().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1548 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2229 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2219 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2187 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2201 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2224 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2208 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1543 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2194 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2213 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2706 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2715 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2723 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1445 of file qrhigles2.cpp.
References bufferNameCacheCount, executeDeferredReleases(), f, importedContext, releaseBufferNameCache(), and vao.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 6067 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::Barrier, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::ComputePass, QGles2CommandBuffer::Command::Dispatch, and QGles2CommandBuffer::recordingPass.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 6085 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::Barrier, QRhiPassResourceTracker::buffers(), QRhiPassResourceTracker::BufIndirectDraw, QRhiPassResourceTracker::BufIndirectDrawStage, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::ComputePass, QGles2CommandBuffer::currentPassResTrackerIndex, QGles2CommandBuffer::Command::DispatchIndirect, QRhiGles2::Caps::dispatchIndirect, QGles2CommandBuffer::passNeedsResourceTracking, QGles2CommandBuffer::recordingPass, and trackedRegisterBuffer().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2547 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::Command::Draw, QGles2CommandBuffer::recordingPass, and QGles2CommandBuffer::RenderPass.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2562 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::Command::DrawIndexed, QGles2CommandBuffer::recordingPass, and QGles2CommandBuffer::RenderPass.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2605 of file qrhigles2.cpp.
References QRhiPassResourceTracker::BufIndirectDraw, QRhiPassResourceTracker::BufIndirectDrawStage, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::currentPassResTrackerIndex, QGles2CommandBuffer::Command::DrawIndexedIndirect, QRhiGles2::Caps::drawIndirect, QGles2CommandBuffer::passNeedsResourceTracking, QGles2CommandBuffer::recordingPass, QGles2CommandBuffer::RenderPass, and trackedRegisterBuffer().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2669 of file qrhigles2.cpp.
References QRhiPassResourceTracker::BufIndirectDraw, QRhiPassResourceTracker::BufIndirectDrawStage, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::currentPassResTrackerIndex, QGles2CommandBuffer::Command::DrawIndexedIndirectCount, QRhiGles2::Caps::drawIndirectCount, QGles2CommandBuffer::passNeedsResourceTracking, QGles2CommandBuffer::recordingPass, QGles2CommandBuffer::RenderPass, and trackedRegisterBuffer().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2578 of file qrhigles2.cpp.
References QRhiPassResourceTracker::BufIndirectDraw, QRhiPassResourceTracker::BufIndirectDrawStage, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::currentPassResTrackerIndex, QGles2CommandBuffer::Command::DrawIndirect, QRhiGles2::Caps::drawIndirect, QGles2CommandBuffer::passNeedsResourceTracking, QGles2CommandBuffer::recordingPass, QGles2CommandBuffer::RenderPass, and trackedRegisterBuffer().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2632 of file qrhigles2.cpp.
References QRhiPassResourceTracker::BufIndirectDraw, QRhiPassResourceTracker::BufIndirectDrawStage, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::currentPassResTrackerIndex, QGles2CommandBuffer::Command::DrawIndirectCount, QRhiGles2::Caps::drawIndirectCount, QGles2CommandBuffer::passNeedsResourceTracking, QGles2CommandBuffer::recordingPass, QGles2CommandBuffer::RenderPass, and trackedRegisterBuffer().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2020 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 5947 of file qrhigles2.cpp.
References QGles2CommandBuffer::ComputePass, enqueueResourceUpdates(), QGles2CommandBuffer::NoPass, and QGles2CommandBuffer::recordingPass.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2784 of file qrhigles2.cpp.
References addBoundaryCommand(), QGles2CommandBuffer::currentPassResTrackerIndex, enqueueBarriersForPass(), QGles2CommandBuffer::NoPass, QGles2CommandBuffer::recordingPass, QGles2CommandBuffer::resetCachedState(), and QGles2CommandBuffer::Command::ResetFrame.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2840 of file qrhigles2.cpp.
References currentSwapChain, QGles2SwapChain::currentTimestampPairIndex, QGles2CommandBuffer::Command::EndFrame, executeCommandBuffer(), f, needsMakeCurrentDueToSwap, and QGles2SwapChainTimestamps::TIMESTAMP_PAIRS.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2895 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::EndFrame, executeCommandBuffer(), f, and void().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 5772 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::BlitFromRenderbuffer, QGles2CommandBuffer::Command::BlitFromTexture, QGles2CommandBuffer::Command::cmd, enqueueResourceUpdates(), QRhiGles2::Caps::glesMultisampleRenderToTexture, QGles2CommandBuffer::Command::InvalidateFramebuffer, QRhiGles2::Caps::needsDepthStencilCombinedAttach, QGles2CommandBuffer::NoPass, QGles2CommandBuffer::recordingPass, and QGles2CommandBuffer::RenderPass.
| void QRhiGles2::enqueueBarriersForPass | ( | QGles2CommandBuffer * | cbD | ) |
Definition at line 5716 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::BarriersForPass, QGles2CommandBuffer::Command::cmd, and QGles2CommandBuffer::currentPassResTrackerIndex.
Referenced by beginComputePass(), beginPass(), and endExternal().
| QGles2RenderTargetData * QRhiGles2::enqueueBindFramebuffer | ( | QRhiRenderTarget * | rt, |
| QGles2CommandBuffer * | cbD, | ||
| bool * | wantsColorClear = nullptr, | ||
| bool * | wantsDsClear = nullptr ) |
Definition at line 5643 of file qrhigles2.cpp.
| void QRhiGles2::enqueueResourceUpdates | ( | QRhiCommandBuffer * | cb, |
| QRhiResourceUpdateBatch * | resourceUpdates ) |
Definition at line 3198 of file qrhigles2.cpp.
References QGles2Texture::AccessFramebuffer, QGles2Texture::AccessRead, QGles2Buffer::AccessUpdate, QGles2Texture::AccessUpdate, QRhiResourceUpdateBatchPrivate::activeBufferOpCount, QRhiResourceUpdateBatchPrivate::activeTextureOpCount, QGles2CommandBuffer::Command::BufferSubData, QRhiResourceUpdateBatchPrivate::BufferOp::Clear, QRhiGles2::Caps::clearBuffer, QGles2CommandBuffer::Command::ClearBufferSubData, QGles2CommandBuffer::Command::cmd, QRhiResourceUpdateBatchPrivate::BufferOp::Copy, QRhiResourceUpdateBatchPrivate::TextureOp::Copy, QGles2CommandBuffer::Command::CopyBuf, QRhiGles2::Caps::copyBuffer, QGles2CommandBuffer::Command::CopyTex, currentSwapChain, QRhiResourceUpdateBatchPrivate::TextureOp::dst, QRhiResourceUpdateBatchPrivate::BufferOp::DynamicUpdate, QRhiResourceUpdateBatchPrivate::free(), QGles2CommandBuffer::Command::GenMip, QRhiResourceUpdateBatchPrivate::TextureOp::GenMips, QRhiResourceUpdateBatchPrivate::get(), QGles2CommandBuffer::Command::GetBufferSubData, QRhiResourceUpdateBatchPrivate::BufferOp::Read, QRhiResourceUpdateBatchPrivate::TextureOp::Read, QGles2CommandBuffer::Command::ReadPixels, QRhiResourceUpdateBatchPrivate::TextureOp::src, QRhiResourceUpdateBatchPrivate::BufferOp::StaticUpload, trackedBufferBarrier(), trackedImageBarrier(), QRhiResourceUpdateBatchPrivate::BufferOp::type, QRhiResourceUpdateBatchPrivate::TextureOp::type, and QRhiResourceUpdateBatchPrivate::TextureOp::Upload.
Referenced by beginComputePass(), beginPass(), endComputePass(), endPass(), and resourceUpdate().
| void QRhiGles2::enqueueSubresUpload | ( | QGles2Texture * | texD, |
| QGles2CommandBuffer * | cbD, | ||
| int | layer, | ||
| int | level, | ||
| const QRhiTextureSubresourceUploadDescription & | subresDesc ) |
Definition at line 3031 of file qrhigles2.cpp.
References QGles2Texture::AccessUpdate, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::Command::CompressedImage, QGles2CommandBuffer::Command::CompressedSubImage, QGles2Texture::isLevelAllocated(), QGles2CommandBuffer::Command::SubImage, trackedImageBarrier(), and QRhiGles2::Caps::unpackRowLength.
Definition at line 743 of file qrhigles2.cpp.
References contextLost, and needsMakeCurrentDueToSwap.
| QSurface * QRhiGles2::evaluateFallbackSurface | ( | ) | const |
Definition at line 731 of file qrhigles2.cpp.
| void QRhiGles2::executeBindGraphicsPipeline | ( | QGles2CommandBuffer * | cbD, |
| QGles2GraphicsPipeline * | psD ) |
Definition at line 4801 of file qrhigles2.cpp.
References QGles2CommandBuffer::GraphicsPassState::blendEnabled, QGles2CommandBuffer::GraphicsPassState::cpCount, QGles2CommandBuffer::GraphicsPassState::cullFace, QGles2CommandBuffer::GraphicsPassState::depthClamp, QRhiGles2::Caps::depthClamp, QGles2CommandBuffer::GraphicsPassState::depthTest, QGles2CommandBuffer::GraphicsPassState::depthWrite, f, GLenum, QGles2CommandBuffer::GraphicsPassState::lineWidth, operator!=(), QGles2CommandBuffer::GraphicsPassState::polyOffsetFactor, QGles2CommandBuffer::GraphicsPassState::polyOffsetFill, QGles2CommandBuffer::GraphicsPassState::polyOffsetUnits, QGles2CommandBuffer::GraphicsPassState::scissor, QGles2CommandBuffer::GraphicsPassState::stencilTest, and QGles2CommandBuffer::GraphicsPassState::valid.
Referenced by executeCommandBuffer().
| void QRhiGles2::executeCommandBuffer | ( | QRhiCommandBuffer * | cb | ) |
Definition at line 3766 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::Barrier, QGles2CommandBuffer::Command::BarriersForPass, QRhiGles2::Caps::baseInstance, QRhiGles2::Caps::baseVertex, QGles2CommandBuffer::Command::BeginFrame, QGles2CommandBuffer::Command::BindComputePipeline, QGles2CommandBuffer::Command::BindFramebuffer, QGles2CommandBuffer::Command::BindGraphicsPipeline, QGles2CommandBuffer::Command::BindIndexBuffer, QGles2CommandBuffer::Command::BindVertexBuffer, QGles2CommandBuffer::Command::BlendConstants, QGles2CommandBuffer::Command::BlitFromRenderbuffer, QGles2CommandBuffer::Command::BlitFromTexture, QGles2CommandBuffer::Command::BufferSubData, QGles2CommandBuffer::Command::Clear, QGles2CommandBuffer::Command::ClearBufferSubData, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::Command::CompressedImage, QGles2CommandBuffer::Command::CompressedSubImage, QRhiGles2::Caps::compute, QGles2CommandBuffer::Command::CopyBuf, QGles2CommandBuffer::Command::CopyTex, QRhiGles2::Caps::ctxMajor, QGles2CommandBuffer::Command::Dispatch, QGles2CommandBuffer::Command::DispatchIndirect, QGles2CommandBuffer::Command::Draw, QGles2CommandBuffer::Command::DrawIndexed, QGles2CommandBuffer::Command::DrawIndexedIndirect, QGles2CommandBuffer::Command::DrawIndexedIndirectCount, QGles2CommandBuffer::Command::DrawIndirect, QGles2CommandBuffer::Command::DrawIndirectCount, CommandBufferExecTrackedState::enabledAttribArrays, QGles2CommandBuffer::Command::EndFrame, executeBindGraphicsPipeline(), f, QGles2CommandBuffer::Command::GenMip, QGles2CommandBuffer::Command::GetBufferSubData, GLenum, QRhiGles2::Caps::gles, GLint, GLintptr, GLuint, QRhiGles2::Caps::hasDrawBuffersFunc, CommandBufferExecTrackedState::instancedAttributesUsed, QRhiGles2::Caps::instancing, QRhiGles2::Caps::intAttributes, QGles2CommandBuffer::Command::InvalidateFramebuffer, QRhiGles2::Caps::maxDrawBuffers, CommandBufferExecTrackedState::maxUntrackedInstancedAttribute, QRhiGles2::Caps::nonBaseLevelFramebufferTexture, CommandBufferExecTrackedState::nonzeroAttribDivisor, QRhiGles2::Caps::properMapBuffer, QGles2CommandBuffer::Command::ReadPixels, QGles2CommandBuffer::Command::ResetFrame, QGles2CommandBuffer::Command::Scissor, QGles2CommandBuffer::Command::SetPushConstants, QRhiGles2::Caps::srgbWriteControl, QGles2CommandBuffer::Command::StencilRef, QGles2CommandBuffer::Command::SubImage, CommandBufferExecTrackedState::TRACKED_ATTRIB_COUNT, vao, QRhiGles2::Caps::vertexArrayObject, QGles2CommandBuffer::Command::Viewport, void(), void(), void(), void(), void(), void(), void(), and void().
Referenced by beginExternal(), endFrame(), endOffscreenFrame(), and finish().
| void QRhiGles2::executeDeferredReleases | ( | ) |
Definition at line 1497 of file qrhigles2.cpp.
References QRhiGles2::DeferredReleaseEntry::Buffer, f, QRhiGles2::DeferredReleaseEntry::Pipeline, QRhiGles2::DeferredReleaseEntry::RenderBuffer, QRhiGles2::DeferredReleaseEntry::Texture, QRhiGles2::DeferredReleaseEntry::TextureRenderTarget, and QRhiGles2::DeferredReleaseEntry::type.
Referenced by beginFrame(), beginOffscreenFrame(), and destroy().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2927 of file qrhigles2.cpp.
References currentSwapChain, executeCommandBuffer(), f, and QGles2CommandBuffer::NoPass.
| void QRhiGles2::gatherBlockMemberUniforms | ( | GLuint | program, |
| const QByteArray & | prefix, | ||
| int | binding, | ||
| const QList< QShaderDescription::BlockVariable > & | members, | ||
| ActiveUniformLocationTracker * | activeUniformLocations, | ||
| QGles2UniformDescriptionVector * | dst ) |
Definition at line 6385 of file qrhigles2.cpp.
| void QRhiGles2::gatherGeneratedSamplers | ( | GLuint | program, |
| const QShader::SeparateToCombinedImageSamplerMapping & | mapping, | ||
| QGles2SamplerDescriptionVector * | dst ) |
Definition at line 6459 of file qrhigles2.cpp.
| void QRhiGles2::gatherPushConstantUniforms | ( | GLuint | program, |
| const QShaderDescription::PushConstantBlock & | pcb, | ||
| ActiveUniformLocationTracker * | activeUniformLocations, | ||
| QGles2UniformDescriptionVector * | dst ) |
Definition at line 6437 of file qrhigles2.cpp.
| void QRhiGles2::gatherSamplers | ( | GLuint | program, |
| const QShaderDescription::InOutVariable & | v, | ||
| QGles2SamplerDescriptionVector * | dst ) |
Definition at line 6445 of file qrhigles2.cpp.
| void QRhiGles2::gatherUniforms | ( | GLuint | program, |
| const QShaderDescription::UniformBlock & | ub, | ||
| ActiveUniformLocationTracker * | activeUniformLocations, | ||
| QGles2UniformDescriptionVector * | dst ) |
Definition at line 6428 of file qrhigles2.cpp.
| GLuint QRhiGles2::genBuffer | ( | ) |
Definition at line 1479 of file qrhigles2.cpp.
References bufferNameCacheCount, and f.
| QList< QShaderVersion > QRhiGles2::glslVersionsToTry | ( | ) | const |
Definition at line 6166 of file qrhigles2.cpp.
References QRhiGles2::Caps::coreProfile, QRhiGles2::Caps::ctxMajor, QRhiGles2::Caps::ctxMinor, and QRhiGles2::Caps::gles.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1570 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2060 of file qrhigles2.cpp.
References contextLost.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1839 of file qrhigles2.cpp.
References QRhiGles2::Caps::baseInstance, QRhiGles2::Caps::baseVertex, QRhiGles2::Caps::compute, QRhiGles2::Caps::copyBuffer, QRhiGles2::Caps::coreProfile, QRhiGles2::Caps::depthClamp, QRhiGles2::Caps::dispatchIndirect, QRhiGles2::Caps::drawIndirect, QRhiGles2::Caps::drawIndirectCount, QRhiGles2::Caps::drawIndirectMulti, QRhiGles2::Caps::elementIndexUint, QRhiGles2::Caps::fixedIndexPrimitiveRestart, QRhiGles2::Caps::geometryShader, QRhiGles2::Caps::gles, QRhiGles2::Caps::halfAttributes, QRhiGles2::Caps::instancing, QRhiGles2::Caps::intAttributes, QRhiGles2::Caps::maxFragmentStorageBuffers, QRhiGles2::Caps::maxTextureArraySize, QRhiGles2::Caps::msaaRenderBuffer, QRhiGles2::Caps::multisampledTexture, QRhiGles2::Caps::multiView, QRhiGles2::Caps::nonBaseLevelFramebufferTexture, QRhiGles2::Caps::npotTextureFull, QRhiGles2::Caps::perRenderTargetBlending, QRhiGles2::Caps::programBinary, QRhiGles2::Caps::properMapBuffer, QRhiGles2::Caps::sampleVariables, QRhiGles2::Caps::screenSpaceDerivatives, QRhiGles2::Caps::shaderDrawParameters, QRhiGles2::Caps::tessellation, QRhiGles2::Caps::texelFetch, QRhiGles2::Caps::texture1D, QRhiGles2::Caps::texture3D, QRhiGles2::Caps::timestamps, and QRhiGles2::Caps::unpackRowLength.
| bool QRhiGles2::isProgramBinaryDiskCacheEnabled | ( | ) | const |
Definition at line 6498 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1763 of file qrhigles2.cpp.
References QRhiGles2::Caps::bgraExternalFormat, QRhiGles2::Caps::depth24, QRhiGles2::Caps::depthTexture, QRhiGles2::Caps::floatFormats, QRhiGles2::Caps::packedDepthStencil, QRhiGles2::Caps::r16Format, QRhiGles2::Caps::r32uiFormat, QRhiGles2::Caps::r8Format, QRhiGles2::Caps::rgb10Formats, QRhiGles2::Caps::srgbGenerateMipmap, QRhiGles2::Caps::srgbTextureFormat, and QRhiGles2::Caps::srgbTextureRenderTarget.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1560 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1565 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2805 of file qrhigles2.cpp.
References QGles2CommandBuffer::lastGpuTime.
| bool QRhiGles2::linkProgram | ( | GLuint | program | ) |
Definition at line 6318 of file qrhigles2.cpp.
References f.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2032 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2015 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2732 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2074 of file qrhigles2.cpp.
References QGles2PipelineCacheDataHeader::driver.
| void QRhiGles2::registerUniformIfActive | ( | const QShaderDescription::BlockVariable & | var, |
| const QByteArray & | namePrefix, | ||
| int | binding, | ||
| int | baseOffset, | ||
| GLuint | program, | ||
| ActiveUniformLocationTracker * | activeUniformLocations, | ||
| QGles2UniformDescriptionVector * | dst ) |
Definition at line 6338 of file qrhigles2.cpp.
References QGles2UniformDescription::arrayDim, QGles2UniformDescription::binding, f, QGles2UniformDescription::glslLocation, and QGles2UniformDescription::stateIndex.
| void QRhiGles2::releaseBufferNameCache | ( | ) |
Definition at line 1489 of file qrhigles2.cpp.
References bufferNameCacheCount, and f.
Referenced by destroy(), and releaseCachedResources().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2045 of file qrhigles2.cpp.
References releaseBufferNameCache().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1967 of file qrhigles2.cpp.
References QRhiGles2::Caps::maxDrawBuffers, QRhiGles2::Caps::maxFragmentStorageBuffers, QRhiGles2::Caps::maxTextureSize, QRhiGles2::Caps::maxThreadGroupsPerDimension, QRhiGles2::Caps::maxThreadGroupsX, QRhiGles2::Caps::maxThreadGroupsY, QRhiGles2::Caps::maxThreadGroupsZ, QRhiGles2::Caps::maxThreadsPerThreadGroup, QRhiGles2::Caps::maxVertexInputs, QRhiGles2::Caps::maxVertexOutputs, and QRhiGles2::Caps::maxVertexStorageBuffers.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 5636 of file qrhigles2.cpp.
References enqueueResourceUpdates().
| void QRhiGles2::sanityCheckVertexFragmentInterface | ( | const QShaderDescription & | vsDesc, |
| const QShaderDescription & | fsDesc ) |
Definition at line 6473 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2467 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::BlendConstants, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::recordingPass, and QGles2CommandBuffer::RenderPass.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 5958 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::BindComputePipeline, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::ComputePass, QGles2CommandBuffer::currentPipelineGeneration, QGles2ComputePipeline::currentSrbGeneration, frameNo, QGles2ComputePipeline::generation, QGles2ComputePipeline::lastUsedInFrameNo, and QGles2CommandBuffer::recordingPass.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2234 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::BindGraphicsPipeline, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::currentPipelineGeneration, QGles2GraphicsPipeline::currentSrbGeneration, frameNo, QGles2GraphicsPipeline::generation, QGles2GraphicsPipeline::lastUsedInFrameNo, QGles2CommandBuffer::recordingPass, and QGles2CommandBuffer::RenderPass.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2129 of file qrhigles2.cpp.
References QGles2PipelineCacheDataHeader::driver.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2491 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::ComputePass, QGles2CommandBuffer::NoPass, QGles2CommandBuffer::recordingPass, and QGles2CommandBuffer::Command::SetPushConstants.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2040 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2449 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::recordingPass, QGles2CommandBuffer::RenderPass, and QGles2CommandBuffer::Command::Scissor.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2257 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::BindShaderResources, QRhiPassResourceTracker::BufStorageLoad, QRhiPassResourceTracker::BufStorageLoadStore, QRhiPassResourceTracker::BufStorageStore, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::currentPassResTrackerIndex, QGles2CommandBuffer::currentSrbGeneration, QGles2ComputePipeline::currentSrbGeneration, QGles2GraphicsPipeline::currentSrbGeneration, QGles2ShaderResourceBindings::generation, QGles2ShaderResourceBindings::hasDynamicOffset, QGles2CommandBuffer::NoPass, QGles2CommandBuffer::passNeedsResourceTracking, QGles2CommandBuffer::recordingPass, QRhiPassResourceTracker::TexStorageLoad, QRhiPassResourceTracker::TexStorageLoadStore, QRhiPassResourceTracker::TexStorageStore, trackedRegisterBuffer(), and trackedRegisterTexture().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2541 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2480 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::recordingPass, QGles2CommandBuffer::RenderPass, and QGles2CommandBuffer::Command::StencilRef.
| void QRhiGles2::setUniformsFromBlock | ( | const QGles2UniformDescriptionVector & | uniforms, |
| int | binding, | ||
| const char * | blockData, | ||
| qint64 | blockSize, | ||
| quint32 | blockOffset, | ||
| QGles2UniformState * | uniformState ) |
Definition at line 5439 of file qrhigles2.cpp.
| void QRhiGles2::setUniformValue | ( | const QGles2UniformDescription & | uniform, |
| const void * | src, | ||
| QGles2UniformState * | uniformState ) |
Definition at line 5154 of file qrhigles2.cpp.
References QGles2UniformDescription::arrayDim, QGles2UniformDescription::binding, QGles2UniformState::componentCount, f, QGles2UniformDescription::glslLocation, QGles2UniformDescription::stateIndex, and QGles2UniformState::v.
|
static |
Definition at line 5420 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2385 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::BindIndexBuffer, QGles2CommandBuffer::Command::BindVertexBuffer, QRhiPassResourceTracker::BufIndexRead, QRhiPassResourceTracker::BufVertexInput, QRhiPassResourceTracker::BufVertexInputStage, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::currentPassResTrackerIndex, QGles2CommandBuffer::passNeedsResourceTracking, QGles2CommandBuffer::recordingPass, QGles2CommandBuffer::RenderPass, and trackedRegisterBuffer().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2429 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::recordingPass, QGles2CommandBuffer::RenderPass, and QGles2CommandBuffer::Command::Viewport.
| QByteArray QRhiGles2::shaderSource | ( | const QRhiShaderStage & | shaderStage, |
| QShaderVersion * | shaderVersion, | ||
| std::optional< QShaderVersion > | commonVersion = std::nullopt ) |
Definition at line 6244 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2025 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1527 of file qrhigles2.cpp.
Implements QRhiImplementation.
Definition at line 1537 of file qrhigles2.cpp.
| void QRhiGles2::trackedBufferBarrier | ( | QGles2CommandBuffer * | cbD, |
| QGles2Buffer * | bufD, | ||
| QGles2Buffer::Access | access ) |
Definition at line 2989 of file qrhigles2.cpp.
References QGles2Buffer::UsageState::access, QGles2CommandBuffer::Command::Barrier, bufferAccessIsWrite(), QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::NoPass, QGles2CommandBuffer::recordingPass, and QGles2Buffer::usageState.
Referenced by enqueueResourceUpdates().
| void QRhiGles2::trackedImageBarrier | ( | QGles2CommandBuffer * | cbD, |
| QGles2Texture * | texD, | ||
| QGles2Texture::Access | access ) |
Definition at line 3012 of file qrhigles2.cpp.
References QGles2Texture::UsageState::access, QGles2CommandBuffer::Command::Barrier, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::NoPass, QGles2CommandBuffer::recordingPass, textureAccessIsWrite(), and QGles2Texture::usageState.
Referenced by enqueueResourceUpdates(), and enqueueSubresUpload().
| void QRhiGles2::trackedRegisterBuffer | ( | QRhiPassResourceTracker * | passResTracker, |
| QGles2Buffer * | bufD, | ||
| QRhiPassResourceTracker::BufferAccess | access, | ||
| QRhiPassResourceTracker::BufferStage | stage ) |
Definition at line 3712 of file qrhigles2.cpp.
References QGles2Buffer::UsageState::access, QRhiPassResourceTracker::registerBuffer(), toGlAccess(), toPassTrackerUsageState(), and QGles2Buffer::usageState.
Referenced by dispatchIndirect(), drawIndexedIndirect(), drawIndexedIndirectCount(), drawIndirect(), drawIndirectCount(), setShaderResources(), and setVertexInput().
| void QRhiGles2::trackedRegisterTexture | ( | QRhiPassResourceTracker * | passResTracker, |
| QGles2Texture * | texD, | ||
| QRhiPassResourceTracker::TextureAccess | access, | ||
| QRhiPassResourceTracker::TextureStage | stage ) |
Definition at line 3722 of file qrhigles2.cpp.
References QGles2Texture::UsageState::access, QRhiPassResourceTracker::registerTexture(), toGlAccess(), toPassTrackerUsageState(), and QGles2Texture::usageState.
Referenced by setShaderResources().
| QRhiGles2::ProgramCacheResult QRhiGles2::tryLoadFromDiskOrPipelineCache | ( | const QRhiShaderStage * | stages, |
| int | stageCount, | ||
| GLuint | program, | ||
| const QVector< QShaderDescription::InOutVariable > & | inputVars, | ||
| QByteArray * | cacheKey, | ||
| std::optional< QShaderVersion > | commonVersion = std::nullopt ) |
Definition at line 6526 of file qrhigles2.cpp.
| void QRhiGles2::trySaveToDiskCache | ( | GLuint | program, |
| const QByteArray & | cacheKey ) |
Definition at line 6619 of file qrhigles2.cpp.
| void QRhiGles2::trySaveToPipelineCache | ( | GLuint | program, |
| const QByteArray & | cacheKey, | ||
| bool | force = false ) |
Definition at line 6631 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1553 of file qrhigles2.cpp.
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glClearBufferSubData | ) |
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glCompressedTexImage1D | ) |
| const GLvoid * QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glCompressedTexSubImage1D | ) |
| const GLvoid * QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glCopyTexSubImage1D | ) |
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glDrawArraysInstancedBaseInstance | ) |
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glDrawElementsInstancedBaseInstance | ) |
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glDrawElementsInstancedBaseVertexBaseInstance | ) |
| const GLvoid const GLvoid * QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glFramebufferTexture1D | ) |
| const void quint64 const GLchar * QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glFramebufferTexture2DMultisampleEXT | ) |
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glFramebufferTextureMultisampleMultiviewOVR | ) |
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glFramebufferTextureMultiviewOVR | ) |
| const void * QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glGetQueryObjectui64v | ) |
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glMultiDrawArraysIndirect | ) |
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glMultiDrawArraysIndirectCount | ) |
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glMultiDrawElementsIndirect | ) |
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glMultiDrawElementsIndirectCount | ) |
| const void quint64 * QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glObjectLabel | ) |
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glPolygonMode | ) |
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glQueryCounter | ) |
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glRenderbufferStorageMultisampleEXT | ) |
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glTexImage1D | ) |
| const void * QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glTexStorage1D | ) |
| QRhiGles2::void | ( | QOPENGLF_APIENTRYP | glTexSubImage1D | ) |
| std::array<GLuint, 8> QRhiGles2::bufferNameCache |
Definition at line 1283 of file qrhigles2_p.h.
| int QRhiGles2::bufferNameCacheCount = 0 |
Definition at line 1284 of file qrhigles2_p.h.
Referenced by destroy(), genBuffer(), and releaseBufferNameCache().
| struct QRhiGles2::Caps QRhiGles2::caps |
|
mutable |
Definition at line 1281 of file qrhigles2_p.h.
Referenced by create(), ensureContext(), and isDeviceLost().
| QOpenGLContext* QRhiGles2::ctx = nullptr |
Definition at line 1082 of file qrhigles2_p.h.
| QGles2SwapChain* QRhiGles2::currentSwapChain = nullptr |
Definition at line 1276 of file qrhigles2_p.h.
Referenced by beginExternal(), beginFrame(), endFrame(), enqueueResourceUpdates(), and finish().
| QRhiDriverInfo QRhiGles2::driverInfoStruct |
Definition at line 1280 of file qrhigles2_p.h.
| QOpenGLExtensions* QRhiGles2::f = nullptr |
Definition at line 1089 of file qrhigles2_p.h.
Referenced by beginExternal(), beginOffscreenFrame(), bindCombinedSampler(), bindShaderResources(), compileShader(), create(), destroy(), endFrame(), endOffscreenFrame(), executeBindGraphicsPipeline(), executeCommandBuffer(), executeDeferredReleases(), finish(), genBuffer(), linkProgram(), registerUniformIfActive(), releaseBufferNameCache(), and setUniformValue().
Definition at line 1085 of file qrhigles2_p.h.
| uint QRhiGles2::frameNo = 0 |
Definition at line 1282 of file qrhigles2_p.h.
Referenced by beginFrame(), setComputePipeline(), and setGraphicsPipeline().
Definition at line 1111 of file qrhigles2_p.h.
Referenced by create().
| const GLvoid const GLvoid QRhiGles2::GLenum |
Definition at line 1102 of file qrhigles2_p.h.
Referenced by create(), and executeCommandBuffer().
| const GLvoid QRhiGles2::GLenum |
Definition at line 1100 of file qrhigles2_p.h.
Referenced by create(), and executeCommandBuffer().
| const void QRhiGles2::GLenum |
Definition at line 1093 of file qrhigles2_p.h.
Definition at line 1090 of file qrhigles2_p.h.
Referenced by create(), and executeBindGraphicsPipeline().
Definition at line 1111 of file qrhigles2_p.h.
| const GLvoid const GLvoid QRhiGles2::GLint = nullptr |
Definition at line 1103 of file qrhigles2_p.h.
| const GLvoid QRhiGles2::GLint |
Definition at line 1096 of file qrhigles2_p.h.
Referenced by create(), and executeCommandBuffer().
| const void QRhiGles2::GLint |
Definition at line 1093 of file qrhigles2_p.h.
Referenced by create().
| const void QRhiGles2::GLint |
Definition at line 1091 of file qrhigles2_p.h.
Referenced by create().
| const void QRhiGles2::GLintptr |
Definition at line 1116 of file qrhigles2_p.h.
Referenced by create(), and executeCommandBuffer().
| const void QRhiGles2::GLintptr |
Definition at line 1107 of file qrhigles2_p.h.
Referenced by create(), and executeCommandBuffer().
Definition at line 1111 of file qrhigles2_p.h.
Definition at line 1110 of file qrhigles2_p.h.
| const GLvoid QRhiGles2::GLsizei = nullptr |
Definition at line 1097 of file qrhigles2_p.h.
Definition at line 1093 of file qrhigles2_p.h.
Definition at line 1091 of file qrhigles2_p.h.
| QRhiGles2::GLsizeiptr |
Definition at line 1107 of file qrhigles2_p.h.
Definition at line 1120 of file qrhigles2_p.h.
Referenced by create(), and executeCommandBuffer().
Definition at line 1111 of file qrhigles2_p.h.
Definition at line 1110 of file qrhigles2_p.h.
Referenced by create().
| QRhiGles2::GLuint = nullptr |
Definition at line 1104 of file qrhigles2_p.h.
Referenced by create().
Definition at line 1102 of file qrhigles2_p.h.
| bool QRhiGles2::importedContext = false |
Definition at line 1083 of file qrhigles2_p.h.
Referenced by QRhiGles2(), create(), and destroy().
| QRhiBinaryCache<QByteArray, PipelineCacheData> QRhiGles2::m_pipelineCache { "Program binary cache" } |
Definition at line 1331 of file qrhigles2_p.h.
| struct QRhiGles2::Scratch QRhiGles2::m_scratch |
| QHash<std::pair<QRhiShaderStage, QShaderVersion>, uint> QRhiGles2::m_shaderCache |
Definition at line 1325 of file qrhigles2_p.h.
|
staticconstexpr |
Definition at line 933 of file qrhigles2_p.h.
| QOpenGLContext* QRhiGles2::maybeShareContext = nullptr |
Definition at line 1087 of file qrhigles2_p.h.
Definition at line 1086 of file qrhigles2_p.h.
| QRhiGles2NativeHandles QRhiGles2::nativeHandlesStruct |
Definition at line 1279 of file qrhigles2_p.h.
|
mutable |
Definition at line 1088 of file qrhigles2_p.h.
Referenced by endFrame(), and ensureContext().
| struct QRhiGles2::OffscreenFrame QRhiGles2::ofr |
| QList<DeferredReleaseEntry> QRhiGles2::releaseQueue |
Definition at line 1315 of file qrhigles2_p.h.
| QSurfaceFormat QRhiGles2::requestedFormat |
Definition at line 1084 of file qrhigles2_p.h.
| QRhi::Flags QRhiGles2::rhiFlags |
Definition at line 1081 of file qrhigles2_p.h.
Definition at line 1277 of file qrhigles2_p.h.
|
mutable |
Definition at line 1278 of file qrhigles2_p.h.
| uint QRhiGles2::vao = 0 |
Definition at line 1122 of file qrhigles2_p.h.
Referenced by beginExternal(), destroy(), and executeCommandBuffer().