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