Searched refs:getStateCache (Results 1 – 20 of 20) sorted by relevance
42 if (context->getStateCache().isTransformFeedbackActiveUnpaused()) in MarkTransformFeedbackBufferUsage()51 for (size_t index : context->getStateCache().getActiveShaderStorageBufferIndices()) in MarkShaderStorageUsage()60 for (size_t index : context->getStateCache().getActiveImageUnitIndices()) in MarkShaderStorageUsage()
363 intptr_t drawStatesError = context->getStateCache().getBasicDrawStatesError(context); in ValidateDrawBase()377 if (!context->getStateCache().isValidDrawMode(mode)) in ValidateDrawBase()625 context->getStateCache().getVertexAttribTypeValidation(type)); in ValidateFloatVertexFormat()634 context, index, size, context->getStateCache().getIntegerVertexAttribTypeValidation(type)); in ValidateIntegerVertexFormat()787 if (maxVertex > context->getStateCache().getNonInstancedVertexElementLimit()) in ValidateDrawAttribs()826 if ((primcount - 1) > context->getStateCache().getInstancedVertexElementLimit()) in ValidateDrawInstancedAttribs()864 if (context->getStateCache().isTransformFeedbackActiveUnpaused() && in ValidateDrawArraysCommon()883 if (!context->getStateCache().isValidDrawElementsType(type)) in ValidateDrawElementsBase()896 intptr_t drawElementsError = context->getStateCache().getBasicDrawElementsError(context); in ValidateDrawElementsBase()
132 if (!context->getStateCache().isValidBindTextureType(target)) in ValidateBindTexture()
584 const StateCache &getStateCache() const { return mStateCache; } in getStateCache() function585 StateCache &getStateCache() { return mStateCache; } in getStateCache() function
680 const AttributesMask &activeAttribues = context->getStateCache().getActiveBufferedAttribsMask(); in hasTransformFeedbackBindingConflict()
3827 if (context->getStateCache().hasAnyEnabledClientAttrib()) in ValidateDrawStates()4108 if (context->getStateCache().isTransformFeedbackActiveUnpaused()) in ValidateDrawElementsStates()7867 if (context->getStateCache().getNonInstancedVertexElementLimit() == in RecordDrawAttribsError()7869 context->getStateCache().getInstancedVertexElementLimit() == in RecordDrawAttribsError()
451 if (context->getStateCache().hasAnyActiveClientAttrib()) in ValidateDrawIndirectBase()
2115 context->getStateCache().onVertexArrayStateChange(context); in detachBuffer()
6262 ASSERT(!context->getStateCache().isValidBindTextureType(target)); in RecordBindTextureTypeError()
39 displayMtl->getStateCache().getSamplerState(displayMtl->getMetalDevice(), samplerDesc);
136 mtl::StateCache &getStateCache() { return mStateCache; } in getStateCache() function
1282 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask());1877 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask());1886 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask());1921 if (context->getStateCache().hasAnyActiveClientAttrib())
1284 return contextMtl->getDisplay()->getStateCache().getNullDepthStencilState(contextMtl);1309 return contextMtl->getDisplay()->getStateCache().getDepthStencilState(1561 contextMtl->getDisplay()->getStateCache().getNullDepthStencilState(contextMtl));1570 cmdEncoder->setFragmentSamplerState(contextMtl->getDisplay()->getStateCache().getSamplerState(1792 cmdEncoder->setDepthStencilState(contextMtl->getDisplay()->getStateCache().getDepthStencilState(
489 const gl::AttributesMask &clientAttribs = context->getStateCache().getActiveClientAttribsMask();
675 displayMtl->getStateCache().getSamplerState(displayMtl->getMetalDevice(), samplerDesc);
288 context->getStateCache().getActiveBufferedAttribsMask(); in handleLineLoopIndirectDraw()769 context->getStateCache().getActiveClientAttribsMask() | in updateStreamedAttribs()770 context->getStateCache().getActiveBufferedAttribsMask(); in updateStreamedAttribs()
3450 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask()); in invalidateProgramExecutableHelper()3710 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask()); in syncState()
225 if (context->getStateCache().hasAnyActiveClientAttrib() || in setDrawArraysState()270 const gl::StateCache &stateCache = context->getStateCache(); in setDrawElementsState()
188 context->getStateCache().getActiveClientAttribsMask(); in syncDrawState()
4325 if (!context->getStateCache().hasAnyActiveClientAttrib()) in maybeCaptureDrawArraysClientData()4341 if (!context->getStateCache().hasAnyActiveClientAttrib()) in maybeCaptureDrawElementsClientData()4834 for (size_t attribIndex : context->getStateCache().getActiveClientAttribsMask()) in captureClientArraySnapshot()