Home
last modified time | relevance | path

Searched refs:mappedAtCreation (Results 1 – 25 of 28) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/dawn_wire/server/
DServerBuffer.cpp28 if (buffer->mappedAtCreation && !(buffer->usage & WGPUMapMode_Write)) { in PreHandleBufferUnmap()
123 resultData->mappedAtCreation = descriptor->mappedAtCreation; in DoDeviceCreateBuffer()
131 bool isWriteMode = descriptor->usage & WGPUMapMode_Write || descriptor->mappedAtCreation; in DoDeviceCreateBuffer()
154 if (descriptor->mappedAtCreation) { in DoDeviceCreateBuffer()
DObjectStorage.h67 bool mappedAtCreation = false;
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DBufferMTL.mm32 DAWN_TRY(buffer->Initialize(descriptor->mappedAtCreation));
62 MaybeError Buffer::Initialize(bool mappedAtCreation) {
118 // The buffers with mappedAtCreation == true will be initialized in
121 !mappedAtCreation) {
129 !mappedAtCreation) {
DBufferMTL.h46 MaybeError Initialize(bool mappedAtCreation);
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DBufferVk.cpp136 DAWN_TRY(buffer->Initialize(descriptor->mappedAtCreation)); in Create()
140 MaybeError Buffer::Initialize(bool mappedAtCreation) { in Initialize() argument
218 !mappedAtCreation) { in Initialize()
223 if (device->IsToggleEnabled(Toggle::LazyClearResourceOnFirstUse) && !mappedAtCreation) { in Initialize()
DBufferVk.h60 MaybeError Initialize(bool mappedAtCreation);
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBufferD3D12.cpp101 DAWN_TRY(buffer->Initialize(descriptor->mappedAtCreation)); in Create()
109 MaybeError Buffer::Initialize(bool mappedAtCreation) { in Initialize() argument
162 !mappedAtCreation) { in Initialize()
172 !mappedAtCreation) { in Initialize()
DBufferD3D12.h60 MaybeError Initialize(bool mappedAtCreation);
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DBufferTests.cpp565 descriptor.mappedAtCreation = true; in BufferMappedAtCreation()
723 descriptor.mappedAtCreation = true; in TEST_P()
737 descriptor.mappedAtCreation = true; in TEST_P()
753 descriptor.mappedAtCreation = true; in TEST_P()
765 descriptor.mappedAtCreation = true; in TEST_P()
778 descriptor.mappedAtCreation = true; in TEST_P()
834 descriptor.mappedAtCreation = true; in TEST_P()
853 descriptor.mappedAtCreation = true; in TEST_P()
DDeviceLostTests.cpp276 bufferDescriptor.mappedAtCreation = true; in TEST_P()
288 bufferDescriptor.mappedAtCreation = true; in TEST_P()
341 desc.mappedAtCreation = true; in TEST_P()
352 desc.mappedAtCreation = true; in TEST_P()
DNonzeroBufferCreationTests.cpp83 defaultDescriptor.mappedAtCreation = true; in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DBufferGL.cpp29 if (descriptor->mappedAtCreation) { in CreateInternalBuffer()
47 !descriptor->mappedAtCreation) { in Buffer()
/third_party/skia/third_party/externals/dawn/src/dawn_wire/client/
DBuffer.cpp30 descriptor->mappedAtCreation; in Create()
61 descriptor->mappedAtCreation) { in Create()
84 if (descriptor->mappedAtCreation) { in Create()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireBufferMappingTests.cpp567 descriptor.mappedAtCreation = true; in TEST_F()
589 descriptor.mappedAtCreation = true; in TEST_F()
612 descriptor.mappedAtCreation = true; in TEST_F()
649 descriptor.mappedAtCreation = true; in TEST_F()
693 descriptor.mappedAtCreation = true; in TEST_F()
DWireMemoryTransferServiceTests.cpp125 descriptor.mappedAtCreation = true; in CreateBufferMapped()
216 ClientWriteHandle* ExpectWriteHandleCreation(bool mappedAtCreation) { in ExpectWriteHandleCreation() argument
222 if (mappedAtCreation) { in ExpectWriteHandleCreation()
884 descriptor.mappedAtCreation = true; in TEST_F()
901 descriptor.mappedAtCreation = true; in TEST_F()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBuffer.cpp55 if (descriptor->mappedAtCreation) { in ErrorBuffer()
121 DAWN_INVALID_IF(descriptor->mappedAtCreation && descriptor->size % 4 != 0, in ValidateBufferDescriptor()
166 if (descriptor->mappedAtCreation) { in BufferBase()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DWriteBufferTests.cpp93 desc.mappedAtCreation = true; in TEST_F()
DQueueWriteBufferValidationTests.cpp109 descriptor.mappedAtCreation = true; in TEST_F()
DBufferValidationTests.cpp55 descriptor.mappedAtCreation = true; in BufferMappedAtCreation()
571 mappedBufferDesc.mappedAtCreation = true; in TEST_F()
583 mappedBufferDesc.mappedAtCreation = true; in TEST_F()
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DBufferUploadPerf.cpp128 desc.mappedAtCreation = true; in Step()
/third_party/skia/src/gpu/dawn/
DGrDawnBuffer.cpp47 bufferDesc.mappedAtCreation = true; in GrDawnBuffer()
/third_party/skia/third_party/externals/dawn/src/dawn_native/utils/
DWGPUHelpers.cpp52 descriptor.mappedAtCreation = true; in CreateBufferFromData()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUBuffer.cpp38 if (desc.mappedAtCreation) { in GPUBuffer()
DGPUDevice.cpp157 !conv(desc.mappedAtCreation, descriptor.mappedAtCreation) || in createBuffer()
/third_party/skia/third_party/externals/dawn/docs/
Dtesting.md55 …oading data to the GPU using either `WriteBuffer` or `CreateBuffer` with `mappedAtCreation = true`.

12