Lines Matching refs:stread
150 struct st_framebuffer *stread) in st_context_validate() argument
160 if (stread && stread->stamp != st->read_stamp) { in st_context_validate()
161 if (stread != stdraw) { in st_context_validate()
163 _mesa_resize_framebuffer(st->ctx, &stread->Base, in st_context_validate()
164 stread->Base.Width, in st_context_validate()
165 stread->Base.Height); in st_context_validate()
167 st->read_stamp = stread->stamp; in st_context_validate()
712 struct st_framebuffer *stdraw, *stread; in st_api_make_current() local
723 stread = st_framebuffer_reuse_or_create(st->ctx->WinSysReadBuffer, in st_api_make_current()
727 stread = NULL; 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()
735 if (stread != stdraw) in st_api_make_current()
736 st_framebuffer_validate(stread, st); in st_api_make_current()
738 ret = _mesa_make_current(st->ctx, &stdraw->Base, &stread->Base); in st_api_make_current()
741 st->read_stamp = stread->stamp - 1; in st_api_make_current()
742 st_context_validate(st, stdraw, stread); in st_api_make_current()
750 st_framebuffer_reference(&stread, NULL); in st_api_make_current()
826 struct st_framebuffer *stread = st_ws_framebuffer(st->ctx->ReadBuffer); in st_manager_validate_framebuffers() local
830 if (stread && stread != stdraw) in st_manager_validate_framebuffers()
831 st_framebuffer_validate(stread, st); in st_manager_validate_framebuffers()
833 st_context_validate(st, stdraw, stread); in st_manager_validate_framebuffers()