Home
last modified time | relevance | path

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

/third_party/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()
124 int width, int height, const void* image, AtlasLocator* atlasLocator) { in addSubImage() argument
162 atlasLocator->updateRect(rect); in addSubImage()
259 AtlasLocator* atlasLocator, Plot* plot) { in updatePlot() argument
279 atlasLocator->updatePlotLocator(plot->plotLocator()); in updatePlot()
280 SkDEBUGCODE(this->validate(*atlasLocator);) in updatePlot()
285 int height, const void* image, AtlasLocator* atlasLocator) { in uploadToPage() argument
296 if (plot->addSubImage(width, height, image, atlasLocator)) { in uploadToPage()
[all …]
DGrDrawOpAtlas.h307 void setLastUseToken(const AtlasLocator& atlasLocator, GrDeferredUploadToken token) { in setLastUseToken() argument
308 SkASSERT(this->hasID(atlasLocator.plotLocator())); in setLastUseToken()
309 uint32_t plotIdx = atlasLocator.plotIndex(); in setLastUseToken()
311 uint32_t pageIdx = atlasLocator.pageIndex(); in setLastUseToken()
335 bool add(const AtlasLocator& atlasLocator) { in add() argument
336 int plotIdx = atlasLocator.plotIndex(); in add()
337 int pageIdx = atlasLocator.pageIndex(); in add()
439 bool addSubImage(int width, int height, const void* image, AtlasLocator* atlasLocator);
572 SkDEBUGCODE(void validate(const AtlasLocator& atlasLocator) const;)
/third_party/skia/tests/
DDrawOpAtlasTest.cpp116 GrDrawOpAtlas::AtlasLocator* atlasLocator, in fill_plot() argument
126 data.getAddr(0, 0), atlasLocator); in fill_plot()
176 GrDrawOpAtlas::AtlasLocator atlasLocator; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
177 bool result = fill_plot(atlas.get(), resourceProvider, &uploadTarget, &atlasLocator, 4 * 32); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/skia/src/gpu/text/
DGrAtlasManager.cpp194 GrDrawOpAtlas::AtlasLocator* atlasLocator) { in addToAtlas() argument
196 atlasLocator); in addToAtlas()