Home
last modified time | relevance | path

Searched refs:fBlocks (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/src/gpu/
DGrBufferAllocPool.cpp90 : fBlocks(8) in GrBufferAllocPool()
96 if (fBlocks.count()) { in deleteBlocks()
97 GrBuffer* buffer = fBlocks.back().fBuffer.get(); in deleteBlocks()
99 UNMAP_BUFFER(fBlocks.back()); in deleteBlocks()
102 while (!fBlocks.empty()) { in deleteBlocks()
125 BufferBlock& block = fBlocks.back(); in unmap()
132 this->flushCpuData(fBlocks.back(), flushSize); in unmap()
144 SkASSERT(!fBlocks.empty()); in validate()
145 const GrBuffer* buffer = fBlocks.back().fBuffer.get(); in validate()
149 } else if (!fBlocks.empty()) { in validate()
[all …]
DGrBufferAllocPool.h161 SkTArray<BufferBlock> fBlocks; variable
/third_party/flutter/skia/src/gpu/
DGrAllocator.h43 fBlocks.push_back() = initialBlock; in GrAllocator()
56 fBlocks.push_back() = sk_malloc_throw(fBlockSize); in push_back()
59 void* ret = (char*)fBlocks.back() + fItemSize * fInsertionIndexInBlock; in push_back()
75 if (fBlocks.count() > 1) { in pop_back()
76 sk_free(fBlocks.back()); in pop_back()
77 fBlocks.pop_back(); in pop_back()
88 for (int i = firstBlockToFree; i < fBlocks.count(); ++i) { in reset()
89 sk_free(fBlocks[i]); in reset()
92 fBlocks.reset(); in reset()
96 fBlocks.pop_back_n(fBlocks.count() - 1); in reset()
[all …]
DGrBufferAllocPool.cpp90 : fBlocks(8) in GrBufferAllocPool()
96 if (fBlocks.count()) { in deleteBlocks()
97 GrBuffer* buffer = fBlocks.back().fBuffer.get(); in deleteBlocks()
99 UNMAP_BUFFER(fBlocks.back()); in deleteBlocks()
102 while (!fBlocks.empty()) { in deleteBlocks()
125 BufferBlock& block = fBlocks.back(); in unmap()
132 this->flushCpuData(fBlocks.back(), flushSize); in unmap()
144 SkASSERT(!fBlocks.empty()); in validate()
145 const GrBuffer* buffer = fBlocks.back().fBuffer.get(); in validate()
149 } else if (!fBlocks.empty()) { in validate()
[all …]
DGrBufferAllocPool.h160 SkTArray<BufferBlock> fBlocks; variable
/third_party/flutter/skia/src/sksl/
DSkSLCFGGenerator.cpp32 BlockId result = fBlocks.size(); in newBlock()
33 fBlocks.emplace_back(); in newBlock()
34 if (fBlocks.size() > 1) { in newBlock()
42 BlockId result = fBlocks.size(); in newIsolatedBlock()
43 fBlocks.emplace_back(); in newIsolatedBlock()
48 if (from == 0 || fBlocks[from].fEntrances.size()) { in addExit()
49 fBlocks[from].fExits.insert(to); in addExit()
50 fBlocks[to].fEntrances.insert(from); in addExit()
55 for (size_t i = 0; i < fBlocks.size(); i++) { in dump()
58 for (auto iter = fBlocks[i].fBefore.begin(); iter != fBlocks[i].fBefore.end(); iter++) { in dump()
[all …]
DSkSLCompiler.cpp398 BasicBlock& block = cfg->fBlocks[blockId]; in scanCFG()
411 BasicBlock& exit = cfg->fBlocks[exitId]; in scanCFG()
441 for (const auto& block : cfg.fBlocks) { in compute_start_state()
498 cfg->fBlocks[cfg->fStart].fBefore = compute_start_state(*cfg); in computeDataFlow()
500 for (BlockId i = 0; i < cfg->fBlocks.size(); i++) { in computeDataFlow()
1148 for (size_t i = 0; i < cfg.fBlocks.size(); i++) { in scanCFG()
1149 if (i != cfg.fStart && !cfg.fBlocks[i].fEntrances.size() && in scanCFG()
1150 cfg.fBlocks[i].fNodes.size()) { in scanCFG()
1152 switch (cfg.fBlocks[i].fNodes[0].fKind) { in scanCFG()
1154 offset = (*cfg.fBlocks[i].fNodes[0].statement())->fOffset; in scanCFG()
[all …]
DSkSLCFGGenerator.h123 std::vector<BasicBlock> fBlocks; member
/third_party/flutter/skia/tools/trace/
DChromeTracingTracer.cpp70 fBlocks.push_back(std::move(fCurBlock)); in appendEvent()
287 if (fBlocks.count() > 0) { in flush()
288 clockOffset = reinterpret_cast<TraceEvent*>(fBlocks[0].fBlock.get())->fClockBegin; in flush()
305 for (int i = 0; i < fBlocks.count(); ++i) { in flush()
306 event_block_to_json(&writer, fBlocks[i], &serializationState); in flush()
DChromeTracingTracer.h76 SkTArray<TraceEventBlock> fBlocks; variable
/third_party/skia/tools/trace/
DChromeTracingTracer.cpp70 fBlocks.push_back(std::move(fCurBlock)); in appendEvent()
287 if (fBlocks.count() > 0) { in flush()
288 clockOffset = reinterpret_cast<TraceEvent*>(fBlocks[0].fBlock.get())->fClockBegin; in flush()
305 for (int i = 0; i < fBlocks.count(); ++i) { in flush()
306 event_block_to_json(&writer, fBlocks[i], &serializationState); in flush()
DChromeTracingTracer.h76 SkTArray<TraceEventBlock> fBlocks; variable