mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 13:48:06 +02:00
gallium: delete pipe_context surface hooks
no longer used Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40462>
This commit is contained in:
parent
0615a276ca
commit
169c140ec3
2 changed files with 3 additions and 16 deletions
|
|
@ -867,19 +867,6 @@ struct pipe_context {
|
|||
void (*sampler_view_release)(struct pipe_context *ctx,
|
||||
struct pipe_sampler_view *view);
|
||||
|
||||
|
||||
/**
|
||||
* Get a surface which is a "view" into a resource, used by
|
||||
* render target / depth stencil stages.
|
||||
*/
|
||||
struct pipe_surface *(*create_surface)(struct pipe_context *ctx,
|
||||
struct pipe_resource *resource,
|
||||
const struct pipe_surface *templat);
|
||||
|
||||
void (*surface_destroy)(struct pipe_context *ctx,
|
||||
struct pipe_surface *);
|
||||
|
||||
|
||||
/**
|
||||
* Map a resource.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -454,9 +454,9 @@ enum pipe_flush_flags
|
|||
* Resource binding flags -- gallium frontends must specify in advance all
|
||||
* the ways a resource might be used.
|
||||
*/
|
||||
#define PIPE_BIND_DEPTH_STENCIL (1 << 0) /* create_surface */
|
||||
#define PIPE_BIND_RENDER_TARGET (1 << 1) /* create_surface */
|
||||
#define PIPE_BIND_BLENDABLE (1 << 2) /* create_surface */
|
||||
#define PIPE_BIND_DEPTH_STENCIL (1 << 0) /* set_framebuffer_state */
|
||||
#define PIPE_BIND_RENDER_TARGET (1 << 1) /* set_framebuffer_state */
|
||||
#define PIPE_BIND_BLENDABLE (1 << 2) /* set_framebuffer_state */
|
||||
#define PIPE_BIND_SAMPLER_VIEW (1 << 3) /* create_sampler_view */
|
||||
#define PIPE_BIND_VERTEX_BUFFER (1 << 4) /* set_vertex_buffers */
|
||||
#define PIPE_BIND_INDEX_BUFFER (1 << 5) /* draw_elements */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue