Home
last modified time | relevance | path

Searched refs:fTotalSize (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/src/gpu/
DGrRingBuffer.cpp25 size_t modHead = head & (fTotalSize - 1); in getAllocationOffset()
26 size_t modTail = tail & (fTotalSize - 1); in getAllocationOffset()
31 return fTotalSize; in getAllocationOffset()
37 if (fTotalSize - modHead < size) { in getAllocationOffset()
41 return fTotalSize; in getAllocationOffset()
44 head += fTotalSize - modHead; in getAllocationOffset()
50 return fTotalSize; in getAllocationOffset()
61 if (offset < fTotalSize) { in suballocate()
66 fTotalSize *= 2; in suballocate()
72 fCurrentBuffer = resourceProvider->createBuffer(fTotalSize, fType, kDynamic_GrAccessPattern); in suballocate()
[all …]
DGrRingBuffer.h27 , fTotalSize(size) in GrRingBuffer()
48 size_t size() const { return fTotalSize; } in size()
62 size_t fTotalSize; variable
/third_party/skia/tests/
DFakeStreams.h49 : fTotalSize(data->size()) in HaltingStream()
55 fLimit = std::min(fTotalSize, fLimit + extra); in addNewData()
79 bool isAllDataReceived() const { return fLimit == fTotalSize; } in isAllDataReceived()
82 const size_t fTotalSize;
/third_party/flutter/skia/tests/
DFakeStreams.h49 : fTotalSize(data->size()) in HaltingStream()
55 fLimit = SkTMin(fTotalSize, fLimit + extra); in addNewData()
79 bool isAllDataReceived() const { return fLimit == fTotalSize; } in isAllDataReceived()
82 const size_t fTotalSize;
/third_party/flutter/skia/src/gpu/mtl/
DGrMtlResourceProvider.h95 fTotalSize = 0; in ~BufferSuballocator()
100 size_t size() { return fTotalSize; } in size()
104 size_t fTotalSize; variable
DGrMtlResourceProvider.mm195 , fTotalSize(size) function
214 size_t modHead = head & (fTotalSize - 1);
215 size_t modTail = tail & (fTotalSize - 1);
221 if (full || size > fTotalSize/2) {
228 if (fTotalSize - modHead < size) {
235 head += fTotalSize - modHead;