Home
last modified time | relevance | path

Searched refs:pipe_resource (Results 1 – 25 of 606) sorted by relevance

12345678910>>...25

/third_party/mesa3d/src/gallium/drivers/i915/
Di915_resource.h41 struct pipe_resource b;
50 struct pipe_resource *staging_texture;
62 struct pipe_resource b;
90 i915_texture(struct pipe_resource *resource) in i915_texture()
98 i915_buffer(struct pipe_resource *resource) in i915_buffer()
105 struct pipe_resource *i915_texture_create(struct pipe_screen *screen,
106 const struct pipe_resource *template,
111 struct pipe_resource *texture,
114 struct pipe_resource *
116 const struct pipe_resource *template,
[all …]
/third_party/mesa3d/src/gallium/include/pipe/
Dp_screen.h56 struct pipe_resource;
74 struct pipe_resource *indexbuf,
209 const struct pipe_resource *templat);
214 struct pipe_resource * (*resource_create)(struct pipe_screen *,
215 const struct pipe_resource *templat);
217 struct pipe_resource * (*resource_create_front)(struct pipe_screen *,
218 const struct pipe_resource *templat,
232 struct pipe_resource * (*resource_from_handle)(struct pipe_screen *,
233 const struct pipe_resource *templat,
241 struct pipe_resource * (*resource_from_user_memory)(struct pipe_screen *,
[all …]
Dp_state.h452 struct pipe_resource *texture; /**< resource into which this is a view */
484 struct pipe_resource *texture; /**< texture into which this is a view */
507 struct pipe_resource *resource; /**< resource into which this is a view */
546 struct pipe_resource struct
580 struct pipe_resource *next; argument
595 struct pipe_resource *resource; /**< resource to transfer to/from */ argument
621 struct pipe_resource *resource; /**< the actual buffer */
633 struct pipe_resource *buffer; /**< the actual buffer */
644 struct pipe_resource *buffer; /**< the actual buffer */
673 struct pipe_resource *buffer; /**< the output buffer */
[all …]
Dp_context.h63 struct pipe_resource;
207 struct pipe_resource *buffer,
271 struct pipe_resource *resource,
595 struct pipe_resource *,
636 struct pipe_resource *dst,
639 struct pipe_resource *src,
699 struct pipe_resource *res,
709 struct pipe_resource *res,
776 struct pipe_resource *texture,
798 struct pipe_resource *resource,
[all …]
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_transfer_helper.h56 struct pipe_resource * (*resource_create)(struct pipe_screen *pscreen,
57 const struct pipe_resource *templ);
60 struct pipe_resource *prsc);
63 struct pipe_resource *prsc,
88 enum pipe_format (*get_internal_format)(struct pipe_resource *prsc);
97 void (*set_stencil)(struct pipe_resource *prsc, struct pipe_resource *stencil);
98 struct pipe_resource *(*get_stencil)(struct pipe_resource *prsc);
101 struct pipe_resource *u_transfer_helper_resource_create(
102 struct pipe_screen *pscreen, const struct pipe_resource *templ);
105 struct pipe_resource *prsc);
[all …]
Du_inlines.h139 pipe_resource_destroy(struct pipe_resource *res) in pipe_resource_destroy()
143 struct pipe_resource *next = res->next; in pipe_resource_destroy()
154 pipe_resource_reference(struct pipe_resource **dst, struct pipe_resource *src) in pipe_resource_reference()
156 struct pipe_resource *old_dst = *dst; in pipe_resource_reference()
171 pipe_drop_resource_references(struct pipe_resource *dst, int num_refs) in pipe_drop_resource_references()
282 struct pipe_resource *pt, unsigned level, unsigned layer) in pipe_surface_reset()
295 struct pipe_resource *pt, unsigned level, unsigned layer) in pipe_surface_init()
327 static inline struct pipe_resource *
333 struct pipe_resource buffer; in pipe_buffer_create()
348 static inline struct pipe_resource *
[all …]
/third_party/mesa3d/src/gallium/auxiliary/postprocess/
Dpostprocess.h44 typedef void (*pp_func) (struct pp_queue_t *, struct pipe_resource *,
45 struct pipe_resource *, unsigned int);
59 void pp_run(struct pp_queue_t *, struct pipe_resource *,
60 struct pipe_resource *, struct pipe_resource *);
68 void pp_nocolor(struct pp_queue_t *, struct pipe_resource *,
69 struct pipe_resource *, unsigned int);
71 void pp_jimenezmlaa(struct pp_queue_t *, struct pipe_resource *,
72 struct pipe_resource *, unsigned int);
73 void pp_jimenezmlaa_color(struct pp_queue_t *, struct pipe_resource *,
74 struct pipe_resource *, unsigned int);
Dpp_private.h59 struct pipe_resource *vbuf;
74 struct pipe_resource *tmp[2]; /* Two temp FBOs for the queue */
75 struct pipe_resource *inner_tmp[3]; /* Three for filter use */
79 struct pipe_resource *depth; /* depth of original input */
80 struct pipe_resource *stencil; /* stencil shared by inner_tmps */
81 struct pipe_resource *areamaptex; /* MLAA area map texture */
101 struct pipe_resource *src_tex,
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_resource.h42 nv30_miptree(struct pipe_resource *pt) in nv30_miptree()
47 struct pipe_resource *
48 nv30_miptree_create(struct pipe_screen *, const struct pipe_resource *);
50 struct pipe_resource *
51 nv30_miptree_from_handle(struct pipe_screen *, const struct pipe_resource *,
55 nv30_miptree_surface_new(struct pipe_context *, struct pipe_resource *,
64 struct pipe_resource *pt,
69 nv30_miptree_destroy(struct pipe_screen *pscreen, struct pipe_resource *pt);
73 struct pipe_resource *dst, unsigned dst_level,
75 struct pipe_resource *src, unsigned src_level,
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_buffer.h8 struct pipe_resource;
35 struct pipe_resource base;
75 struct pipe_resource *presource);
89 nv04_resource(struct pipe_resource *resource) in nv04_resource()
96 nouveau_resource_mapped_by_gpu(struct pipe_resource *resource) in nouveau_resource_mapped_by_gpu()
101 struct pipe_resource *
103 const struct pipe_resource *templ);
105 struct pipe_resource *
107 const struct pipe_resource *templ,
110 struct pipe_resource *
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_texture.h62 struct pipe_resource base;
125 llvmpipe_resource(struct pipe_resource *pt) in llvmpipe_resource()
132 llvmpipe_resource_const(const struct pipe_resource *pt) in llvmpipe_resource_const()
156 llvmpipe_resource_is_texture(const struct pipe_resource *resource) in llvmpipe_resource_is_texture()
178 llvmpipe_resource_is_1d(const struct pipe_resource *resource) in llvmpipe_resource_is_1d()
200 llvmpipe_layer_stride(struct pipe_resource *resource, in llvmpipe_layer_stride()
210 llvmpipe_resource_stride(struct pipe_resource *resource, in llvmpipe_resource_stride()
219 llvmpipe_sample_stride(struct pipe_resource *resource) in llvmpipe_sample_stride()
226 llvmpipe_resource_map(struct pipe_resource *resource,
232 llvmpipe_resource_unmap(struct pipe_resource *resource,
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_resource.h74 struct pipe_resource base;
93 struct pipe_resource *texture;
95 struct pipe_resource *render;
132 etna_resource_sampler_only(const struct pipe_resource *pres) in etna_resource_sampler_only()
140 etna_resource_hw_tileable(bool use_blt, const struct pipe_resource *pres) in etna_resource_hw_tileable()
151 etna_resource(struct pipe_resource *p) in etna_resource()
157 etna_resource_used(struct etna_context *ctx, struct pipe_resource *prsc,
161 resource_read(struct etna_context *ctx, struct pipe_resource *prsc) in resource_read()
167 resource_written(struct etna_context *ctx, struct pipe_resource *prsc) in resource_written()
180 struct pipe_resource *
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_resource.h60 nv50_miptree(struct pipe_resource *pt) in nv50_miptree()
77 struct pipe_resource *
79 const struct pipe_resource *tmp);
82 nv50_miptree_destroy(struct pipe_screen *pscreen, struct pipe_resource *pt);
84 struct pipe_resource *
86 const struct pipe_resource *template,
92 struct pipe_resource *pt,
129 struct pipe_resource *,
134 struct pipe_resource *res,
151 struct pipe_resource *pt,
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
Dcompute_memory_pool.c52 struct pipe_resource *src, struct pipe_resource *dst,
60 struct pipe_resource *src, struct pipe_resource *dst,
151 struct pipe_resource *src = (struct pipe_resource *)pool->bo; in compute_memory_grow_defrag_pool()
152 struct pipe_resource *dst = (struct pipe_resource *)temp; in compute_memory_grow_defrag_pool()
180 struct pipe_resource *src = (struct pipe_resource *)pool->bo; in compute_memory_grow_defrag_pool()
256 struct pipe_resource *src = (struct pipe_resource *)pool->bo; in compute_memory_finalize_pending()
289 struct pipe_resource *src, struct pipe_resource *dst, in compute_memory_defrag()
324 struct pipe_resource *src = (struct pipe_resource *)item->real_buffer; in compute_memory_promote_item()
325 struct pipe_resource *dst = (struct pipe_resource *)pool->bo; in compute_memory_promote_item()
371 struct pipe_resource *src = (struct pipe_resource *)pool->bo; in compute_memory_demote_item()
[all …]
Dr600_pipe_common.h583 struct pipe_resource *dst,
586 struct pipe_resource *src,
590 void (*dma_clear_buffer)(struct pipe_context *ctx, struct pipe_resource *dst,
593 void (*clear_buffer)(struct pipe_context *ctx, struct pipe_resource *dst,
606 void (*invalidate_buffer)(struct pipe_context *ctx, struct pipe_resource *buf);
611 void (*rebind_buffer)(struct pipe_context *ctx, struct pipe_resource *buf,
636 struct pipe_resource *buffer,
644 void r600_buffer_destroy(struct pipe_screen *screen, struct pipe_resource *buf);
648 struct pipe_resource *r600_buffer_create(struct pipe_screen *screen,
649 const struct pipe_resource *templ,
[all …]
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_resource.h40 struct pipe_resource base;
52 struct pipe_resource *resolve_target;
65 swr_resource(struct pipe_resource *resource) in swr_resource()
71 swr_resource_is_texture(const struct pipe_resource *resource) in swr_resource_is_texture()
93 swr_resource_data(struct pipe_resource *resource) in swr_resource_data()
112 struct pipe_resource *resource,
128 swr_resource_read(struct pipe_resource *resource) in swr_resource_read()
134 swr_resource_write(struct pipe_resource *resource) in swr_resource_write()
140 swr_resource_unused(struct pipe_resource *resource) in swr_resource_unused()
/third_party/mesa3d/src/gallium/drivers/r300/
Dr300_texture.h32 struct pipe_resource;
66 struct pipe_resource *texture,
70 struct pipe_resource*
72 const struct pipe_resource* base,
76 struct pipe_resource*
78 const struct pipe_resource* templ);
81 struct pipe_resource* texture,
87 struct pipe_resource* texture,
Dr300_screen_buffer.h40 struct pipe_resource **index_buffer,
45 struct pipe_resource *buf);
47 struct pipe_resource *r300_buffer_create(struct pipe_screen *screen,
48 const struct pipe_resource *templ);
52 static inline struct r300_buffer *r300_buffer(struct pipe_resource *buffer) in r300_buffer()
59 struct pipe_resource *resource,
/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/
Drbug_screen.c210 const struct pipe_resource *templat) in rbug_screen_can_create_resource()
219 static struct pipe_resource *
221 const struct pipe_resource *templat) in rbug_screen_resource_create()
225 struct pipe_resource *result; in rbug_screen_resource_create()
235 static struct pipe_resource *
237 const struct pipe_resource *templat, in rbug_screen_resource_create_with_modifiers()
242 struct pipe_resource *result; in rbug_screen_resource_create_with_modifiers()
254 static struct pipe_resource *
256 const struct pipe_resource *templ, in rbug_screen_resource_from_handle()
262 struct pipe_resource *result; in rbug_screen_resource_from_handle()
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.h48 struct pipe_resource b;
141 struct pipe_resource *buf; /* points to the upload buffer if this
155 svga_texture(struct pipe_resource *resource) in svga_texture()
277 struct pipe_resource *
279 const struct pipe_resource *template);
284 struct pipe_resource *texture,
288 struct pipe_resource *
290 const struct pipe_resource *template,
295 struct pipe_resource *pt,
310 const struct pipe_resource *pt);
[all …]
Dsvga_resource_buffer.h75 struct pipe_resource b;
149 struct pipe_resource *buffer;
221 struct pipe_resource *buffer;
230 svga_buffer(struct pipe_resource *resource) in svga_buffer()
243 svga_buffer_is_user_buffer(struct pipe_resource *buffer) in svga_buffer_is_user_buffer()
338 struct pipe_resource *
344 struct pipe_resource *
346 const struct pipe_resource *template);
361 struct pipe_resource *buf,
380 struct pipe_resource *buf);
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_resource.c8 static struct pipe_resource *
10 const struct pipe_resource *templ) in nvc0_resource_create()
20 static struct pipe_resource *
22 const struct pipe_resource *templ, in nvc0_resource_create_with_modifiers()
34 nvc0_resource_destroy(struct pipe_screen *pscreen, struct pipe_resource *res) in nvc0_resource_destroy()
114 static struct pipe_resource *
116 const struct pipe_resource *templ, in nvc0_resource_from_handle()
123 struct pipe_resource *res = nv50_miptree_from_handle(screen, in nvc0_resource_from_handle()
131 struct pipe_resource *pres, in nvc0_surface_create()
139 static struct pipe_resource *
[all …]
/third_party/mesa3d/src/gallium/auxiliary/driver_noop/
Dnoop_pipe.c103 static struct pipe_resource *noop_resource_create(struct pipe_screen *screen, in noop_resource_create()
104 const struct pipe_resource *templ) in noop_resource_create()
127 static struct pipe_resource *
129 const struct pipe_resource *templ, in noop_resource_create_with_modifiers()
134 struct pipe_resource *result; in noop_resource_create_with_modifiers()
135 struct pipe_resource *noop_resource; in noop_resource_create_with_modifiers()
144 static struct pipe_resource *noop_resource_from_handle(struct pipe_screen *screen, in noop_resource_from_handle()
145 const struct pipe_resource *templ, in noop_resource_from_handle()
151 struct pipe_resource *result; in noop_resource_from_handle()
152 struct pipe_resource *noop_resource; in noop_resource_from_handle()
[all …]
/third_party/mesa3d/src/mesa/state_tracker/
Dst_texture.h39 struct pipe_resource;
116 struct pipe_resource *pt;
149 struct pipe_resource *pt;
242 static inline struct pipe_resource *
250 static inline struct pipe_resource *
280 extern struct pipe_resource *
307 const struct pipe_resource *pt,
329 st_texture_depth_offsets(struct pipe_resource *pt, GLuint level);
335 struct pipe_resource *dst, GLuint dstLevel,
336 struct pipe_resource *src, GLuint srcLevel,
[all …]
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/
Ddd_screen.c161 const struct pipe_resource *templat) in dd_screen_can_create_resource()
171 struct pipe_resource *resource, in dd_screen_flush_frontbuffer()
224 static struct pipe_resource *
226 const struct pipe_resource *templat) in dd_screen_resource_create()
229 struct pipe_resource *res = screen->resource_create(screen, templat); in dd_screen_resource_create()
237 static struct pipe_resource *
239 const struct pipe_resource *templ, in dd_screen_resource_from_handle()
244 struct pipe_resource *res = in dd_screen_resource_from_handle()
253 static struct pipe_resource *
255 const struct pipe_resource *templ, in dd_screen_resource_from_user_memory()
[all …]

12345678910>>...25