Lines Matching refs:Key
26 struct Key {
27 Key() : fVkFormat(VK_FORMAT_UNDEFINED), fExternalFormat(0), fConversionKey(0) {}
28 Key(VkFormat vkFormat, uint64_t externalFormat, uint8_t conversionKey) {
29 memset(this, 0, sizeof(Key));
39 bool operator==(const Key& that) const {
47 static Key GenerateKey(const GrVkYcbcrConversionInfo& ycbcrInfo);
49 static const Key& GetKey(const GrVkSamplerYcbcrConversion& ycbcrConversion) {
52 static uint32_t Hash(const Key& key) {
53 return SkOpts::hash(reinterpret_cast<const uint32_t*>(&key), sizeof(Key));
65 Key key)
73 Key fKey;