Searched refs:GrDrawOpAtlas (Results 1 – 12 of 12) sorted by relevance
/external/skia/src/gpu/ |
D | GrDrawOpAtlas.h | 40 class GrDrawOpAtlas { 55 typedef void (*EvictionFunc)(GrDrawOpAtlas::AtlasID, void*); 73 static std::unique_ptr<GrDrawOpAtlas> Make(GrContext*, GrPixelConfig, 76 GrDrawOpAtlas::EvictionFunc func, void* data); 133 int index = GrDrawOpAtlas::GetIndexFromID(id); in add() 161 friend class GrDrawOpAtlas; variable 179 GrDrawOpAtlas(GrContext*, sk_sp<GrTextureProxy>, int numPlotsX, int numPlotsY); 199 GrDrawOpAtlas::AtlasID id() const { in id() 200 SkASSERT(GrDrawOpAtlas::kInvalidAtlasID != fID); in id() 236 static GrDrawOpAtlas::AtlasID CreateId(uint32_t index, uint64_t generation) { in CreateId() [all …]
|
D | GrDrawOpAtlas.cpp | 16 std::unique_ptr<GrDrawOpAtlas> GrDrawOpAtlas::Make(GrContext* ctx, GrPixelConfig config, in Make() 19 GrDrawOpAtlas::EvictionFunc func, in Make() 46 std::unique_ptr<GrDrawOpAtlas> atlas( in Make() 47 new GrDrawOpAtlas(ctx, std::move(proxy), numPlotsX, numPlotsY)); in Make() 55 GrDrawOpAtlas::Plot::Plot(int index, uint64_t genID, int offX, int offY, int width, int height, in Plot() 78 GrDrawOpAtlas::Plot::~Plot() { in ~Plot() 83 bool GrDrawOpAtlas::Plot::addSubImage(int width, int height, const void* image, SkIPoint16* loc) { in addSubImage() 128 void GrDrawOpAtlas::Plot::uploadToTexture(GrDrawOp::WritePixelsFn& writePixels, in uploadToTexture() 143 void GrDrawOpAtlas::Plot::resetRects() { in resetRects() 162 GrDrawOpAtlas::GrDrawOpAtlas(GrContext* context, sk_sp<GrTextureProxy> proxy, in GrDrawOpAtlas() function in GrDrawOpAtlas [all …]
|
D | GrGlyph.h | 35 GrDrawOpAtlas::AtlasID fID; 44 fID = GrDrawOpAtlas::kInvalidAtlasID; in init() 50 fTooLargeForAtlas = GrDrawOpAtlas::GlyphTooLargeForAtlas(bounds.width(), bounds.height()); in init()
|
/external/skia/src/gpu/text/ |
D | GrAtlasGlyphCache.h | 74 void removeID(GrDrawOpAtlas::AtlasID); 149 void addGlyphToBulkAndSetUseToken(GrDrawOpAtlas::BulkUseTokenUpdater* updater, GrGlyph* glyph, in addGlyphToBulkAndSetUseToken() 156 void setUseTokenBulk(const GrDrawOpAtlas::BulkUseTokenUpdater& updater, in setUseTokenBulk() 163 bool addToAtlas(GrAtlasTextStrike* strike, GrDrawOpAtlas::AtlasID* id, GrDrawOp::Target* target, in addToAtlas() 226 GrDrawOpAtlas* getAtlas(GrMaskFormat format) const { in getAtlas() 232 static void HandleEviction(GrDrawOpAtlas::AtlasID, void*); 237 std::unique_ptr<GrDrawOpAtlas> fAtlases[kMaskFormatCount];
|
D | GrAtlasGlyphCache.cpp | 29 fAtlases[index] = GrDrawOpAtlas::Make( in initAtlas() 88 void GrAtlasGlyphCache::HandleEviction(GrDrawOpAtlas::AtlasID id, void* ptr) { in HandleEviction() 422 void GrAtlasTextStrike::removeID(GrDrawOpAtlas::AtlasID id) { in removeID() 426 (*iter).fID = GrDrawOpAtlas::kInvalidAtlasID; in removeID() 465 SkASSERT(GrDrawOpAtlas::kInvalidAtlasID != glyph->fID); in addGlyphToAtlas()
|
D | GrAtlasTextBlob.h | 356 : fAtlasGeneration(GrDrawOpAtlas::kInvalidAtlasGeneration) in SubRunInfo() 387 GrDrawOpAtlas::BulkUseTokenUpdater* bulkUseToken() { return &fBulkUseToken; } in bulkUseToken() 443 GrDrawOpAtlas::BulkUseTokenUpdater fBulkUseToken;
|
D | GrAtlasTextBlob_regenInOp.cpp | 219 info->setAtlasGeneration(brokenRun ? GrDrawOpAtlas::kInvalidAtlasGeneration in regenInOp()
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 52 void GrSmallPathRenderer::HandleEviction(GrDrawOpAtlas::AtlasID id, void* pr) { in HandleEviction() 145 const SkMatrix& viewMatrix, GrDrawOpAtlas* atlas, in Make() 166 GrDrawOpAtlas* atlas, ShapeCache* shapeCache, ShapeDataList* shapeList, in SmallPathOp() 229 GrDrawOpAtlas* atlas = fAtlas; in onPrepareDraws() 391 bool addDFPathToAtlas(GrMeshDrawOp::Target* target, FlushInfo* flushInfo, GrDrawOpAtlas* atlas, in addDFPathToAtlas() 478 GrDrawOpAtlas::AtlasID id; in addDFPathToAtlas() 509 GrDrawOpAtlas* atlas, ShapeData* shapeData, in addBMPathToAtlas() 569 GrDrawOpAtlas::AtlasID id; in addBMPathToAtlas() 601 GrDrawOpAtlas* atlas, in writePathVertices() 736 GrDrawOpAtlas* fAtlas; [all …]
|
D | GrSmallPathRenderer.h | 106 GrDrawOpAtlas::AtlasID fID; 121 static void HandleEviction(GrDrawOpAtlas::AtlasID, void*); 126 std::unique_ptr<GrDrawOpAtlas> fAtlas;
|
/external/skia/tools/gpu/ |
D | GrTest.cpp | 32 int dim = GrDrawOpAtlas::kGlyphMaxDim; in SetupAlwaysEvictAtlas()
|
/external/skia/gn/ |
D | gpu.gni | 88 "$_src/gpu/GrDrawOpAtlas.cpp", 89 "$_src/gpu/GrDrawOpAtlas.h",
|
/external/skia/ |
D | Android.bp | 381 "src/gpu/GrDrawOpAtlas.cpp",
|