Lines Matching refs:Key
54 class Key {
127 inline Key() : mKey(0) {} in Key() function
128 inline Key(const Key& rhs) : mKey(rhs.mKey) {} in Key() function
130 inline Key& set(key_t mask, key_t value) { in set()
172 if (inputTF == Key::INPUT_TF_SRGB && outputTF == Key::OUTPUT_TF_LINEAR) { in needsToneMapping()
175 if (inputTF == Key::INPUT_TF_LINEAR && outputTF == Key::OUTPUT_TF_SRGB) { in needsToneMapping()
179 inputTF >>= Key::INPUT_TF_SHIFT; in needsToneMapping()
180 outputTF >>= Key::OUTPUT_TF_SHIFT; in needsToneMapping()
187 bool operator==(const Key& other) const { return mKey == other.mKey; }
190 size_t operator()(const Key& key) const { return static_cast<size_t>(key.mKey); } in operator()
210 static Key computeKey(const Description& description);
212 static void generateEOTF(Formatter& fs, const Key& needs);
214 static void generateToneMappingProcess(Formatter& fs, const Key& needs);
216 static void generateOOTF(Formatter& fs, const Key& needs);
218 static void generateOETF(Formatter& fs, const Key& needs);
220 static std::unique_ptr<Program> generateProgram(const Key& needs);
222 static String8 generateVertexShader(const Key& needs);
224 static String8 generateFragmentShader(const Key& needs);
228 std::unordered_map<EGLContext, std::unordered_map<Key, std::unique_ptr<Program>, Key::Hash>>
235 ANDROID_BASIC_TYPES_TRAITS(renderengine::gl::ProgramCache::Key)