Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DStagingBuffer.cpp19 StagingBufferBase::StagingBufferBase(size_t size) : mBufferSize(size) { in StagingBufferBase() function in dawn_native::StagingBufferBase
22 size_t StagingBufferBase::GetSize() const { in GetSize()
26 void* StagingBufferBase::GetMappedPointer() const { in GetMappedPointer()
DDynamicUploader.h30 StagingBufferBase* stagingBuffer = nullptr;
42 void ReleaseStagingBuffer(std::unique_ptr<StagingBufferBase> stagingBuffer);
53 std::unique_ptr<StagingBufferBase> mStagingBuffer;
61 SerialQueue<ExecutionSerial, std::unique_ptr<StagingBufferBase>> mReleasedStagingBuffers;
DStagingBuffer.h22 class StagingBufferBase {
24 StagingBufferBase(size_t size);
25 virtual ~StagingBufferBase() = default;
DDynamicUploader.cpp26 void DynamicUploader::ReleaseStagingBuffer(std::unique_ptr<StagingBufferBase> stagingBuffer) { in ReleaseStagingBuffer()
35 std::unique_ptr<StagingBufferBase> stagingBuffer; in AllocateInternal()
81 std::unique_ptr<StagingBufferBase> stagingBuffer; in AllocateInternal()
DDevice.h52 class StagingBufferBase; variable
274 virtual ResultOrError<std::unique_ptr<StagingBufferBase>> CreateStagingBuffer(
276 virtual MaybeError CopyFromStagingToBuffer(StagingBufferBase* source,
281 virtual MaybeError CopyFromStagingToTexture(const StagingBufferBase* source,
DForward.h49 class StagingBufferBase; variable
DBuffer.h123 std::unique_ptr<StagingBufferBase> mStagingBuffer;
DToBackend.h97 struct ToBackendTraits<StagingBufferBase, BackendTraits> {
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/mocks/
DDeviceMock.h36 MOCK_METHOD(ResultOrError<std::unique_ptr<StagingBufferBase>>,
42 (StagingBufferBase*, uint64_t, BufferBase*, uint64_t, uint64_t),
47 (const StagingBufferBase*, const TextureDataLayout&, TextureCopy*, const Extent3D&),
/third_party/skia/third_party/externals/dawn/src/dawn_native/null/
DDeviceNull.cpp88 StagingBufferBase* staging;
176 ResultOrError<std::unique_ptr<StagingBufferBase>> Device::CreateStagingBuffer(size_t size) { in CreateStagingBuffer()
177 std::unique_ptr<StagingBufferBase> stagingBuffer = in CreateStagingBuffer()
197 MaybeError Device::CopyFromStagingToBuffer(StagingBufferBase* source, in CopyFromStagingToBuffer()
218 MaybeError Device::CopyFromStagingToTexture(const StagingBufferBase* source, in CopyFromStagingToTexture()
308 void Buffer::CopyFromStaging(StagingBufferBase* staging, in CopyFromStaging()
487 : StagingBufferBase(size), mDevice(device) { in StagingBuffer()
DDeviceNull.h104 ResultOrError<std::unique_ptr<StagingBufferBase>> CreateStagingBuffer(size_t size) override;
105 MaybeError CopyFromStagingToBuffer(StagingBufferBase* source,
110 MaybeError CopyFromStagingToTexture(const StagingBufferBase* source,
223 void CopyFromStaging(StagingBufferBase* staging,
327 class StagingBuffer : public StagingBufferBase {
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DDeviceGL.h65 ResultOrError<std::unique_ptr<StagingBufferBase>> CreateStagingBuffer(size_t size) override;
66 MaybeError CopyFromStagingToBuffer(StagingBufferBase* source,
72 MaybeError CopyFromStagingToTexture(const StagingBufferBase* source,
DDeviceGL.cpp273 ResultOrError<std::unique_ptr<StagingBufferBase>> Device::CreateStagingBuffer(size_t size) { in CreateStagingBuffer()
277 MaybeError Device::CopyFromStagingToBuffer(StagingBufferBase* source, in CopyFromStagingToBuffer()
285 MaybeError Device::CopyFromStagingToTexture(const StagingBufferBase* source, in CopyFromStagingToTexture()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DDeviceD3D12.h89 ResultOrError<std::unique_ptr<StagingBufferBase>> CreateStagingBuffer(size_t size) override;
90 MaybeError CopyFromStagingToBuffer(StagingBufferBase* source,
97 StagingBufferBase* source,
103 MaybeError CopyFromStagingToTexture(const StagingBufferBase* source,
DDeviceD3D12.cpp451 ResultOrError<std::unique_ptr<StagingBufferBase>> Device::CreateStagingBuffer(size_t size) { in CreateStagingBuffer()
452 std::unique_ptr<StagingBufferBase> stagingBuffer = in CreateStagingBuffer()
458 MaybeError Device::CopyFromStagingToBuffer(StagingBufferBase* source, in CopyFromStagingToBuffer()
480 StagingBufferBase* source, in CopyFromStagingToBufferImpl()
495 MaybeError Device::CopyFromStagingToTexture(const StagingBufferBase* source, in CopyFromStagingToTexture()
DStagingBufferD3D12.h26 class StagingBuffer : public StagingBufferBase {
DStagingBufferD3D12.cpp25 : StagingBufferBase(size), mDevice(device) { in StagingBuffer()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DDeviceMTL.h61 ResultOrError<std::unique_ptr<StagingBufferBase>> CreateStagingBuffer(size_t size) override;
62 MaybeError CopyFromStagingToBuffer(StagingBufferBase* source,
67 MaybeError CopyFromStagingToTexture(const StagingBufferBase* source,
DStagingBufferMTL.h28 class StagingBuffer : public StagingBufferBase {
DStagingBufferMTL.mm21 : StagingBufferBase(size), mDevice(device) {
DDeviceMTL.mm385 ResultOrError<std::unique_ptr<StagingBufferBase>> Device::CreateStagingBuffer(size_t size) {
386 std::unique_ptr<StagingBufferBase> stagingBuffer =
392 MaybeError Device::CopyFromStagingToBuffer(StagingBufferBase* source,
418 MaybeError Device::CopyFromStagingToTexture(const StagingBufferBase* source,
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DDeviceVk.h88 ResultOrError<std::unique_ptr<StagingBufferBase>> CreateStagingBuffer(size_t size) override;
89 MaybeError CopyFromStagingToBuffer(StagingBufferBase* source,
94 MaybeError CopyFromStagingToTexture(const StagingBufferBase* source,
DStagingBufferVk.h26 class StagingBuffer : public StagingBufferBase {
DStagingBufferVk.cpp26 : StagingBufferBase(size), mDevice(device) { in StagingBuffer()
DDeviceVk.cpp637 ResultOrError<std::unique_ptr<StagingBufferBase>> Device::CreateStagingBuffer(size_t size) { in CreateStagingBuffer()
638 std::unique_ptr<StagingBufferBase> stagingBuffer = in CreateStagingBuffer()
644 MaybeError Device::CopyFromStagingToBuffer(StagingBufferBase* source, in CopyFromStagingToBuffer()
678 MaybeError Device::CopyFromStagingToTexture(const StagingBufferBase* source, in CopyFromStagingToTexture()