struct pipe_texture *texture,
const struct pipe_sampler_view *templ)
{
- struct i915_context *i915 = i915_context(pipe);
struct pipe_sampler_view *view = CALLOC_STRUCT(pipe_sampler_view);
*view = *templ;
struct pipe_texture *texture,
const struct pipe_sampler_view *templ)
{
- struct brw_context *brw = brw_context(pipe);
struct pipe_sampler_view *view = CALLOC_STRUCT(pipe_sampler_view);
*view = *templ;
struct pipe_texture *texture,
const struct pipe_sampler_view *templ)
{
- struct softpipe_context *softpipe = softpipe_context(pipe);
struct pipe_sampler_view *view = CALLOC_STRUCT(pipe_sampler_view);
*view = *templ;
softpipe_sampler_view_destroy(struct pipe_context *pipe,
struct pipe_sampler_view *view)
{
- struct softpipe_context *softpipe = softpipe_context(pipe);
-
pipe_texture_reference(&view->texture, NULL);
FREE(view);
}
struct pipe_texture *texture,
const struct pipe_sampler_view *templ)
{
- struct svga_context *softpipe = svga_context(pipe);
struct pipe_sampler_view *view = CALLOC_STRUCT(pipe_sampler_view);
*view = *templ;
svga_sampler_view_destroy(struct pipe_context *pipe,
struct pipe_sampler_view *view)
{
- struct svga_context *svga = svga_context(pipe);
-
pipe_texture_reference(&view->texture, NULL);
FREE(view);
}