Home
last modified time | relevance | path

Searched refs:CreateBuffer (Results 1 – 25 of 168) sorted by relevance

1234567

/third_party/flatbuffers/tests/FlatBuffers.Test/
DFlatBufferBuilderTests.cs24 private FlatBufferBuilder CreateBuffer(bool forceDefaults = true) in CreateBuffer() method in FlatBuffers.Test.FlatBufferBuilderTests
34 var fbb = CreateBuffer(); in FlatBufferBuilder_WithForceDefaults_WhenAddBool_AndDefaultValue_OffsetIncreasesBySize()
44 var fbb = CreateBuffer(); in FlatBufferBuilder_WithForceDefaults_WhenAddSByte_AndDefaultValue_OffsetIncreasesBySize()
54 var fbb = CreateBuffer(); in FlatBufferBuilder_WithForceDefaults_WhenAddByte_AndDefaultValue_OffsetIncreasesBySize()
64 var fbb = CreateBuffer(); in FlatBufferBuilder_WithForceDefaults_WhenAddShort_AndDefaultValue_OffsetIncreasesBySize()
74 var fbb = CreateBuffer(); in FlatBufferBuilder_WithForceDefaults_WhenAddUShort_AndDefaultValue_OffsetIncreasesBySize()
84 var fbb = CreateBuffer(); in FlatBufferBuilder_WithForceDefaults_WhenAddInt_AndDefaultValue_OffsetIncreasesBySize()
94 var fbb = CreateBuffer(); in FlatBufferBuilder_WithForceDefaults_WhenAddUInt_AndDefaultValue_OffsetIncreasesBySize()
104 var fbb = CreateBuffer(); in FlatBufferBuilder_WithForceDefaults_WhenAddLong_AndDefaultValue_OffsetIncreasesBySize()
114 var fbb = CreateBuffer(); in FlatBufferBuilder_WithForceDefaults_WhenAddULong_AndDefaultValue_OffsetIncreasesBySize()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DQueueWriteBufferValidationTests.cpp27 wgpu::Buffer CreateBuffer(uint64_t size) { in CreateBuffer() function in QueueWriteBufferValidationTest
31 return device.CreateBuffer(&descriptor); in CreateBuffer()
39 wgpu::Buffer buf = CreateBuffer(4); in TEST_F()
47 wgpu::Buffer buf = CreateBuffer(4); in TEST_F()
55 wgpu::Buffer buf = CreateBuffer(1024); in TEST_F()
71 wgpu::Buffer buf = device.CreateBuffer(&descriptor); in TEST_F()
79 wgpu::Buffer buf = CreateBuffer(4); in TEST_F()
87 wgpu::Buffer buf = CreateBuffer(8); in TEST_F()
95 wgpu::Buffer buf = CreateBuffer(4); in TEST_F()
110 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_F()
[all …]
DCopyCommandsValidationTests.cpp25 wgpu::Buffer CreateBuffer(uint64_t size, wgpu::BufferUsage usage) { in CreateBuffer() function in CopyCommandTest
30 return device.CreateBuffer(&descriptor); in CreateBuffer()
188 CreateBuffer(bufferSize, wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst); in TestBothTBCopiesExactBufferSize()
195 CreateBuffer(invalidSize, wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst); in TestBothTBCopiesExactBufferSize()
234 wgpu::Buffer source = CreateBuffer(16, wgpu::BufferUsage::CopySrc); in TEST_F()
235 wgpu::Buffer destination = CreateBuffer(16, wgpu::BufferUsage::CopyDst); in TEST_F()
260 wgpu::Buffer source = CreateBuffer(16, wgpu::BufferUsage::CopySrc); in TEST_F()
261 wgpu::Buffer destination = CreateBuffer(16, wgpu::BufferUsage::CopyDst); in TEST_F()
274 wgpu::Buffer source = CreateBuffer(16, wgpu::BufferUsage::CopySrc); in TEST_F()
275 wgpu::Buffer destination = CreateBuffer(16, wgpu::BufferUsage::CopyDst); in TEST_F()
[all …]
DDrawVertexAndIndexBufferOOBValidationTests.cpp94 wgpu::Buffer CreateBuffer(uint64_t size, in CreateBuffer() function in __anond8c699450111::DrawVertexAndIndexBufferOOBValidationTests
100 return device.CreateBuffer(&descriptor); in CreateBuffer()
343 wgpu::Buffer vertexBuffer = CreateBuffer(3 * kFloat32x4Stride); in TEST_F()
365 wgpu::Buffer vertexBuffer = CreateBuffer(params.bufferSize); in TEST_F()
393 wgpu::Buffer vertexBuffer = CreateBuffer(vertexParams.bufferSize); in TEST_F()
394 wgpu::Buffer instanceBuffer = CreateBuffer(instanceParams.bufferSize); in TEST_F()
431 wgpu::Buffer indexBuffer = CreateBuffer(12 * sizeof(uint32_t), wgpu::BufferUsage::Index); in TEST_F()
434 wgpu::Buffer vertexBuffer = CreateBuffer(3 * kFloat32x4Stride); in TEST_F()
450 CreateBuffer(params.indexBufferSize, wgpu::BufferUsage::Index); in TEST_F()
452 wgpu::Buffer vertexBuffer = CreateBuffer(3 * kFloat32x4Stride); in TEST_F()
[all …]
DBufferValidationTests.cpp40 return device.CreateBuffer(&descriptor); in CreateMapReadBuffer()
48 return device.CreateBuffer(&descriptor); in CreateMapWriteBuffer()
57 return device.CreateBuffer(&descriptor); in BufferMappedAtCreation()
93 device.CreateBuffer(&descriptor); in TEST_F()
105 device.CreateBuffer(&descriptor); in TEST_F()
114 ASSERT_DEVICE_ERROR(device.CreateBuffer(&descriptor)); in TEST_F()
123 device.CreateBuffer(&descriptor); in TEST_F()
132 ASSERT_DEVICE_ERROR(device.CreateBuffer(&descriptor)); in TEST_F()
166 ASSERT_DEVICE_ERROR(buffer = device.CreateBuffer(&desc)); in TEST_F()
251 wgpu::Buffer buffer = device.CreateBuffer(&desc); in TEST_F()
[all …]
DBindGroupValidationTests.cpp46 mUBO = device.CreateBuffer(&descriptor); in SetUp()
52 mSSBO = device.CreateBuffer(&descriptor); in SetUp()
299 ASSERT_DEVICE_ERROR(errorBuffer = device.CreateBuffer(&bufferDesc)); in TEST_F()
668 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_F()
742 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_F()
781 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_F()
824 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_F()
992 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_F()
1405 wgpu::Buffer CreateBuffer(uint64_t bufferSize, wgpu::BufferUsage usage) { in CreateBuffer() function in SetBindGroupValidationTest
1410 return device.CreateBuffer(&bufferDescriptor); in CreateBuffer()
[all …]
DQueueSubmitValidationTests.cpp31 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_F()
35 wgpu::Buffer targetBuffer = device.CreateBuffer(&descriptor); in TEST_F()
103 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_F()
108 wgpu::Buffer targetBuffer = device.CreateBuffer(&descriptor); in TEST_F()
139 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_F()
248 wgpu::Buffer unusedBuffer = device.CreateBuffer(&bufDesc); in TEST_F()
267 wgpu::Buffer unusedBuffer = device.CreateBuffer(&bufDesc); in TEST_F()
270 wgpu::Buffer usedBuffer = device.CreateBuffer(&bufDesc); in TEST_F()
DResourceUsageTrackingTests.cpp24 wgpu::Buffer CreateBuffer(uint64_t size, wgpu::BufferUsage usage) { in CreateBuffer() function in __anon7562ceb90111::ResourceUsageTrackingTest
29 return device.CreateBuffer(&descriptor); in CreateBuffer()
86 CreateBuffer(4, wgpu::BufferUsage::Vertex | wgpu::BufferUsage::Index); in TEST_F()
101 CreateBuffer(4, wgpu::BufferUsage::Uniform | wgpu::BufferUsage::Storage); in TEST_F()
125 CreateBuffer(4, wgpu::BufferUsage::Storage | wgpu::BufferUsage::Index); in TEST_F()
144 wgpu::Buffer buffer = CreateBuffer(512, wgpu::BufferUsage::Storage); in TEST_F()
184 wgpu::Buffer buffer = CreateBuffer(512, wgpu::BufferUsage::Storage); in TEST_F()
226 CreateBuffer(4, wgpu::BufferUsage::Storage | wgpu::BufferUsage::Index); in TEST_F()
228 CreateBuffer(4, wgpu::BufferUsage::Storage | wgpu::BufferUsage::Index); in TEST_F()
257 CreateBuffer(4, wgpu::BufferUsage::Storage | wgpu::BufferUsage::Uniform); in TEST_F()
[all …]
DWriteBufferTests.cpp28 return device.CreateBuffer(&desc); in CreateWritableBuffer()
83 wgpu::Buffer buffer = device.CreateBuffer(&desc); in TEST_F()
94 wgpu::Buffer buffer = device.CreateBuffer(&desc); in TEST_F()
DErrorScopeValidationTests.cpp76 device.CreateBuffer(&desc); in TEST_F()
90 device.CreateBuffer(&desc); in TEST_F()
111 device.CreateBuffer(&desc); in TEST_F()
131 ASSERT_DEVICE_ERROR(device.CreateBuffer(&desc)); in TEST_F()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/
DCopyCommandsValidationTests.cpp23 dawn::Buffer CreateBuffer(uint64_t size, dawn::BufferUsageBit usage) { in CreateBuffer() function in CopyCommandTest
28 return device.CreateBuffer(&descriptor); in CreateBuffer()
153 dawn::Buffer source = CreateBuffer(16, dawn::BufferUsageBit::CopySrc); in TEST_F()
154 dawn::Buffer destination = CreateBuffer(16, dawn::BufferUsageBit::CopyDst); in TEST_F()
177 dawn::Buffer source = CreateBuffer(16, dawn::BufferUsageBit::CopySrc); in TEST_F()
178 dawn::Buffer destination = CreateBuffer(16, dawn::BufferUsageBit::CopyDst); in TEST_F()
197 dawn::Buffer source = CreateBuffer(16, dawn::BufferUsageBit::CopySrc); in TEST_F()
198 dawn::Buffer destination = CreateBuffer(16, dawn::BufferUsageBit::CopyDst); in TEST_F()
199 dawn::Buffer vertex = CreateBuffer(16, dawn::BufferUsageBit::Vertex); in TEST_F()
218 dawn::Buffer source = CreateBuffer(16, dawn::BufferUsageBit::CopySrc); in TEST_F()
[all …]
DBufferValidationTests.cpp68 return device.CreateBuffer(&descriptor); in CreateMapReadBuffer()
75 return device.CreateBuffer(&descriptor); in CreateMapWriteBuffer()
82 return device.CreateBuffer(&descriptor); in CreateSetSubDataBuffer()
122 device.CreateBuffer(&descriptor); in TEST_F()
134 device.CreateBuffer(&descriptor); in TEST_F()
143 ASSERT_DEVICE_ERROR(device.CreateBuffer(&descriptor)); in TEST_F()
152 device.CreateBuffer(&descriptor); in TEST_F()
161 ASSERT_DEVICE_ERROR(device.CreateBuffer(&descriptor)); in TEST_F()
215 dawn::Buffer buf = device.CreateBuffer(&descriptor); in TEST_F()
230 dawn::Buffer buf = device.CreateBuffer(&descriptor); in TEST_F()
[all …]
DBindGroupValidationTests.cpp29 mUBO = device.CreateBuffer(&descriptor); in SetUp()
35 mSSBO = device.CreateBuffer(&descriptor); in SetUp()
278 ASSERT_DEVICE_ERROR(errorBuffer = device.CreateBuffer(&bufferDesc)); in TEST_F()
362 dawn::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_F()
488 dawn::Buffer CreateBuffer(uint64_t bufferSize, dawn::BufferUsageBit usage) { in CreateBuffer() function in SetBindGroupValidationTest
493 return device.CreateBuffer(&bufferDescriptor); in CreateBuffer()
603 dawn::Buffer uniformBuffer = CreateBuffer(kBufferSize, dawn::BufferUsageBit::Uniform); in TEST_F()
604 dawn::Buffer storageBuffer = CreateBuffer(kBufferSize, dawn::BufferUsageBit::Storage); in TEST_F()
619 dawn::Buffer uniformBuffer = CreateBuffer(kBufferSize, dawn::BufferUsageBit::Uniform); in TEST_F()
620 dawn::Buffer storageBuffer = CreateBuffer(kBufferSize, dawn::BufferUsageBit::Storage); in TEST_F()
[all …]
DCommandBufferValidationTests.cpp164 dawn::Buffer copyBuffer = device.CreateBuffer(&copyBufferDesc); in TEST_F()
178 dawn::Buffer copyBuffer = device.CreateBuffer(&copyBufferDesc); in TEST_F()
184 dawn::Buffer buffer = device.CreateBuffer(&bufferDesc); in TEST_F()
199 dawn::Buffer buffer = device.CreateBuffer(&bufferDescriptor); in TEST_F()
218 dawn::Buffer buffer = device.CreateBuffer(&bufferDescriptor); in TEST_F()
DQueueSubmitValidationTests.cpp37 dawn::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_F()
41 dawn::Buffer targetBuffer = device.CreateBuffer(&descriptor); in TEST_F()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DBufferAllocatedSizeTests.cpp24 wgpu::Buffer CreateBuffer(wgpu::BufferUsage usage, uint64_t size) { in CreateBuffer() function in BufferAllocatedSizeTests
28 return device.CreateBuffer(&desc); in CreateBuffer()
55 wgpu::Buffer buffer = CreateBuffer(wgpu::BufferUsage::Uniform, bufferSize); in TEST_P()
65 CreateBuffer(wgpu::BufferUsage::Uniform | wgpu::BufferUsage::Storage, bufferSize); in TEST_P()
74 CreateBuffer(wgpu::BufferUsage::Uniform | wgpu::BufferUsage::Storage, bufferSize); in TEST_P()
DInternalResourceUsageTests.cpp21 wgpu::Buffer CreateBuffer(wgpu::BufferUsage usage) { in CreateBuffer() function in InternalResourceUsageTests
26 return device.CreateBuffer(&descriptor); in CreateBuffer()
35 ASSERT_DEVICE_ERROR(CreateBuffer(dawn_native::kReadOnlyStorageBuffer)); in TEST_P()
37 ASSERT_DEVICE_ERROR(CreateBuffer(dawn_native::kInternalStorageBuffer)); in TEST_P()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DBufferZeroInitTests.cpp58 wgpu::Buffer CreateBuffer(uint64_t size, in CreateBuffer() function in BufferZeroInitTest
65 return device.CreateBuffer(&descriptor); in CreateBuffer()
138 CreateBuffer(bufferSize, wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::CopyDst); in TestBufferZeroInitInCopyTextureToBuffer()
179 CreateBuffer(bufferSize, wgpu::BufferUsage::CopyDst | wgpu::BufferUsage::CopySrc | in TestBufferZeroInitInBindGroup()
272 CreateBuffer(vertexBufferSize, wgpu::BufferUsage::Vertex | wgpu::BufferUsage::CopySrc | in TestBufferZeroInitAsVertexBuffer()
318 CreateBuffer(indexBufferSize, wgpu::BufferUsage::Index | wgpu::BufferUsage::CopySrc | in TestBufferZeroInitAsIndexBuffer()
368 CreateBuffer(bufferSize, wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::Indirect); in TestBufferZeroInitAsIndirectBufferForDrawIndirect()
411 CreateBuffer(bufferSize, wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::Indirect); in TestBufferZeroInitAsIndirectBufferForDrawIndexedIndirect()
452 CreateBuffer(bufferSize, wgpu::BufferUsage::CopySrc | wgpu::BufferUsage::Indirect); in TestBufferZeroInitAsIndirectBufferForDispatchIndirect()
473 wgpu::Buffer buffer = CreateBuffer(kBufferSize, kBufferUsage); in TEST_P()
[all …]
DDeviceLostTests.cpp243 ASSERT_DEVICE_ERROR(device.CreateBuffer(&bufferDescriptor)); in TEST_P()
251 wgpu::Buffer buffer = device.CreateBuffer(&bufferDescriptor); in TEST_P()
264 wgpu::Buffer buffer = device.CreateBuffer(&bufferDescriptor); in TEST_P()
277 wgpu::Buffer buffer = device.CreateBuffer(&bufferDescriptor); in TEST_P()
291 ASSERT_DEVICE_ERROR(device.CreateBuffer(&bufferDescriptor)); in TEST_P()
300 wgpu::Buffer buffer = device.CreateBuffer(&bufferDescriptor); in TEST_P()
314 wgpu::Buffer buffer = device.CreateBuffer(&bufferDescriptor); in TEST_P()
327 wgpu::Buffer buffer = device.CreateBuffer(&bufferDescriptor); in TEST_P()
342 ASSERT_DEVICE_ERROR(wgpu::Buffer buffer = device.CreateBuffer(&desc)); in TEST_P()
353 wgpu::Buffer buffer = device.CreateBuffer(&desc); in TEST_P()
[all …]
DNonzeroBufferCreationTests.cpp47 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_P()
63 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_P()
92 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_P()
108 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_P()
121 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_P()
DBufferTests.cpp44 return device.CreateBuffer(&descriptor); in CreateMapReadBuffer()
51 return device.CreateBuffer(&descriptor); in CreateMapWriteBuffer()
377 buffers[i] = device.CreateBuffer(&descriptor); in TEST_P()
566 return device.CreateBuffer(&descriptor); in BufferMappedAtCreation()
724 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_P()
738 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_P()
755 ASSERT_DEVICE_ERROR(buffer = device.CreateBuffer(&descriptor)); in TEST_P()
766 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_P()
779 wgpu::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_P()
801 device.CreateBuffer(&desc); in TEST_P()
[all …]
DGpuMemorySynchronizationTests.cpp24 wgpu::Buffer CreateBuffer() { in CreateBuffer() function in GpuMemorySyncTests
29 wgpu::Buffer buffer = device.CreateBuffer(&srcDesc); in CreateBuffer()
96 wgpu::Buffer buffer = CreateBuffer(); in TEST_P()
127 wgpu::Buffer buffer = CreateBuffer(); in TEST_P()
156 wgpu::Buffer buffer = CreateBuffer(); in TEST_P()
194 wgpu::Buffer buffer = CreateBuffer(); in TEST_P()
237 void CreateBuffer() { in CreateBuffer() function in StorageToUniformSyncTests
241 mBuffer = device.CreateBuffer(&bufferDesc); in CreateBuffer()
301 CreateBuffer(); in TEST_P()
337 CreateBuffer(); in TEST_P()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireMemoryTransferServiceTests.cpp106 std::pair<WGPUBuffer, WGPUBuffer> CreateBuffer(WGPUBufferUsage usage = WGPUBufferUsage_None) { in CreateBuffer() function in WireMemoryTransferServiceTests
336 std::tie(apiBuffer, buffer) = CreateBuffer(WGPUBufferUsage_MapRead); in TEST_F()
388 std::tie(apiBuffer, buffer) = CreateBuffer(WGPUBufferUsage_MapRead); in TEST_F()
417 std::tie(apiBuffer, buffer) = CreateBuffer(WGPUBufferUsage_MapRead); in TEST_F()
466 std::tie(apiBuffer, buffer) = CreateBuffer(WGPUBufferUsage_MapRead); in TEST_F()
490 std::tie(apiBuffer, buffer) = CreateBuffer(WGPUBufferUsage_MapRead); in TEST_F()
536 std::tie(apiBuffer, buffer) = CreateBuffer(WGPUBufferUsage_MapRead); in TEST_F()
590 std::tie(apiBuffer, buffer) = CreateBuffer(WGPUBufferUsage_MapWrite); in TEST_F()
644 std::tie(apiBuffer, buffer) = CreateBuffer(WGPUBufferUsage_MapWrite); in TEST_F()
669 std::tie(apiBuffer, buffer) = CreateBuffer(WGPUBufferUsage_MapWrite); in TEST_F()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireMemoryTransferServiceTests.cpp157 std::pair<DawnBuffer, DawnBuffer> CreateBuffer() { in CreateBuffer() function in WireMemoryTransferServiceTests
414 std::tie(apiBuffer, buffer) = CreateBuffer(); in TEST_F()
462 std::tie(apiBuffer, buffer) = CreateBuffer(); in TEST_F()
505 std::tie(apiBuffer, buffer) = CreateBuffer(); in TEST_F()
524 std::tie(apiBuffer, buffer) = CreateBuffer(); in TEST_F()
551 std::tie(apiBuffer, buffer) = CreateBuffer(); in TEST_F()
596 std::tie(apiBuffer, buffer) = CreateBuffer(); in TEST_F()
650 std::tie(apiBuffer, buffer) = CreateBuffer(); in TEST_F()
694 std::tie(apiBuffer, buffer) = CreateBuffer(); in TEST_F()
713 std::tie(apiBuffer, buffer) = CreateBuffer(); in TEST_F()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DBasicTests.cpp28 dawn::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_P()
42 dawn::Buffer buffer = device.CreateBuffer(&descriptor); in TEST_P()

1234567