/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | RenderBundleValidationTests.cpp | 137 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_F() local 138 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPass); in TEST_F() 141 commandEncoder.Finish(); in TEST_F() 159 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_F() local 160 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPass); in TEST_F() 163 ASSERT_DEVICE_ERROR(commandEncoder.Finish()); in TEST_F() 170 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_F() local 171 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPass); in TEST_F() 174 commandEncoder.Finish(); in TEST_F() 193 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_F() local [all …]
|
D | BindGroupValidationTests.cpp | 1476 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TestRenderPassBindGroup() local 1477 wgpu::RenderPassEncoder renderPassEncoder = commandEncoder.BeginRenderPass(&renderPass); in TestRenderPassBindGroup() 1485 ASSERT_DEVICE_ERROR(commandEncoder.Finish()); in TestRenderPassBindGroup() 1487 commandEncoder.Finish(); in TestRenderPassBindGroup() 1497 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TestComputePassBindGroup() local 1498 wgpu::ComputePassEncoder computePassEncoder = commandEncoder.BeginComputePass(); in TestComputePassBindGroup() 1506 ASSERT_DEVICE_ERROR(commandEncoder.Finish()); in TestComputePassBindGroup() 1508 commandEncoder.Finish(); in TestComputePassBindGroup() 1565 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_F() local 1566 wgpu::ComputePassEncoder computePassEncoder = commandEncoder.BeginComputePass(); in TEST_F() [all …]
|
D | MinimumBufferSizeValidationTests.cpp | 284 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TestDispatch() local 285 wgpu::ComputePassEncoder computePassEncoder = commandEncoder.BeginComputePass(); in TestDispatch() 293 ASSERT_DEVICE_ERROR(commandEncoder.Finish()); in TestDispatch() 295 commandEncoder.Finish(); in TestDispatch() 305 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TestDraw() local 306 wgpu::RenderPassEncoder renderPassEncoder = commandEncoder.BeginRenderPass(&renderPass); in TestDraw() 314 ASSERT_DEVICE_ERROR(commandEncoder.Finish()); in TestDraw() 316 commandEncoder.Finish(); in TestDraw()
|
D | LabelTests.cpp | 184 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_F() local 190 wgpu::ComputePassEncoder encoder = commandEncoder.BeginComputePass(&descriptor); in TEST_F() 198 wgpu::ComputePassEncoder encoder = commandEncoder.BeginComputePass(&descriptor); in TEST_F() 208 wgpu::ComputePassEncoder encoder = commandEncoder.BeginComputePass(&descriptor); in TEST_F() 357 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_F() local 369 wgpu::RenderPassEncoder encoder = commandEncoder.BeginRenderPass(&descriptor); in TEST_F() 377 wgpu::RenderPassEncoder encoder = commandEncoder.BeginRenderPass(&descriptor); in TEST_F() 387 wgpu::RenderPassEncoder encoder = commandEncoder.BeginRenderPass(&descriptor); in TEST_F()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | MultisampledRenderingTests.cpp | 124 void EncodeRenderPassForTest(wgpu::CommandEncoder commandEncoder, in EncodeRenderPassForTest() argument 134 wgpu::RenderPassEncoder renderPassEncoder = commandEncoder.BeginRenderPass(&renderPass); in EncodeRenderPassForTest() 141 void EncodeRenderPassForTest(wgpu::CommandEncoder commandEncoder, in EncodeRenderPassForTest() argument 147 EncodeRenderPassForTest(commandEncoder, renderPass, pipeline, uniformData, in EncodeRenderPassForTest() 295 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local 305 EncodeRenderPassForTest(commandEncoder, renderPass, pipeline, kUniformData.data(), in TEST_P() 309 wgpu::CommandBuffer commandBuffer = commandEncoder.Finish(); in TEST_P() 319 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local 334 EncodeRenderPassForTest(commandEncoder, renderPass, pipeline, kGreen); in TEST_P() 337 wgpu::CommandBuffer commandBuffer = commandEncoder.Finish(); in TEST_P() [all …]
|
D | DynamicBufferOffsetTests.cpp | 216 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local 219 commandEncoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 224 wgpu::CommandBuffer commands = commandEncoder.Finish(); in TEST_P() 237 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local 241 commandEncoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 246 wgpu::CommandBuffer commands = commandEncoder.Finish(); in TEST_P() 261 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local 262 wgpu::ComputePassEncoder computePassEncoder = commandEncoder.BeginComputePass(); in TEST_P() 267 wgpu::CommandBuffer commands = commandEncoder.Finish(); in TEST_P() 281 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local [all …]
|
D | DepthStencilSamplingTests.cpp | 252 void UpdateInputDepth(wgpu::CommandEncoder commandEncoder, in UpdateInputDepth() argument 258 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&passDescriptor); in UpdateInputDepth() 262 void UpdateInputStencil(wgpu::CommandEncoder commandEncoder, in UpdateInputStencil() argument 268 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&passDescriptor); in UpdateInputStencil() 298 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in DoSamplingTestImpl() local 301 UpdateInputDepth(commandEncoder, inputTexture, textureValues[i]); in DoSamplingTestImpl() 304 UpdateInputStencil(commandEncoder, inputTexture, textureValues[i]); in DoSamplingTestImpl() 313 commandEncoder.BeginRenderPass(&renderPass.renderPassInfo); in DoSamplingTestImpl() 320 wgpu::CommandBuffer commands = commandEncoder.Finish(); in DoSamplingTestImpl() 353 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in DoSamplingTestImpl() local [all …]
|
D | DepthStencilCopyTests.cpp | 104 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in InitializeDepthTextureRegion() local 105 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPassDesc); in InitializeDepthTextureRegion() 110 wgpu::CommandBuffer commands = commandEncoder.Finish(); in InitializeDepthTextureRegion() 139 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in InitializeDepthStencilTextureRegion() local 140 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPassDesc); in InitializeDepthStencilTextureRegion() 146 wgpu::CommandBuffer commands = commandEncoder.Finish(); in InitializeDepthStencilTextureRegion() 170 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in CreateInitializeDepthStencilTextureAndCopyT2T() local 176 commandEncoder.CopyTextureToTexture(&srcView, &dstView, ©Size); in CreateInitializeDepthStencilTextureAndCopyT2T() 178 wgpu::CommandBuffer commands = commandEncoder.Finish(); in CreateInitializeDepthStencilTextureAndCopyT2T() 483 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local [all …]
|
D | ClipSpaceTests.cpp | 83 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local 84 wgpu::RenderPassEncoder renderPass = commandEncoder.BeginRenderPass(&renderPassDescriptor); in TEST_P() 88 wgpu::CommandBuffer commandBuffer = commandEncoder.Finish(); in TEST_P()
|
D | MultisampledSamplingTests.cpp | 195 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local 203 wgpu::RenderPassEncoder renderPassEncoder = commandEncoder.BeginRenderPass(&renderPass); in TEST_P() 210 wgpu::ComputePassEncoder computePassEncoder = commandEncoder.BeginComputePass(); in TEST_P() 223 wgpu::CommandBuffer commandBuffer = commandEncoder.Finish(); in TEST_P()
|
D | CullingTests.cpp | 81 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in DoTest() local 82 wgpu::RenderPassEncoder renderPass = commandEncoder.BeginRenderPass(&renderPassDescriptor); in DoTest() 86 wgpu::CommandBuffer commandBuffer = commandEncoder.Finish(); in DoTest()
|
D | ReadOnlyDepthStencilAttachmentTests.cpp | 133 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in DoTest() local 144 wgpu::RenderPassEncoder passInit = commandEncoder.BeginRenderPass(&passDescriptorInit); in DoTest() 167 wgpu::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&passDescriptor); in DoTest() 185 wgpu::CommandBuffer commands = commandEncoder.Finish(); in DoTest()
|
D | SubresourceRenderAttachmentTests.cpp | 72 wgpu::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in DoSingleTest() local 73 wgpu::RenderPassEncoder passEncoder = commandEncoder.BeginRenderPass(&renderPass); in DoSingleTest() 75 wgpu::CommandBuffer commands = commandEncoder.Finish(); in DoSingleTest()
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | RenderPassValidationTests.cpp | 79 dawn::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_F() local 80 dawn::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPass); in TEST_F() 86 commandEncoder.Finish(); in TEST_F() 89 dawn::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_F() local 90 dawn::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPass); in TEST_F() 94 ASSERT_DEVICE_ERROR(commandEncoder.Finish()); in TEST_F() 97 dawn::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_F() local 98 dawn::RenderPassEncoder pass = commandEncoder.BeginRenderPass(&renderPass); in TEST_F() 103 ASSERT_DEVICE_ERROR(commandEncoder.Finish()); in TEST_F() 106 dawn::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_F() local [all …]
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/ |
D | MultisampledRenderingTests.cpp | 102 void EncodeRenderPassForTest(dawn::CommandEncoder commandEncoder, in EncodeRenderPassForTest() argument 114 dawn::RenderPassEncoder renderPassEncoder = commandEncoder.BeginRenderPass(&renderPass); in EncodeRenderPassForTest() 235 dawn::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local 247 EncodeRenderPassForTest(commandEncoder, renderPass, pipeline, &kGreen.r, kSize); in TEST_P() 250 dawn::CommandBuffer commandBuffer = commandEncoder.Finish(); in TEST_P() 265 dawn::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local 279 EncodeRenderPassForTest(commandEncoder, renderPass, pipeline, kUniformData.data(), kSize); in TEST_P() 293 EncodeRenderPassForTest(commandEncoder, renderPass, pipeline, kUniformData.data(), kSize); in TEST_P() 296 dawn::CommandBuffer commandBuffer = commandEncoder.Finish(); in TEST_P() 309 dawn::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local [all …]
|
D | DynamicBufferOffsetTests.cpp | 136 dawn::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local 139 commandEncoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 144 dawn::CommandBuffer commands = commandEncoder.Finish(); in TEST_P() 157 dawn::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local 161 commandEncoder.BeginRenderPass(&renderPass.renderPassInfo); in TEST_P() 166 dawn::CommandBuffer commands = commandEncoder.Finish(); in TEST_P() 181 dawn::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local 182 dawn::ComputePassEncoder computePassEncoder = commandEncoder.BeginComputePass(); in TEST_P() 187 dawn::CommandBuffer commands = commandEncoder.Finish(); in TEST_P() 201 dawn::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local [all …]
|
D | ClipSpaceTests.cpp | 89 dawn::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in TEST_P() local 90 dawn::RenderPassEncoder renderPass = commandEncoder.BeginRenderPass(&renderPassDescriptor); in TEST_P() 94 dawn::CommandBuffer commandBuffer = commandEncoder.Finish(); in TEST_P()
|
D | CullingTests.cpp | 84 dawn::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in DoTest() local 85 dawn::RenderPassEncoder renderPass = commandEncoder.BeginRenderPass(&renderPassDescriptor); in DoTest() 89 dawn::CommandBuffer commandBuffer = commandEncoder.Finish(); in DoTest()
|
D | ViewportTests.cpp | 100 dawn::CommandEncoder commandEncoder = device.CreateCommandEncoder(); in DoTest() local 123 commandEncoder.BeginRenderPass(&renderPassDescriptor1); in DoTest() 148 commandEncoder.BeginRenderPass(&renderPassDescriptor2); in DoTest() 154 dawn::CommandBuffer commandBuffer = commandEncoder.Finish(); in DoTest()
|
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_metal.mm | 69 commandEncoder:(id<MTLRenderCommandEncoder>)commandEncoder 75 commandEncoder:(id<MTLRenderCommandEncoder>)commandEncoder; 111 …rawData* draw_data, id<MTLCommandBuffer> commandBuffer, id<MTLRenderCommandEncoder> commandEncoder) 113 …edMetalContext renderDrawData:draw_data commandBuffer:commandBuffer commandEncoder:commandEncoder]; 417 commandEncoder:(id<MTLRenderCommandEncoder>)commandEncoder 422 [commandEncoder setCullMode:MTLCullModeNone]; 423 [commandEncoder setDepthStencilState:g_sharedMetalContext.depthStencilState]; 437 [commandEncoder setViewport:viewport]; 452 [commandEncoder setVertexBytes:&ortho_projection length:sizeof(ortho_projection) atIndex:1]; 454 [commandEncoder setRenderPipelineState:renderPipelineState]; [all …]
|
/third_party/flutter/skia/third_party/externals/imgui/examples/ |
D | imgui_impl_metal.mm | 60 commandEncoder:(id<MTLRenderCommandEncoder>)commandEncoder; 95 …rawData* draw_data, id<MTLCommandBuffer> commandBuffer, id<MTLRenderCommandEncoder> commandEncoder) 97 …edMetalContext renderDrawData:draw_data commandBuffer:commandBuffer commandEncoder:commandEncoder]; 401 commandEncoder:(id<MTLRenderCommandEncoder>)commandEncoder 411 [commandEncoder setCullMode:MTLCullModeNone]; 412 [commandEncoder setDepthStencilState:g_sharedMetalContext.depthStencilState]; 426 [commandEncoder setViewport:viewport]; 441 [commandEncoder setVertexBytes:&ortho_projection length:sizeof(ortho_projection) atIndex:1]; 456 [commandEncoder setRenderPipelineState:renderPipelineState]; 458 [commandEncoder setVertexBuffer:vertexBuffer.buffer offset:0 atIndex:0]; [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | ComputePassEncoder.h | 32 CommandEncoder* commandEncoder, 36 CommandEncoder* commandEncoder, 61 CommandEncoder* commandEncoder,
|
D | RenderPassEncoder.h | 30 CommandEncoder* commandEncoder, 41 CommandEncoder* commandEncoder, 66 CommandEncoder* commandEncoder,
|
D | ComputePassEncoder.cpp | 115 CommandEncoder* commandEncoder, in ComputePassEncoder() argument 118 mCommandEncoder(commandEncoder) { in ComputePassEncoder() 123 CommandEncoder* commandEncoder, in ComputePassEncoder() argument 126 : ProgrammableEncoder(device, encodingContext, errorTag), mCommandEncoder(commandEncoder) { in ComputePassEncoder() 130 CommandEncoder* commandEncoder, in MakeError() argument 132 return new ComputePassEncoder(device, commandEncoder, encodingContext, ObjectBase::kError); in MakeError()
|
D | RenderPassEncoder.cpp | 53 CommandEncoder* commandEncoder, in RenderPassEncoder() argument 68 mCommandEncoder(commandEncoder), in RenderPassEncoder() 77 CommandEncoder* commandEncoder, in RenderPassEncoder() argument 80 : RenderEncoderBase(device, encodingContext, errorTag), mCommandEncoder(commandEncoder) { in RenderPassEncoder() 84 CommandEncoder* commandEncoder, in MakeError() argument 86 return new RenderPassEncoder(device, commandEncoder, encodingContext, ObjectBase::kError); in MakeError()
|