Home
last modified time | relevance | path

Searched refs:mUsage (Results 1 – 25 of 29) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBuffer.cpp133 mUsage(descriptor->usage), in BufferBase()
137 if (mUsage & wgpu::BufferUsage::Storage) { in BufferBase()
138 mUsage |= kReadOnlyStorageBuffer; in BufferBase()
147 if (mUsage & wgpu::BufferUsage::QueryResolve) { in BufferBase()
148 mUsage |= kInternalStorageBuffer; in BufferBase()
155 if (mUsage & wgpu::BufferUsage::Indirect) { in BufferBase()
156 mUsage |= kInternalStorageBuffer; in BufferBase()
218 return mUsage; in GetUsage()
469 DAWN_INVALID_IF(!(mUsage & wgpu::BufferUsage::MapRead), in ValidateMapAsync()
470 "The buffer usages (%s) do not contain %s.", mUsage, in ValidateMapAsync()
[all …]
DPassResourceUsageTracker.cpp179 mUsage.dispatchUsages.push_back(std::move(scope)); in AddDispatch()
183 mUsage.referencedBuffers.insert(buffer); in AddReferencedBuffer()
192 mUsage.referencedBuffers.insert(group->GetBindingAsBufferBinding(index).buffer); in AddResourcesReferencedByBindGroup()
197 mUsage.referencedTextures.insert( in AddResourcesReferencedByBindGroup()
213 mUsage.referencedExternalTextures.insert(externalTexture); in AddResourcesReferencedByBindGroup()
214 mUsage.referencedTextures.insert(textureViews[0].Get()->GetTexture()); in AddResourcesReferencedByBindGroup()
226 return std::move(mUsage); in AcquireResourceUsage()
DScratchBuffer.cpp22 : mDevice(device), mUsage(usage) { in ScratchBuffer()
35 descriptor.usage = mUsage; in EnsureCapacity()
DSwapChain.cpp278 mUsage(descriptor->usage), in NewSwapChainBase()
331 ASSERT(IsSubset(mUsage, view->GetTexture()->GetUsage())); in APIGetCurrentTextureView()
370 return mUsage; in GetUsage()
DScratchBuffer.h49 const wgpu::BufferUsage mUsage; variable
DPassResourceUsageTracker.h64 ComputePassResourceUsage mUsage;
DSwapChain.h142 wgpu::TextureUsage mUsage; variable
DBuffer.h119 wgpu::BufferUsage mUsage = wgpu::BufferUsage::None; variable
DTexture.h112 wgpu::TextureUsage mUsage = wgpu::TextureUsage::None; variable
DTexture.cpp460 mUsage(descriptor->usage), in TextureBase()
461 mInternalUsage(mUsage), in TextureBase()
553 return mUsage; in GetUsage()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DBufferD3D.cpp29 mUsage(D3DBufferUsage::STATIC) in BufferD3D()
61 mUsage = D3DBufferUsage::STATIC; in updateD3DBufferUsage()
67 mUsage = D3DBufferUsage::DYNAMIC; in updateD3DBufferUsage()
154 if (mUsage == D3DBufferUsage::STATIC) in invalidateStaticData()
165 if (mUsage == D3DBufferUsage::DYNAMIC) in promoteStaticUsage()
DBufferD3D.h68 D3DBufferUsage getUsage() const { return mUsage; } in getUsage()
84 D3DBufferUsage mUsage; variable
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
DBuffer.h44 GLenum usage() const { return mUsage; } in usage()
59 GLenum mUsage; variable
DBuffer.cpp32 mUsage = GL_STATIC_DRAW; in Buffer()
56 mUsage = usage; in bufferData()
/third_party/skia/third_party/externals/oboe/include/oboe/
DAudioStreamBase.h112 Usage getUsage() const { return mUsage; } in getUsage()
182 Usage mUsage = Usage::Media; variable
DAudioStreamBuilder.h214 mUsage = usage; in setUsage()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DBuffer.h40 BufferUsage getUsage() const { return mUsage; } in getUsage()
56 BufferUsage mUsage; variable
139 BufferUsage getUsage() const { return mState.mUsage; } in getUsage()
DBuffer.cpp27 mUsage(BufferUsage::StaticDraw), in BufferState()
152 mState.mUsage = usage; in bufferDataImpl()
203 mState.mUsage = BufferUsage::InvalidEnum; in bufferExternalDataImpl()
DTexture.h145 GLenum getUsage() const { return mUsage; } in getUsage()
228 GLenum mUsage; variable
706 a.mUsage == b.mUsage;
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DD3D12Backend.cpp58 mUsage(descriptor->usage), in ExternalImageDXGI()
82 if (!IsSubset(descriptor->usage, mUsage)) { in ProduceTexture()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DBuffer11.cpp114 BufferUsage getUsage() const { return mUsage; } in getUsage()
149 const BufferUsage mUsage; member in rx::Buffer11::BufferStorage
1066 return (mUsage == D3DBufferUsage::STATIC); in supportsDirectBinding()
1102 : mRenderer(renderer), mRevision(0), mUsage(usage), mBufferSize(0) in BufferStorage()
1145 return (mUsage == BUFFER_USAGE_STAGING); in isCPUAccessible()
1148 return (mUsage == BUFFER_USAGE_STAGING || mUsage == BUFFER_USAGE_UNIFORM || in isCPUAccessible()
1149 mUsage == BUFFER_USAGE_STRUCTURED); in isCPUAccessible()
1175 if (mUsage == BUFFER_USAGE_UNIFORM) in copyFromStorage()
1191 ASSERT(!(preserveData && mUsage == BUFFER_USAGE_UNIFORM)); in copyFromStorage()
1233 FillBufferDesc(&bufferDesc, mRenderer, mUsage, static_cast<unsigned int>(size)); in resize()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/android/
DHardwareBufferImageSiblingVkAndroid.h55 uint64_t mUsage; variable
DHardwareBufferImageSiblingVkAndroid.cpp209 &mSize.depth, &pixelFormat, &mUsage); in initImpl()
401 return ((mUsage & AHARDWAREBUFFER_USAGE_PROTECTED_CONTENT) != 0); in hasProtectedContent()
/third_party/skia/third_party/externals/dawn/src/include/dawn_native/
DD3D12Backend.h86 WGPUTextureUsageFlags mUsage; variable
/third_party/skia/third_party/externals/oboe/src/aaudio/
DAudioStreamAAudio.cpp140 if (mUsage != Usage::Media) { in logUnsupportedAttributes()
207 static_cast<aaudio_usage_t>(mUsage)); in open()
263 mUsage = static_cast<Usage>(mLibLoader->stream_getUsage(mAAudioStream)); in open()

12