Searched refs:widthInAtlas (Results 1 – 3 of 3) sorted by relevance
/third_party/skia/src/gpu/ops/ |
D | AtlasPathRenderer.cpp | 188 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()
|
D | AtlasRenderTask.cpp | 32 SkIPoint pathDevTopLeft, int widthInAtlas, int heightInAtlas, in addPath() argument 38 if (!fDynamicAtlas->addRect(widthInAtlas, heightInAtlas, locationInAtlas)) { in addPath()
|
D | AtlasRenderTask.h | 39 bool addPath(const SkMatrix&, const SkPath&, SkIPoint pathDevTopLeft, int widthInAtlas,
|