/external/skia/src/gpu/vk/ |
D | GrVkBuffer.cpp | 29 , fAlloc(alloc) in GrVkBuffer() 163 SkASSERT(fAlloc.fSize > 0); in vkMap() 164 SkASSERT(fAlloc.fSize >= size); in vkMap() 165 fMapPtr = GrVkMemory::MapAlloc(this->getVkGpu(), fAlloc); in vkMap() 167 GrVkMemory::InvalidateMappedAlloc(this->getVkGpu(), fAlloc, 0, size); in vkMap() 175 SkASSERT(fAlloc.fSize > 0); in vkUnmap() 176 SkASSERT(fAlloc.fSize >= size); in vkUnmap() 179 GrVkMemory::FlushMappedAlloc(gpu, fAlloc, 0, size); in vkUnmap() 180 GrVkMemory::UnmapAlloc(gpu, fAlloc); in vkUnmap() 265 SkASSERT(fAlloc.fMemory && fAlloc.fBackendMemory); in vkRelease() [all …]
|
D | GrVkImage.h | 46 return fInfo.fAlloc; in alloc() 182 fAlloc.fMemory = VK_NULL_HANDLE; in Resource() 183 fAlloc.fOffset = 0; in Resource() 189 , fAlloc(alloc) in Resource() 209 GrVkAlloc fAlloc; variable
|
D | GrVkImage.cpp | 52 fResource = new BorrowedResource(gpu, info.fImage, info.fAlloc, info.fImageTiling); in GrVkImage() 54 SkASSERT(VK_NULL_HANDLE != info.fAlloc.fMemory); in GrVkImage() 55 fResource = new Resource(gpu, info.fImage, info.fAlloc, info.fImageTiling); in GrVkImage() 266 info->fAlloc = alloc; in InitImageInfo() 283 GrVkMemory::FreeImageMemory(gpu, isLinear, info->fAlloc); in DestroyImageInfo() 326 GrVkMemory::FreeImageMemory(fGpu, isLinear, fAlloc); in freeGPUData()
|
D | GrVkBuffer.h | 45 bool isVkMappable() const { return fAlloc.fFlags & GrVkAlloc::kMappable_Flag; } in isVkMappable() 65 GrVkAlloc fAlloc; variable
|
/external/skqp/include/gpu/vk/ |
D | GrVkTypes.h | 132 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/ |
D | GrVkImage.h | 37 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
|
D | GrVkBuffer.h | 29 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/src/xml/ |
D | SkDOM.cpp | 70 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/xml/ |
D | SkDOM.cpp | 72 SkDOM::SkDOM() : fAlloc(kMinChunkSize), fRoot(nullptr) {} in SkDOM() 192 SkDOMParser(SkArenaAllocWithReset* chunk) : SkXMLParser(&fParserError), fAlloc(chunk) { in SkDOMParser() 193 fAlloc->reset(); in SkDOMParser() 207 SkDOMAttr* attrs = fAlloc->makeArrayDefault<SkDOMAttr>(attrCount); in flushAttributes() 208 SkDOM::Node* node = fAlloc->make<SkDOM::Node>(); in flushAttributes() 239 attr->fName = dupstr(fAlloc, name, strlen(name)); in onAddAttribute() 240 attr->fValue = dupstr(fAlloc, value, strlen(value)); in onAddAttribute() 279 fElemName = dupstr(fAlloc, elem, elemSize); in startCommon() 285 SkArenaAllocWithReset* fAlloc; member in SkDOMParser 297 SkDOMParser parser(&fAlloc); in build() [all …]
|
/external/skqp/src/core/ |
D | SkAutoBlitterChoose.h | 37 fBlitter = SkBlitter::Choose(draw.fDst, *matrix, paint, &fAlloc, drawCoverage); 42 &fAlloc, true); 43 fBlitter = fAlloc.make<SkPairBlitter>(fBlitter, coverageBlitter); 52 SkSTArenaAlloc<kSkBlitterContextSize> fAlloc; variable
|
D | SkEdgeBuilder.cpp | 120 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 …]
|
D | SkBlitter_Sprite.cpp | 103 , 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
|
D | SkCoverageDelta.cpp | 11 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()
|
D | SkRasterPipeline.cpp | 12 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()
|
/external/skia/src/core/ |
D | SkAutoBlitterChoose.h | 38 fBlitter = SkBlitter::Choose(draw.fDst, *matrixProvider, paint, &fAlloc, drawCoverage, 44 SkBlitter::Choose(*draw.fCoverage, *matrixProvider, SkPaint(), &fAlloc, true, 46 fBlitter = fAlloc.make<SkPairBlitter>(fBlitter, coverageBlitter); 55 SkSTArenaAlloc<kSkBlitterContextSize> fAlloc; variable
|
D | SkBlitter_Sprite.cpp | 107 , fAlloc(alloc) in SkRasterPipelineSpriteBlitter() 119 SkRasterPipeline p(fAlloc); in setup() 124 p.append_set_rgb(fAlloc, fPaintColor); in setup() 136 fAlloc->make<SkColorSpaceXformSteps>(srcCS, srcAT, in setup() 145 fBlitter = SkCreateRasterPipelineBlitter(fDst, paint, p, is_opaque, fAlloc, fClipShader); in setup() 164 SkArenaAlloc* fAlloc; member in SkRasterPipelineSpriteBlitter
|
D | SkEdgeBuilder.cpp | 120 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()
|
D | SkScalerCache.cpp | 51 SkGlyph* glyph = fAlloc.make<SkGlyph>(fScalerContext->makeGlyph(packedGlyphID)); in digest() 65 if (glyph->setPath(&fAlloc, fScalerContext.get())) { in preparePath() 74 if (glyph->setPath(&fAlloc, path)) { in mergePath() 108 if (glyph->setImage(&fAlloc, fScalerContext.get())) { in prepareImage() 126 SkGlyph* glyph = fAlloc.make<SkGlyph>(toID); in mergeGlyphAndImage() 127 size_t delta = glyph->setMetricsAndImage(&fAlloc, from); in mergeGlyphAndImage() 254 glyph->ensureIntercepts(bounds, scale, xPos, array, count, &fAlloc); in findIntercepts()
|
/external/skia/src/gpu/d3d/ |
D | GrD3DTextureResource.h | 28 , fResource(new Resource(fInfo.fResource, info.fAlloc)) { in GrD3DTextureResource() 89 , fAlloc(nullptr) { in Resource() 95 , fAlloc(alloc) { in Resource() 110 mutable sk_sp<GrD3DAlloc> fAlloc; variable
|
D | GrD3DTextureResource.cpp | 48 D3D12_HEAP_TYPE_DEFAULT, &desc, initialState, &info->fAlloc, clearValue); in InitTextureResourceInfo() 117 fInfo.fAlloc.reset(); in releaseResource() 129 fAlloc.reset(); // Release our ref to the allocation in freeGPUData()
|
/external/skia/src/gpu/ |
D | GrSubRunAllocator.h | 168 char* bytes = fAlloc.template allocateBytesFor<T>(); in makePOD() 175 char* bytes = fAlloc.template allocateBytesFor<T>(); in makeUnique() 181 return reinterpret_cast<T*>(fAlloc.template allocateBytesFor<T>(n)); in makePODArray() 198 T* array = reinterpret_cast<T*>(fAlloc.template allocateBytesFor<T>(n)); in makeUniqueArray() 208 T* array = reinterpret_cast<T*>(fAlloc.template allocateBytesFor<T>(n)); in makeUniqueArray() 218 GrBagOfBytes fAlloc;
|
D | GrAATriangulator.cpp | 79 e->fEvent = fAlloc->make<Event>(e, p, alpha); in makeEvent() 104 edge->fEvent = fAlloc->make<Event>(edge, p, alpha); in makeEvent() 259 SSVertex* ssv = triangulator->fAlloc->make<SSVertex>(dest); in apply() 344 ssPrev = ssVertices[prevVertex] = fAlloc->make<SSVertex>(prevVertex); in collapseOverlapRegions() 348 ssNext = ssVertices[nextVertex] = fAlloc->make<SSVertex>(nextVertex); in collapseOverlapRegions() 350 SSEdge* ssEdge = fAlloc->make<SSEdge>(e, ssPrev, ssNext); in collapseOverlapRegions() 502 Vertex* innerVertex1 = fAlloc->make<Vertex>(innerPoint1, 255); in strokeBoundary() 503 Vertex* innerVertex2 = fAlloc->make<Vertex>(innerPoint2, 255); in strokeBoundary() 504 Vertex* outerVertex1 = fAlloc->make<Vertex>(outerPoint1, 0); in strokeBoundary() 505 Vertex* outerVertex2 = fAlloc->make<Vertex>(outerPoint2, 0); in strokeBoundary() [all …]
|
/external/skia/include/gpu/d3d/ |
D | GrD3DTypes.h | 181 sk_sp<GrD3DAlloc> fAlloc = nullptr; member 200 , fAlloc(alloc) in fResource() 211 , fAlloc(info.fAlloc) in GrD3DTextureResourceInfo()
|
/external/skia/include/gpu/vk/ |
D | GrVkTypes.h | 100 GrVkAlloc fAlloc; member 114 return fImage == that.fImage && fAlloc == that.fAlloc &&
|
/external/skia/modules/particles/include/ |
D | SkParticleBinding.h | 43 , fAlloc(alloc) {} in SkParticleExternalFunction() 48 SkArenaAlloc* fAlloc; variable
|