Lines Matching refs:viewstate
564 struct viewport_state *viewstate = CALLOC_STRUCT(viewport_state); in _mesa_PushAttrib() local
565 if (!viewstate) { in _mesa_PushAttrib()
570 if (!save_attrib_data(&head, GL_VIEWPORT_BIT, viewstate)) { in _mesa_PushAttrib()
571 free(viewstate); in _mesa_PushAttrib()
576 memcpy(&viewstate->ViewportArray, &ctx->ViewportArray, in _mesa_PushAttrib()
579 viewstate->SubpixelPrecisionBias[0] = ctx->SubpixelPrecisionBias[0]; in _mesa_PushAttrib()
580 viewstate->SubpixelPrecisionBias[1] = ctx->SubpixelPrecisionBias[1]; in _mesa_PushAttrib()
1482 const struct viewport_state *viewstate; in _mesa_PopAttrib() local
1483 viewstate = (const struct viewport_state *) attr->data; in _mesa_PopAttrib()
1486 const struct gl_viewport_attrib *vp = &viewstate->ViewportArray[i]; in _mesa_PopAttrib()
1493 GLuint biasx = viewstate->SubpixelPrecisionBias[0]; in _mesa_PopAttrib()
1494 GLuint biasy = viewstate->SubpixelPrecisionBias[1]; in _mesa_PopAttrib()