Lines Matching refs:Key
29 struct Key {
30 Key(uint8_t samplerKey, const GrVkSamplerYcbcrConversion::Key& ycbcrKey) {
32 // force alignment padding to occur in the middle of the Key struct.
33 memset(this, 0, sizeof(Key));
38 GrVkSamplerYcbcrConversion::Key fYcbcrKey;
40 bool operator==(const Key& that) const {
47 static Key GenerateKey(GrSamplerState, const GrVkYcbcrConversionInfo&);
49 static const Key& GetKey(const GrVkSampler& sampler) { return sampler.fKey; }
50 static uint32_t Hash(const Key& key) {
51 return SkOpts::hash(reinterpret_cast<const uint32_t*>(&key), sizeof(Key));
64 GrVkSamplerYcbcrConversion* ycbcrConversion, Key key)
84 Key fKey;