Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/opengl/
Dpoly_clip.cpp41 #define CLIP_AND_SWAP(elem, sign, k, p, q, r) { \ macro
141 if (x0out) CLIP_AND_SWAP(sx, -1.0f, -1.0f, p, q, r); in poly_clip_to_frustum()
142 if (x1out) CLIP_AND_SWAP(sx, 1.0f, 1.0f, p, q, r); in poly_clip_to_frustum()
143 if (y0out) CLIP_AND_SWAP(sy, -1.0f, -1.0f, p, q, r); in poly_clip_to_frustum()
144 if (y1out) CLIP_AND_SWAP(sy, 1.0f, 1.0f, p, q, r); in poly_clip_to_frustum()
145 if (z0out) CLIP_AND_SWAP(sz, -1.0f, -1.0f, p, q, r); in poly_clip_to_frustum()
146 if (z1out) CLIP_AND_SWAP(sz, 1.0f, 1.0f, p, q, r); in poly_clip_to_frustum()