Home
last modified time | relevance | path

Searched refs:atlasLocator (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/
DGrDrawOpAtlas.cpp29 void GrDrawOpAtlas::validate(const AtlasLocator& atlasLocator) const { in validate()
34 int plotIndex = atlasLocator.plotIndex(); in validate()
35 auto topLeft = atlasLocator.topLeft(); in validate()
118 int width, int height, const void* image, AtlasLocator* atlasLocator) { in addSubImage() argument
156 atlasLocator->updateRect(rect); in addSubImage()
240 AtlasLocator* atlasLocator, Plot* plot) { in updatePlot() argument
260 atlasLocator->updatePlotLocator(plot->plotLocator()); in updatePlot()
261 SkDEBUGCODE(this->validate(*atlasLocator);) in updatePlot()
266 int height, const void* image, AtlasLocator* atlasLocator) { in uploadToPage() argument
277 if (plot->addSubImage(width, height, image, atlasLocator)) { in uploadToPage()
[all …]
DGrDrawOpAtlas.h274 void setLastUseToken(const AtlasLocator& atlasLocator, GrDeferredUploadToken token) { in setLastUseToken() argument
275 SkASSERT(this->hasID(atlasLocator.plotLocator())); in setLastUseToken()
276 uint32_t plotIdx = atlasLocator.plotIndex(); in setLastUseToken()
278 uint32_t pageIdx = atlasLocator.pageIndex(); in setLastUseToken()
302 bool add(const AtlasLocator& atlasLocator) { in add() argument
303 int plotIdx = atlasLocator.plotIndex(); in add()
304 int pageIdx = atlasLocator.pageIndex(); in add()
399 bool addSubImage(int width, int height, const void* image, AtlasLocator* atlasLocator);
525 SkDEBUGCODE(void validate(const AtlasLocator& atlasLocator) const;)
/external/skia/tests/
DDrawOpAtlasTest.cpp117 GrDrawOpAtlas::AtlasLocator* atlasLocator, in fill_plot() argument
127 data.getAddr(0, 0), atlasLocator); in fill_plot()
174 GrDrawOpAtlas::AtlasLocator atlasLocator; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
175 bool result = fill_plot(atlas.get(), resourceProvider, &uploadTarget, &atlasLocator, 4 * 32); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/text/
DGrAtlasManager.cpp194 GrDrawOpAtlas::AtlasLocator* atlasLocator) { in addToAtlas() argument
196 atlasLocator); in addToAtlas()