Home
last modified time | relevance | path

Searched refs:mStagingBuffer (Results 1 – 8 of 8) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBuffer.cpp186 if (mStagingBuffer != nullptr) { in DestroyImpl()
187 mStagingBuffer.reset(); in DestroyImpl()
228 } else if (mStagingBuffer) { in MapAtCreation()
231 ptr = mStagingBuffer->GetMappedPointer(); in MapAtCreation()
232 size = mStagingBuffer->GetSize(); in MapAtCreation()
271 DAWN_TRY_ASSIGN(mStagingBuffer, in MapAtCreationInternal()
368 if (mStagingBuffer != nullptr) { in GetMappedRange()
369 return static_cast<uint8_t*>(mStagingBuffer->GetMappedPointer()) + offset; in GetMappedRange()
383 ASSERT(mStagingBuffer); in CopyFromStagingBuffer()
386 ASSERT(mStagingBuffer == nullptr); in CopyFromStagingBuffer()
[all …]
DDynamicUploader.cpp80 if (targetRingBuffer->mStagingBuffer == nullptr) { in AllocateInternal()
84 targetRingBuffer->mStagingBuffer = std::move(stagingBuffer); in AllocateInternal()
87 ASSERT(targetRingBuffer->mStagingBuffer != nullptr); in AllocateInternal()
90 uploadHandle.stagingBuffer = targetRingBuffer->mStagingBuffer.get(); in AllocateInternal()
DDynamicUploader.h53 std::unique_ptr<StagingBufferBase> mStagingBuffer; member
DBuffer.h123 std::unique_ptr<StagingBufferBase> mStagingBuffer; variable
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp3993 mStagingBuffer(std::move(other.mStagingBuffer)), in ImageHelper()
4116 mStagingBuffer.init(renderer, usageFlags, imageCopyBufferAlignment, initialSize, true, in initStagingBuffer()
4405 mStagingBuffer.release(renderer); in releaseStagingBuffer()
4768 mStagingBuffer.destroy(renderer); in destroy()
5815 DynamicBuffer *stagingBuffer = stagingBufferOverride ? stagingBufferOverride : &mStagingBuffer; in stageSubresourceUpdateImpl()
5816 size_t alignment = mStagingBuffer.getAlignment(); in stageSubresourceUpdateImpl()
5982 ANGLE_TRY(mStagingBuffer.allocate(contextVk, dstBufferSize, &dstData, in reformatStagedBufferUpdates()
5984 BufferHelper *dstBuffer = mStagingBuffer.getCurrentBuffer(); in reformatStagedBufferUpdates()
6189 DynamicBuffer *stagingBuffer = stagingBufferOverride ? stagingBufferOverride : &mStagingBuffer; in stageSubresourceUpdateAndGetData()
6190 size_t alignment = mStagingBuffer.getAlignment(); in stageSubresourceUpdateAndGetData()
[all …]
DContextVk.h663 vk::DynamicBuffer *getStagingBuffer() { return &mStagingBuffer; } in getStagingBuffer()
1222 vk::DynamicBuffer mStagingBuffer; variable
DContextVk.cpp737 mStagingBuffer.release(mRenderer); in onDestroy()
928 mStagingBuffer.init(mRenderer, kStagingBufferUsageFlags, stagingBufferAlignment, in initialize()
5598 mStagingBuffer.releaseInFlightBuffersToResourceUseList(this); in flushAndGetSerial()
Dvk_helpers.h2288 DynamicBuffer mStagingBuffer; variable