Lines Matching defs:st
188 update_single_texture(struct st_context *st,
192 struct pipe_context *pipe = st->pipe;
193 struct gl_context *ctx = st->ctx;
210 retval = st_finalize_texture(ctx, st->pipe, texObj);
259 update_textures(struct st_context *st,
283 retval = update_single_texture(st, &sampler_view, texUnit);
304 cso_set_sampler_views(st->cso_context,
313 update_vertex_textures(struct st_context *st)
315 const struct gl_context *ctx = st->ctx;
318 update_textures(st,
322 st->state.sampler_views[PIPE_SHADER_VERTEX],
323 &st->state.num_sampler_views[PIPE_SHADER_VERTEX]);
329 update_fragment_textures(struct st_context *st)
331 const struct gl_context *ctx = st->ctx;
333 update_textures(st,
337 st->state.sampler_views[PIPE_SHADER_FRAGMENT],
338 &st->state.num_sampler_views[PIPE_SHADER_FRAGMENT]);
343 update_geometry_textures(struct st_context *st)
345 const struct gl_context *ctx = st->ctx;
348 update_textures(st,
352 st->state.sampler_views[PIPE_SHADER_GEOMETRY],
353 &st->state.num_sampler_views[PIPE_SHADER_GEOMETRY]);
362 ST_NEW_FRAGMENT_PROGRAM, /* st */
372 ST_NEW_VERTEX_PROGRAM, /* st */
382 ST_NEW_GEOMETRY_PROGRAM, /* st */
390 finalize_textures(struct st_context *st)
392 struct gl_context *ctx = st->ctx;
394 const GLboolean prev_missing_textures = st->missing_textures;
397 st->missing_textures = GL_FALSE;
408 retval = st_finalize_texture(ctx, st->pipe, texObj);
411 st->missing_textures = GL_TRUE;
418 if (prev_missing_textures != st->missing_textures)
419 st->dirty.st |= ST_NEW_FRAGMENT_PROGRAM;
427 0, /* st */