Home
last modified time | relevance | path

Searched refs:mappedBuffer (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DDynamicUploader.cpp39 uploadHandle.mappedBuffer = static_cast<uint8_t*>(stagingBuffer->GetMappedPointer()); in AllocateInternal()
91 uploadHandle.mappedBuffer = in AllocateInternal()
124 uploadHandle.mappedBuffer = in Allocate()
125 static_cast<uint8_t*>(uploadHandle.mappedBuffer) + additionalOffset; in Allocate()
DQueue.cpp112 ASSERT(uploadHandle.mappedBuffer != nullptr); in UploadTextureDataAligningBytesPerRowAndOffset()
114 uint8_t* dstPointer = static_cast<uint8_t*>(uploadHandle.mappedBuffer); in UploadTextureDataAligningBytesPerRowAndOffset()
285 ASSERT(uploadHandle.mappedBuffer != nullptr); in WriteBufferImpl()
287 memcpy(uploadHandle.mappedBuffer, data, size); in WriteBufferImpl()
DDynamicUploader.h28 uint8_t* mappedBuffer = nullptr; member
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DAtomicCounterBufferTest.cpp380 void *mappedBuffer = in TEST_P() local
382 memcpy(bufferData, mappedBuffer, sizeof(bufferData)); in TEST_P()
435 GLuint *mappedBuffer = static_cast<GLuint *>( in TEST_P() local
437 EXPECT_EQ(ii + 1, mappedBuffer[0]); in TEST_P()
574 void *mappedBuffer = in TEST_P() local
576 memcpy(result, mappedBuffer, sizeof(bufferData)); in TEST_P()
DTransformFeedbackTest.cpp151 void *mappedBuffer = in TEST_P() local
153 ASSERT_NE(nullptr, mappedBuffer); in TEST_P()
160 float *mappedFloats = static_cast<float *>(mappedBuffer); in TEST_P()
959 void *mappedBuffer = in TEST_P() local
961 ASSERT_NE(nullptr, mappedBuffer); in TEST_P()
963 float *mappedFloats = static_cast<float *>(mappedBuffer); in TEST_P()
1032 void *mappedBuffer = in TEST_P() local
1034 ASSERT_NE(nullptr, mappedBuffer); in TEST_P()
1036 float *mappedFloats = static_cast<float *>(mappedBuffer); in TEST_P()
2076 void *mappedBuffer = in TEST_P() local
[all …]
DComputeShaderTest.cpp423 void *mappedBuffer = in TEST_P() local
425 memcpy(bufferData, mappedBuffer, sizeof(bufferData)); in TEST_P()
453 mappedBuffer = in TEST_P()
455 memcpy(bufferData, mappedBuffer, sizeof(bufferData)); in TEST_P()
495 void *mappedBuffer = in TEST_P() local
497 memcpy(bufferData, mappedBuffer, sizeof(bufferData)); in TEST_P()
525 mappedBuffer = in TEST_P()
528 memcpy(mappedBuffer, expectedBufferData, sizeof(expectedBufferData)); in TEST_P()
535 mappedBuffer = in TEST_P()
537 memcpy(bufferData, mappedBuffer, sizeof(bufferData)); in TEST_P()
[all …]
DProgramPipelineTest.cpp857 void *mappedBuffer = in TEST_P() local
859 ASSERT_NE(nullptr, mappedBuffer); in TEST_P()
861 float *mappedFloats = static_cast<float *>(mappedBuffer); in TEST_P()
DProgramBinaryTest.cpp1100 void *mappedBuffer = in TEST_P() local
1102 memcpy(bufferData, mappedBuffer, sizeof(bufferData)); in TEST_P()
DBufferDataTest.cpp960 void *mappedBuffer = glMapBufferRange(GL_UNIFORM_BUFFER, 0, sizeof(kInitialData), in TEST_P() local
963 memcpy(mappedBuffer, kUpdateData1.data(), sizeof(kInitialData)); in TEST_P()
DVulkanPerformanceCounterTest.cpp3114 void *mappedBuffer = in TEST_P() local
3120 memcpy(mappedBuffer, kUpdateData1.data(), sizeof(kInitialData)); in TEST_P()
DTextureTest.cpp10043 void *mappedBuffer = glMapBufferRange(GL_TEXTURE_BUFFER, 0, sizeof(kInitialData), in TEST_P() local
10045 memcpy(mappedBuffer, kUpdateData.data(), sizeof(kInitialData)); in TEST_P()
/third_party/skia/tools/gpu/vk/
DVkYcbcrSamplerHelper.cpp123 void* mappedBuffer; in createBackendTexture() local
125 requirements.size, 0u, &mappedBuffer)); in createBackendTexture()
139 uint8_t* bufferData = reinterpret_cast<uint8_t*>(mappedBuffer) + yLayout.offset; in createBackendTexture()
151 bufferData = reinterpret_cast<uint8_t*>(mappedBuffer) + uvLayout.offset; in createBackendTexture()
/third_party/skia/src/gpu/
DSurfaceContext.h201 using ConversionFn = void(void* dst, const void* mappedBuffer);
DSurfaceContext.cpp663 void addMappedPlane(const void* data, size_t rowBytes, sk_sp<GrGpuBuffer> mappedBuffer) { in addMappedPlane() argument
666 SkASSERT(mappedBuffer); in addMappedPlane()
667 SkASSERT(mappedBuffer->isMapped()); in addMappedPlane()
668 fPlanes.emplace_back(std::move(mappedBuffer), rowBytes); in addMappedPlane()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DBuffer11.cpp580 uint8_t *mappedBuffer = nullptr; in mapRange() local
581 ANGLE_TRY(mMappedStorage->map(context, offset, length, access, &mappedBuffer)); in mapRange()
582 ASSERT(mappedBuffer); in mapRange()
584 *mapPtr = static_cast<void *>(mappedBuffer); in mapRange()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBufferD3D12.cpp485 memset(uploadHandle.mappedBuffer, clearValue, size); in ClearBuffer()
DDeviceD3D12.cpp286 memset(uploadHandle.mappedBuffer, 0u, kZeroBufferSize); in ClearBufferToZero()
DCommandBufferD3D12.cpp1041 ASSERT(uploadHandle.mappedBuffer != nullptr); in RecordCommands()
1042 memcpy(uploadHandle.mappedBuffer, data, size); in RecordCommands()
DTextureD3D12.cpp1103 memset(uploadHandle.mappedBuffer, clearColor, bufferSize); in ClearTexture()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DCommandBufferVk.cpp867 ASSERT(uploadHandle.mappedBuffer != nullptr); in RecordCommands()
868 memcpy(uploadHandle.mappedBuffer, data, size); in RecordCommands()
DTextureVk.cpp1163 memset(uploadHandle.mappedBuffer, uClearColor, bufferSize); in ClearTexture()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DCommandBufferMTL.mm1025 ASSERT(uploadHandle.mappedBuffer != nullptr);
1026 memcpy(uploadHandle.mappedBuffer, data, size);
DTextureMTL.mm667 memset(uploadHandle.mappedBuffer, clearColor, bufferSize);