Home
last modified time | relevance | path

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

/third_party/node/test/parallel/
Dtest-process-cpuUsage.js14 let lastUsage = process.cpuUsage(); variable
18 assert(thisUsage.user >= lastUsage.user);
19 assert(thisUsage.system >= lastUsage.system);
20 lastUsage = thisUsage;
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DTextureVk.cpp168 wgpu::TextureUsage lastUsage, in BuildMemoryBarrier() argument
174 barrier.srcAccessMask = VulkanAccessFlags(lastUsage, texture->GetFormat()); in BuildMemoryBarrier()
176 barrier.oldLayout = VulkanImageLayout(texture, lastUsage); in BuildMemoryBarrier()
966 bool Texture::CanReuseWithoutBarrier(wgpu::TextureUsage lastUsage, wgpu::TextureUsage usage) { in CanReuseWithoutBarrier() argument
968 bool lastReadOnly = IsSubset(lastUsage, kReadOnlyTextureUsages); in CanReuseWithoutBarrier()
969 if (lastReadOnly && lastUsage == usage && mLastExternalState == mExternalState) { in CanReuseWithoutBarrier()
1032 subresourceUsages, [&](const SubresourceRange& range, wgpu::TextureUsage* lastUsage, in TransitionUsageForPassImpl()
1035 CanReuseWithoutBarrier(*lastUsage, newUsage)) { in TransitionUsageForPassImpl()
1039 imageBarriers->push_back(BuildMemoryBarrier(this, *lastUsage, newUsage, range)); in TransitionUsageForPassImpl()
1041 allLastUsages |= *lastUsage; in TransitionUsageForPassImpl()
[all …]
DTextureVk.h136 bool CanReuseWithoutBarrier(wgpu::TextureUsage lastUsage, wgpu::TextureUsage usage);
/third_party/typescript/src/services/refactors/
DextractSymbol.ts1863 const lastUsage = seenUsages.get(symbolId); constant
1870 if (lastUsage && lastUsage >= usage) {
1875 if (lastUsage) {