Lines Matching refs:stdraw
149 struct st_framebuffer *stdraw,
152 if (stdraw && stdraw->stamp != st->draw_stamp) {
154 _mesa_resize_framebuffer(st->ctx, &stdraw->Base,
155 stdraw->Base.Width,
156 stdraw->Base.Height);
157 st->draw_stamp = stdraw->stamp;
161 if (stread != stdraw) {
712 struct st_framebuffer *stdraw, *stread;
719 stdraw = st_framebuffer_reuse_or_create(st->ctx->WinSysDrawBuffer,
729 if (stdraw)
730 st_framebuffer_reference(&stread, stdraw);
733 if (stdraw && stread) {
734 st_framebuffer_validate(stdraw, st);
735 if (stread != stdraw)
738 ret = _mesa_make_current(st->ctx, &stdraw->Base, &stread->Base);
740 st->draw_stamp = stdraw->stamp - 1;
742 st_context_validate(st, stdraw, stread);
749 st_framebuffer_reference(&stdraw, NULL);
825 struct st_framebuffer *stdraw = st_ws_framebuffer(st->ctx->DrawBuffer);
828 if (stdraw)
829 st_framebuffer_validate(stdraw, st);
830 if (stread && stread != stdraw)
833 st_context_validate(st, stdraw, stread);