Home
last modified time | relevance | path

Searched refs:BindGroup (Results 1 – 25 of 108) sorted by relevance

12345

/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DDrawCallPerf.cpp75 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/
DBindGroupD3D12.cpp29 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()
DBindGroupD3D12.h31 class BindGroup final : public BindGroupBase, public PlacementAllocated {
33 static ResultOrError<Ref<BindGroup>> Create(Device* device,
36 BindGroup(Device* device,
55 ~BindGroup() override;
DBindGroupLayoutD3D12.h26 class BindGroup; variable
44 ResultOrError<Ref<BindGroup>> AllocateBindGroup(Device* device,
46 void DeallocateBindGroup(BindGroup* bindGroup, CPUDescriptorHeapAllocation* viewAllocation);
86 SlabAllocator<BindGroup> mBindGroupAllocator;
DBindGroupLayoutD3D12.cpp75 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/
DBindGroupGL.cpp49 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()
DBindGroupGL.h27 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;
DBindGroupLayoutGL.h23 class BindGroup; variable
32 Ref<BindGroup> AllocateBindGroup(Device* device, const BindGroupDescriptor* descriptor);
33 void DeallocateBindGroup(BindGroup* bindGroup);
37 SlabAllocator<BindGroup> mBindGroupAllocator;
DBindGroupLayoutGL.cpp25 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/
DBindGroupMTL.mm21 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) {
DBindGroupMTL.h25 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;
DBindGroupLayoutMTL.h23 class BindGroup; variable
32 Ref<BindGroup> AllocateBindGroup(Device* device, const BindGroupDescriptor* descriptor);
33 void DeallocateBindGroup(BindGroup* bindGroup);
41 SlabAllocator<BindGroup> mBindGroupAllocator;
DBindGroupLayoutMTL.mm33 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/
DBindGroupVk.cpp32 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()
DBindGroupVk.h29 class BindGroup final : public BindGroupBase, public PlacementAllocated {
31 static ResultOrError<Ref<BindGroup>> Create(Device* device,
34 BindGroup(Device* device,
41 ~BindGroup() override;
DBindGroupLayoutVk.h27 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/
DResourceUsageTrackingTests.cpp107 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 …]
DQueueSubmitValidationTests.cpp228 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()
DTextureSubresourceTests.cpp62 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/
DGpuMemorySynchronizationTests.cpp36 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 …]
DComputeStorageBufferBarrierTests.cpp52 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 …]
DBindGroupTests.cpp32 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/
DBindGroupLayout.h122 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/
DGPUBindGroup.h28 GPUBindGroup(wgpu::BindGroup group);
31 inline operator const wgpu::BindGroup &() const {
40 wgpu::BindGroup group_;
/third_party/skia/src/gpu/dawn/
DGrDawnProgramDataManager.h30 wgpu::BindGroup uploadUniformBuffers(GrDawnGpu* gpu, wgpu::BindGroupLayout layout);
33 wgpu::BindGroup fBindGroup;

12345