Home
last modified time | relevance | path

Searched refs:shaderKey (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/libs/renderengine/gl/
DProgramCache.cpp86 Key shaderKey; in primeCache() local
88 shaderKey.set(Key::BLEND_MASK | Key::INPUT_TRANSFORM_MATRIX_MASK | in primeCache()
98 shaderKey.set(Key::INPUT_TF_MASK, (i & 1) ? in primeCache()
102 shaderKey.set(Key::Y410_BT2020_MASK, (i & 2) ? in primeCache()
104 if (cache.count(shaderKey) == 0) { in primeCache()
105 cache.emplace(shaderKey, generateProgram(shaderKey)); in primeCache()
119 Key shaderKey; in primeCache() local
120 shaderKey.set(keyMask, keyVal); in primeCache()
121 uint32_t tex = shaderKey.getTextureTarget(); in primeCache()
125 if (cache.count(shaderKey) == 0) { in primeCache()
[all …]