Home
last modified time | relevance | path

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

/external/skqp/src/gpu/ccpr/
DGrCCPathCache.cpp41 Sk2f transFloor; local
44 transFloor = translate;
46 transFloor = translate.floor();
47 (translate - transFloor).store(fSubpixelTranslate);
49 shift->set((int)transFloor[0], (int)transFloor[1]);
50 SkASSERT((float)shift->fX == transFloor[0]); // Make sure transFloor had integer values.
51 SkASSERT((float)shift->fY == transFloor[1]);