HomeSort by relevance Sort by last modified time
    Searched refs:GrBatchAtlas (Results 1 - 13 of 13) sorted by null

  /external/skia/src/gpu/batches/
GrAADistanceFieldPathRenderer.h 12 #include "GrBatchAtlas.h"
63 GrBatchAtlas::AtlasID fID;
77 static void HandleEviction(GrBatchAtlas::AtlasID, void*);
82 GrBatchAtlas* fAtlas;
GrAADistanceFieldPathRenderer.cpp 45 void GrAADistanceFieldPathRenderer::HandleEviction(GrBatchAtlas::AtlasID id, void* pr) {
152 GrBatchAtlas* atlas, PathCache* pathCache, PathDataList* pathList) {
201 GrBatchAtlas* atlas = fAtlas;
302 GrBatchAtlas* atlas,
321 GrBatchAtlas* atlas,
403 GrBatchAtlas::AtlasID id;
444 GrBatchAtlas* atlas,
532 GrBatchAtlas* fAtlas;
603 static void HandleEviction(GrBatchAtlas::AtlasID id, void* pr) {
620 GrBatchAtlas* fAtlas
    [all...]
  /external/skia/src/gpu/
GrBatchAtlas.h 31 class GrBatchAtlas {
39 // A function pointer for use as a callback during eviction. Whenever GrBatchAtlas evicts a
42 typedef void (*EvictionFunc)(GrBatchAtlas::AtlasID, void*);
44 GrBatchAtlas(GrTexture*, int numPlotsX, int numPlotsY);
45 ~GrBatchAtlas();
83 * A class which can be handed back to GrBatchAtlas for updating in bulk last use tokens. The
84 * current max number of plots the GrBatchAtlas can handle is 32, if in the future this is
96 int index = GrBatchAtlas::GetIndexFromID(id);
124 friend class GrBatchAtlas;
142 // The backing GrTexture for a GrBatchAtlas is broken into a spatial grid of BatchPlots
    [all...]
GrBatchAtlas.cpp 8 #include "GrBatchAtlas.h"
16 GrBatchAtlas::BatchPlot::BatchPlot(int index, uint64_t genID, int offX, int offY, int width,
39 GrBatchAtlas::BatchPlot::~BatchPlot() {
44 bool GrBatchAtlas::BatchPlot::addSubImage(int width, int height, const void* image,
82 void GrBatchAtlas::BatchPlot::uploadToTexture(GrBatchUploader::TextureUploader* uploader,
99 void GrBatchAtlas::BatchPlot::resetRects() {
120 GrPlotUploader(GrBatchAtlas::BatchPlot* plot, GrTexture* texture)
132 SkAutoTUnref<GrBatchAtlas::BatchPlot> fPlot;
140 GrBatchAtlas::GrBatchAtlas(GrTexture* texture, int numPlotsX, int numPlotsY
    [all...]
GrGlyph.h 11 #include "GrBatchAtlas.h"
34 GrBatchAtlas::AtlasID fID;
43 fID = GrBatchAtlas::kInvalidAtlasID;
49 fTooLargeForAtlas = GrBatchAtlas::GlyphTooLargeForAtlas(bounds.width(), bounds.height());
GrResourceProvider.h 11 #include "GrBatchAtlas.h"
16 class GrBatchAtlas;
123 /** Returns a GrBatchAtlas. This function can be called anywhere, but the returned atlas should
137 * @return An initialized GrBatchAtlas, or nullptr if creation fails
139 GrBatchAtlas* createAtlas(GrPixelConfig, int width, int height, int numPlotsX, int numPlotsY,
140 GrBatchAtlas::EvictionFunc func, void* data);
GrResourceProvider.cpp 160 GrBatchAtlas* GrResourceProvider::createAtlas(GrPixelConfig config,
163 GrBatchAtlas::EvictionFunc func, void* data) {
178 GrBatchAtlas* atlas = new GrBatchAtlas(texture, numPlotsX, numPlotsY);
GrTest.cpp 10 #include "GrBatchAtlas.h"
28 int dim = GrBatchAtlas::kGlyphMaxDim;
  /external/skia/src/gpu/text/
GrBatchFontCache.h 11 #include "GrBatchAtlas.h"
73 void removeID(GrBatchAtlas::AtlasID);
140 // To ensure the GrBatchAtlas does not evict the Glyph Mask from its texture backing store,
145 void addGlyphToBulkAndSetUseToken(GrBatchAtlas::BulkUseTokenUpdater* updater,
152 void setUseTokenBulk(const GrBatchAtlas::BulkUseTokenUpdater& updater,
159 bool addToAtlas(GrBatchTextStrike* strike, GrBatchAtlas::AtlasID* id,
168 // GrBatchAtlas. The atlasGeneration returned below is a monitonically increasing number which
216 GrBatchAtlas* getAtlas(GrMaskFormat format) const {
222 static void HandleEviction(GrBatchAtlas::AtlasID, void*);
226 GrBatchAtlas* fAtlases[kMaskFormatCount]
    [all...]
GrBatchFontCache.cpp 97 void GrBatchFontCache::HandleEviction(GrBatchAtlas::AtlasID id, void* ptr) {
193 void GrBatchTextStrike::removeID(GrBatchAtlas::AtlasID id) {
197 (*iter).fID = GrBatchAtlas::kInvalidAtlasID;
238 SkASSERT(GrBatchAtlas::kInvalidAtlasID != glyph->fID);
GrAtlasTextBlob.h 11 #include "GrBatchAtlas.h"
361 : fAtlasGeneration(GrBatchAtlas::kInvalidAtlasGeneration)
392 GrBatchAtlas::BulkUseTokenUpdater* bulkUseToken() { return &fBulkUseToken; }
448 GrBatchAtlas::BulkUseTokenUpdater fBulkUseToken;
GrAtlasTextBlob_regenInBatch.cpp 229 info->setAtlasGeneration(brokenRun ? GrBatchAtlas::kInvalidAtlasGeneration :
  /external/skia/
Android.mk 372 src/gpu/GrBatchAtlas.cpp \

Completed in 1324 milliseconds