Lines Matching refs:GGLint
48 static void recti_validate(void* c, GGLint l, GGLint t, GGLint r, GGLint b);
49 static void recti(void* c, GGLint l, GGLint t, GGLint r, GGLint b);
169 GGLint l = (xc - halfSize) >> TRI_FRACTION_BITS; in pointx()
170 GGLint t = (yc - halfSize) >> TRI_FRACTION_BITS; in pointx()
171 GGLint r = (xc + halfSize) >> TRI_FRACTION_BITS; in pointx()
172 GGLint b = (yc + halfSize) >> TRI_FRACTION_BITS; in pointx()
210 GGLint l = (v[0] - rad) >> TRI_FRACTION_BITS; in aa_nice_pointx()
211 GGLint t = (v[1] - rad) >> TRI_FRACTION_BITS; in aa_nice_pointx()
212 GGLint r = (v[0] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS; in aa_nice_pointx()
213 GGLint b = (v[1] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS; in aa_nice_pointx()
218 if (l < GGLint(c->state.scissor.left)) { in aa_nice_pointx()
220 l = GGLint(c->state.scissor.left); in aa_nice_pointx()
222 if (t < GGLint(c->state.scissor.top)) { in aa_nice_pointx()
224 t = GGLint(c->state.scissor.top); in aa_nice_pointx()
226 if (r > GGLint(c->state.scissor.right)) { in aa_nice_pointx()
227 r = GGLint(c->state.scissor.right); in aa_nice_pointx()
229 if (b > GGLint(c->state.scissor.bottom)) { in aa_nice_pointx()
230 b = GGLint(c->state.scissor.bottom); in aa_nice_pointx()
275 GGLint l = (v[0] - rad) >> TRI_FRACTION_BITS; in aa_pointx()
276 GGLint t = (v[1] - rad) >> TRI_FRACTION_BITS; in aa_pointx()
277 GGLint r = (v[0] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS; in aa_pointx()
278 GGLint b = (v[1] + rad + (TRI_ONE-1)) >> TRI_FRACTION_BITS; in aa_pointx()
283 if (l < GGLint(c->state.scissor.left)) { in aa_pointx()
285 l = GGLint(c->state.scissor.left); in aa_pointx()
287 if (t < GGLint(c->state.scissor.top)) { in aa_pointx()
289 t = GGLint(c->state.scissor.top); in aa_pointx()
291 if (r > GGLint(c->state.scissor.right)) { in aa_pointx()
292 r = GGLint(c->state.scissor.right); in aa_pointx()
294 if (b > GGLint(c->state.scissor.bottom)) { in aa_pointx()
295 b = GGLint(c->state.scissor.bottom); in aa_pointx()
411 void recti_validate(void *con, GGLint l, GGLint t, GGLint r, GGLint b) in recti_validate()
419 void recti(void* con, GGLint l, GGLint t, GGLint r, GGLint b) in recti()
424 if (l < GGLint(c->state.scissor.left)) in recti()
425 l = GGLint(c->state.scissor.left); in recti()
426 if (t < GGLint(c->state.scissor.top)) in recti()
427 t = GGLint(c->state.scissor.top); in recti()
428 if (r > GGLint(c->state.scissor.right)) in recti()
429 r = GGLint(c->state.scissor.right); in recti()
430 if (b > GGLint(c->state.scissor.bottom)) in recti()
431 b = GGLint(c->state.scissor.bottom); in recti()