Home
last modified time | relevance | path

Searched refs:fAlloc (Results 1 – 25 of 95) sorted by relevance

1234

/external/skia/src/gpu/vk/
DGrVkImage.h37 fResource = new BorrowedResource(info.fImage, info.fAlloc, info.fImageTiling); in fInfo()
39 SkASSERT(VK_NULL_HANDLE != info.fAlloc.fMemory); in fInfo()
40 fResource = new Resource(info.fImage, info.fAlloc, info.fImageTiling); in fInfo()
55 return fInfo.fAlloc; in alloc()
172 fAlloc.fMemory = VK_NULL_HANDLE; in Resource()
173 fAlloc.fOffset = 0; in Resource()
178 , fAlloc(alloc) in Resource()
229 GrVkAlloc fAlloc; variable
DGrVkBuffer.h29 const GrVkAlloc& alloc() const { return fResource->fAlloc; } in alloc()
60 : INHERITED(), fBuffer(buf), fAlloc(alloc), fType(type) {} in Resource()
68 GrVkAlloc fAlloc; variable
/external/skqp/include/gpu/vk/
DGrVkTypes.h132 GrVkAlloc fAlloc; member
142 , fAlloc() in GrVkImageInfo()
155 , fAlloc(alloc) in fImage()
165 , fAlloc(info.fAlloc) in GrVkImageInfo()
179 return fImage == that.fImage && fAlloc == that.fAlloc &&
/external/skqp/src/gpu/vk/
DGrVkImage.h37 fResource = new BorrowedResource(info.fImage, info.fAlloc, info.fImageTiling); in fInfo()
39 fResource = new Resource(info.fImage, info.fAlloc, info.fImageTiling); in fInfo()
54 return fInfo.fAlloc; in alloc()
154 fAlloc.fMemory = VK_NULL_HANDLE; in Resource()
155 fAlloc.fOffset = 0; in Resource()
160 , fAlloc(alloc) in Resource()
203 GrVkAlloc fAlloc; variable
DGrVkBuffer.h29 const GrVkAlloc& alloc() const { return fResource->fAlloc; } in alloc()
60 : INHERITED(), fBuffer(buf), fAlloc(alloc), fType(type) {} in Resource()
68 GrVkAlloc fAlloc; variable
DGrVkImage.cpp197 info->fAlloc = alloc; in InitImageInfo()
209 GrVkMemory::FreeImageMemory(gpu, isLinear, info->fAlloc); in DestroyImageInfo()
246 GrVkMemory::FreeImageMemory(gpu, isLinear, fAlloc); in freeGPUData()
/external/skia/src/xml/
DSkDOM.cpp70 SkDOM::SkDOM() : fAlloc(kMinChunkSize), fRoot(nullptr) {} in SkDOM()
190 SkDOMParser(SkArenaAlloc* chunk) : SkXMLParser(&fParserError), fAlloc(chunk) { in SkDOMParser()
191 fAlloc->reset(); in SkDOMParser()
205 SkDOMAttr* attrs = fAlloc->makeArrayDefault<SkDOMAttr>(attrCount); in flushAttributes()
206 SkDOM::Node* node = fAlloc->make<SkDOM::Node>(); in flushAttributes()
237 attr->fName = dupstr(fAlloc, name); in onAddAttribute()
238 attr->fValue = dupstr(fAlloc, value); in onAddAttribute()
278 fElemName = dupstr(fAlloc, elem); in startCommon()
284 SkArenaAlloc* fAlloc; member in SkDOMParser
296 SkDOMParser parser(&fAlloc); in build()
[all …]
/external/skqp/src/xml/
DSkDOM.cpp70 SkDOM::SkDOM() : fAlloc(kMinChunkSize), fRoot(nullptr) {} in SkDOM()
190 SkDOMParser(SkArenaAlloc* chunk) : SkXMLParser(&fParserError), fAlloc(chunk) { in SkDOMParser()
191 fAlloc->reset(); in SkDOMParser()
205 SkDOMAttr* attrs = fAlloc->makeArrayDefault<SkDOMAttr>(attrCount); in flushAttributes()
206 SkDOM::Node* node = fAlloc->make<SkDOM::Node>(); in flushAttributes()
237 attr->fName = dupstr(fAlloc, name); in onAddAttribute()
238 attr->fValue = dupstr(fAlloc, value); in onAddAttribute()
278 fElemName = dupstr(fAlloc, elem); in startCommon()
284 SkArenaAlloc* fAlloc; member in SkDOMParser
296 SkDOMParser parser(&fAlloc); in build()
[all …]
/external/skia/src/core/
DSkAutoBlitterChoose.h37 fBlitter = SkBlitter::Choose(draw.fDst, *matrix, paint, &fAlloc, drawCoverage);
42 &fAlloc, true);
43 fBlitter = fAlloc.make<SkPairBlitter>(fBlitter, coverageBlitter);
52 SkSTArenaAlloc<kSkBlitterContextSize> fAlloc; variable
DSkBlitter_Sprite.cpp103 , fAlloc(alloc) in SkRasterPipelineSpriteBlitter()
114 SkRasterPipeline p(fAlloc); in setup()
119 p.append_set_rgb(fAlloc, fPaintColor); in setup()
131 fAlloc->make<SkColorSpaceXformSteps>(srcCS, srcAT, in setup()
140 fBlitter = SkCreateRasterPipelineBlitter(fDst, paint, p, is_opaque, fAlloc); in setup()
158 SkArenaAlloc* fAlloc; member in SkRasterPipelineSpriteBlitter
DSkEdgeBuilder.cpp120 SkEdge* edge = fAlloc.make<SkEdge>(); in addLine()
134 SkAnalyticEdge* edge = fAlloc.make<SkAnalyticEdge>(); in addLine()
149 SkQuadraticEdge* edge = fAlloc.make<SkQuadraticEdge>(); in addQuad()
155 SkAnalyticQuadraticEdge* edge = fAlloc.make<SkAnalyticQuadraticEdge>(); in addQuad()
162 SkCubicEdge* edge = fAlloc.make<SkCubicEdge>(); in addCubic()
168 SkAnalyticCubicEdge* edge = fAlloc.make<SkAnalyticCubicEdge>(); in addCubic()
213 return (char*)fAlloc.makeArrayDefault<SkEdge>(n); in allocEdges()
217 return (char*)fAlloc.makeArrayDefault<SkAnalyticEdge>(n); in allocEdges()
238 char** edgePtr = fAlloc.makeArrayDefault<char*>(maxEdgeCount); in buildPoly()
DSkScalerCache.cpp41 SkGlyph* glyph = fAlloc.make<SkGlyph>(packedGlyphID); in makeGlyph()
58 if (glyph->setPath(&fAlloc, fScalerContext.get())) { in preparePath()
67 if (glyph->setPath(&fAlloc, path)) { in mergePath()
101 if (glyph->setImage(&fAlloc, fScalerContext.get())) { in prepareImage()
116 if (glyph->setMetricsAndImage(&fAlloc, from)) { in mergeGlyphAndImage()
241 glyph->ensureIntercepts(bounds, scale, xPos, array, count, &fAlloc); in findIntercepts()
DSkRasterPipelineBlitter.cpp35 , fAlloc(alloc) in SkRasterPipelineBlitter()
53 SkArenaAlloc* fAlloc; member in SkRasterPipelineBlitter
288 SkRasterPipeline p(fAlloc); in blitRect()
316 SkRasterPipeline p(fAlloc); in blitAntiH()
421 SkRasterPipeline p(fAlloc); in blitMask()
437 SkRasterPipeline p(fAlloc); in blitMask()
454 SkRasterPipeline p(fAlloc); in blitMask()
/external/skqp/src/core/
DSkAutoBlitterChoose.h37 fBlitter = SkBlitter::Choose(draw.fDst, *matrix, paint, &fAlloc, drawCoverage);
42 &fAlloc, true);
43 fBlitter = fAlloc.make<SkPairBlitter>(fBlitter, coverageBlitter);
52 SkSTArenaAlloc<kSkBlitterContextSize> fAlloc; variable
DSkEdgeBuilder.cpp120 SkEdge* edge = fAlloc.make<SkEdge>(); in addLine()
134 SkAnalyticEdge* edge = fAlloc.make<SkAnalyticEdge>(); in addLine()
149 SkLine* line = fAlloc.make<SkLine>(); in addLine()
156 SkQuadraticEdge* edge = fAlloc.make<SkQuadraticEdge>(); in addQuad()
162 SkAnalyticQuadraticEdge* edge = fAlloc.make<SkAnalyticQuadraticEdge>(); in addQuad()
168 SkQuad* quad = fAlloc.make<SkQuad>(); in addQuad()
175 SkCubicEdge* edge = fAlloc.make<SkCubicEdge>(); in addCubic()
181 SkAnalyticCubicEdge* edge = fAlloc.make<SkAnalyticCubicEdge>(); in addCubic()
187 SkCubic* cubic = fAlloc.make<SkCubic>(); in addCubic()
244 return (char*)fAlloc.makeArrayDefault<SkEdge>(n); in allocEdges()
[all …]
DSkBlitter_Sprite.cpp103 , fAlloc(alloc) in SkRasterPipelineSpriteBlitter()
114 SkRasterPipeline p(fAlloc); in setup()
119 p.append_set_rgb(fAlloc, fPaintColor); in setup()
131 fAlloc->make<SkColorSpaceXformSteps>(srcCS, srcAT, in setup()
140 fBlitter = SkCreateRasterPipelineBlitter(fDst, paint, p, is_opaque, fAlloc); in setup()
158 SkArenaAlloc* fAlloc; member in SkRasterPipelineSpriteBlitter
DSkCoverageDelta.cpp11 fAlloc = alloc; in SkCoverageDeltaList()
22 fSorted = fAlloc->makeArrayDefault<bool>(bottom - top); in SkCoverageDeltaList()
23 fCounts = fAlloc->makeArrayDefault<int>((bottom - top) * 2); in SkCoverageDeltaList()
25 fRows = fAlloc->makeArrayDefault<SkCoverageDelta*>(bottom - top) - top; in SkCoverageDeltaList()
26 fRows[top] = fAlloc->makeArrayDefault<SkCoverageDelta>(INIT_ROW_SIZE * (bottom - top)); in SkCoverageDeltaList()
DSkRasterPipeline.cpp12 SkRasterPipeline::SkRasterPipeline(SkArenaAlloc* alloc) : fAlloc(alloc) { in SkRasterPipeline()
30 fStages = fAlloc->make<StageList>( StageList{fStages, (uint64_t) stage, ctx, false} ); in unchecked_append()
35 fStages = fAlloc->make<StageList>( StageList{fStages, (uint64_t) fn, ctx, true} ); in append()
44 auto stages = fAlloc->makeArrayDefault<StageList>(src.fNumStages); in extend()
311 void** program = fAlloc->makeArray<void*>(fSlotsNeeded); in compile()
DSkRasterPipelineBlitter.cpp35 , fAlloc(alloc) in SkRasterPipelineBlitter()
53 SkArenaAlloc* fAlloc; member in SkRasterPipelineBlitter
288 SkRasterPipeline p(fAlloc); in blitRect()
316 SkRasterPipeline p(fAlloc); in blitAntiH()
421 SkRasterPipeline p(fAlloc); in blitMask()
437 SkRasterPipeline p(fAlloc); in blitMask()
454 SkRasterPipeline p(fAlloc); in blitMask()
DSkStrike.cpp108 SkGlyph* glyphPtr = fAlloc.make<SkGlyph>(packedGlyphID); in allocateNewGlyph()
128 size_t size = const_cast<SkGlyph&>(glyph).allocImage(&fAlloc); in findImage()
150 size_t allocSize = glyph->allocImage(&fAlloc); in initializeImage()
171 const_cast<SkGlyph&>(glyph).addPath(fScalerContext.get(), &fAlloc); in findPath()
188 SkGlyph::PathData* pathData = fAlloc.make<SkGlyph::PathData>(); in initializePath()
221 fMemoryUsed += glyph->copyImageData(fallback, &fAlloc); in initializeGlyphFromFallback()
347 SkGlyph::Intercept* intercept = fAlloc.make<SkGlyph::Intercept>(); in findIntercepts()
DSkCoverageDelta.h84 SkArenaAlloc* fAlloc;
99 SkCoverageDelta* newRow = fAlloc->makeArrayDefault<SkCoverageDelta>(fMaxCounts[y]); in push_back()
196 SkArenaAlloc* fAlloc; member
198 SkDAARecord(SkArenaAlloc* alloc) : fType(Type::kToBeComputed), fAlloc(alloc) {} in SkDAARecord()
/external/skia/include/gpu/vk/
DGrVkTypes.h154 GrVkAlloc fAlloc; member
165 , fAlloc() in GrVkImageInfo()
184 , fAlloc(alloc) in fImage()
195 , fAlloc(info.fAlloc) in GrVkImageInfo()
210 return fImage == that.fImage && fAlloc == that.fAlloc &&
/external/skqp/tests/
DVkWrapTests.cpp66 backendCopy.fAlloc = GrVkAlloc(); in wrap_tex_test()
118 backendCopy.fAlloc = GrVkAlloc(); in wrap_rt_test()
161 backendCopy.fAlloc = GrVkAlloc(); in wrap_trt_test()
/external/skia/tests/
DVkWrapTests.cpp69 backendCopy.fAlloc = GrVkAlloc(); in wrap_tex_test()
120 backendCopy.fAlloc = GrVkAlloc(); in wrap_rt_test()
164 backendCopy.fAlloc = GrVkAlloc(); in wrap_trt_test()
/external/skqp/src/utils/
DSkJSON.cpp289 : fAlloc(alloc) { in DOMParser()
460 SkArenaAlloc& fAlloc; member in skjson::__anond83786ea0211::DOMParser
518 placeholder = VectorT(begin, count, fAlloc); in popScopeAsVec()
583 fValueStack.push_back(FastString(s, size, eos, fAlloc)); in pushString()
907 : fAlloc(kMinChunkSize) { in DOM()
908 DOMParser parser(fAlloc); in DOM()

1234