Home
last modified time | relevance | path

Searched refs:GrBatchAtlas (Results 1 – 14 of 14) sorted by relevance

/external/skia/src/gpu/
DGrBatchAtlas.cpp16 GrBatchAtlas::BatchPlot::BatchPlot(int index, uint64_t genID, int offX, int offY, int width, in BatchPlot()
39 GrBatchAtlas::BatchPlot::~BatchPlot() { in ~BatchPlot()
44 bool GrBatchAtlas::BatchPlot::addSubImage(int width, int height, const void* image, in addSubImage()
82 void GrBatchAtlas::BatchPlot::uploadToTexture(GrBatchUploader::TextureUploader* uploader, in uploadToTexture()
99 void GrBatchAtlas::BatchPlot::resetRects() { in resetRects()
120 GrPlotUploader(GrBatchAtlas::BatchPlot* plot, GrTexture* texture) in GrPlotUploader()
132 SkAutoTUnref<GrBatchAtlas::BatchPlot> fPlot;
140 GrBatchAtlas::GrBatchAtlas(GrTexture* texture, int numPlotsX, int numPlotsY) in GrBatchAtlas() function in GrBatchAtlas
172 GrBatchAtlas::~GrBatchAtlas() { in ~GrBatchAtlas()
177 void GrBatchAtlas::processEviction(AtlasID id) { in processEviction()
[all …]
DGrBatchAtlas.h31 class GrBatchAtlas {
42 typedef void (*EvictionFunc)(GrBatchAtlas::AtlasID, void*);
44 GrBatchAtlas(GrTexture*, int numPlotsX, int numPlotsY);
45 ~GrBatchAtlas();
96 int index = GrBatchAtlas::GetIndexFromID(id); in add()
124 friend class GrBatchAtlas; variable
157 GrBatchAtlas::AtlasID id() const { in id()
158 SkASSERT(GrBatchAtlas::kInvalidAtlasID != fID); in id()
196 static GrBatchAtlas::AtlasID CreateId(uint32_t index, uint64_t generation) { in CreateId()
207 GrBatchAtlas::AtlasID fID;
[all …]
DGrGlyph.h34 GrBatchAtlas::AtlasID fID;
43 fID = GrBatchAtlas::kInvalidAtlasID; in init()
49 fTooLargeForAtlas = GrBatchAtlas::GlyphTooLargeForAtlas(bounds.width(), bounds.height()); in init()
DGrResourceProvider.h16 class GrBatchAtlas; variable
139 GrBatchAtlas* createAtlas(GrPixelConfig, int width, int height, int numPlotsX, int numPlotsY,
140 GrBatchAtlas::EvictionFunc func, void* data);
DGrResourceProvider.cpp160 GrBatchAtlas* GrResourceProvider::createAtlas(GrPixelConfig config, in createAtlas()
163 GrBatchAtlas::EvictionFunc func, void* data) { in createAtlas()
178 GrBatchAtlas* atlas = new GrBatchAtlas(texture, numPlotsX, numPlotsY); in createAtlas()
DGrTest.cpp28 int dim = GrBatchAtlas::kGlyphMaxDim; in SetupAlwaysEvictAtlas()
/external/skia/src/gpu/text/
DGrBatchFontCache.h73 void removeID(GrBatchAtlas::AtlasID);
145 void addGlyphToBulkAndSetUseToken(GrBatchAtlas::BulkUseTokenUpdater* updater, in addGlyphToBulkAndSetUseToken()
152 void setUseTokenBulk(const GrBatchAtlas::BulkUseTokenUpdater& updater, in setUseTokenBulk()
159 bool addToAtlas(GrBatchTextStrike* strike, GrBatchAtlas::AtlasID* id, in addToAtlas()
216 GrBatchAtlas* getAtlas(GrMaskFormat format) const { in getAtlas()
222 static void HandleEviction(GrBatchAtlas::AtlasID, void*);
226 GrBatchAtlas* fAtlases[kMaskFormatCount];
DGrBatchFontCache.cpp97 void GrBatchFontCache::HandleEviction(GrBatchAtlas::AtlasID id, void* ptr) { in HandleEviction()
193 void GrBatchTextStrike::removeID(GrBatchAtlas::AtlasID id) { in removeID()
197 (*iter).fID = GrBatchAtlas::kInvalidAtlasID; in removeID()
238 SkASSERT(GrBatchAtlas::kInvalidAtlasID != glyph->fID); in addGlyphToAtlas()
DGrAtlasTextBlob.h361 : fAtlasGeneration(GrBatchAtlas::kInvalidAtlasGeneration) in SubRunInfo()
392 GrBatchAtlas::BulkUseTokenUpdater* bulkUseToken() { return &fBulkUseToken; } in bulkUseToken()
448 GrBatchAtlas::BulkUseTokenUpdater fBulkUseToken;
DGrAtlasTextBlob_regenInBatch.cpp229 info->setAtlasGeneration(brokenRun ? GrBatchAtlas::kInvalidAtlasGeneration : in regenInBatch()
/external/skia/src/gpu/batches/
DGrAADistanceFieldPathRenderer.h63 GrBatchAtlas::AtlasID fID;
77 static void HandleEviction(GrBatchAtlas::AtlasID, void*);
82 GrBatchAtlas* fAtlas;
DGrAADistanceFieldPathRenderer.cpp45 void GrAADistanceFieldPathRenderer::HandleEviction(GrBatchAtlas::AtlasID id, void* pr) { in HandleEviction()
152 GrBatchAtlas* atlas, PathCache* pathCache, PathDataList* pathList) { in Create()
201 GrBatchAtlas* atlas = fAtlas; in onPrepareDraws()
302 GrBatchAtlas* atlas, in AADistanceFieldPathBatch()
321 GrBatchAtlas* atlas, in addPathToAtlas()
403 GrBatchAtlas::AtlasID id; in addPathToAtlas()
444 GrBatchAtlas* atlas, in writePathVertices()
532 GrBatchAtlas* fAtlas;
603 static void HandleEviction(GrBatchAtlas::AtlasID id, void* pr) { in HandleEviction()
620 GrBatchAtlas* fAtlas;
/external/skia/gyp/
Dgpu.gypi65 '<(skia_src_path)/gpu/GrBatchAtlas.cpp',
66 '<(skia_src_path)/gpu/GrBatchAtlas.h',
/external/skia/
DAndroid.mk372 src/gpu/GrBatchAtlas.cpp \