Home
last modified time | relevance | path

Searched refs:pipe_resource (Results 1 – 25 of 617) 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,
232 const struct pipe_resource *templat);
237 struct pipe_resource * (*resource_create)(struct pipe_screen *,
238 const struct pipe_resource *templat);
240 struct pipe_resource * (*resource_create_drawable)(struct pipe_screen *,
241 const struct pipe_resource *tmpl,
244 struct pipe_resource * (*resource_create_front)(struct pipe_screen *,
245 const struct pipe_resource *templat,
259 struct pipe_resource * (*resource_from_handle)(struct pipe_screen *,
[all …]
Dp_state.h461 struct pipe_resource *texture; /**< resource into which this is a view */
493 struct pipe_resource *texture; /**< texture into which this is a view */
516 struct pipe_resource *resource; /**< resource into which this is a view */
555 struct pipe_resource struct
591 struct pipe_resource *next; argument
606 struct pipe_resource *resource; /**< resource to transfer to/from */ argument
632 struct pipe_resource *resource; /**< the actual buffer */
644 struct pipe_resource *buffer; /**< the actual buffer */
655 struct pipe_resource *buffer; /**< the actual buffer */
684 struct pipe_resource *buffer; /**< the output buffer */
[all …]
Dp_context.h62 struct pipe_resource;
207 struct pipe_resource *buffer,
271 struct pipe_resource *resource,
611 struct pipe_resource *,
652 struct pipe_resource *dst,
655 struct pipe_resource *src,
715 struct pipe_resource *res,
725 struct pipe_resource *res,
792 struct pipe_resource *texture,
814 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 …]
Du_threaded_context.h304 struct pipe_resource *dst,
305 struct pipe_resource *src,
312 struct pipe_resource *resource,
316 struct pipe_resource b;
334 struct pipe_resource *latest;
388 struct pipe_resource *staging;
541 void threaded_resource_init(struct pipe_resource *res, bool allow_cpu_storage);
542 void threaded_resource_deinit(struct pipe_resource *res);
575 threaded_resource(struct pipe_resource *res) in threaded_resource()
624 tc_buffer_disable_cpu_storage(struct pipe_resource *buf) in tc_buffer_disable_cpu_storage()
[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/llvmpipe/
Dlp_texture.h65 struct pipe_resource base;
127 llvmpipe_resource(struct pipe_resource *pt) in llvmpipe_resource()
134 llvmpipe_resource_const(const struct pipe_resource *pt) in llvmpipe_resource_const()
158 llvmpipe_resource_is_texture(const struct pipe_resource *resource) in llvmpipe_resource_is_texture()
180 llvmpipe_resource_is_1d(const struct pipe_resource *resource) in llvmpipe_resource_is_1d()
202 llvmpipe_layer_stride(struct pipe_resource *resource, in llvmpipe_layer_stride()
212 llvmpipe_resource_stride(struct pipe_resource *resource, in llvmpipe_resource_stride()
221 llvmpipe_sample_stride(struct pipe_resource *resource) in llvmpipe_sample_stride()
228 llvmpipe_resource_map(struct pipe_resource *resource,
234 llvmpipe_resource_unmap(struct pipe_resource *resource,
[all …]
Dlp_texture.c77 struct pipe_resource *pt = &lpr->base; in llvmpipe_texture_layout()
191 const struct pipe_resource *res) in llvmpipe_can_create_resource()
228 static struct pipe_resource *
230 const struct pipe_resource *templat, in llvmpipe_resource_create_all()
306 static struct pipe_resource *
308 const struct pipe_resource *templat, in llvmpipe_resource_create_front()
314 static struct pipe_resource *
316 const struct pipe_resource *templat) in llvmpipe_resource_create()
321 static struct pipe_resource *
323 const struct pipe_resource *templat, in llvmpipe_resource_create_unbacked()
[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/etnaviv/
Detnaviv_resource.h74 struct pipe_resource base;
93 struct pipe_resource *texture;
95 struct pipe_resource *render;
127 etna_resource_sampler_only(const struct pipe_resource *pres) in etna_resource_sampler_only()
135 etna_resource_hw_tileable(bool use_blt, const struct pipe_resource *pres) in etna_resource_hw_tileable()
146 etna_resource(struct pipe_resource *p) in etna_resource()
152 etna_resource_used(struct etna_context *ctx, struct pipe_resource *prsc,
156 resource_read(struct etna_context *ctx, struct pipe_resource *prsc) in resource_read()
162 resource_written(struct etna_context *ctx, struct pipe_resource *prsc) in resource_written()
178 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/
Dr600_pipe_common.h578 struct pipe_resource *dst,
581 struct pipe_resource *src,
585 void (*dma_clear_buffer)(struct pipe_context *ctx, struct pipe_resource *dst,
588 void (*clear_buffer)(struct pipe_context *ctx, struct pipe_resource *dst,
601 void (*invalidate_buffer)(struct pipe_context *ctx, struct pipe_resource *buf);
606 void (*rebind_buffer)(struct pipe_context *ctx, struct pipe_resource *buf,
631 struct pipe_resource *buffer,
639 void r600_buffer_destroy(struct pipe_screen *screen, struct pipe_resource *buf);
643 struct pipe_resource *r600_buffer_create(struct pipe_screen *screen,
644 const struct pipe_resource *templ,
[all …]
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()
293 struct pipe_resource *src = (struct pipe_resource *)pool->bo; in compute_memory_finalize_pending()
326 struct pipe_resource *src, struct pipe_resource *dst, in compute_memory_defrag()
361 struct pipe_resource *src = (struct pipe_resource *)item->real_buffer; in compute_memory_promote_item()
362 struct pipe_resource *dst = (struct pipe_resource *)pool->bo; in compute_memory_promote_item()
408 struct pipe_resource *src = (struct pipe_resource *)pool->bo; in compute_memory_demote_item()
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.h49 struct pipe_resource b;
137 struct pipe_resource *buf; /* points to the upload buffer if this
151 svga_texture(struct pipe_resource *resource) in svga_texture()
264 struct pipe_resource *
266 const struct pipe_resource *template);
271 struct pipe_resource *texture,
275 struct pipe_resource *
277 const struct pipe_resource *template,
282 struct pipe_resource *pt,
297 const struct pipe_resource *pt);
[all …]
Dsvga_resource_buffer.h76 struct pipe_resource b;
153 struct pipe_resource *buffer;
226 struct pipe_resource *buffer;
235 svga_buffer(struct pipe_resource *resource) in svga_buffer()
248 svga_buffer_is_user_buffer(struct pipe_resource *buffer) in svga_buffer_is_user_buffer()
361 struct pipe_resource *
367 struct pipe_resource *
369 const struct pipe_resource *template);
384 struct pipe_resource *buf,
403 struct pipe_resource *buf);
[all …]
/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.c224 const struct pipe_resource *templat) in rbug_screen_can_create_resource()
233 static struct pipe_resource *
235 const struct pipe_resource *templat) in rbug_screen_resource_create()
239 struct pipe_resource *result; in rbug_screen_resource_create()
249 static struct pipe_resource *
251 const struct pipe_resource *templat, in rbug_screen_resource_create_with_modifiers()
256 struct pipe_resource *result; in rbug_screen_resource_create_with_modifiers()
268 static struct pipe_resource *
270 const struct pipe_resource *templ, in rbug_screen_resource_from_handle()
276 struct pipe_resource *result; in rbug_screen_resource_from_handle()
[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;
118 static inline struct pipe_resource *
125 static inline struct pipe_resource *
150 extern struct pipe_resource *
178 const struct pipe_resource *pt,
200 st_texture_depth_offsets(struct pipe_resource *pt, GLuint level);
206 struct pipe_resource *dst, GLuint dstLevel,
207 struct pipe_resource *src, GLuint srcLevel,
211 extern struct pipe_resource *

12345678910>>...25