• Home
  • Raw
  • Download

Lines Matching refs:mask

65       GLuint mask;  in TAG()  local
66 mask = (((cw < cx) << CLIP_RIGHT_SHIFT)); in TAG()
67 mask |= (((cw < -cx) << CLIP_LEFT_SHIFT)); in TAG()
68 mask |= (((cw < cy) << CLIP_TOP_SHIFT)); in TAG()
69 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT)); in TAG()
71 mask |= (((cw < cz) << CLIP_FAR_SHIFT)); in TAG()
72 mask |= (((cw < -cz) << CLIP_NEAR_SHIFT)); in TAG()
75 GLubyte mask = 0; in TAG() local
76 if (-cx + cw < 0) mask |= CLIP_RIGHT_BIT; in TAG()
77 if ( cx + cw < 0) mask |= CLIP_LEFT_BIT; in TAG()
78 if (-cy + cw < 0) mask |= CLIP_TOP_BIT; in TAG()
79 if ( cy + cw < 0) mask |= CLIP_BOTTOM_BIT; in TAG()
81 if (-cz + cw < 0) mask |= CLIP_FAR_BIT; in TAG()
82 if ( cz + cw < 0) mask |= CLIP_NEAR_BIT; in TAG()
86 clipMask[i] = mask; in TAG()
87 if (mask) { in TAG()
89 tmpAndMask &= mask; in TAG()
90 tmpOrMask |= mask; in TAG()
145 GLuint mask; in TAG() local
146 mask = (((cw < cx) << CLIP_RIGHT_SHIFT)); in TAG()
147 mask |= (((cw < -cx) << CLIP_LEFT_SHIFT)); in TAG()
148 mask |= (((cw < cy) << CLIP_TOP_SHIFT)); in TAG()
149 mask |= (((cw < -cy) << CLIP_BOTTOM_SHIFT)); in TAG()
151 mask |= (((cw < cz) << CLIP_FAR_SHIFT)); in TAG()
152 mask |= (((cw < -cz) << CLIP_NEAR_SHIFT)); in TAG()
155 GLubyte mask = 0; in TAG() local
156 if (-cx + cw < 0) mask |= CLIP_RIGHT_BIT; in TAG()
157 if ( cx + cw < 0) mask |= CLIP_LEFT_BIT; in TAG()
158 if (-cy + cw < 0) mask |= CLIP_TOP_BIT; in TAG()
159 if ( cy + cw < 0) mask |= CLIP_BOTTOM_BIT; in TAG()
161 if (-cz + cw < 0) mask |= CLIP_FAR_BIT; in TAG()
162 if ( cz + cw < 0) mask |= CLIP_NEAR_BIT; in TAG()
166 clipMask[i] = mask; in TAG()
167 if (mask) { in TAG()
169 tmpAndMask &= mask; in TAG()
170 tmpOrMask |= mask; in TAG()
196 GLubyte mask = 0; in TAG() local
197 if (cx > 1.0F) mask |= CLIP_RIGHT_BIT; in TAG()
198 else if (cx < -1.0F) mask |= CLIP_LEFT_BIT; in TAG()
199 if (cy > 1.0F) mask |= CLIP_TOP_BIT; in TAG()
200 else if (cy < -1.0F) mask |= CLIP_BOTTOM_BIT; in TAG()
202 if (cz > 1.0F) mask |= CLIP_FAR_BIT; in TAG()
203 else if (cz < -1.0F) mask |= CLIP_NEAR_BIT; in TAG()
205 clipMask[i] = mask; in TAG()
206 tmpOrMask |= mask; in TAG()
207 tmpAndMask &= mask; in TAG()
232 GLubyte mask = 0; in TAG() local
233 if (cx > 1.0F) mask |= CLIP_RIGHT_BIT; in TAG()
234 else if (cx < -1.0F) mask |= CLIP_LEFT_BIT; in TAG()
235 if (cy > 1.0F) mask |= CLIP_TOP_BIT; in TAG()
236 else if (cy < -1.0F) mask |= CLIP_BOTTOM_BIT; in TAG()
237 clipMask[i] = mask; in TAG()
238 tmpOrMask |= mask; in TAG()
239 tmpAndMask &= mask; in TAG()