diff options
author | Christian König <[email protected]> | 2011-07-08 12:15:48 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-07-08 12:15:48 +0200 |
commit | 06ddbc3b8e58a6cf22708263a8b7d16cf1db5dbc (patch) | |
tree | 1c712b07bac17c050c1bfd9912a07452c8d68949 /src/gallium/auxiliary | |
parent | 2ec350ff1d9f13ec95d7b9d46f57ad9b9efcc8ea (diff) |
[g3dvl] remove create_surface from video context
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_context.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gallium/auxiliary/vl/vl_context.c b/src/gallium/auxiliary/vl/vl_context.c index 87de24c5402..b3340cbe256 100644 --- a/src/gallium/auxiliary/vl/vl_context.c +++ b/src/gallium/auxiliary/vl/vl_context.c @@ -45,18 +45,6 @@ vl_context_destroy(struct pipe_video_context *context) FREE(ctx); } -static struct pipe_surface * -vl_context_create_surface(struct pipe_video_context *context, - struct pipe_resource *resource, - const struct pipe_surface *templ) -{ - struct vl_context *ctx = (struct vl_context*)context; - - assert(ctx); - - return ctx->pipe->create_surface(ctx->pipe, resource, templ); -} - static struct pipe_sampler_view * vl_context_create_sampler_view(struct pipe_video_context *context, struct pipe_resource *resource, @@ -232,7 +220,6 @@ vl_create_context(struct pipe_context *pipe) ctx->base.screen = pipe->screen; ctx->base.destroy = vl_context_destroy; - ctx->base.create_surface = vl_context_create_surface; ctx->base.create_sampler_view = vl_context_create_sampler_view; ctx->base.clear_sampler = vl_context_clear_sampler; ctx->base.upload_sampler = vl_context_upload_sampler; |