Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrBufferAllocPool.cpp92 : fBlocks(8) in GrBufferAllocPool()
98 if (fBlocks.count()) { in deleteBlocks()
99 GrBuffer* buffer = fBlocks.back().fBuffer.get(); in deleteBlocks()
101 UNMAP_BUFFER(fBlocks.back()); in deleteBlocks()
104 while (!fBlocks.empty()) { in deleteBlocks()
127 BufferBlock& block = fBlocks.back(); in unmap()
134 this->flushCpuData(fBlocks.back(), flushSize); in unmap()
146 SkASSERT(!fBlocks.empty()); in validate()
147 const GrBuffer* buffer = fBlocks.back().fBuffer.get(); in validate()
151 } else if (!fBlocks.empty()) { in validate()
[all …]
DGrBufferAllocPool.h161 SkTArray<BufferBlock> fBlocks; variable
/external/skqp/src/gpu/
DGrBufferAllocPool.cpp40 : fBlocks(8), fGpu(gpu), fBufferType(bufferType), fInitialCpuData(initialBuffer) { in GrBufferAllocPool()
48 if (fBlocks.count()) { in deleteBlocks()
49 GrBuffer* buffer = fBlocks.back().fBuffer.get(); in deleteBlocks()
51 UNMAP_BUFFER(fBlocks.back()); in deleteBlocks()
54 while (!fBlocks.empty()) { in deleteBlocks()
80 BufferBlock& block = fBlocks.back(); in unmap()
85 this->flushCpuData(fBlocks.back(), flushSize); in unmap()
96 SkASSERT(!fBlocks.empty()); in validate()
97 if (!fBlocks.back().fBuffer->isMapped()) { in validate()
101 SkASSERT(fBlocks.empty() || !fBlocks.back().fBuffer->isMapped()); in validate()
[all …]
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.h137 SkTArray<BufferBlock> fBlocks; variable
/external/skqp/src/sksl/
DSkSLCFGGenerator.cpp31 BlockId result = fBlocks.size(); in newBlock()
32 fBlocks.emplace_back(); in newBlock()
33 if (fBlocks.size() > 1) { in newBlock()
41 BlockId result = fBlocks.size(); in newIsolatedBlock()
42 fBlocks.emplace_back(); in newIsolatedBlock()
47 if (from == 0 || fBlocks[from].fEntrances.size()) { in addExit()
48 fBlocks[from].fExits.insert(to); in addExit()
49 fBlocks[to].fEntrances.insert(from); in addExit()
54 for (size_t i = 0; i < fBlocks.size(); i++) { in dump()
57 for (auto iter = fBlocks[i].fBefore.begin(); iter != fBlocks[i].fBefore.end(); iter++) { in dump()
[all …]
DSkSLCompiler.cpp385 BasicBlock& block = cfg->fBlocks[blockId]; in scanCFG()
398 BasicBlock& exit = cfg->fBlocks[exitId]; in scanCFG()
428 for (const auto& block : cfg.fBlocks) { in compute_start_state()
483 cfg->fBlocks[cfg->fStart].fBefore = compute_start_state(*cfg); in computeDataFlow()
485 for (BlockId i = 0; i < cfg->fBlocks.size(); i++) { in computeDataFlow()
1127 for (size_t i = 0; i < cfg.fBlocks.size(); i++) { in scanCFG()
1128 if (i != cfg.fStart && !cfg.fBlocks[i].fEntrances.size() && in scanCFG()
1129 cfg.fBlocks[i].fNodes.size()) { in scanCFG()
1131 switch (cfg.fBlocks[i].fNodes[0].fKind) { in scanCFG()
1133 offset = (*cfg.fBlocks[i].fNodes[0].statement())->fOffset; in scanCFG()
[all …]
DSkSLCFGGenerator.h123 std::vector<BasicBlock> fBlocks; member
/external/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
/external/skqp/tools/trace/
DSkChromeTracingTracer.cpp76 fBlocks.push_back(std::move(fCurBlock)); in appendEvent()
304 if (fBlocks.count() > 0) { in flush()
305 clockOffset = reinterpret_cast<TraceEvent*>(fBlocks[0].fBlock.get())->fClockBegin; in flush()
321 for (int i = 0; i < fBlocks.count(); ++i) { in flush()
322 event_block_to_json(&writer, fBlocks[i], &serializationState); in flush()
DSkChromeTracingTracer.h76 SkTArray<TraceEventBlock> fBlocks; variable