Home
last modified time | relevance | path

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

/third_party/flutter/skia/tools/
DToolUtils.cpp283 SkScalar locX = x + 0.5f - center.fX; in create_frustum_normal_map() local
286 if (locX >= 0.0f) { in create_frustum_normal_map()
288 norm = locX >= locY ? right : down; // LR corner in create_frustum_normal_map()
290 norm = locX > -locY ? right : up; // UR corner in create_frustum_normal_map()
294 norm = -locX > locY ? left : down; // LL corner in create_frustum_normal_map()
296 norm = locX > locY ? up : left; // UL corner in create_frustum_normal_map()
319 SkScalar locX = x + 0.5f - center.fX; in create_tetra_normal_map() local
322 if (locX >= 0.0f) { in create_tetra_normal_map()
324 norm = locX >= locY ? rightUp : down; // LR corner in create_tetra_normal_map()
330 norm = -locX > locY ? leftUp : down; // LL corner in create_tetra_normal_map()
/third_party/skia/tools/
DToolUtils.cpp319 SkScalar locX = x + 0.5f - center.fX; in create_frustum_normal_map() local
322 if (locX >= 0.0f) { in create_frustum_normal_map()
324 norm = locX >= locY ? right : down; // LR corner in create_frustum_normal_map()
326 norm = locX > -locY ? right : up; // UR corner in create_frustum_normal_map()
330 norm = -locX > locY ? left : down; // LL corner in create_frustum_normal_map()
332 norm = locX > locY ? up : left; // UL corner in create_frustum_normal_map()
355 SkScalar locX = x + 0.5f - center.fX; in create_tetra_normal_map() local
358 if (locX >= 0.0f) { in create_tetra_normal_map()
360 norm = locX >= locY ? rightUp : down; // LR corner in create_tetra_normal_map()
366 norm = -locX > locY ? leftUp : down; // LL corner in create_tetra_normal_map()