Lines Matching refs:stdraw
152 struct st_framebuffer *stdraw, in st_context_validate() argument
155 if (stdraw && stdraw->stamp != st->draw_stamp) { in st_context_validate()
157 _mesa_resize_framebuffer(st->ctx, &stdraw->Base, in st_context_validate()
158 stdraw->Base.Width, in st_context_validate()
159 stdraw->Base.Height); in st_context_validate()
160 st->draw_stamp = stdraw->stamp; in st_context_validate()
164 if (stread != stdraw) { in st_context_validate()
1021 struct st_framebuffer *stdraw, *stread; in st_api_make_current() local
1028 stdraw = st_framebuffer_reuse_or_create(st, in st_api_make_current()
1038 if (stdraw) in st_api_make_current()
1039 st_framebuffer_reference(&stread, stdraw); in st_api_make_current()
1042 if (stdraw && stread) { in st_api_make_current()
1043 st_framebuffer_validate(stdraw, st); in st_api_make_current()
1044 if (stread != stdraw) in st_api_make_current()
1047 ret = _mesa_make_current(st->ctx, &stdraw->Base, &stread->Base); in st_api_make_current()
1049 st->draw_stamp = stdraw->stamp - 1; in st_api_make_current()
1051 st_context_validate(st, stdraw, stread); in st_api_make_current()
1058 st_framebuffer_reference(&stdraw, NULL); in st_api_make_current()
1113 struct st_framebuffer *stdraw = st_ws_framebuffer(st->ctx->DrawBuffer); in st_manager_validate_framebuffers() local
1116 if (stdraw) in st_manager_validate_framebuffers()
1117 st_framebuffer_validate(stdraw, st); in st_manager_validate_framebuffers()
1118 if (stread && stread != stdraw) in st_manager_validate_framebuffers()
1121 st_context_validate(st, stdraw, stread); in st_manager_validate_framebuffers()