Home
last modified time | relevance | path

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

/external/angle/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp67 bool UpdateDataCache(RtvDsvClearInfo<T> *dataCache, in UpdateDataCache() argument
78 if (writeRGB && memcmp(&dataCache->r, &color.red, sizeof(T) * 3) != 0) in UpdateDataCache()
80 dataCache->r = color.red; in UpdateDataCache()
81 dataCache->g = color.green; in UpdateDataCache()
82 dataCache->b = color.blue; in UpdateDataCache()
87 if (writeAlpha && (dataCache->a != color.alpha)) in UpdateDataCache()
89 dataCache->a = color.alpha; in UpdateDataCache()
98 if (clampedZValue != dataCache->z) in UpdateDataCache()
100 dataCache->z = clampedZValue; in UpdateDataCache()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/sharing/
DSharedFlowTest.kt738 private val dataCache = (1..5).associateWith { Data(it) } in <lambda>() constant in kotlinx.coroutines.flow.SharedFlowTest
745 return if(nextBoolean()) dataCache[x] else Data(x) in <lambda>()