Home
last modified time | relevance | path

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

123

/third_party/flutter/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()
DStagingBuffer.h22 class StagingBufferBase {
24 StagingBufferBase(size_t size);
25 virtual ~StagingBufferBase() = default;
DDynamicUploader.h34 ResultOrError<std::unique_ptr<StagingBufferBase>> CreateStagingBuffer(size_t size);
35 void ReleaseStagingBuffer(std::unique_ptr<StagingBufferBase> stagingBuffer);
51 SerialQueue<std::unique_ptr<StagingBufferBase>> mReleasedStagingBuffers;
DRingBuffer.h29 StagingBufferBase* stagingBuffer = nullptr;
47 StagingBufferBase* GetStagingBuffer() const;
53 std::unique_ptr<StagingBufferBase> mStagingBuffer;
DDynamicUploader.cpp24 ResultOrError<std::unique_ptr<StagingBufferBase>> DynamicUploader::CreateStagingBuffer( in CreateStagingBuffer()
26 std::unique_ptr<StagingBufferBase> stagingBuffer; in CreateStagingBuffer()
32 void DynamicUploader::ReleaseStagingBuffer(std::unique_ptr<StagingBufferBase> stagingBuffer) { in ReleaseStagingBuffer()
DDevice.h37 class StagingBufferBase; variable
142 virtual ResultOrError<std::unique_ptr<StagingBufferBase>> CreateStagingBuffer(
144 virtual MaybeError CopyFromStagingToBuffer(StagingBufferBase* source,
/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()
/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/flutter/skia/third_party/externals/dawn/src/dawn_native/null/
DDeviceNull.cpp64 StagingBufferBase* staging;
144 ResultOrError<std::unique_ptr<StagingBufferBase>> Device::CreateStagingBuffer(size_t size) { in CreateStagingBuffer()
145 std::unique_ptr<StagingBufferBase> stagingBuffer = in CreateStagingBuffer()
150 MaybeError Device::CopyFromStagingToBuffer(StagingBufferBase* source, in CopyFromStagingToBuffer()
252 void Buffer::CopyFromStaging(StagingBufferBase* staging, in CopyFromStaging()
361 : StagingBufferBase(size), mDevice(device) { in StagingBuffer()
DDeviceNull.h99 ResultOrError<std::unique_ptr<StagingBufferBase>> CreateStagingBuffer(size_t size) override;
100 MaybeError CopyFromStagingToBuffer(StagingBufferBase* source,
146 void CopyFromStaging(StagingBufferBase* staging,
207 class StagingBuffer : public StagingBufferBase {
/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,
/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,
/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,
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DDeviceGL.h55 ResultOrError<std::unique_ptr<StagingBufferBase>> CreateStagingBuffer(size_t size) override;
56 MaybeError CopyFromStagingToBuffer(StagingBufferBase* source,
DDeviceGL.cpp150 ResultOrError<std::unique_ptr<StagingBufferBase>> Device::CreateStagingBuffer(size_t size) { in CreateStagingBuffer()
154 MaybeError Device::CopyFromStagingToBuffer(StagingBufferBase* source, in CopyFromStagingToBuffer()
/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,
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DDeviceMTL.h60 ResultOrError<std::unique_ptr<StagingBufferBase>> CreateStagingBuffer(size_t size) override;
61 MaybeError CopyFromStagingToBuffer(StagingBufferBase* source,
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DDeviceD3D12.h77 ResultOrError<std::unique_ptr<StagingBufferBase>> CreateStagingBuffer(size_t size) override;
78 MaybeError CopyFromStagingToBuffer(StagingBufferBase* source,
DDeviceD3D12.cpp304 ResultOrError<std::unique_ptr<StagingBufferBase>> Device::CreateStagingBuffer(size_t size) { in CreateStagingBuffer()
305 std::unique_ptr<StagingBufferBase> stagingBuffer = in CreateStagingBuffer()
310 MaybeError Device::CopyFromStagingToBuffer(StagingBufferBase* source, in CopyFromStagingToBuffer()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DDeviceVk.h74 ResultOrError<std::unique_ptr<StagingBufferBase>> CreateStagingBuffer(size_t size) override;
75 MaybeError CopyFromStagingToBuffer(StagingBufferBase* source,

123