Home | History | Annotate | Download | only in state_tracker

Lines Matching refs:stObj

143 					  struct st_texture_object *stObj,
148 GLuint swizzle = apply_depthmode(stObj->pt->format,
149 stObj->base._Swizzle,
150 stObj->base.DepthMode);
153 stObj->pt,
155 templ.u.tex.first_level = stObj->base.BaseLevel;
164 return pipe->create_sampler_view(pipe, stObj->pt, &templ);
169 st_get_texture_sampler_view_from_stobj(struct st_texture_object *stObj,
174 if (!stObj || !stObj->pt) {
178 if (!stObj->sampler_view) {
179 stObj->sampler_view =
180 st_create_texture_sampler_view_from_stobj(pipe, stObj, samp, format);
183 return stObj->sampler_view;
196 struct st_texture_object *stObj;
208 stObj = st_texture_object(texObj);
217 st_view_format = stObj->pt->format;
220 st_texture_image(stObj->base.Image[0][stObj->base.BaseLevel]);
235 if (firstImageFormat != stObj->pt->format)
240 if (stObj->sampler_view) {
241 if (check_sampler_swizzle(stObj->sampler_view,
242 stObj->base._Swizzle,
243 stObj->base.DepthMode) ||
244 (st_view_format != stObj->sampler_view->format) ||
245 stObj->base.BaseLevel != stObj->sampler_view->u.tex.first_level) {
246 pipe_sampler_view_reference(&stObj->sampler_view, NULL);
250 *sampler_view = st_get_texture_sampler_view_from_stobj(stObj, pipe,