Searched refs:getStateCache (Results 1 – 23 of 23) sorted by relevance
501 intptr_t drawStatesError = context->getStateCache().getBasicDrawStatesErrorString( in ValidateDrawBase()506 GLenum errorCode = context->getStateCache().getBasicDrawElementsErrorCode(); in ValidateDrawBase()511 if (!context->getStateCache().isValidDrawMode(mode)) in ValidateDrawBase()824 context->getStateCache().getVertexAttribTypeValidation(type)); in ValidateFloatVertexFormat()835 context->getStateCache().getIntegerVertexAttribTypeValidation(type)); in ValidateIntegerVertexFormat()1062 if (maxVertex >= context->getStateCache().getNonInstancedVertexElementLimit() || in ValidateDrawAttribs()1063 context->getStateCache().getInstancedVertexElementLimit() < 1) in ValidateDrawAttribs()1111 const GLint64 limit = context->getStateCache().getInstancedVertexElementLimit(); in ValidateDrawInstancedAttribs()1162 if (context->getStateCache().isTransformFeedbackActiveUnpaused() && in ValidateDrawArraysCommon()1182 if (!context->getStateCache().isValidDrawElementsType(type)) in ValidateDrawElementsBase()[all …]
43 if (context->getStateCache().isTransformFeedbackActiveUnpaused()) in MarkTransformFeedbackBufferUsage()52 for (size_t index : context->getStateCache().getActiveShaderStorageBufferIndices()) in MarkShaderStorageUsage()61 for (size_t index : context->getStateCache().getActiveImageUnitIndices()) in MarkShaderStorageUsage()
755 const StateCache &getStateCache() const { return mStateCache; } in getStateCache() function756 StateCache &getStateCache() { return mStateCache; } in getStateCache() function
592 if (!context->getStateCache().isValidBindTextureType(target)) in ValidateBindTexture()
759 intptr_t programPipelineError = context->getStateCache().getProgramPipelineError(context); in validate()
831 const AttributesMask &activeAttribues = context->getStateCache().getActiveBufferedAttribsMask(); in hasTransformFeedbackBindingConflict()
159 context->getStateCache().onGLES1TextureStateChange(context); in prepareForDraw()
4327 if (context->getStateCache().hasAnyEnabledClientAttrib()) in ValidateDrawStates()4660 if (context->getStateCache().isTransformFeedbackActiveUnpaused()) in ValidateDrawElementsStates()8859 if (context->getStateCache().getNonInstancedVertexElementLimit() == in RecordDrawAttribsError()8861 context->getStateCache().getInstancedVertexElementLimit() == in RecordDrawAttribsError()
3249 context->getStateCache().onActiveTransformFeedbackChange(context); in detachBuffer()3255 context->getStateCache().onVertexArrayStateChange(context); in detachBuffer()
462 if (context->getStateCache().hasAnyActiveClientAttrib()) in ValidateDrawIndirectBase()
6426 ASSERT(!context->getStateCache().isValidBindTextureType(target)); in RecordBindTextureTypeError()
10533 return &context->getStateCache() == this && in isCurrentContext()
36 mSamplerState = contextMtl->getDisplay()->getStateCache().getSamplerState(
155 mtl::StateCache &getStateCache() { return mStateCache; } in getStateCache() function
950 return contextMtl->getDisplay()->getStateCache().getNullDepthStencilState(976 return contextMtl->getDisplay()->getStateCache().getDepthStencilState(1208 contextMtl->getDisplay()->getStateCache().getNullDepthStencilState(1218 cmdEncoder->setFragmentSamplerState(contextMtl->getDisplay()->getStateCache().getSamplerState(1438 cmdEncoder->setDepthStencilState(contextMtl->getDisplay()->getStateCache().getDepthStencilState(
1679 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask());2394 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask());2403 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask());2519 if (context->getStateCache().hasAnyActiveClientAttrib())2884 getDisplay()->getStateCache().getDepthStencilState(getMetalDevice(), dsDesc));
522 const gl::AttributesMask &clientAttribs = context->getStateCache().getActiveClientAttribsMask();
1119 mMetalSamplerState = contextMtl->getDisplay()->getStateCache().getSamplerState(
450 context->getStateCache().getActiveBufferedAttribsMask(); in handleLineLoopIndirectDraw()1226 context->getStateCache().getActiveClientAttribsMask() | in updateStreamedAttribs()1227 context->getStateCache().getActiveBufferedAttribsMask(); in updateStreamedAttribs()
5412 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask()); in invalidateProgramExecutableHelper()5831 invalidateDefaultAttributes(context->getStateCache().getActiveDefaultAttribsMask()); in syncState()
260 if (context->getStateCache().hasAnyActiveClientAttrib() || in setDrawArraysState()305 const gl::StateCache &stateCache = context->getStateCache(); in setDrawElementsState()
206 context->getStateCache().getActiveClientAttribsMask(); in syncDrawState()
6695 if (!context->getStateCache().hasAnyActiveClientAttrib()) in maybeCaptureDrawArraysClientData()6711 if (!context->getStateCache().hasAnyActiveClientAttrib()) in maybeCaptureDrawElementsClientData()7852 for (size_t attribIndex : context->getStateCache().getActiveClientAttribsMask()) in captureClientArraySnapshot()