Home
last modified time | relevance | path

Searched refs:widthInAtlas (Results 1 – 3 of 3) sorted by relevance

/third_party/skia/src/gpu/ops/
DAtlasPathRenderer.cpp188 int widthInAtlas = devIBounds->width(); in addPathToAtlas() local
191 SkASSERT(widthInAtlas > 0 && heightInAtlas > 0); in addPathToAtlas()
193 if (SkNextPow2(widthInAtlas) == SkNextPow2(heightInAtlas)) { in addPathToAtlas()
196 *transposedInAtlas = widthInAtlas > heightInAtlas; in addPathToAtlas()
200 *transposedInAtlas = heightInAtlas > widthInAtlas; in addPathToAtlas()
203 std::swap(heightInAtlas, widthInAtlas); in addPathToAtlas()
206 SkASSERT(widthInAtlas <= (int)fAtlasMaxPathWidth); in addPathToAtlas()
220 !fAtlasRenderTasks.back()->addPath(viewMatrix, path, devIBounds->topLeft(), widthInAtlas, in addPathToAtlas()
241 SkAssertResult(newAtlasTask->addPath(viewMatrix, path, devIBounds->topLeft(), widthInAtlas, in addPathToAtlas()
DAtlasRenderTask.cpp32 SkIPoint pathDevTopLeft, int widthInAtlas, int heightInAtlas, in addPath() argument
38 if (!fDynamicAtlas->addRect(widthInAtlas, heightInAtlas, locationInAtlas)) { in addPath()
DAtlasRenderTask.h39 bool addPath(const SkMatrix&, const SkPath&, SkIPoint pathDevTopLeft, int widthInAtlas,