![]() |
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 *params, QRhiNativeHandles *importDevice) |
| static const QRhiShaderResourceBinding::Data * | shaderResourceBindingData (const QRhiShaderResourceBinding &binding) |
| static QRhiShaderResourceBinding::Data * | shaderResourceBindingData (QRhiShaderResourceBinding &binding) |
| static bool | sortedBindingLessThan (const QRhiShaderResourceBinding &a, const QRhiShaderResourceBinding &b) |
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 853 of file qrhigles2_p.h.
| using QRhiGles2::ActiveUniformLocationTracker = QDuplicateTracker<int, 32> |
Definition at line 1034 of file qrhigles2_p.h.
| Enumerator | |
|---|---|
| ProgramCacheHit | |
| ProgramCacheMiss | |
| ProgramCacheError | |
Definition at line 1057 of file qrhigles2_p.h.
| QRhiGles2::QRhiGles2 | ( | QRhiGles2InitParams * | params, |
| QRhiGles2NativeHandles * | importDevice = nullptr ) |
Definition at line 692 of file qrhigles2.cpp.
References QRhiGles2(), and importedContext.
Referenced by QRhiGles2().
| GLbitfield QRhiGles2::barriersForNextDispatch | ( | QGles2CommandBuffer * | cbD | ) |
Definition at line 5899 of file qrhigles2.cpp.
References QGles2CommandBuffer::ComputePassState::Read.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 5826 of file qrhigles2.cpp.
References QGles2CommandBuffer::ComputePass, enqueueBarriersForPass(), enqueueResourceUpdates(), QGles2CommandBuffer::NoPass, QGles2CommandBuffer::recordingPass, and QGles2CommandBuffer::resetCachedState().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2700 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 2763 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::BeginFrame, currentSwapChain, QGles2SwapChain::currentTimestampPairIndex, executeDeferredReleases(), and frameNo.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2826 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::BeginFrame, executeDeferredReleases(), and f.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 5621 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 5001 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 5389 of file qrhigles2.cpp.
References f, QGles2ComputePipeline::generation, and QGles2GraphicsPipeline::generation.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1545 of file qrhigles2.cpp.
| std::optional< QShaderVersion > QRhiGles2::commonGlslEsVersion | ( | const QRhiShaderStage * | stages, |
| int | stageCount ) const |
Definition at line 6116 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 6164 of file qrhigles2.cpp.
References f.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 832 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, 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::tessellation, QRhiGles2::Caps::texelFetch, QRhiGles2::Caps::texture1D, QRhiGles2::Caps::texture3D, QRhiGles2::Caps::textureCompareMode, QRhiGles2::Caps::timestamps, QRhiGles2::Caps::uniformBuffers, QRhiGles2::Caps::unpackRowLength, QRhiGles2::Caps::vertexArrayObject, void(), void(), void(), void(), void(), void(), and void().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1518 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2181 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2171 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2139 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2153 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2176 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2160 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1513 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2146 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2165 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2658 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2667 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2675 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1436 of file qrhigles2.cpp.
References executeDeferredReleases(), f, importedContext, and vao.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 5963 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 5981 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 2499 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::Command::Draw, QGles2CommandBuffer::recordingPass, and QGles2CommandBuffer::RenderPass.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2514 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::Command::DrawIndexed, QGles2CommandBuffer::recordingPass, and QGles2CommandBuffer::RenderPass.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2557 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 2621 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 2530 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 2584 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 1974 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 5843 of file qrhigles2.cpp.
References QGles2CommandBuffer::ComputePass, enqueueResourceUpdates(), QGles2CommandBuffer::NoPass, and QGles2CommandBuffer::recordingPass.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2736 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 2792 of file qrhigles2.cpp.
References currentSwapChain, QGles2SwapChain::currentTimestampPairIndex, QGles2CommandBuffer::Command::EndFrame, executeCommandBuffer(), f, needsMakeCurrentDueToSwap, and QGles2SwapChainTimestamps::TIMESTAMP_PAIRS.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2847 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::EndFrame, executeCommandBuffer(), f, and void().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 5668 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 5612 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 5539 of file qrhigles2.cpp.
| void QRhiGles2::enqueueResourceUpdates | ( | QRhiCommandBuffer * | cb, |
| QRhiResourceUpdateBatch * | resourceUpdates ) |
Definition at line 3134 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, QRhiBufferData::constData(), QRhiResourceUpdateBatchPrivate::BufferOp::Copy, QRhiResourceUpdateBatchPrivate::TextureOp::Copy, QGles2CommandBuffer::Command::CopyBuf, QRhiGles2::Caps::copyBuffer, QGles2CommandBuffer::Command::CopyTex, currentSwapChain, QRhiResourceUpdateBatchPrivate::BufferOp::data, 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, QGles2Texture::specified, 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 2983 of file qrhigles2.cpp.
References QGles2Texture::AccessUpdate, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::Command::CompressedImage, QGles2CommandBuffer::Command::CompressedSubImage, QGles2Texture::specified, QGles2CommandBuffer::Command::SubImage, trackedImageBarrier(), QRhiGles2::Caps::unpackRowLength, and QGles2Texture::zeroInitialized.
Definition at line 742 of file qrhigles2.cpp.
References contextLost, and needsMakeCurrentDueToSwap.
| QSurface * QRhiGles2::evaluateFallbackSurface | ( | ) | const |
Definition at line 730 of file qrhigles2.cpp.
| void QRhiGles2::executeBindGraphicsPipeline | ( | QGles2CommandBuffer * | cbD, |
| QGles2GraphicsPipeline * | psD ) |
Definition at line 4707 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 3703 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 1467 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 2879 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 6280 of file qrhigles2.cpp.
| void QRhiGles2::gatherGeneratedSamplers | ( | GLuint | program, |
| const QShader::SeparateToCombinedImageSamplerMapping & | mapping, | ||
| QGles2SamplerDescriptionVector * | dst ) |
Definition at line 6354 of file qrhigles2.cpp.
| void QRhiGles2::gatherPushConstantUniforms | ( | GLuint | program, |
| const QShaderDescription::PushConstantBlock & | pcb, | ||
| ActiveUniformLocationTracker * | activeUniformLocations, | ||
| QGles2UniformDescriptionVector * | dst ) |
Definition at line 6332 of file qrhigles2.cpp.
| void QRhiGles2::gatherSamplers | ( | GLuint | program, |
| const QShaderDescription::InOutVariable & | v, | ||
| QGles2SamplerDescriptionVector * | dst ) |
Definition at line 6340 of file qrhigles2.cpp.
| void QRhiGles2::gatherUniforms | ( | GLuint | program, |
| const QShaderDescription::UniformBlock & | ub, | ||
| ActiveUniformLocationTracker * | activeUniformLocations, | ||
| QGles2UniformDescriptionVector * | dst ) |
Definition at line 6323 of file qrhigles2.cpp.
| QList< QShaderVersion > QRhiGles2::glslVersionsToTry | ( | ) | const |
Definition at line 6062 of file qrhigles2.cpp.
References QRhiGles2::Caps::coreProfile, QRhiGles2::Caps::ctxMajor, QRhiGles2::Caps::ctxMinor, and QRhiGles2::Caps::gles.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1540 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2012 of file qrhigles2.cpp.
References contextLost.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1795 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::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 6393 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1719 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 1530 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1535 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2757 of file qrhigles2.cpp.
References QGles2CommandBuffer::lastGpuTime.
| bool QRhiGles2::linkProgram | ( | GLuint | program | ) |
Definition at line 6213 of file qrhigles2.cpp.
References f.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1986 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1969 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2684 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2026 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 6233 of file qrhigles2.cpp.
References QGles2UniformDescription::arrayDim, QGles2UniformDescription::binding, f, QGles2UniformDescription::glslLocation, and QGles2UniformDescription::stateIndex.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1999 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1921 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 5532 of file qrhigles2.cpp.
References enqueueResourceUpdates().
| void QRhiGles2::sanityCheckVertexFragmentInterface | ( | const QShaderDescription & | vsDesc, |
| const QShaderDescription & | fsDesc ) |
Definition at line 6368 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2419 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::BlendConstants, QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::recordingPass, and QGles2CommandBuffer::RenderPass.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 5854 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 2186 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 2081 of file qrhigles2.cpp.
References QGles2PipelineCacheDataHeader::driver.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2443 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::ComputePass, QGles2CommandBuffer::NoPass, QGles2CommandBuffer::recordingPass, and QGles2CommandBuffer::Command::SetPushConstants.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1994 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2401 of file qrhigles2.cpp.
References QGles2CommandBuffer::Command::cmd, QGles2CommandBuffer::recordingPass, QGles2CommandBuffer::RenderPass, and QGles2CommandBuffer::Command::Scissor.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2209 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::TexSample, QRhiPassResourceTracker::TexStorageLoad, QRhiPassResourceTracker::TexStorageLoadStore, QRhiPassResourceTracker::TexStorageStore, trackedRegisterBuffer(), and trackedRegisterTexture().
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2493 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2432 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 5339 of file qrhigles2.cpp.
| void QRhiGles2::setUniformValue | ( | const QGles2UniformDescription & | uniform, |
| const void * | src, | ||
| QGles2UniformState * | uniformState ) |
Definition at line 5054 of file qrhigles2.cpp.
References QGles2UniformDescription::arrayDim, QGles2UniformDescription::binding, QGles2UniformState::componentCount, f, QGles2UniformDescription::glslLocation, QGles2UniformDescription::stateIndex, and QGles2UniformState::v.
|
static |
Definition at line 5320 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 2337 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 2381 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 6140 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1979 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1497 of file qrhigles2.cpp.
Implements QRhiImplementation.
Definition at line 1507 of file qrhigles2.cpp.
| void QRhiGles2::trackedBufferBarrier | ( | QGles2CommandBuffer * | cbD, |
| QGles2Buffer * | bufD, | ||
| QGles2Buffer::Access | access ) |
Definition at line 2941 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 2964 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 3649 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 3659 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 6421 of file qrhigles2.cpp.
| void QRhiGles2::trySaveToDiskCache | ( | GLuint | program, |
| const QByteArray & | cacheKey ) |
Definition at line 6514 of file qrhigles2.cpp.
| void QRhiGles2::trySaveToPipelineCache | ( | GLuint | program, |
| const QByteArray & | cacheKey, | ||
| bool | force = false ) |
Definition at line 6526 of file qrhigles2.cpp.
|
overridevirtual |
Implements QRhiImplementation.
Definition at line 1523 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 | ) |
| struct QRhiGles2::Caps QRhiGles2::caps |
|
mutable |
Definition at line 1269 of file qrhigles2_p.h.
Referenced by create(), ensureContext(), and isDeviceLost().
| QOpenGLContext* QRhiGles2::ctx = nullptr |
Definition at line 1072 of file qrhigles2_p.h.
| QGles2SwapChain* QRhiGles2::currentSwapChain = nullptr |
Definition at line 1264 of file qrhigles2_p.h.
Referenced by beginExternal(), beginFrame(), endFrame(), enqueueResourceUpdates(), and finish().
| QRhiDriverInfo QRhiGles2::driverInfoStruct |
Definition at line 1268 of file qrhigles2_p.h.
| QOpenGLExtensions* QRhiGles2::f = nullptr |
Definition at line 1079 of file qrhigles2_p.h.
Referenced by beginExternal(), beginOffscreenFrame(), bindCombinedSampler(), bindShaderResources(), compileShader(), create(), destroy(), endFrame(), endOffscreenFrame(), executeBindGraphicsPipeline(), executeCommandBuffer(), executeDeferredReleases(), finish(), linkProgram(), registerUniformIfActive(), and setUniformValue().
Definition at line 1075 of file qrhigles2_p.h.
| uint QRhiGles2::frameNo = 0 |
Definition at line 1270 of file qrhigles2_p.h.
Referenced by beginFrame(), setComputePipeline(), and setGraphicsPipeline().
Definition at line 1101 of file qrhigles2_p.h.
| const GLvoid const GLvoid QRhiGles2::GLenum |
Definition at line 1092 of file qrhigles2_p.h.
Referenced by executeCommandBuffer().
| const GLvoid QRhiGles2::GLenum |
Definition at line 1090 of file qrhigles2_p.h.
Referenced by executeCommandBuffer().
| const void QRhiGles2::GLenum |
Definition at line 1083 of file qrhigles2_p.h.
Definition at line 1080 of file qrhigles2_p.h.
Referenced by executeBindGraphicsPipeline().
Definition at line 1101 of file qrhigles2_p.h.
| const GLvoid const GLvoid QRhiGles2::GLint = nullptr |
Definition at line 1093 of file qrhigles2_p.h.
| const GLvoid QRhiGles2::GLint |
Definition at line 1086 of file qrhigles2_p.h.
Referenced by executeCommandBuffer().
| const void QRhiGles2::GLint |
Definition at line 1083 of file qrhigles2_p.h.
| const void QRhiGles2::GLint |
Definition at line 1081 of file qrhigles2_p.h.
Referenced by create().
| const void QRhiGles2::GLintptr |
Definition at line 1106 of file qrhigles2_p.h.
Referenced by create(), and executeCommandBuffer().
| const void QRhiGles2::GLintptr |
Definition at line 1097 of file qrhigles2_p.h.
Referenced by create(), and executeCommandBuffer().
Definition at line 1101 of file qrhigles2_p.h.
Definition at line 1100 of file qrhigles2_p.h.
| const GLvoid QRhiGles2::GLsizei = nullptr |
Definition at line 1087 of file qrhigles2_p.h.
Definition at line 1083 of file qrhigles2_p.h.
Definition at line 1081 of file qrhigles2_p.h.
| QRhiGles2::GLsizeiptr |
Definition at line 1097 of file qrhigles2_p.h.
Definition at line 1110 of file qrhigles2_p.h.
Referenced by create(), and executeCommandBuffer().
Definition at line 1101 of file qrhigles2_p.h.
Definition at line 1100 of file qrhigles2_p.h.
| QRhiGles2::GLuint = nullptr |
Definition at line 1094 of file qrhigles2_p.h.
Definition at line 1092 of file qrhigles2_p.h.
| bool QRhiGles2::importedContext = false |
Definition at line 1073 of file qrhigles2_p.h.
Referenced by QRhiGles2(), create(), and destroy().
| QRhiBinaryCache<QByteArray, PipelineCacheData> QRhiGles2::m_pipelineCache { "Program binary cache" } |
Definition at line 1317 of file qrhigles2_p.h.
| struct QRhiGles2::Scratch QRhiGles2::m_scratch |
| QHash<std::pair<QRhiShaderStage, QShaderVersion>, uint> QRhiGles2::m_shaderCache |
Definition at line 1311 of file qrhigles2_p.h.
|
staticconstexpr |
Definition at line 925 of file qrhigles2_p.h.
| QOpenGLContext* QRhiGles2::maybeShareContext = nullptr |
Definition at line 1077 of file qrhigles2_p.h.
Definition at line 1076 of file qrhigles2_p.h.
| QRhiGles2NativeHandles QRhiGles2::nativeHandlesStruct |
Definition at line 1267 of file qrhigles2_p.h.
|
mutable |
Definition at line 1078 of file qrhigles2_p.h.
Referenced by endFrame(), and ensureContext().
| struct QRhiGles2::OffscreenFrame QRhiGles2::ofr |
| QList<DeferredReleaseEntry> QRhiGles2::releaseQueue |
Definition at line 1301 of file qrhigles2_p.h.
| QSurfaceFormat QRhiGles2::requestedFormat |
Definition at line 1074 of file qrhigles2_p.h.
| QRhi::Flags QRhiGles2::rhiFlags |
Definition at line 1071 of file qrhigles2_p.h.
Definition at line 1265 of file qrhigles2_p.h.
|
mutable |
Definition at line 1266 of file qrhigles2_p.h.
| uint QRhiGles2::vao = 0 |
Definition at line 1112 of file qrhigles2_p.h.
Referenced by beginExternal(), destroy(), and executeCommandBuffer().