Files
MobileGL/scripts/data/backend_read_inventory.md
T
swung0x48 9c773182bb [Feat] (MGPipe): land the interface skeleton - the complete call catalogue, the payload PODs and the seven generators
- Plan B section 4 makes the frontend/backend boundary explicit and gives the backend its
  own state machine. This is the P0 deliverable of section 11: the whole catalogue exists
  from day one, placeholders included, because the wire opcode is a call's position in
  PipeCalls.def and record numbering must never churn.
- MG_Pipe/PipeCalls.def is the single source of truth: 68 unique calls as
  X(Name, Payload, Class, Flags). Its header reconciles that number with the plan's
  headline counts (section 4.4, appendix A), which double count - "CSO 15" names
  bind_sampler_states and set_sampler_views that the "set_* 17" list also names, "screen
  14" tabulates the query family that section 4.3 assigns to the context, and the
  "transfer 12" row enumerates 11 calls. Each reconciliation is written down next to the
  count rather than resolved silently.
- MGPipeHandles.h: the 8-byte {slot, gen} pair, dense per-kind slots, the reserved null
  and default-framebuffer handles, and the ShaderCso composite band (sections 4.2, 5.6.3).
  The two generations are documented as strictly separate, with the interface rule that no
  call may require the client to know MGGen.
- MGPipeTypes.h: every payload of section 4.5 as a flat POD with explicit padding, a
  trivial-copyability assertion and an exact sizeof assertion, because the wire records are
  memcpy'd and a field silently changing width is a protocol break no test would see.
  MGPCaps embeds DynamicBackendParameters by inclusion so a caps field added there needs no
  second edit here; its assertion is stated as a composition because that struct still
  carries SizeT. ResidualValueBlock is pinned at MGL_RESIDUAL_BLOCK_SIZE 1248, the ratchet
  that only ever goes down and reaches static_assert(... == 0) in P13 (section 6.3).
- MGPipeHostSpan.h keeps the one shape that changes with the transport isolated behind one
  predictable branch, with the kFromServerIndexMirror sentinel D-B7 needs.
- MGPipeCallbacks.h names the reverse channel as ten callbacks plus the forward terminator
  in the context table, replacing 95 poke sites across 17 methods (section 7.1).
- scripts/gen_pipe.py runs G1-G7 off those .def files. G1 asserts each table is EXACTLY its
  call count of function pointers; G3 pads every wire record to the stream's 8-byte
  granularity and checks size >= sizeof && size <= remaining && size % 8 == 0 before
  dispatch, fatally; G4 compares field by field (padding excluded, floats by bits) because
  a comparator with false positives is one nobody reads - DirectGLES.cpp says the same
  thing about its own memcmp of RenderStateParameters; G5 turns the accessor list into
  per-verb poison generations rather than a written-once bitmap, which is the only version
  that can see a field left over from the previous draw (section 6.2.2); G6 joins the 477
  read points of the vendored backend_read_inventory.md against Coverage.def and reports
  0 UNMAPPED (299 to a call, 167 signatures that become handle parameters, 6 reverse
  channel, 5 client-resolved); G7 pins the pipeline subset BY MEMBER NAME from what
  VulkanRenderer::ComputePipelineStateHash hashes today, computing no offsets in python.
- The generated files are committed so the build never depends on python; CI regenerates
  and diffs them.
2026-09-05 20:16:49 -04:00

73 KiB

Backend read inventory -> delta catalog matrix

GENERATED by scripts/extract_backend_read_inventory.py - do not edit by hand. Acceptance rule: zero UNMAPPED rows before the delta path goes live (P5).

Summary

  • scanned files: 57 (MG_Backend/**.cpp|.h)
  • total read points: 477
  • pGLContext accesses: 293
  • SharedPtr<MG_State wire args: 167
  • BufferBackendOps touchpoints: 17
  • UNMAPPED: 0

Delta kind distribution

delta kind count
handle-ify (wire handle) 167
RenderStateBlob 99
ObjectBind(Texture) 33
ObjectBind(Buffer) 29
ObjectBind(BufferRange) 24
FboAttach 19
Buffer ops delta 17
XfbOp 15
ObjectBind(Image) 14
ObjectBind(VAO) 12
ObjectBind(Program) 10
TexParam 9
Texture state 7
PixelStoreBlob 6
client-resolved (error queue) 6
ProgramPublish 3
client-resolved (validation) 3
CurrentAttrib 2
client-resolved (compile env) 2

Per-file hits

MobileGL/MG_Backend/BackendObject.h (9 hits)

line kind member delta snippet
34 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> Texture;
35 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::RenderbufferObject> Renderbuffer;
158 SharedPtr<MG_State - handle-ify (wire handle) void (*ClearNamedFramebufferfv)(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
160 SharedPtr<MG_State - handle-ify (wire handle) void (*ClearNamedFramebufferfi)(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
162 SharedPtr<MG_State - handle-ify (wire handle) void (*ClearNamedFramebufferiv)(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
164 SharedPtr<MG_State - handle-ify (wire handle) void (*ClearNamedFramebufferuiv)(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
168 SharedPtr<MG_State - handle-ify (wire handle) void (*BlitNamedFramebuffer)(const SharedPtr<MG_State::GLState::FramebufferObject>& readFramebuffer,
169 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::FramebufferObject>& drawFramebuffer,
186 SharedPtr<MG_State - handle-ify (wire handle) void (*GetTextureImage)(const SharedPtr<MG_State::GLState::ITextureObject>& texture,

MobileGL/MG_Backend/DirectGLES/BackendObject_DirectGLES.cpp (1 hits)

line kind member delta snippet
849 BufferBackendOps - Buffer ops delta BufferImpl::RegisterBufferBackendOps();

MobileGL/MG_Backend/DirectGLES/DirectGLES.cpp (142 hits)

line kind member delta snippet
55 SharedPtr<MG_State - handle-ify (wire handle) static SharedPtr<MG_State::GLState::SamplerObject> g_rawDepthFetchSamplerState;
142 pGLContext GetFramebufferBindingSlot FboAttach std::remove_reference_t<decltype(MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Draw))>;
182 SharedPtr<MG_State - handle-ify (wire handle) Bool NeedsRawDepthFetchSampler(const SharedPtr<MG_State::GLState::SamplerObject>& samplerObject,
260 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto drawBuffer = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
356 pGLContext GetTouchedBufferBindingPointCount ObjectBind(BufferRange) auto bindingPointCnt = MG_State::pGLContext->GetTouchedBufferBindingPointCount(target);
369 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(target, i);
428 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::TransformFeedback, i);
461 pGLContext GetTouchedBufferBindingPointCount ObjectBind(BufferRange) MG_State::pGLContext->GetTouchedBufferBindingPointCount(BufferTarget::ShaderStorage);
464 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::ShaderStorage, i).GetBoundObject();
473 pGLContext GetBufferBindingPointCount ObjectBind(BufferRange) const SizeT pointCount = MG_State::pGLContext->GetBufferBindingPointCount(BufferTarget::AtomicCounter);
480 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::AtomicCounter,
517 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto& bufferObject = MG_State::pGLContext->GetBufferBindingSlot(target).GetBoundObject();
537 SharedPtr<MG_State - handle-ify (wire handle) void SyncNeccessaryBuffers(const SharedPtr<MG_State::GLState::VertexArrayObject>& currentVAOObject,
661 pGLContext GetBufferBindingSlot ObjectBind(Buffer) MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
712 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::BufferObject> buffer;
739 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ProgramObject> scatterProgram;
891 pGLContext GetTransformFeedbackCapturedVertices XfbOp static_cast<SizeT>(MG_State::pGLContext->GetTransformFeedbackCapturedVertices());
986 pGLContext GetTransformFeedbackProgram XfbOp const auto& program = MG_State::pGLContext->GetTransformFeedbackProgram();
1006 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::TransformFeedback,
1199 SharedPtr<MG_State - handle-ify (wire handle) BackendVertexArrayObject* ResolveVaoTwin(const SharedPtr<MG_State::GLState::VertexArrayObject>& vao) {
1215 SharedPtr<MG_State - handle-ify (wire handle) void SyncCurrentVAO(const SharedPtr<MG_State::GLState::VertexArrayObject>& currentVAOObject,
1237 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ProgramObject>& program) {
1243 pGLContext GetBoundVertexArray ObjectBind(VAO) const auto& vao = MG_State::pGLContext->GetBoundVertexArray();
1274 pGLContext GetCurrentVertexAttribute CurrentAttrib const auto& currentValue = MG_State::pGLContext->GetCurrentVertexAttribute(location);
1298 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& textureObject,
1372 pGLContext GetTextureUnitObject ObjectBind(Texture) auto& textureUnit = MG_State::pGLContext->GetTextureUnitObject(unit);
1385 pGLContext GetTextureUnitObject ObjectBind(Texture) auto& textureUnit = MG_State::pGLContext->GetTextureUnitObject(unit);
1413 pGLContext GetTextureContextId Texture state const Uint64 contextId = MG_State::pGLContext->GetTextureContextId();
1414 pGLContext GetTextureBindGeneration ObjectBind(Texture) const Uint64 bindGeneration = MG_State::pGLContext->GetTextureBindGeneration();
1457 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>* slot = nullptr;
1503 pGLContext GetTextureContextId Texture state keys.contextId = MG_State::pGLContext->GetTextureContextId();
1505 pGLContext GetMaxTouchedTextureUnit ObjectBind(Texture) keys.maxTouchedUnit = MG_State::pGLContext->GetMaxTouchedTextureUnit();
1506 pGLContext GetSamplingResolutionGeneration TexParam keys.samplingGeneration = MG_State::pGLContext->GetSamplingResolutionGeneration();
1552 pGLContext GetTextureUnitObject ObjectBind(Texture) auto& unit = MG_State::pGLContext->GetTextureUnitObject(index);
1700 pGLContext GetImageTextureBinding ObjectBind(Image) auto& imageBinding = MG_State::pGLContext->GetImageTextureBinding(static_cast<Int>(unit));
1792 pGLContext GetImageTextureBinding ObjectBind(Image) const auto& imageBinding = MG_State::pGLContext->GetImageTextureBinding(static_cast<Int>(unit));
1998 pGLContext GetRenderStateParametersVersion RenderStateBlob Uint16 currentRenderStateVersion = MG_State::pGLContext->GetRenderStateParametersVersion();
2012 pGLContext GetRenderStateParameters RenderStateBlob const auto& parameters = MG_State::pGLContext->GetRenderStateParameters();
2041 pGLContext GetViewport RenderStateBlob IntVec4 backendViewport = MG_State::pGLContext->GetViewport();
2124 pGLContext IsCapabilityEnabled RenderStateBlob const Bool srgbWrites = MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::FramebufferSrgb);
2680 SharedPtr<MG_State - handle-ify (wire handle) void SyncCurrentProgram(const SharedPtr<MG_State::GLState::ProgramObject>& currentProgram) {
2800 pGLContext GetPatchVertices RenderStateBlob static_cast<Int>(MG_State::pGLContext->GetPatchVertices()) ||
2802 pGLContext GetPatchDefaultOuterLevel RenderStateBlob MG_State::pGLContext->GetPatchDefaultOuterLevel()) ||
2804 pGLContext GetPatchDefaultInnerLevel RenderStateBlob MG_State::pGLContext->GetPatchDefaultInnerLevel())))) {
2853 SharedPtr<MG_State - handle-ify (wire handle) void SyncAndBindFramebufferObject(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
2902 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ProgramObject>& currentProgram,
2905 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ProgramObject>& currentProgram);
2915 pGLContext GetBoundVertexArray ObjectBind(VAO) const auto& currentVAO = MG_State::pGLContext->GetBoundVertexArray();
2926 pGLContext GetProgramForDraw ObjectBind(Program) const auto& currentProgram = MG_State::pGLContext->GetProgramForDraw();
2973 SharedPtr<MG_State - handle-ify (wire handle) static Bool ResolveAndBindUnitTextures(const SharedPtr<MG_State::GLState::ProgramObject>& currentProgram,
2998 pGLContext GetTextureUnitObject ObjectBind(Texture) auto& textureUnit = MG_State::pGLContext->GetTextureUnitObject(unit);
3113 SharedPtr<MG_State - handle-ify (wire handle) Int unit, const SharedPtr<MG_State::GLState::SamplerObject>& samplerObject) {
3162 pGLContext GetTextureUnitObject ObjectBind(Texture) const auto& samplerObject = MG_State::pGLContext->GetTextureUnitObject(unit).GetSamplerObject();
3250 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ProgramObject>& currentProgram) {
3312 pGLContext GetProgramForDraw ObjectBind(Program) BindCurrentTextures(TextureImpl::CaptureDrawTextureSyncKeys(), MG_State::pGLContext->GetProgramForDraw());
3322 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ProgramObject>& currentProgram,
3423 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::Uniform, binding);
3521 pGLContext GetTextureUnitObject ObjectBind(Texture) auto& textureUnit = MG_State::pGLContext->GetTextureUnitObject(unit);
3547 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::SamplerObject>* rawDepthSamplerObject =
3603 pGLContext GetProgramForDraw ObjectBind(Program) const auto& currentProgram = MG_State::pGLContext->GetProgramForDraw();
3653 pGLContext GetProgramForDraw ObjectBind(Program) const auto& currentProgram = MG_State::pGLContext->GetProgramForDraw();
3762 pGLContext IsTransformFeedbackActive XfbOp if (MG_State::pGLContext->IsTransformFeedbackActive() ||
3763 pGLContext IsCapabilityEnabled RenderStateBlob MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::RasterizerDiscard)) {
3767 pGLContext GetRenderStateParameters RenderStateBlob const auto& parameters = MG_State::pGLContext->GetRenderStateParameters();
3862 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::BufferObject>& drawIndirectBuffer,
3941 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::BufferObject>& drawIndirectBuffer,
4003 pGLContext GetProgramForDispatch ObjectBind(Program) const auto& currentProgram = MG_State::pGLContext->GetProgramForDispatch();
4029 pGLContext ValidateProgramName client-resolved (validation) if (!MG_State::pGLContext->ValidateProgramName(program)) {
4034 pGLContext GetProgramObject ProgramPublish auto& programObject = MG_State::pGLContext->GetProgramObject(program);
4097 pGLContext GetRenderStateParameters RenderStateBlob const FloatVec4& cc = MG_State::pGLContext->GetRenderStateParameters().ClearColor;
4156 pGLContext GetFramebufferBindingSlot FboAttach MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Draw).GetBoundObject();
4313 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::BufferObject>& BoundElementArrayBuffer() {
4314 SharedPtr<MG_State - handle-ify (wire handle) static const SharedPtr<MG_State::GLState::BufferObject> none;
4315 pGLContext GetBoundVertexArray ObjectBind(VAO) const auto& vao = MG_State::pGLContext->GetBoundVertexArray();
4331 pGLContext IsCapabilityEnabled RenderStateBlob if (!MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::PrimitiveRestart) ||
4332 pGLContext IsCapabilityEnabled RenderStateBlob MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::PrimitiveRestartFixedIndex)) {
4337 pGLContext GetPrimitiveRestartIndex RenderStateBlob const Uint32 restartIndex = MG_State::pGLContext->GetPrimitiveRestartIndex();
4377 pGLContext GetPrimitiveRestartIndex RenderStateBlob const Uint32 applicationRestartIndex = MG_State::pGLContext->GetPrimitiveRestartIndex();
4505 pGLContext GetBoundVertexArray ObjectBind(VAO) const auto& currentVAO = MG_State::pGLContext->GetBoundVertexArray();
4544 pGLContext GetBoundVertexArray ObjectBind(VAO) const auto& currentVAO = MG_State::pGLContext->GetBoundVertexArray();
4615 pGLContext GetBufferBindingSlot ObjectBind(Buffer) MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
4646 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto drawBuffer = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
4647 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto parameterBuffer = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::Parameter).GetBoundObject();
4717 pGLContext GetBufferBindingSlot ObjectBind(Buffer) MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
4748 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto drawBuffer = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
4749 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto parameterBuffer = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::Parameter).GetBoundObject();
4908 pGLContext GetBufferBindingSlot ObjectBind(Buffer) MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
4949 pGLContext GetBufferBindingSlot ObjectBind(Buffer) MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
5194 pGLContext IsTransformFeedbackActive XfbOp if (MG_State::pGLContext->IsTransformFeedbackActive() &&
5195 pGLContext IsTransformFeedbackPaused XfbOp !MG_State::pGLContext->IsTransformFeedbackPaused() && g_GLESFuncs.glPauseTransformFeedback) {
5811 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::FramebufferObject>& readFramebuffer,
5812 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::FramebufferObject>& drawFramebuffer, GLint srcX0, GLint srcY0,
5979 pGLContext GetFramebufferBindingSlot FboAttach MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Read).GetBoundObject(),
5980 pGLContext GetFramebufferBindingSlot FboAttach MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Draw).GetBoundObject(), srcX0, srcY0,
5990 SharedPtr<MG_State - handle-ify (wire handle) void BlitNamedFramebuffer(const SharedPtr<MG_State::GLState::FramebufferObject>& readFramebuffer,
5991 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::FramebufferObject>& drawFramebuffer,
6042 pGLContext GetActiveTextureUnit ObjectBind(Texture) auto unit = MG_State::pGLContext->GetActiveTextureUnit();
6043 pGLContext GetTextureUnitObject ObjectBind(Texture) auto& textureUnit = MG_State::pGLContext->GetTextureUnitObject(unit);
6120 pGLContext GetPixelStoreParameters PixelStoreBlob const auto packParams = MG_State::pGLContext->GetPixelStoreParameters(false);
6267 SharedPtr<MG_State - handle-ify (wire handle) static Bool EnsureGenerateMipmapStorageAllocated(const SharedPtr<MG_State::GLState::ITextureObject>& texture) {
6310 pGLContext RecordError client-resolved (error queue) MG_State::pGLContext->RecordError(
6335 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& texture) {
6561 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& texture,
6586 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& texture,
6634 pGLContext GetActiveTextureUnit ObjectBind(Texture) Uint activeTextureUnit = MG_State::pGLContext->GetActiveTextureUnit();
6635 pGLContext GetTextureUnitObject ObjectBind(Texture) const auto& textureObject = MG_State::pGLContext->GetTextureUnitObject((Int)activeTextureUnit)
6729 pGLContext GetActiveTextureUnit ObjectBind(Texture) auto activeTextureUnit = MG_State::pGLContext->GetActiveTextureUnit();
6730 pGLContext GetTextureUnitObject ObjectBind(Texture) const auto& textureObject = MG_State::pGLContext->GetTextureUnitObject(activeTextureUnit)
6794 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& texture) {
6867 pGLContext GetActiveTextureUnit ObjectBind(Texture) auto unitIndex = MG_State::pGLContext->GetActiveTextureUnit();
6868 pGLContext GetTextureUnitObject ObjectBind(Texture) auto& unit = MG_State::pGLContext->GetTextureUnitObject(unitIndex);
6994 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::RenderbufferObject>& renderbufferObject) {
7059 SharedPtr<MG_State - handle-ify (wire handle) static Bool CanMirrorCopyImageShadow(const SharedPtr<MG_State::GLState::ITextureObject>& texture) {
7260 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::ShaderStorage, index);
7266 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::ShaderStorage, index);
7271 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::ShaderStorage, index);
7288 pGLContext GetImageTextureBinding ObjectBind(Image) auto& imageBinding = MG_State::pGLContext->GetImageTextureBinding(static_cast<Int>(index));
7297 pGLContext GetImageTextureBinding ObjectBind(Image) auto& imageBinding = MG_State::pGLContext->GetImageTextureBinding(static_cast<Int>(index));
7306 pGLContext GetImageTextureBinding ObjectBind(Image) auto& imageBinding = MG_State::pGLContext->GetImageTextureBinding(static_cast<Int>(index));
7315 pGLContext GetImageTextureBinding ObjectBind(Image) auto& imageBinding = MG_State::pGLContext->GetImageTextureBinding(static_cast<Int>(index));
7324 pGLContext GetImageTextureBinding ObjectBind(Image) auto& imageBinding = MG_State::pGLContext->GetImageTextureBinding(static_cast<Int>(index));
7333 pGLContext GetImageTextureBinding ObjectBind(Image) auto& imageBinding = MG_State::pGLContext->GetImageTextureBinding(static_cast<Int>(index));
7352 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::ShaderStorage, index);
7357 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::ShaderStorage, index);
7408 pGLContext ValidateProgramName client-resolved (validation) if (!MG_State::pGLContext->ValidateProgramName(program)) return;
7409 pGLContext GetProgramObject ProgramPublish auto& programObject = MG_State::pGLContext->GetProgramObject(program);
7456 SharedPtr<MG_State - handle-ify (wire handle) Bool IsWidenedNamedDrawBuffer(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
7514 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferfv(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
7534 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferfi(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
7551 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferiv(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
7571 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferuiv(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
7605 pGLContext GetPixelStoreParameters PixelStoreBlob const auto packParams = MG_State::pGLContext->GetPixelStoreParameters(false);
7613 pGLContext GetBufferBindingSlot ObjectBind(Buffer) MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::PixelPack).GetBoundObject();
8595 pGLContext GetBufferBindingSlot ObjectBind(Buffer) MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::PixelPack).GetBoundObject();
8825 pGLContext GetBufferBindingSlot ObjectBind(Buffer) MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::PixelPack).GetBoundObject();
9092 pGLContext GetPixelStoreParameters PixelStoreBlob const Bool packSwapBytes = MG_State::pGLContext->GetPixelStoreParameters(false).SwapBytes;
9135 pGLContext GetBufferBindingSlot ObjectBind(Buffer) MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::PixelPack).GetBoundObject();
9245 pGLContext GetActiveTextureUnit ObjectBind(Texture) auto activeTextureUnit = MG_State::pGLContext->GetActiveTextureUnit();
9248 pGLContext GetTextureUnitObject ObjectBind(Texture) const auto& textureObject = MG_State::pGLContext->GetTextureUnitObject(activeTextureUnit)
9471 pGLContext GetPixelStoreParameters PixelStoreBlob const auto packParams = MG_State::pGLContext->GetPixelStoreParameters(false);
9561 pGLContext GetBufferBindingSlot ObjectBind(Buffer) MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::PixelPack).GetBoundObject();
10114 BufferBackendOps - Buffer ops delta BufferImpl::RegisterBufferBackendOps();

MobileGL/MG_Backend/DirectGLES/DirectGLES.h (6 hits)

line kind member delta snippet
60 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferfv(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
62 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferfi(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
64 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferiv(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
66 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferuiv(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
70 SharedPtr<MG_State - handle-ify (wire handle) void BlitNamedFramebuffer(const SharedPtr<MG_State::GLState::FramebufferObject>& readFramebuffer,
71 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::FramebufferObject>& drawFramebuffer,

MobileGL/MG_Backend/DirectGLES/Managers.cpp (39 hits)

line kind member delta snippet
443 SharedPtr<MG_State - handle-ify (wire handle) String source, const SharedPtr<MG_State::GLState::ProgramObject>& stateProgramObject) {
495 BufferBackendOps - Buffer ops delta using MG_State::GLState::BufferBackendOps;
1333 BufferBackendOps - Buffer ops delta const BufferBackendOps g_glesBufferBackendOps = {
1356 BufferBackendOps - Buffer ops delta void RegisterBufferBackendOps() {
1357 BufferBackendOps - Buffer ops delta MG_State::GLState::SetBufferBackendOps(&g_glesBufferBackendOps);
1363 BufferBackendOps - Buffer ops delta void UnregisterBufferBackendOps() {
1364 BufferBackendOps - Buffer ops delta if (MG_State::GLState::GetBufferBackendOps() == &g_glesBufferBackendOps) {
1365 BufferBackendOps - Buffer ops delta MG_State::GLState::SetBufferBackendOps(nullptr);
1379 BufferBackendOps - Buffer ops delta UnregisterBufferBackendOps(); // also bumps the buffer-mutation epoch
1453 SharedPtr<MG_State - handle-ify (wire handle) GLESBufferResource* EnsureBufferResource(const SharedPtr<MG_State::GLState::BufferObject>& bufferObject) {
2264 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::VertexArrayObject>& stateVAOObject) {
2496 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::VertexArrayObject>& stateVAOObject, GLint first, GLsizei count) {
2787 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& stateTextureObject) {
3604 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& stateTextureObject) {
3606 pGLContext GetTextureContextId Texture state m_syncedShapeContextId = MG_State::pGLContext->GetTextureContextId();
3607 pGLContext GetSamplingResolutionGeneration TexParam m_syncedShapeGeneration = MG_State::pGLContext->GetSamplingResolutionGeneration();
3614 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& stateTextureObject) {
3707 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& stateTextureObject) {
3735 pGLContext GetTextureContextId Texture state m_syncedShapeContextId == MG_State::pGLContext->GetTextureContextId() &&
3736 pGLContext GetSamplingResolutionGeneration TexParam m_syncedShapeGeneration == MG_State::pGLContext->GetSamplingResolutionGeneration() &&
3806 pGLContext GetTextureContextId Texture state m_syncedShapeContextId = MG_State::pGLContext->GetTextureContextId();
3807 pGLContext GetSamplingResolutionGeneration TexParam m_syncedShapeGeneration = MG_State::pGLContext->GetSamplingResolutionGeneration();
4661 pGLContext GetTextureContextId Texture state m_syncedShapeContextId = MG_State::pGLContext->GetTextureContextId();
4662 pGLContext GetSamplingResolutionGeneration TexParam m_syncedShapeGeneration = MG_State::pGLContext->GetSamplingResolutionGeneration();
4670 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& stateTextureObject) {
4781 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& stateTextureObject) {
5280 pGLContext GetFramebufferBindingSlot FboAttach MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Read).GetBoundObject();
5385 pGLContext GetFramebufferBindingSlot FboAttach MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Read).GetBoundObject();
5409 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::FramebufferObject>& stateFBOObject) {
5520 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::FramebufferObject>& stateFBOObject, FramebufferTarget asTarget) {
6155 pGLContext GetImageTextureBinding ObjectBind(Image) return static_cast<Uint>(MG_State::pGLContext->GetImageTextureBinding(unit).Format);
7118 pGLContext GetPatchVertices RenderStateBlob ? MG_State::pGLContext->GetPatchVertices()
7126 pGLContext GetPatchDefaultOuterLevel RenderStateBlob ? MG_State::pGLContext->GetPatchDefaultOuterLevel()
7129 pGLContext GetPatchDefaultInnerLevel RenderStateBlob ? MG_State::pGLContext->GetPatchDefaultInnerLevel()
7229 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ProgramObject>& stateProgramObject) {
8262 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ProgramObject>& stateProgramObject) {
8450 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::SamplerObject>& stateSamplerObject) {
8620 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::RenderbufferObject>& stateRBOObject) {
8676 pGLContext RecordError client-resolved (error queue) MG_State::pGLContext->RecordError(

MobileGL/MG_Backend/DirectGLES/Managers.h (18 hits)

line kind member delta snippet
501 BufferBackendOps - Buffer ops delta void RegisterBufferBackendOps();
502 BufferBackendOps - Buffer ops delta void UnregisterBufferBackendOps();
511 SharedPtr<MG_State - handle-ify (wire handle) GLESBufferResource* EnsureBufferResource(const SharedPtr<MG_State::GLState::BufferObject>& bufferObject);
679 SharedPtr<MG_State - handle-ify (wire handle) void SyncToBackend(const SharedPtr<MG_State::GLState::VertexArrayObject>& stateVAOObject);
681 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::VertexArrayObject>& stateVAOObject, GLint first, GLsizei count);
953 SharedPtr<MG_State - handle-ify (wire handle) void SyncMipmapsToBackend(const SharedPtr<MG_State::GLState::ITextureObject>& stateTextureObject);
959 SharedPtr<MG_State - handle-ify (wire handle) void SyncTextureViewToBackend(const SharedPtr<MG_State::GLState::ITextureObject>& stateTextureObject);
960 SharedPtr<MG_State - handle-ify (wire handle) void StampViewSyncKeys(const SharedPtr<MG_State::GLState::ITextureObject>& stateTextureObject);
966 SharedPtr<MG_State - handle-ify (wire handle) void SyncBuiltinSamplerToBackend(const SharedPtr<MG_State::GLState::ITextureObject>& stateTextureObject);
967 SharedPtr<MG_State - handle-ify (wire handle) void SyncTextureParamsToBackend(const SharedPtr<MG_State::GLState::ITextureObject>& stateTextureObject);
973 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& stateTextureObject);
1127 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& textureObject,
1151 SharedPtr<MG_State - handle-ify (wire handle) void SyncToBackend(const SharedPtr<MG_State::GLState::FramebufferObject>& stateFBOObject,
1156 SharedPtr<MG_State - handle-ify (wire handle) void SyncReadBufferToBackend(const SharedPtr<MG_State::GLState::FramebufferObject>& stateFBOObject);
1531 SharedPtr<MG_State - handle-ify (wire handle) void SyncToBackend(const SharedPtr<MG_State::GLState::ProgramObject>& stateProgramObject);
1639 SharedPtr<MG_State - handle-ify (wire handle) void CacheResourceLocations(const SharedPtr<MG_State::GLState::ProgramObject>& stateProgramObject);
1817 SharedPtr<MG_State - handle-ify (wire handle) void SyncToBackend(const SharedPtr<MG_State::GLState::SamplerObject>& stateSamplerObject);
1846 SharedPtr<MG_State - handle-ify (wire handle) void SyncToBackend(const SharedPtr<MG_State::GLState::RenderbufferObject>& stateRBOObject);

MobileGL/MG_Backend/DirectGLES/MultiDraw.cpp (8 hits)

line kind member delta snippet
44 pGLContext GetPrimitiveRestartIndex RenderStateBlob return MG_State::pGLContext->GetPrimitiveRestartIndex();
50 pGLContext IsCapabilityEnabled RenderStateBlob return MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::PrimitiveRestart) ||
51 pGLContext IsCapabilityEnabled RenderStateBlob MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::PrimitiveRestartFixedIndex);
86 pGLContext GetBufferBindingSlot ObjectBind(Buffer) MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
92 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::BufferObject>& BoundIndexBuffer() {
93 SharedPtr<MG_State - handle-ify (wire handle) static const SharedPtr<MG_State::GLState::BufferObject> none;
94 pGLContext GetBoundVertexArray ObjectBind(VAO) const auto& vao = MG_State::pGLContext->GetBoundVertexArray();
355 SharedPtr<MG_State - handle-ify (wire handle) const Uint8* ResolveSubDrawIndices(const SharedPtr<MG_State::GLState::BufferObject>& indexBuffer,

MobileGL/MG_Backend/DirectGLES/Utils.cpp (2 hits)

line kind member delta snippet
2297 pGLContext GetBufferBindingSlot ObjectBind(Buffer) MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::PixelPack).GetBoundObject();
2301 pGLContext GetPixelStoreParameters PixelStoreBlob const auto packParams = MG_State::pGLContext->GetPixelStoreParameters(false);

MobileGL/MG_Backend/DirectVulkan/BackendObject_DirectVulkan.cpp (2 hits)

line kind member delta snippet
389 pGLContext InvalidateCompileEnv client-resolved (compile env) MG_State::pGLContext->InvalidateCompileEnv();
789 pGLContext InvalidateCompileEnv client-resolved (compile env) MG_State::pGLContext->InvalidateCompileEnv();

MobileGL/MG_Backend/DirectVulkan/DirectVulkan.cpp (25 hits)

line kind member delta snippet
280 pGLContext ValidateProgramName client-resolved (validation) if (!MG_State::pGLContext->ValidateProgramName(program)) {
283 pGLContext GetProgramObject ProgramPublish auto& programObject = MG_State::pGLContext->GetProgramObject(program);
288 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto drawBuffer = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
369 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferfv(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer, GLenum buffer,
376 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferiv(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer, GLenum buffer,
383 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferuiv(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer, GLenum buffer,
390 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferfi(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer, GLenum buffer,
412 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto drawBuffer = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
475 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto parameterBuffer = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::Parameter).GetBoundObject();
543 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto drawBuffer = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
596 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto drawBuffer = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
706 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::ShaderStorage, index);
712 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::ShaderStorage, index);
717 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::ShaderStorage, index);
739 pGLContext GetImageTextureBinding ObjectBind(Image) auto& imageBinding = MG_State::pGLContext->GetImageTextureBinding(static_cast<Int>(index));
765 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::ShaderStorage, index);
770 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::ShaderStorage, index);
816 pGLContext RecordError client-resolved (error queue) MG_State::pGLContext->RecordError(
849 SharedPtr<MG_State - handle-ify (wire handle) void GetTextureImage(const SharedPtr<MG_State::GLState::ITextureObject>& texture, TextureUploadTarget uploadTarget,
886 pGLContext GetBoundVertexArray ObjectBind(VAO) const auto& vao = *MG_State::pGLContext->GetBoundVertexArray();
1010 pGLContext GetBoundVertexArray ObjectBind(VAO) const auto& vao = *MG_State::pGLContext->GetBoundVertexArray();
1112 SharedPtr<MG_State - handle-ify (wire handle) void BlitNamedFramebuffer(const SharedPtr<MG_State::GLState::FramebufferObject>& readFramebuffer,
1113 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::FramebufferObject>& drawFramebuffer,
1337 pGLContext GetTransformFeedbackPausedPrimitiveCounter XfbOp primitives += MG_State::pGLContext->GetTransformFeedbackPausedPrimitiveCounter() -
1384 pGLContext GetTransformFeedbackPausedPrimitiveCounter XfbOp MG_State::pGLContext ? MG_State::pGLContext->GetTransformFeedbackPausedPrimitiveCounter() : 0;

MobileGL/MG_Backend/DirectVulkan/DirectVulkan.h (7 hits)

line kind member delta snippet
36 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferfv(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer, GLenum buffer,
38 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferiv(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer, GLenum buffer,
40 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferuiv(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer, GLenum buffer,
42 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferfi(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer, GLenum buffer,
76 SharedPtr<MG_State - handle-ify (wire handle) void BlitNamedFramebuffer(const SharedPtr<MG_State::GLState::FramebufferObject>& readFramebuffer,
77 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::FramebufferObject>& drawFramebuffer,
103 SharedPtr<MG_State - handle-ify (wire handle) void GetTextureImage(const SharedPtr<MG_State::GLState::ITextureObject>& texture, TextureUploadTarget uploadTarget,

MobileGL/MG_Backend/DirectVulkan/Renderer/UniformManager.cpp (23 hits)

line kind member delta snippet
161 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::TextureObjectMipmap> MakePlaceholderTextureObject(TextureTarget target,
505 pGLContext GetTextureUnitObject ObjectBind(Texture) auto& textureUnit = MG_State::pGLContext->GetTextureUnitObject(unit);
508 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> fallbackHolder;
554 pGLContext GetFramebufferBindingSlot FboAttach auto drawFbo = MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Draw).GetBoundObject();
781 pGLContext GetTextureUnitObject ObjectBind(Texture) const auto& samplerOverride = MG_State::pGLContext->GetTextureUnitObject(unit).GetSamplerObject();
809 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject>& outTexture) {
820 pGLContext GetTextureUnitObject ObjectBind(Texture) auto& textureUnit = MG_State::pGLContext->GetTextureUnitObject(unit);
846 pGLContext GetTextureUnitObject ObjectBind(Texture) auto& textureUnit = MG_State::pGLContext->GetTextureUnitObject(unit);
873 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> texture;
1015 pGLContext GetImageTextureBinding ObjectBind(Image) auto& imageBinding = MG_State::pGLContext->GetImageTextureBinding(imageUnit);
1188 pGLContext GetBufferBindingPointCount ObjectBind(BufferRange) static_cast<Uint32>(MG_State::pGLContext->GetBufferBindingPointCount(bufferTarget));
1193 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& bindingPoint = MG_State::pGLContext->GetBufferBindingPoint(bufferTarget, frontendBinding);
1294 pGLContext GetImageTextureBinding ObjectBind(Image) auto& imageBinding = MG_State::pGLContext->GetImageTextureBinding(imageUnit);
1303 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> placeholder;
1392 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> UniformManager::GetFallbackTexture(
1433 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> UniformManager::GetFallbackMultisampleTexture(
1477 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::TextureObjectMipmap> texture;
1597 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> UniformManager::GetUnboundStorageImageTexture(
1661 pGLContext GetTextureUnitObject ObjectBind(Texture) auto& textureUnit = MG_State::pGLContext->GetTextureUnitObject(unit);
1849 pGLContext GetImageTextureBinding ObjectBind(Image) auto* texture = MG_State::pGLContext->GetImageTextureBinding(imageUnit).Texture.get();
1937 pGLContext GetImageTextureBinding ObjectBind(Image) const auto& image = MG_State::pGLContext->GetImageTextureBinding(imageUnit);
2012 pGLContext GetBufferBindingPointCount ObjectBind(BufferRange) static_cast<Uint32>(MG_State::pGLContext->GetBufferBindingPointCount(BufferTarget::Uniform));
2017 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& bindingPoint = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::Uniform, frontendBinding);

MobileGL/MG_Backend/DirectVulkan/Renderer/UniformManager.h (7 hits)

line kind member delta snippet
165 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject>& outTexture);
184 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> GetFallbackTexture(
191 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> GetFallbackMultisampleTexture(
213 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> GetUnboundStorageImageTexture(TextureTarget target,
305 SharedPtr<MG_State - handle-ify (wire handle) mutable SharedPtr<MG_State::GLState::ITextureObject> m_fallbackTexture2D;
308 SharedPtr<MG_State - handle-ify (wire handle) mutable UnorderedMap<Uint32, SharedPtr<MG_State::GLState::ITextureObject>> m_fallbackMultisampleTextures;
317 SharedPtr<MG_State - handle-ify (wire handle) mutable UnorderedMap<Uint64, SharedPtr<MG_State::GLState::ITextureObject>> m_unboundStorageImageTextures;

MobileGL/MG_Backend/DirectVulkan/Renderer/VkBufferManager.cpp (9 hits)

line kind member delta snippet
50 BufferBackendOps - Buffer ops delta using MG_State::GLState::BufferBackendOps;
104 BufferBackendOps - Buffer ops delta const BufferBackendOps g_vulkanBufferBackendOps = {
130 BufferBackendOps - Buffer ops delta MG_State::GLState::SetBufferBackendOps(&g_vulkanBufferBackendOps);
137 BufferBackendOps - Buffer ops delta if (MG_State::GLState::GetBufferBackendOps() == &g_vulkanBufferBackendOps) {
138 BufferBackendOps - Buffer ops delta MG_State::GLState::SetBufferBackendOps(nullptr);
255 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::BufferObject>& bufferObject) {
496 SharedPtr<MG_State - handle-ify (wire handle) void VkBufferManager::OnResourceDestroyed(SharedPtr<MG_State::GLState::BackendBufferResource>&& resource) {
566 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::BufferObject>& bufferObject,
614 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::BufferObject>& bufferObject,

MobileGL/MG_Backend/DirectVulkan/Renderer/VkBufferManager.h (4 hits)

line kind member delta snippet
146 SharedPtr<MG_State - handle-ify (wire handle) Bool AcquireResidentSlice(BufferKind kind, const SharedPtr<MG_State::GLState::BufferObject>& bufferObject,
151 SharedPtr<MG_State - handle-ify (wire handle) Bool AcquireStreamedSlice(BufferKind kind, const SharedPtr<MG_State::GLState::BufferObject>& bufferObject,
165 SharedPtr<MG_State - handle-ify (wire handle) void OnResourceDestroyed(SharedPtr<MG_State::GLState::BackendBufferResource>&& resource);
184 SharedPtr<MG_State - handle-ify (wire handle) VkBufferResource* GetOrCreateResource(const SharedPtr<MG_State::GLState::BufferObject>& bufferObject);

MobileGL/MG_Backend/DirectVulkan/Renderer/VkClearManager.cpp (11 hits)

line kind member delta snippet
57 pGLContext IsCapabilityEnabled RenderStateBlob if (MG_State::pGLContext->IsCapabilityEnabled(MobileGL::CapabilityInput::FramebufferSrgb)) return;
238 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject>& outTexture) {
261 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject>& outTexture) {
319 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& texture) {
325 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& storageTexture = storageOwner ? storageOwner : texture;
350 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& storageTexture = storageOwner ? storageOwner : texture;
372 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> liveTexture;
392 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> liveTexture;
404 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> liveTexture;
409 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject>& outTexture) {
461 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> liveTexture;

MobileGL/MG_Backend/DirectVulkan/Renderer/VkClearManager.h (4 hits)

line kind member delta snippet
127 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::ITextureObject>& texture);
135 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject>& outTexture);
148 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject>& outTexture);
150 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject>& outTexture);

MobileGL/MG_Backend/DirectVulkan/Renderer/VkRenderPassManager.cpp (5 hits)

line kind member delta snippet
342 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::RenderbufferObject>& renderbuffer) {
613 pGLContext IsCapabilityEnabled RenderStateBlob MG_State::pGLContext->IsCapabilityEnabled(MobileGL::CapabilityInput::FramebufferSrgb);
965 pGLContext IsCapabilityEnabled RenderStateBlob MG_State::pGLContext->IsCapabilityEnabled(MobileGL::CapabilityInput::FramebufferSrgb);
1111 pGLContext IsCapabilityEnabled RenderStateBlob MG_State::pGLContext->IsCapabilityEnabled(MobileGL::CapabilityInput::FramebufferSrgb));
1595 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> liveTexture;

MobileGL/MG_Backend/DirectVulkan/Renderer/VkRenderPassManager.h (1 hits)

line kind member delta snippet
353 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::RenderbufferObject>& renderbuffer);

MobileGL/MG_Backend/DirectVulkan/Renderer/VkTextureManager.cpp (2 hits)

line kind member delta snippet
808 pGLContext GetTextureObject Texture state const auto& liveTexture = MG_State::pGLContext->GetTextureObject(texture.GetExternalIndex());
951 pGLContext IsCapabilityEnabled RenderStateBlob MG_State::pGLContext->IsCapabilityEnabled(MobileGL::CapabilityInput::FramebufferSrgb);

MobileGL/MG_Backend/DirectVulkan/Renderer/VulkanRenderer.cpp (140 hits)

line kind member delta snippet
462 pGLContext GetViewportIndexed RenderStateBlob const FloatVec4& stored = MG_State::pGLContext->GetViewportIndexed(index);
467 pGLContext GetDepthRangeIndexed RenderStateBlob const FloatVec2& depthRange = MG_State::pGLContext->GetDepthRangeIndexed(index);
522 pGLContext GetBlendColor RenderStateBlob const FloatVec4& blendColor = MG_State::pGLContext->GetBlendColor();
555 pGLContext GetPolygonOffsetUnits RenderStateBlob const Float constantFactor = MG_State::pGLContext->GetPolygonOffsetUnits();
556 pGLContext GetPolygonOffsetFactor RenderStateBlob const Float slopeFactor = MG_State::pGLContext->GetPolygonOffsetFactor();
569 pGLContext GetLineWidth RenderStateBlob Float lineWidth = MG_State::pGLContext->GetLineWidth();
648 pGLContext GetStencilState RenderStateBlob const StencilFaceState& frontStencil = MG_State::pGLContext->GetStencilState(StencilFace::Front);
649 pGLContext GetStencilState RenderStateBlob const StencilFaceState& backStencil = MG_State::pGLContext->GetStencilState(StencilFace::Back);
1242 pGLContext RecordError client-resolved (error queue) MG_State::pGLContext->RecordError(code, MakeUnique<GenericErrorInfo>("DirectVulkan", func, message));
1246 pGLContext RecordError client-resolved (error queue) MG_State::pGLContext->RecordError(code, MakeUnique<GenericErrorInfo>("DirectVulkan", func, message));
1302 pGLContext RecordError client-resolved (error queue) MG_State::pGLContext->RecordError(
2770 pGLContext GetClampReadColor RenderStateBlob const GLenum clampMode = MG_State::pGLContext->GetClampReadColor();
2987 pGLContext GetFramebufferBindingSlot FboAttach MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Draw).GetBoundObject();
3419 SharedPtr<MG_State - handle-ify (wire handle) ? SharedPtr<MG_State::GLState::BufferObject>{}
3446 pGLContext IsCapabilityEnabled RenderStateBlob MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::PrimitiveRestart) ||
3447 pGLContext IsCapabilityEnabled RenderStateBlob MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::PrimitiveRestartFixedIndex);
3924 pGLContext GetCurrentVertexAttribute CurrentAttrib const auto& currentValue = MG_State::pGLContext->GetCurrentVertexAttribute(location);
4058 pGLContext GetRenderStateParameters RenderStateBlob const RenderStateParameters& rsp = MG_State::pGLContext->GetRenderStateParameters();
4074 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::BufferObject>& indexBufferShared =
4813 pGLContext IsCapabilityEnabled RenderStateBlob if (!MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::Multisample)) return kFullCoverage;
4814 pGLContext IsCapabilityEnabled RenderStateBlob if (!MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::SampleMask)) return kFullCoverage;
4815 pGLContext GetRenderStateParameters RenderStateBlob return MG_State::pGLContext->GetRenderStateParameters().SampleMaskValue;
4826 pGLContext GetRenderStateParameters RenderStateBlob const RenderStateParameters& p = MG_State::pGLContext->GetRenderStateParameters();
4938 pGLContext GetRenderStateParameters RenderStateBlob const RenderStateParameters& rsp = MG_State::pGLContext->GetRenderStateParameters();
4982 pGLContext GetPipelineStateVersion RenderStateBlob const Uint renderStateVersion = MG_State::pGLContext->GetPipelineStateVersion();
5160 pGLContext IsCapabilityEnabled RenderStateBlob auto cullFaceEnabled = MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::CullFace);
5161 pGLContext IsCapabilityEnabled RenderStateBlob auto depthTestEnabled = MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::DepthTest);
5163 pGLContext IsCapabilityEnabled RenderStateBlob MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::PolygonOffsetFill) &&
5166 pGLContext IsCapabilityEnabled RenderStateBlob MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::RasterizerDiscard);
5168 pGLContext IsCapabilityEnabled RenderStateBlob MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::ColorLogicOp) && m_logicOpFeatureEnabled;
5169 pGLContext IsCapabilityEnabled RenderStateBlob auto stencilTestEnabled = MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::StencilTest);
5175 pGLContext GetFramebufferBindingSlot FboAttach MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Draw).GetBoundObject();
5187 pGLContext GetStencilState RenderStateBlob const StencilFaceState& frontStencil = MG_State::pGLContext->GetStencilState(StencilFace::Front);
5188 pGLContext GetStencilState RenderStateBlob const StencilFaceState& backStencil = MG_State::pGLContext->GetStencilState(StencilFace::Back);
5190 pGLContext GetPolygonModeFront RenderStateBlob MG_Util::ConvertPolygonModeToVkEnum(MG_State::pGLContext->GetPolygonModeFront());
5257 pGLContext IsCapabilityEnabled RenderStateBlob MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::SampleShading),
5258 pGLContext GetMinSampleShadingValue RenderStateBlob .minSampleShading = MG_State::pGLContext->GetMinSampleShadingValue(),
5264 pGLContext GetPatchVertices RenderStateBlob .patchControlPoints = static_cast<Uint32>(MG_State::pGLContext->GetPatchVertices()),
5268 pGLContext GetCullFaceMode RenderStateBlob ? MG_Util::ConvertCullFaceModeToVkEnum(MG_State::pGLContext->GetCullFaceMode(), invertClockwise)
5282 pGLContext GetDepthMask RenderStateBlob .depthWriteEnable = depthTestEnabled && MG_State::pGLContext->GetDepthMask(),
5287 pGLContext GetDepthFunc RenderStateBlob .depthCompareOp = MG_Util::ConvertDepthTestFuncToVkEnum(MG_State::pGLContext->GetDepthFunc()),
5288 pGLContext GetLogicOp RenderStateBlob .logicOp = MG_Util::ConvertLogicOperationToVkEnum(MG_State::pGLContext->GetLogicOp()),
5324 pGLContext GetPatchDefaultOuterLevel RenderStateBlob const FloatVec4& defaultOuterLevel = MG_State::pGLContext->GetPatchDefaultOuterLevel();
5325 pGLContext GetPatchDefaultInnerLevel RenderStateBlob const FloatVec2& defaultInnerLevel = MG_State::pGLContext->GetPatchDefaultInnerLevel();
5377 pGLContext GetFramebufferBindingSlot FboAttach MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Draw).GetBoundObject();
5405 pGLContext GetBlendFuncIndexed RenderStateBlob MG_State::pGLContext->GetBlendFuncIndexed(i, srcRGB, dstRGB, srcAlpha, dstAlpha);
5406 pGLContext GetBlendEquationIndexed RenderStateBlob MG_State::pGLContext->GetBlendEquationIndexed(i, colorEquation, alphaEquation);
5407 pGLContext IsCapabilityEnabledIndexed RenderStateBlob const Bool blendEnabled = MG_State::pGLContext->IsCapabilityEnabledIndexed(CapabilityInput::Blend, i);
5412 pGLContext GetColorMaskIndexed RenderStateBlob MG_State::pGLContext->GetColorMaskIndexed(m_independentBlendFeatureEnabled ? i : 0);
5828 pGLContext GetRenderStateParameters RenderStateBlob const auto& parameters = MG_State::pGLContext->GetRenderStateParameters();
5889 pGLContext GetRenderStateParametersVersion RenderStateBlob const Uint paramsVersion = MG_State::pGLContext->GetRenderStateParametersVersion();
5903 pGLContext GetRenderStateParameters RenderStateBlob const RenderStateParameters& p = MG_State::pGLContext->GetRenderStateParameters();
5979 pGLContext GetFramebufferBindingSlot FboAttach MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Draw).GetBoundObject();
6003 pGLContext GetProgramForDraw ObjectBind(Program) const auto& program = *MG_State::pGLContext->GetProgramForDraw();
6051 pGLContext IsTransformFeedbackActive XfbOp MG_State::pGLContext->IsTransformFeedbackActive() &&
6065 pGLContext GetBoundVertexArray ObjectBind(VAO) const auto& vao = *MG_State::pGLContext->GetBoundVertexArray();
6070 pGLContext GetFramebufferBindingSlot FboAttach MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Draw).GetBoundObject();
6081 pGLContext GetPipelineStateVersion RenderStateBlob const Uint renderStateVersion = MG_State::pGLContext->GetPipelineStateVersion();
6082 pGLContext GetTextureBindGeneration ObjectBind(Texture) const Uint64 bindGeneration = MG_State::pGLContext->GetTextureBindGeneration();
6090 pGLContext GetRenderStateParameters RenderStateBlob const RenderStateParameters& rsp = MG_State::pGLContext->GetRenderStateParameters();
6264 pGLContext GetSamplingResolutionGeneration TexParam const Uint64 samplingResolutionGeneration = MG_State::pGLContext->GetSamplingResolutionGeneration();
6385 pGLContext GetProgramForDraw ObjectBind(Program) const auto& drawProgram = *MG_State::pGLContext->GetProgramForDraw();
6397 pGLContext GetFramebufferBindingSlot FboAttach MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Draw).GetBoundObject();
6404 pGLContext GetBoundVertexArray ObjectBind(VAO) const auto& vao = *MG_State::pGLContext->GetBoundVertexArray();
6405 pGLContext GetProgramForDraw ObjectBind(Program) const auto& program = *MG_State::pGLContext->GetProgramForDraw();
6445 pGLContext IsTransformFeedbackActive XfbOp if (m_transformFeedbackFeatureEnabled && MG_State::pGLContext->IsTransformFeedbackActive() &&
6459 pGLContext GetTextureBindGeneration ObjectBind(Texture) const Uint64 lodBindGeneration = MG_State::pGLContext->GetTextureBindGeneration();
6465 pGLContext GetSamplingResolutionGeneration TexParam const Uint64 lodSamplingGeneration = MG_State::pGLContext->GetSamplingResolutionGeneration();
6583 pGLContext GetTextureBindGeneration ObjectBind(Texture) const Uint64 bindGeneration = MG_State::pGLContext->GetTextureBindGeneration();
6602 pGLContext GetSamplingResolutionGeneration TexParam const Uint64 samplingGeneration = MG_State::pGLContext->GetSamplingResolutionGeneration();
6763 pGLContext IsCapabilityEnabled RenderStateBlob MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::DepthTest) ||
6764 pGLContext IsCapabilityEnabled RenderStateBlob MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::StencilTest);
6905 pGLContext GetPipelineStateVersion RenderStateBlob snap.renderStateVersion = MG_State::pGLContext->GetPipelineStateVersion();
6906 pGLContext GetTextureBindGeneration ObjectBind(Texture) snap.bindGeneration = MG_State::pGLContext->GetTextureBindGeneration();
6932 pGLContext GetSamplingResolutionGeneration TexParam snap.samplingResolutionGeneration = MG_State::pGLContext->GetSamplingResolutionGeneration();
6969 pGLContext GetProgramForDispatch ObjectBind(Program) const auto& program = *MG_State::pGLContext->GetProgramForDispatch();
7021 pGLContext GetProgramForDispatch ObjectBind(Program) const auto& program = *MG_State::pGLContext->GetProgramForDispatch();
7065 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto indirectBuffer = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DispatchIndirect).GetBoundObject();
7139 pGLContext GetScissorBox RenderStateBlob ? MakeDefaultFramebufferScissorRect(MG_State::pGLContext->GetScissorBox(),
7142 pGLContext GetScissorBox RenderStateBlob : MakeClampedScissorRect(MG_State::pGLContext->GetScissorBox(), renderPassEntry->extent);
7190 pGLContext IsCapabilityEnabled RenderStateBlob if (MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::RasterizerDiscard)) {
7193 pGLContext GetFramebufferBindingSlot FboAttach auto* fbo = MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Draw).GetBoundObject().get();
7201 pGLContext GetClearColor RenderStateBlob .color = MG_State::pGLContext->GetClearColor(),
7202 pGLContext GetClearDepth RenderStateBlob .depth = MG_State::pGLContext->GetClearDepth(),
7203 pGLContext GetClearStencil RenderStateBlob .stencil = MG_State::pGLContext->GetClearStencil()
7210 pGLContext IsCapabilityEnabled RenderStateBlob if (MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::ScissorTest)) {
7233 pGLContext GetColorMaskIndexed RenderStateBlob const BoolVec4 colorMask = MG_State::pGLContext->GetColorMaskIndexed(drawBufferIndex);
7260 pGLContext GetDepthMask RenderStateBlob if ((mask & GL_DEPTH_BUFFER_BIT) != 0 && MG_State::pGLContext->GetDepthMask()) {
7273 pGLContext GetStencilState RenderStateBlob MG_State::pGLContext->GetStencilState(StencilFace::Front).WriteMask;
7302 pGLContext GetDepthMask RenderStateBlob if ((deferredMask & GL_DEPTH_BUFFER_BIT) != 0 && !MG_State::pGLContext->GetDepthMask()) {
7306 pGLContext GetStencilState RenderStateBlob const Uint32 stencilWriteMask = MG_State::pGLContext->GetStencilState(StencilFace::Front).WriteMask;
7322 pGLContext GetColorMaskIndexed RenderStateBlob const BoolVec4 colorMask = MG_State::pGLContext->GetColorMaskIndexed(drawBufferIndex);
7343 pGLContext GetColorMaskIndexed RenderStateBlob const BoolVec4 colorMask = MG_State::pGLContext->GetColorMaskIndexed(drawBufferIndex);
7372 pGLContext IsCapabilityEnabled RenderStateBlob if (MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::RasterizerDiscard)) {
7414 pGLContext IsCapabilityEnabled RenderStateBlob if (MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::ScissorTest)) {
7445 pGLContext GetDepthMask RenderStateBlob const auto depthClearAllowed = [&]() -> Bool { return MG_State::pGLContext->GetDepthMask(); };
7447 pGLContext GetStencilState RenderStateBlob const Uint32 stencilWriteMask = MG_State::pGLContext->GetStencilState(StencilFace::Front).WriteMask;
7459 pGLContext GetColorMaskIndexed RenderStateBlob const BoolVec4 colorMask = MG_State::pGLContext->GetColorMaskIndexed(static_cast<Uint32>(drawbuffer));
7516 pGLContext GetColorMaskIndexed RenderStateBlob const BoolVec4 colorMask = MG_State::pGLContext->GetColorMaskIndexed(static_cast<Uint>(drawbuffer));
7534 pGLContext GetDepthMask RenderStateBlob if ((clearPayload.mask & GL_DEPTH_BUFFER_BIT) != 0 && MG_State::pGLContext->GetDepthMask() &&
7542 pGLContext GetStencilState RenderStateBlob MG_State::pGLContext->GetStencilState(StencilFace::Front).WriteMask;
7561 pGLContext GetFramebufferBindingSlot FboAttach auto* fbo = MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Draw).GetBoundObject().get();
7598 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer, GLenum buffer, GLint drawbuffer,
7622 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer, GLenum buffer, GLint drawbuffer,
7645 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer, GLenum buffer, GLint drawbuffer,
7660 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer, GLenum buffer, GLint drawbuffer,
8042 SharedPtr<MG_State - handle-ify (wire handle) VkCommandBuffer commandBuffer, const SharedPtr<MG_State::GLState::RenderbufferObject>& renderbuffer) {
8519 pGLContext GetFramebufferBindingSlot FboAttach auto readFbo = MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Read).GetBoundObject();
8520 pGLContext GetFramebufferBindingSlot FboAttach auto drawFbo = MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Draw).GetBoundObject();
8524 SharedPtr<MG_State - handle-ify (wire handle) void VulkanRenderer::BlitNamedFramebuffer(const SharedPtr<MG_State::GLState::FramebufferObject>& readFbo,
8525 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::FramebufferObject>& drawFbo,
8552 pGLContext IsCapabilityEnabled RenderStateBlob if (MG_State::pGLContext->IsCapabilityEnabled(CapabilityInput::ScissorTest)) {
8553 pGLContext GetScissorBox RenderStateBlob const IntVec4& scissor = MG_State::pGLContext->GetScissorBox();
9147 pGLContext GetTextureUnitObject ObjectBind(Texture) auto& textureUnit = MG_State::pGLContext->GetTextureUnitObject(MG_State::pGLContext->GetActiveTextureUnit());
9147 pGLContext GetActiveTextureUnit ObjectBind(Texture) auto& textureUnit = MG_State::pGLContext->GetTextureUnitObject(MG_State::pGLContext->GetActiveTextureUnit());
9155 pGLContext GetFramebufferBindingSlot FboAttach auto readFbo = MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Read).GetBoundObject();
9866 pGLContext GetFramebufferBindingSlot FboAttach auto readFbo = MG_State::pGLContext->GetFramebufferBindingSlot(FramebufferTarget::Read).GetBoundObject();
10621 pGLContext GetBufferBindingSlot ObjectBind(Buffer) MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::PixelPack).GetBoundObject();
10622 pGLContext GetPixelStoreParameters PixelStoreBlob const auto packParams = MG_State::pGLContext->GetPixelStoreParameters(false);
10652 pGLContext GetTextureUnitObject ObjectBind(Texture) auto& activeUnit = MG_State::pGLContext->GetTextureUnitObject(MG_State::pGLContext->GetActiveTextureUnit());
10652 pGLContext GetActiveTextureUnit ObjectBind(Texture) auto& activeUnit = MG_State::pGLContext->GetTextureUnitObject(MG_State::pGLContext->GetActiveTextureUnit());
10657 SharedPtr<MG_State - handle-ify (wire handle) void VulkanRenderer::GetTextureImage(const SharedPtr<MG_State::GLState::ITextureObject>& textureObject,
10896 pGLContext GetTextureUnitObject ObjectBind(Texture) auto& textureUnit = MG_State::pGLContext->GetTextureUnitObject(MG_State::pGLContext->GetActiveTextureUnit());
10896 pGLContext GetActiveTextureUnit ObjectBind(Texture) auto& textureUnit = MG_State::pGLContext->GetTextureUnitObject(MG_State::pGLContext->GetActiveTextureUnit());
11137 pGLContext GetBoundTransformFeedbackName XfbOp const Uint name = MG_State::pGLContext->GetBoundTransformFeedbackName();
11151 pGLContext IsTransformFeedbackActive XfbOp !MG_State::pGLContext->IsTransformFeedbackActive()) {
11157 pGLContext IsTransformFeedbackPaused XfbOp if (MG_State::pGLContext->IsTransformFeedbackPaused()) {
11160 pGLContext GetTransformFeedbackProgram XfbOp const auto& program = MG_State::pGLContext->GetTransformFeedbackProgram();
11199 pGLContext GetBufferBindingPoint ObjectBind(BufferRange) auto& point = MG_State::pGLContext->GetBufferBindingPoint(BufferTarget::TransformFeedback,
11230 pGLContext GetTransformFeedbackGeneration XfbOp const Uint64 generation = MG_State::pGLContext->GetTransformFeedbackGeneration();
11253 pGLContext GetTransformFeedbackProgram XfbOp const auto& program = MG_State::pGLContext->GetTransformFeedbackProgram();
11901 pGLContext GetRenderStateParameters RenderStateBlob const RenderStateParameters& rsp = MG_State::pGLContext->GetRenderStateParameters();
11979 pGLContext GetBoundVertexArray ObjectBind(VAO) const auto& vao = *MG_State::pGLContext->GetBoundVertexArray();
11989 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto drawBuffer = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
11995 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto parameterBuffer = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::Parameter).GetBoundObject();
12080 pGLContext GetBoundVertexArray ObjectBind(VAO) const auto& vao = *MG_State::pGLContext->GetBoundVertexArray();
12090 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto drawBuffer = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
12160 pGLContext GetBufferBindingSlot ObjectBind(Buffer) auto drawBuffer = MG_State::pGLContext->GetBufferBindingSlot(BufferTarget::DrawIndirect).GetBoundObject();
12650 pGLContext GetProvokingVertexMode RenderStateBlob MG_State::pGLContext->GetProvokingVertexMode() == ProvokingVertexMode::FirstVertex)
14813 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ITextureObject> liveTexture;

MobileGL/MG_Backend/DirectVulkan/Renderer/VulkanRenderer.h (12 hits)

line kind member delta snippet
184 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferfv(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
186 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferiv(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
188 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferuiv(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
190 SharedPtr<MG_State - handle-ify (wire handle) void ClearNamedFramebufferfi(const SharedPtr<MG_State::GLState::FramebufferObject>& framebuffer,
195 SharedPtr<MG_State - handle-ify (wire handle) void BlitNamedFramebuffer(const SharedPtr<MG_State::GLState::FramebufferObject>& readFbo,
196 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::FramebufferObject>& drawFbo,
256 SharedPtr<MG_State - handle-ify (wire handle) void GetTextureImage(const SharedPtr<MG_State::GLState::ITextureObject>& texture,
378 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ProgramObject> program;
379 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::SamplerObject> nearestSampler;
380 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::SamplerObject> linearSampler;
388 SharedPtr<MG_State - handle-ify (wire handle) SharedPtr<MG_State::GLState::ProgramObject> program;
1390 SharedPtr<MG_State - handle-ify (wire handle) const SharedPtr<MG_State::GLState::RenderbufferObject>& renderbuffer);