Lines Matching defs:key
31 /** Compact representation of the swizzle suitable for a key. */
61 explicit constexpr GrSwizzle(uint16_t key) : fKey(key) {}
82 uint32_t key = fKey;
84 int idx = (key & 15);
86 key >>= 4;
87 idx = (key & 15);
89 key >>= 4;
90 idx = (key & 15);
92 key >>= 4;
93 idx = (key & 15);
137 uint16_t key = 0;
145 key |= (idx << (4U * i));
147 return GrSwizzle(key);