Home
last modified time | relevance | path

Searched refs:ScratchBuffer (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/common/
DMemoryBuffer.cpp92 ScratchBuffer::ScratchBuffer() : ScratchBuffer(kDefaultScratchBufferLifetime) {} in ScratchBuffer() function in angle::ScratchBuffer
94 ScratchBuffer::ScratchBuffer(uint32_t lifetime) : mLifetime(lifetime), mResetCounter(lifetime) {} in ScratchBuffer() function in angle::ScratchBuffer
96 ScratchBuffer::~ScratchBuffer() {} in ~ScratchBuffer()
98 ScratchBuffer::ScratchBuffer(ScratchBuffer &&other) in ScratchBuffer() function in angle::ScratchBuffer
103 ScratchBuffer &ScratchBuffer::operator=(ScratchBuffer &&other) in operator =()
111 bool ScratchBuffer::get(size_t requestedSize, MemoryBuffer **memoryBufferOut) in get()
116 bool ScratchBuffer::getInitialized(size_t requestedSize, in getInitialized()
123 bool ScratchBuffer::getImpl(size_t requestedSize, in getImpl()
158 void ScratchBuffer::tick() in tick()
170 void ScratchBuffer::clear() in clear()
DMemoryBuffer.h59 class ScratchBuffer final : NonCopyable
65 ScratchBuffer();
66 ScratchBuffer(uint32_t lifetime);
67 ~ScratchBuffer();
69 ScratchBuffer(ScratchBuffer &&other);
70 ScratchBuffer &operator=(ScratchBuffer &&other);
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DScratchBuffer.cpp21 ScratchBuffer::ScratchBuffer(DeviceBase* device, wgpu::BufferUsage usage) in ScratchBuffer() function in dawn_native::ScratchBuffer
25 ScratchBuffer::~ScratchBuffer() = default;
27 void ScratchBuffer::Reset() { in Reset()
31 MaybeError ScratchBuffer::EnsureCapacity(uint64_t capacity) { in EnsureCapacity()
42 BufferBase* ScratchBuffer::GetBuffer() const { in GetBuffer()
DScratchBuffer.h30 class ScratchBuffer {
34 ScratchBuffer(DeviceBase* device, wgpu::BufferUsage usage);
35 ~ScratchBuffer();
DInternalPipelineStore.h47 ScratchBuffer scratchStorage;
51 ScratchBuffer scratchIndirectStorage;
DIndirectDrawValidationEncoder.cpp285 ScratchBuffer& validatedParamsBuffer = store->scratchIndirectStorage; in EncodeIndirectDrawValidationCommands()
286 ScratchBuffer& batchDataBuffer = store->scratchStorage; in EncodeIndirectDrawValidationCommands()
DCMakeLists.txt156 "ScratchBuffer.cpp"
157 "ScratchBuffer.h"
DComputePassEncoder.cpp264 ScratchBuffer& scratchBuffer = store->scratchIndirectStorage; in TransformIndirectDispatchBuffer()
DBUILD.gn311 "ScratchBuffer.cpp",
312 "ScratchBuffer.h",
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DDisplay.h297 angle::ScratchBuffer requestScratchBuffer();
298 void returnScratchBuffer(angle::ScratchBuffer scratchBuffer);
300 angle::ScratchBuffer requestZeroFilledBuffer();
301 void returnZeroFilledBuffer(angle::ScratchBuffer zeroFilledBuffer);
329 angle::ScratchBuffer requestScratchBufferImpl(std::vector<angle::ScratchBuffer> *bufferVector);
330 void returnScratchBufferImpl(angle::ScratchBuffer scratchBuffer,
331 std::vector<angle::ScratchBuffer> *bufferVector);
380 std::vector<angle::ScratchBuffer> mScratchBuffers;
381 std::vector<angle::ScratchBuffer> mZeroFilledBuffers;
DDisplay.cpp1465 for (angle::ScratchBuffer &scatchBuffer : mScratchBuffers) in makeCurrent()
1469 for (angle::ScratchBuffer &zeroFilledBuffer : mZeroFilledBuffers) in makeCurrent()
2216 angle::ScratchBuffer Display::requestScratchBuffer() in requestScratchBuffer()
2221 void Display::returnScratchBuffer(angle::ScratchBuffer scratchBuffer) in returnScratchBuffer()
2226 angle::ScratchBuffer Display::requestZeroFilledBuffer() in requestZeroFilledBuffer()
2231 void Display::returnZeroFilledBuffer(angle::ScratchBuffer zeroFilledBuffer) in returnZeroFilledBuffer()
2236 angle::ScratchBuffer Display::requestScratchBufferImpl( in requestScratchBufferImpl()
2237 std::vector<angle::ScratchBuffer> *bufferVector) in requestScratchBufferImpl()
2242 angle::ScratchBuffer buffer = std::move(bufferVector->back()); in requestScratchBufferImpl()
2247 return angle::ScratchBuffer(kScratchBufferLifetime); in requestScratchBufferImpl()
[all …]
DBlobCache.h110 ANGLE_NO_DISCARD bool get(angle::ScratchBuffer *scratchBuffer,
DContext.h489 angle::ScratchBuffer *getScratchBuffer() const;
788 mutable Optional<angle::ScratchBuffer> mScratchBuffer;
789 mutable Optional<angle::ScratchBuffer> mZeroFilledBuffer;
DBlobCache.cpp141 bool BlobCache::get(angle::ScratchBuffer *scratchBuffer, in get()
DContext.cpp6357 angle::ScratchBuffer *Context::getScratchBuffer() const in getScratchBuffer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DSimpleTypeSerializer.cpp19 SimpleTypeSerializer::SimpleTypeSerializer() : ScratchBuffer(MaxRecordLength) {} in SimpleTypeSerializer()
25 BinaryStreamWriter Writer(ScratchBuffer, support::little); in serialize()
32 RecordPrefix *Prefix = reinterpret_cast<RecordPrefix *>(ScratchBuffer.data()); in serialize()
45 return {ScratchBuffer.data(), Writer.getOffset()}; in serialize()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DDisplayVk.h132 angle::ScratchBuffer *getScratchBuffer() const { return &mScratchBuffer; } in getScratchBuffer()
156 mutable angle::ScratchBuffer mScratchBuffer;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DSimpleTypeSerializer.h34 std::vector<uint8_t> ScratchBuffer; variable
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
Dframe_capture_utils.cpp243 ScratchBuffer *scratchBuffer, in ReadPixelsFromAttachment()
273 ScratchBuffer *scratchBuffer, in SerializeFramebufferAttachment()
332 ScratchBuffer *scratchBuffer, in SerializeFramebufferState()
395 ScratchBuffer *scratchBuffer, in SerializeFramebuffer()
688 ScratchBuffer *scratchBuffer, in SerializeBuffer()
776 ScratchBuffer *scratchBuffer, in SerializeRenderbuffer()
1181 ScratchBuffer *scratchBuffer) in SerializeTextureData()
1250 ScratchBuffer *scratchBuffer, in SerializeTexture()
1339 ScratchBuffer scratchBuffer(1); in SerializeContextToString()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderer11.h608 angle::ScratchBuffer mScratchMemoryBuffer;