/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/ |
D | DrawCallPerf.cpp | 75 enum class BindGroup { enum 97 BindGroup bindGroupType; 103 std::tuple<Pipeline, VertexBuffer, BindGroup, UniformData, RenderBundle>; 122 DrawCallParamTuple paramTuple{Pipeline::Static, VertexBuffer::NoChange, BindGroup::NoChange, in MakeParam() 133 std::get<BindGroup>(paramTuple), std::get<UniformData>(paramTuple), in MakeParam() 172 case BindGroup::NoChange: in operator <<() 174 case BindGroup::Redundant: in operator <<() 177 case BindGroup::NoReuse: in operator <<() 180 case BindGroup::Multiple: in operator <<() 183 case BindGroup::Dynamic: in operator <<() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | BindGroupD3D12.cpp | 29 ResultOrError<Ref<BindGroup>> BindGroup::Create(Device* device, in Create() 34 BindGroup::BindGroup(Device* device, in BindGroup() function in dawn_native::d3d12::BindGroup 222 BindGroup::~BindGroup() = default; 224 void BindGroup::DestroyImpl() { in DestroyImpl() 230 bool BindGroup::PopulateViews(ShaderVisibleDescriptorAllocator* viewAllocator) { in PopulateViews() 259 D3D12_GPU_DESCRIPTOR_HANDLE BindGroup::GetBaseViewDescriptor() const { in GetBaseViewDescriptor() 263 D3D12_GPU_DESCRIPTOR_HANDLE BindGroup::GetBaseSamplerDescriptor() const { in GetBaseSamplerDescriptor() 268 bool BindGroup::PopulateSamplers(Device* device, in PopulateSamplers() 276 void BindGroup::SetSamplerAllocationEntry(Ref<SamplerHeapCacheEntry> entry) { in SetSamplerAllocationEntry() 280 const BindGroup::DynamicStorageBufferLengths& BindGroup::GetDynamicStorageBufferLengths() in GetDynamicStorageBufferLengths()
|
D | BindGroupD3D12.h | 31 class BindGroup final : public BindGroupBase, public PlacementAllocated { 33 static ResultOrError<Ref<BindGroup>> Create(Device* device, 36 BindGroup(Device* device, 55 ~BindGroup() override;
|
D | BindGroupLayoutD3D12.h | 26 class BindGroup; variable 44 ResultOrError<Ref<BindGroup>> AllocateBindGroup(Device* device, 46 void DeallocateBindGroup(BindGroup* bindGroup, CPUDescriptorHeapAllocation* viewAllocation); 86 SlabAllocator<BindGroup> mBindGroupAllocator;
|
D | BindGroupLayoutD3D12.cpp | 75 mBindGroupAllocator(MakeFrontendBindGroupAllocator<BindGroup>(4096)) { in BindGroupLayout() 134 ResultOrError<Ref<BindGroup>> BindGroupLayout::AllocateBindGroup( in AllocateBindGroup() 144 Ref<BindGroup> bindGroup = AcquireRef<BindGroup>( in AllocateBindGroup() 157 void BindGroupLayout::DeallocateBindGroup(BindGroup* bindGroup, in DeallocateBindGroup()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | BindGroupGL.cpp | 49 BindGroup::BindGroup(Device* device, const BindGroupDescriptor* descriptor) in BindGroup() function in dawn_native::opengl::BindGroup 53 BindGroup::~BindGroup() = default; 55 void BindGroup::DestroyImpl() { in DestroyImpl() 61 Ref<BindGroup> BindGroup::Create(Device* device, const BindGroupDescriptor* descriptor) { in Create()
|
D | BindGroupGL.h | 27 class BindGroup final : public BindGroupBase, public PlacementAllocated { 29 static Ref<BindGroup> Create(Device* device, const BindGroupDescriptor* descriptor); 31 BindGroup(Device* device, const BindGroupDescriptor* descriptor); 34 ~BindGroup() override;
|
D | BindGroupLayoutGL.h | 23 class BindGroup; variable 32 Ref<BindGroup> AllocateBindGroup(Device* device, const BindGroupDescriptor* descriptor); 33 void DeallocateBindGroup(BindGroup* bindGroup); 37 SlabAllocator<BindGroup> mBindGroupAllocator;
|
D | BindGroupLayoutGL.cpp | 25 mBindGroupAllocator(MakeFrontendBindGroupAllocator<BindGroup>(4096)) { in BindGroupLayout() 28 Ref<BindGroup> BindGroupLayout::AllocateBindGroup(Device* device, in AllocateBindGroup() 33 void BindGroupLayout::DeallocateBindGroup(BindGroup* bindGroup) { in DeallocateBindGroup()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | BindGroupMTL.mm | 21 BindGroup::BindGroup(Device* device, const BindGroupDescriptor* descriptor) 25 BindGroup::~BindGroup() = default; 27 void BindGroup::DestroyImpl() { 33 Ref<BindGroup> BindGroup::Create(Device* device, const BindGroupDescriptor* descriptor) {
|
D | BindGroupMTL.h | 25 class BindGroup final : public BindGroupBase, public PlacementAllocated { 27 static Ref<BindGroup> Create(Device* device, const BindGroupDescriptor* descriptor); 29 BindGroup(Device* device, const BindGroupDescriptor* descriptor); 32 ~BindGroup() override;
|
D | BindGroupLayoutMTL.h | 23 class BindGroup; variable 32 Ref<BindGroup> AllocateBindGroup(Device* device, const BindGroupDescriptor* descriptor); 33 void DeallocateBindGroup(BindGroup* bindGroup); 41 SlabAllocator<BindGroup> mBindGroupAllocator;
|
D | BindGroupLayoutMTL.mm | 33 mBindGroupAllocator(MakeFrontendBindGroupAllocator<BindGroup>(4096)) { 36 Ref<BindGroup> BindGroupLayout::AllocateBindGroup(Device* device, 41 void BindGroupLayout::DeallocateBindGroup(BindGroup* bindGroup) {
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | BindGroupVk.cpp | 32 ResultOrError<Ref<BindGroup>> BindGroup::Create(Device* device, in Create() 37 BindGroup::BindGroup(Device* device, in BindGroup() function in dawn_native::vulkan::BindGroup 164 BindGroup::~BindGroup() = default; 166 void BindGroup::DestroyImpl() { in DestroyImpl() 171 VkDescriptorSet BindGroup::GetHandle() const { in GetHandle() 175 void BindGroup::SetLabelImpl() { in SetLabelImpl()
|
D | BindGroupVk.h | 29 class BindGroup final : public BindGroupBase, public PlacementAllocated { 31 static ResultOrError<Ref<BindGroup>> Create(Device* device, 34 BindGroup(Device* device, 41 ~BindGroup() override;
|
D | BindGroupLayoutVk.h | 27 class BindGroup; variable 59 ResultOrError<Ref<BindGroup>> AllocateBindGroup(Device* device, 61 void DeallocateBindGroup(BindGroup* bindGroup, 74 SlabAllocator<BindGroup> mBindGroupAllocator;
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | ResourceUsageTrackingTests.cpp | 107 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, buffer}, {1, buffer}}); in TEST_F() 129 wgpu::BindGroup bg = utils::MakeBindGroup(device, bgl, {{0, buffer}}); in TEST_F() 150 wgpu::BindGroup bg = in TEST_F() 191 wgpu::BindGroup bg = in TEST_F() 233 wgpu::BindGroup bg0 = utils::MakeBindGroup(device, bgl, {{0, buffer0}}); in TEST_F() 234 wgpu::BindGroup bg1 = utils::MakeBindGroup(device, bgl, {{0, buffer1}}); in TEST_F() 263 wgpu::BindGroup bg0 = utils::MakeBindGroup(device, bgl0, {{0, buffer}}); in TEST_F() 264 wgpu::BindGroup bg1 = utils::MakeBindGroup(device, bgl1, {{0, buffer}}); in TEST_F() 290 wgpu::BindGroup bg0 = utils::MakeBindGroup(device, bgl0, {{0, buffer}}); in TEST_F() 291 wgpu::BindGroup bg1 = utils::MakeBindGroup(device, bgl1, {{0, buffer}}); in TEST_F() [all …]
|
D | QueueSubmitValidationTests.cpp | 228 wgpu::BindGroup emptyBG = utils::MakeBindGroup(device, emptyBGL, {}); in TEST_F() 249 wgpu::BindGroup unusedBG = utils::MakeBindGroup(device, testBGL, {{0, unusedBuffer}}); in TEST_F() 268 wgpu::BindGroup unusedBG = utils::MakeBindGroup(device, testBGL, {{0, unusedBuffer}}); in TEST_F() 271 wgpu::BindGroup usedBG = utils::MakeBindGroup(device, testBGL, {{0, unusedBuffer}}); in TEST_F() 298 wgpu::BindGroup emptyBG = utils::MakeBindGroup(device, emptyBGL, {}); in TEST_F() 318 wgpu::BindGroup unusedBG = in TEST_F() 338 wgpu::BindGroup unusedBG = in TEST_F() 342 wgpu::BindGroup usedBG = in TEST_F()
|
D | TextureSubresourceTests.cpp | 62 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, samplerView}}); in TestRenderPass() 75 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, renderView}}); in TestRenderPass() 86 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, samplerView}}); in TestRenderPass() 91 wgpu::BindGroup bindGroup1 = utils::MakeBindGroup(device, bgl1, {{0, samplerView}}); in TestRenderPass()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | GpuMemorySynchronizationTests.cpp | 36 std::tuple<wgpu::ComputePipeline, wgpu::BindGroup> CreatePipelineAndBindGroupForCompute( in CreatePipelineAndBindGroupForCompute() 52 wgpu::BindGroup bindGroup = in CreatePipelineAndBindGroupForCompute() 57 std::tuple<wgpu::RenderPipeline, wgpu::BindGroup> CreatePipelineAndBindGroupForRender( in CreatePipelineAndBindGroupForRender() 83 wgpu::BindGroup bindGroup = in CreatePipelineAndBindGroupForRender() 98 wgpu::BindGroup bindGroup; in TEST_P() 130 wgpu::BindGroup bindGroup; in TEST_P() 159 wgpu::BindGroup bindGroup0; in TEST_P() 164 wgpu::BindGroup bindGroup1; in TEST_P() 196 wgpu::BindGroup bindGroup1; in TEST_P() 201 wgpu::BindGroup bindGroup0; in TEST_P() [all …]
|
D | ComputeStorageBufferBarrierTests.cpp | 52 wgpu::BindGroup bindGroup = in TEST_P() 103 wgpu::BindGroup bindGroupA = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 109 wgpu::BindGroup bindGroupB = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 115 wgpu::BindGroup bindGroups[2] = {bindGroupA, bindGroupB}; in TEST_P() 169 wgpu::BindGroup bindGroupA = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 175 wgpu::BindGroup bindGroupB = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 181 wgpu::BindGroup bindGroups[2] = {bindGroupA, bindGroupB}; in TEST_P() 238 wgpu::BindGroup bindGroupA = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 244 wgpu::BindGroup bindGroupB = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 250 wgpu::BindGroup bindGroups[2] = {bindGroupA, bindGroupB}; in TEST_P() [all …]
|
D | BindGroupTests.cpp | 32 const wgpu::BindGroup& bindGroup) { in CreateSimpleComputeCommandBuffer() 150 wgpu::BindGroup bindGroup = in TEST_P() 214 wgpu::BindGroup bindGroup = utils::MakeBindGroup( in TEST_P() 315 wgpu::BindGroup bindGroup = in TEST_P() 396 std::vector<wgpu::BindGroup> bindGroups; in TEST_P() 471 wgpu::BindGroup bindGroup0 = in TEST_P() 497 wgpu::BindGroup bindGroup0 = utils::MakeBindGroup(device, cp.GetBindGroupLayout(0), {}); in TEST_P() 498 wgpu::BindGroup bindGroup1 = in TEST_P() 500 wgpu::BindGroup bindGroup2 = in TEST_P() 529 wgpu::BindGroup bindGroup0 = in TEST_P() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | BindGroupLayout.h | 122 template <typename BindGroup> 123 SlabAllocator<BindGroup> MakeFrontendBindGroupAllocator(size_t size) { in MakeFrontendBindGroupAllocator() 124 return SlabAllocator<BindGroup>( in MakeFrontendBindGroupAllocator() 126 Align(sizeof(BindGroup), GetBindingDataAlignment()) + GetBindingDataSize(), // size in MakeFrontendBindGroupAllocator() 127 std::max(alignof(BindGroup), GetBindingDataAlignment()) // alignment in MakeFrontendBindGroupAllocator()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | GPUBindGroup.h | 28 GPUBindGroup(wgpu::BindGroup group); 31 inline operator const wgpu::BindGroup &() const { 40 wgpu::BindGroup group_;
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnProgramDataManager.h | 30 wgpu::BindGroup uploadUniformBuffers(GrDawnGpu* gpu, wgpu::BindGroupLayout layout); 33 wgpu::BindGroup fBindGroup;
|