Lines Matching refs:ViewportArray
68 if (ctx->ViewportArray[idx].X == x && in set_viewport_no_notify()
69 ctx->ViewportArray[idx].Width == width && in set_viewport_no_notify()
70 ctx->ViewportArray[idx].Y == y && in set_viewport_no_notify()
71 ctx->ViewportArray[idx].Height == height) in set_viewport_no_notify()
77 ctx->ViewportArray[idx].X = x; in set_viewport_no_notify()
78 ctx->ViewportArray[idx].Width = width; in set_viewport_no_notify()
79 ctx->ViewportArray[idx].Y = y; in set_viewport_no_notify()
80 ctx->ViewportArray[idx].Height = height; in set_viewport_no_notify()
290 if (ctx->ViewportArray[idx].Near == nearval && in set_depth_range_no_notify()
291 ctx->ViewportArray[idx].Far == farval) in set_depth_range_no_notify()
298 ctx->ViewportArray[idx].Near = CLAMP(nearval, 0.0, 1.0); in set_depth_range_no_notify()
299 ctx->ViewportArray[idx].Far = CLAMP(farval, 0.0, 1.0); in set_depth_range_no_notify()
485 ctx->ViewportArray[i].X = 0; in _mesa_init_viewport()
486 ctx->ViewportArray[i].Y = 0; in _mesa_init_viewport()
487 ctx->ViewportArray[i].Width = 0; in _mesa_init_viewport()
488 ctx->ViewportArray[i].Height = 0; in _mesa_init_viewport()
489 ctx->ViewportArray[i].Near = 0.0; in _mesa_init_viewport()
490 ctx->ViewportArray[i].Far = 1.0; in _mesa_init_viewport()
578 float x = ctx->ViewportArray[i].X; in _mesa_get_viewport_xform()
579 float y = ctx->ViewportArray[i].Y; in _mesa_get_viewport_xform()
580 float half_width = 0.5f * ctx->ViewportArray[i].Width; in _mesa_get_viewport_xform()
581 float half_height = 0.5f * ctx->ViewportArray[i].Height; in _mesa_get_viewport_xform()
582 double n = ctx->ViewportArray[i].Near; in _mesa_get_viewport_xform()
583 double f = ctx->ViewportArray[i].Far; in _mesa_get_viewport_xform()