Searched refs:StateCache (Results 1 – 8 of 8) sorted by relevance
7 // Implements StateCache, RenderPipelineCache and various1227 // StateCache implementation1228 StateCache::StateCache(const angle::FeaturesMtl &features) : mFeatures(features) {}1230 StateCache::~StateCache() {}1232 AutoObjCPtr<id<MTLDepthStencilState>> StateCache::getNullDepthStencilState(id<MTLDevice> device)1245 AutoObjCPtr<id<MTLDepthStencilState>> StateCache::getDepthStencilState(id<MTLDevice> metalDevice,1270 AutoObjCPtr<id<MTLSamplerState>> StateCache::getSamplerState(id<MTLDevice> metalDevice,1298 AutoObjCPtr<id<MTLSamplerState>> StateCache::getNullSamplerState(Context *context)1303 AutoObjCPtr<id<MTLSamplerState>> StateCache::getNullSamplerState(id<MTLDevice> device)1311 void StateCache::clear()
136 mtl::StateCache &getStateCache() { return mStateCache; } in getStateCache()193 mtl::StateCache mStateCache;
581 class StateCache final : angle::NonCopyable584 StateCache(const angle::FeaturesMtl &features);585 ~StateCache();
117 class StateCache final : angle::NonCopyable120 StateCache();121 ~StateCache();584 const StateCache &getStateCache() const { return mStateCache; } in getStateCache()585 StateCache &getStateCache() { return mStateCache; } in getStateCache()759 StateCache mStateCache;
9305 StateCache::StateCache() in StateCache() function in gl::StateCache9317 StateCache::~StateCache() = default;9319 ANGLE_INLINE void StateCache::updateVertexElementLimits(Context *context) in updateVertexElementLimits()9327 void StateCache::initialize(Context *context) in initialize()9338 void StateCache::updateActiveAttribsMask(Context *context) in updateActiveAttribsMask()9368 void StateCache::updateVertexElementLimitsImpl(Context *context) in updateVertexElementLimitsImpl()9409 void StateCache::updateBasicDrawStatesError() in updateBasicDrawStatesError()9414 void StateCache::updateBasicDrawElementsError() in updateBasicDrawElementsError()9419 intptr_t StateCache::getBasicDrawStatesErrorImpl(const Context *context) const in getBasicDrawStatesErrorImpl()9426 intptr_t StateCache::getBasicDrawElementsErrorImpl(const Context *context) const in getBasicDrawElementsErrorImpl()[all …]
153 ANGLE_INLINE void StateCache::onBufferBindingChange(Context *context) in onBufferBindingChange()
56 To optimize validation we cache many checks. See [`gl::StateCache`][StateCache] for examples. We85 [`gl::StateCache::updateBasicDrawStatesError`][StateCacheUpdate] to re-validate the draw105 [StateCache]: https://chromium.googlesource.com/angle/angle/+/5f662c0042703344eb0eef6d1c123e902e3ae…
270 const gl::StateCache &stateCache = context->getStateCache(); in setDrawElementsState()