Home
last modified time | relevance | path

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

/external/skia/src/gpu/ganesh/
DGrDrawOpAtlas.cpp41 void GrDrawOpAtlas::validate(const AtlasLocator& atlasLocator) const { in validate()
46 int plotIndex = atlasLocator.plotIndex(); in validate()
47 auto topLeft = atlasLocator.topLeft(); in validate()
153 AtlasLocator* atlasLocator, Plot* plot) { in updatePlot() argument
173 atlasLocator->updatePlotLocator(plot->plotLocator()); in updatePlot()
174 SkDEBUGCODE(this->validate(*atlasLocator);) in updatePlot()
179 int height, const void* image, AtlasLocator* atlasLocator) { in uploadToPage() argument
190 if (plot->addSubImage(width, height, image, atlasLocator)) { in uploadToPage()
191 return this->updatePlot(target, atlasLocator, plot); in uploadToPage()
210 AtlasLocator* atlasLocator) { in addToAtlas() argument
[all …]
DGrDrawOpAtlas.h129 void setLastUseToken(const skgpu::AtlasLocator& atlasLocator, skgpu::AtlasToken token) { in setLastUseToken() argument
130 SkASSERT(this->hasID(atlasLocator.plotLocator())); in setLastUseToken()
131 uint32_t plotIdx = atlasLocator.plotIndex(); in setLastUseToken()
133 uint32_t pageIdx = atlasLocator.pageIndex(); in setLastUseToken()
244 SkDEBUGCODE(void validate(const skgpu::AtlasLocator& atlasLocator) const;)
/external/skia/src/gpu/graphite/
DDrawAtlas.cpp69 void DrawAtlas::validate(const AtlasLocator& atlasLocator) const { in validate()
74 int plotIndex = atlasLocator.plotIndex(); in validate()
75 auto topLeft = atlasLocator.topLeft(); in validate()
144 inline bool DrawAtlas::updatePlot(AtlasLocator* atlasLocator, Plot* plot) { in updatePlot() argument
150 atlasLocator->updatePlotLocator(plot->plotLocator()); in updatePlot()
151 SkDEBUGCODE(this->validate(*atlasLocator);) in updatePlot()
156 AtlasLocator* atlasLocator) { in addToPage() argument
164 if (plot->addSubImage(width, height, image, atlasLocator)) { in addToPage()
165 return this->updatePlot(atlasLocator, plot); in addToPage()
221 AtlasLocator* atlasLocator) { in addToAtlas() argument
[all …]
DDrawAtlas.h127 void setLastUseToken(const AtlasLocator& atlasLocator, AtlasToken token) { in setLastUseToken() argument
128 SkASSERT(this->hasID(atlasLocator.plotLocator())); in setLastUseToken()
129 uint32_t plotIdx = atlasLocator.plotIndex(); in setLastUseToken()
131 uint32_t pageIdx = atlasLocator.pageIndex(); in setLastUseToken()
238 SkDEBUGCODE(void validate(const AtlasLocator& atlasLocator) const;)
/external/skia/tests/
DDrawOpAtlasTest.cpp123 skgpu::AtlasLocator* atlasLocator, in fill_plot() argument
133 data.getAddr(0, 0), atlasLocator); in fill_plot()
186 skgpu::AtlasLocator atlasLocator; in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
187 bool result = fill_plot(atlas.get(), resourceProvider, &uploadTarget, &atlasLocator, 4 * 32); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/
DAtlasTypes.h383 bool add(const skgpu::AtlasLocator& atlasLocator) { in add() argument
384 int plotIdx = atlasLocator.plotIndex(); in add()
385 int pageIdx = atlasLocator.pageIndex(); in add()
453 bool addSubImage(int width, int height, const void* image, AtlasLocator* atlasLocator);
DAtlasTypes.cpp50 bool Plot::addSubImage(int width, int height, const void* image, AtlasLocator* atlasLocator) { in addSubImage() argument
89 atlasLocator->updateRect(rect); in addSubImage()
/external/skia/src/gpu/ganesh/text/
DGrAtlasManager.cpp229 skgpu::AtlasLocator* atlasLocator) { in addToAtlas() argument
231 atlasLocator); in addToAtlas()