Searched refs:BlendStateKey (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A DRenderStateCache.h48 struct BlendStateKey struct in class:rx::RenderStateCache
53 static std::size_t hashBlendState(const BlendStateKey &blendState);
54 static bool compareBlendStates(const BlendStateKey &a, const BlendStateKey &b);
57 typedef std::size_t (*BlendStateHashFunction)(const BlendStateKey &);
58 typedef bool (*BlendStateEqualityFunction)(const BlendStateKey &, const BlendStateKey &);
60 typedef std::unordered_map<BlendStateKey, BlendStateCounterPair, BlendStateHashFunction, BlendStateEqualityFunction> BlendStateMap;
H A DRenderStateCache.cpp68 std::size_t RenderStateCache::hashBlendState(const BlendStateKey &blendState)
77 bool RenderStateCache::compareBlendStates(const BlendStateKey &a, const BlendStateKey &b)
79 return memcmp(&a, &b, sizeof(BlendStateKey)) == 0;
94 BlendStateKey key = { 0 };

Completed in 45 milliseconds