• Home
  • Raw
  • Download

Lines Matching refs:GLint

49 compute_zoomed_bounds(struct gl_context *ctx, GLint imageX, GLint imageY,  in compute_zoomed_bounds()
50 GLint spanX, GLint spanY, GLint width, in compute_zoomed_bounds()
51 GLint *x0, GLint *x1, GLint *y0, GLint *y1) in compute_zoomed_bounds()
54 GLint c0, c1, r0, r1; in compute_zoomed_bounds()
62 c0 = imageX + (GLint) ((spanX - imageX) * ctx->Pixel.ZoomX); in compute_zoomed_bounds()
63 c1 = imageX + (GLint) ((spanX + width - imageX) * ctx->Pixel.ZoomX); in compute_zoomed_bounds()
66 GLint tmp = c1; in compute_zoomed_bounds()
79 r0 = imageY + (GLint) ((spanY - imageY) * ctx->Pixel.ZoomY); in compute_zoomed_bounds()
80 r1 = imageY + (GLint) ((spanY + 1 - imageY) * ctx->Pixel.ZoomY); in compute_zoomed_bounds()
83 GLint tmp = r1; in compute_zoomed_bounds()
109 static inline GLint
110 unzoom_x(GLfloat zoomX, GLint imageX, GLint zx) in unzoom_x()
117 GLint x; in unzoom_x()
120 x = imageX + (GLint) ((zx - imageX) / zoomX); in unzoom_x()
131 zoom_span( struct gl_context *ctx, GLint imgX, GLint imgY, const SWspan *span, in zoom_span()
136 GLint x0, x1, y0, y1; in zoom_span()
137 GLint zoomedWidth; in zoom_span()
213 GLint i; in zoom_span()
215 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
217 ASSERT(j < (GLint) span->end); in zoom_span()
223 GLint i; in zoom_span()
225 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
227 ASSERT(j < (GLint) span->end); in zoom_span()
233 GLint i; in zoom_span()
235 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
245 GLint i; in zoom_span()
247 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
249 ASSERT(j < (GLint) span->end); in zoom_span()
258 GLint i; in zoom_span()
260 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
262 ASSERT(j < (GLint) span->end); in zoom_span()
271 GLint i; in zoom_span()
273 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
285 GLint i; in zoom_span()
287 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - span->x; in zoom_span()
289 ASSERT(j < (GLint) span->end); in zoom_span()
302 const GLint end = zoomed.end; /* save */ in zoom_span()
304 const GLint pixelSize = in zoom_span()
332 _swrast_write_zoomed_rgba_span(struct gl_context *ctx, GLint imgX, GLint imgY, in _swrast_write_zoomed_rgba_span()
340 _swrast_write_zoomed_rgb_span(struct gl_context *ctx, GLint imgX, GLint imgY, in _swrast_write_zoomed_rgb_span()
348 _swrast_write_zoomed_depth_span(struct gl_context *ctx, GLint imgX, GLint imgY, in _swrast_write_zoomed_depth_span()
361 _swrast_write_zoomed_stencil_span(struct gl_context *ctx, GLint imgX, GLint imgY, in _swrast_write_zoomed_stencil_span()
362 GLint width, GLint spanX, GLint spanY, in _swrast_write_zoomed_stencil_span()
366 GLint x0, x1, y0, y1, y; in _swrast_write_zoomed_stencil_span()
367 GLint i, zoomedWidth; in _swrast_write_zoomed_stencil_span()
384 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - spanX; in _swrast_write_zoomed_stencil_span()
404 _swrast_write_zoomed_z_span(struct gl_context *ctx, GLint imgX, GLint imgY, in _swrast_write_zoomed_z_span()
405 GLint width, GLint spanX, GLint spanY, in _swrast_write_zoomed_z_span()
411 GLint x0, x1, y0, y1, y; in _swrast_write_zoomed_z_span()
412 GLint i, zoomedWidth; in _swrast_write_zoomed_z_span()
429 GLint j = unzoom_x(ctx->Pixel.ZoomX, imgX, x0 + i) - spanX; in _swrast_write_zoomed_z_span()