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 = SATURATE(nearval); in set_depth_range_no_notify()
299 ctx->ViewportArray[idx].Far = SATURATE(farval); 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()
491 ctx->ViewportArray[i].SwizzleX = GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV; in _mesa_init_viewport()
492 ctx->ViewportArray[i].SwizzleY = GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV; in _mesa_init_viewport()
493 ctx->ViewportArray[i].SwizzleZ = GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV; in _mesa_init_viewport()
494 ctx->ViewportArray[i].SwizzleW = GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV; in _mesa_init_viewport()
585 float x = ctx->ViewportArray[i].X; in _mesa_get_viewport_xform()
586 float y = ctx->ViewportArray[i].Y; in _mesa_get_viewport_xform()
587 float half_width = 0.5f * ctx->ViewportArray[i].Width; in _mesa_get_viewport_xform()
588 float half_height = 0.5f * ctx->ViewportArray[i].Height; in _mesa_get_viewport_xform()
589 double n = ctx->ViewportArray[i].Near; in _mesa_get_viewport_xform()
590 double f = ctx->ViewportArray[i].Far; in _mesa_get_viewport_xform()
671 struct gl_viewport_attrib *viewport = &ctx->ViewportArray[index]; in set_viewport_swizzle()