Searched refs:views (Results 1 - 25 of 204) sorted by relevance

123456789

/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_sampler_view.c62 struct st_sampler_views *views; local in function:st_texture_set_sampler_view
68 views = stObj->sampler_views;
70 for (i = 0; i < views->count; ++i) {
71 sv = &views->views[i];
90 if (views->count >= views->max) {
92 unsigned new_max = 2 * views->max;
93 unsigned new_size = sizeof(*views) + new_max * sizeof(views
171 const struct st_sampler_views *views = p_atomic_read(&stObj->sampler_views); local in function:st_texture_get_current_sampler_view
195 struct st_sampler_views *views = stObj->sampler_views; local in function:st_texture_release_context_sampler_view
225 struct st_sampler_views *views = stObj->sampler_views; local in function:st_texture_release_all_sampler_views
262 struct st_sampler_views *views = stObj->sampler_views_old; local in function:st_delete_texture_sampler_views
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_sampler_view.c93 struct st_sampler_views *views; local in function:st_texture_set_sampler_view
99 views = stObj->sampler_views;
101 for (i = 0; i < views->count; ++i) {
102 sv = &views->views[i];
122 if (views->count >= views->max) {
124 unsigned new_max = 2 * views->max;
125 unsigned new_size = sizeof(*views) + new_max * sizeof(views
206 struct st_sampler_views *views = p_atomic_read(&stObj->sampler_views); local in function:st_texture_get_current_sampler_view
230 struct st_sampler_views *views = stObj->sampler_views; local in function:st_texture_release_context_sampler_view
261 struct st_sampler_views *views = stObj->sampler_views; local in function:st_texture_release_all_sampler_views
300 struct st_sampler_views *views = stObj->sampler_views_old; local in function:st_delete_texture_sampler_views
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state.h164 struct pipe_sampler_view **views);
169 struct pipe_sampler_view **views);
174 struct pipe_sampler_view **views);
179 struct pipe_sampler_view **views);
187 struct pipe_image_view *views);
192 struct pipe_image_view *views);
197 struct pipe_image_view *views);
202 struct pipe_image_view *views);
H A Dlp_state_sampler.c124 struct pipe_sampler_view **views)
136 /* set the new sampler views */
140 if (views && views[i])
141 view = views[i];
277 struct pipe_sampler_view **views,
292 struct pipe_sampler_view *view = i < num ? views[i] : NULL;
381 struct pipe_sampler_view **views)
383 prepare_shader_sampling(lp, num, views, PIPE_SHADER_VERTEX);
393 struct pipe_sampler_view **views)
118 llvmpipe_set_sampler_views(struct pipe_context * pipe,enum pipe_shader_type shader,unsigned start,unsigned num,unsigned unbind_num_trailing_slots,bool take_ownership,struct pipe_sampler_view ** views) argument
274 prepare_shader_sampling(struct llvmpipe_context * lp,unsigned num,struct pipe_sampler_view ** views,enum pipe_shader_type shader_type) argument
379 llvmpipe_prepare_vertex_sampling(struct llvmpipe_context * lp,unsigned num,struct pipe_sampler_view ** views) argument
391 llvmpipe_prepare_geometry_sampling(struct llvmpipe_context * lp,unsigned num,struct pipe_sampler_view ** views) argument
402 llvmpipe_prepare_tess_ctrl_sampling(struct llvmpipe_context * lp,unsigned num,struct pipe_sampler_view ** views) argument
413 llvmpipe_prepare_tess_eval_sampling(struct llvmpipe_context * lp,unsigned num,struct pipe_sampler_view ** views) argument
425 struct pipe_sampler_view **views; local in function:llvmpipe_cleanup_stage_sampling
446 prepare_shader_images(struct llvmpipe_context * lp,unsigned num,struct pipe_image_view * views,enum pipe_shader_type shader_type) argument
546 llvmpipe_prepare_vertex_images(struct llvmpipe_context * lp,unsigned num,struct pipe_image_view * views) argument
558 llvmpipe_prepare_geometry_images(struct llvmpipe_context * lp,unsigned num,struct pipe_image_view * views) argument
569 llvmpipe_prepare_tess_ctrl_images(struct llvmpipe_context * lp,unsigned num,struct pipe_image_view * views) argument
580 llvmpipe_prepare_tess_eval_images(struct llvmpipe_context * lp,unsigned num,struct pipe_image_view * views) argument
592 struct pipe_image_view *views; local in function:llvmpipe_cleanup_stage_images
[all...]
/xsrc/external/mit/MesaLib/dist/src/panfrost/vulkan/
H A Dpanvk_vX_meta_blit.c37 struct pan_image_view views[2] = { local in function:panvk_meta_blit
73 views[0].format = blitinfo->dst.planes[0].image->layout.format;
74 fbinfo->zs.view.zs = &views[0];
78 fbinfo->zs.view.s = &views[0];
82 fbinfo->rts[0].view = &views[0];
90 views[1].format = blitinfo->dst.planes[1].format;
91 views[1].dim = MALI_TEXTURE_DIMENSION_2D;
92 views[1].image = blitinfo->dst.planes[1].image;
93 views[1].nr_samples = blitinfo->dst.planes[1].image->layout.nr_samples;
94 views[
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_texture.h39 struct pipe_sampler_view **views);
H A Dfreedreno_texture.c69 unsigned start, unsigned nr, struct pipe_sampler_view **views)
75 struct pipe_sampler_view *view = views ? views[i] : NULL;
109 struct pipe_sampler_view **views)
113 set_sampler_views(&ctx->tex[shader], start, nr, views);
68 set_sampler_views(struct fd_texture_stateobj * tex,unsigned start,unsigned nr,struct pipe_sampler_view ** views) argument
107 fd_set_sampler_views(struct pipe_context * pctx,enum pipe_shader_type shader,unsigned start,unsigned nr,struct pipe_sampler_view ** views) argument
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/
H A Dfreedreno_texture.h40 struct pipe_sampler_view **views);
H A Dfreedreno_texture.c72 struct pipe_sampler_view **views)
77 struct pipe_sampler_view *view = views ? views[i] : NULL;
118 struct pipe_sampler_view **views) in_dt
123 take_ownership, views);
70 set_sampler_views(struct fd_texture_stateobj * tex,unsigned start,unsigned nr,unsigned unbind_num_trailing_slots,bool take_ownership,struct pipe_sampler_view ** views) argument
114 fd_set_sampler_views(struct pipe_context * pctx,enum pipe_shader_type shader,unsigned start,unsigned nr,unsigned unbind_num_trailing_slots,bool take_ownership,struct pipe_sampler_view ** views) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/state_trackers/omx/
H A Dvid_dec_common.c87 struct pipe_sampler_view **views; local in function:vid_dec_FillOutput
91 views = buf->get_sampler_view_planes(buf);
107 assert(views);
132 if (!views[i]) continue;
136 for (j = 0; j < views[i]->texture->array_size; ++j) {
140 map = priv->pipe->transfer_map(priv->pipe, views[i]->texture, 0,
148 views[i]->texture->format,
149 def->nStride * views[i]->texture->array_size, 0, 0,
/xsrc/external/mit/MesaLib/dist/src/gallium/frontends/omx/
H A Dvid_dec_common.c86 struct pipe_sampler_view **views; local in function:vid_dec_FillOutput
90 views = buf->get_sampler_view_planes(buf);
106 assert(views);
131 if (!views[i]) continue;
137 for (j = 0; j < views[i]->texture->array_size; ++j) {
141 map = priv->pipe->texture_map(priv->pipe, views[i]->texture, 0,
149 views[i]->texture->format,
150 def->nStride * views[i]->texture->array_size, 0, 0,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_texture.c222 unsigned nr, struct pipe_sampler_view **views)
229 pipe_sampler_view_reference(&ctx->sampler_view[i], views[j]);
230 if (views[j]) {
242 /* sampler views that changed state (even to inactive) are also dirty */
248 struct pipe_sampler_view **views)
253 set_sampler_views(ctx, start, end, nr, views);
260 struct pipe_sampler_view **views)
265 set_sampler_views(ctx, start, end, nr, views);
271 struct pipe_sampler_view **views)
279 if (views[id
221 set_sampler_views(struct etna_context * ctx,unsigned start,unsigned end,unsigned nr,struct pipe_sampler_view ** views) argument
247 etna_fragtex_set_sampler_views(struct etna_context * ctx,unsigned nr,struct pipe_sampler_view ** views) argument
259 etna_vertex_set_sampler_views(struct etna_context * ctx,unsigned nr,struct pipe_sampler_view ** views) argument
269 etna_set_sampler_views(struct pipe_context * pctx,enum pipe_shader_type shader,unsigned start_slot,unsigned num_views,struct pipe_sampler_view ** views) argument
[all...]
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dmipmap_comp_tests.c66 static struct view views[] = variable in typeref:struct:view[]
92 MinLod = views[View].minLod;
93 MaxLod = views[View].maxLod;
102 if (views[++View].string == NULL)
105 MinLod = views[View].minLod;
106 MaxLod = views[View].maxLod;
184 printf("You should see: %s\n", views[View].string );
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv40_verttex.c76 struct pipe_sampler_view **views)
85 nv30->vertprog.textures[i] = views[i];
87 pipe_sampler_view_reference(&nv30->vertprog.textures[i], views[i]);
74 nv40_verttex_set_sampler_views(struct pipe_context * pipe,unsigned nr,bool take_ownership,struct pipe_sampler_view ** views) argument
H A Dnv30_fragtex.c177 struct pipe_sampler_view **views)
186 nv30->fragprog.textures[i] = views[i];
188 pipe_sampler_view_reference(&nv30->fragprog.textures[i], views[i]);
209 struct pipe_sampler_view **views)
214 nv30_fragtex_set_sampler_views(pipe, nr, take_ownership, views);
217 nv40_verttex_set_sampler_views(pipe, nr, take_ownership, views);
175 nv30_fragtex_set_sampler_views(struct pipe_context * pipe,unsigned nr,bool take_ownership,struct pipe_sampler_view ** views) argument
205 nv30_set_sampler_views(struct pipe_context * pipe,enum pipe_shader_type shader,unsigned start,unsigned nr,unsigned unbind_num_trailing_slots,bool take_ownership,struct pipe_sampler_view ** views) argument
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_state.h132 struct pipe_sampler_view **views);
137 struct pipe_sampler_view **views);
H A Dlp_state_sampler.c112 struct pipe_sampler_view **views)
124 /* set the new sampler views */
131 if (views[i] && views[i]->context != pipe) {
136 views[i]);
237 struct pipe_sampler_view **views,
252 struct pipe_sampler_view *view = i < num ? views[i] : NULL;
342 struct pipe_sampler_view **views)
344 prepare_shader_sampling(lp, num, views, PIPE_SHADER_VERTEX);
354 struct pipe_sampler_view **views)
108 llvmpipe_set_sampler_views(struct pipe_context * pipe,enum pipe_shader_type shader,unsigned start,unsigned num,struct pipe_sampler_view ** views) argument
234 prepare_shader_sampling(struct llvmpipe_context * lp,unsigned num,struct pipe_sampler_view ** views,enum pipe_shader_type shader_type) argument
340 llvmpipe_prepare_vertex_sampling(struct llvmpipe_context * lp,unsigned num,struct pipe_sampler_view ** views) argument
352 llvmpipe_prepare_geometry_sampling(struct llvmpipe_context * lp,unsigned num,struct pipe_sampler_view ** views) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/etnaviv/
H A Detnaviv_texture.c243 unsigned nr, bool take_ownership, struct pipe_sampler_view **views)
250 struct pipe_sampler_view *view = views ? views[j] : NULL;
270 /* sampler views that changed state (even to inactive) are also dirty */
277 struct pipe_sampler_view **views)
283 set_sampler_views(ctx, start, end, nr, take_ownership, views);
291 struct pipe_sampler_view **views)
297 set_sampler_views(ctx, start, end, nr, take_ownership, views);
305 struct pipe_sampler_view **views)
314 etna_fragtex_set_sampler_views(ctx, num_views, take_ownership, views);
242 set_sampler_views(struct etna_context * ctx,unsigned start,unsigned end,unsigned nr,bool take_ownership,struct pipe_sampler_view ** views) argument
275 etna_fragtex_set_sampler_views(struct etna_context * ctx,unsigned nr,bool take_ownership,struct pipe_sampler_view ** views) argument
289 etna_vertex_set_sampler_views(struct etna_context * ctx,unsigned nr,bool take_ownership,struct pipe_sampler_view ** views) argument
301 etna_set_sampler_views(struct pipe_context * pctx,enum pipe_shader_type shader,unsigned start_slot,unsigned num_views,unsigned unbind_num_trailing_slots,bool take_ownership,struct pipe_sampler_view ** views) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_state_sampler.c105 struct pipe_sampler_view **views)
115 /* set the new sampler views */
124 *pview = views[i];
126 pipe_sampler_view_reference(pview, views[i]);
129 views[i]);
184 struct pipe_sampler_view **views,
200 struct pipe_sampler_view *view = views[i];
306 struct pipe_sampler_view **views)
308 prepare_shader_sampling(sp, num, views, PIPE_SHADER_VERTEX,
330 struct pipe_sampler_view **views)
99 softpipe_set_sampler_views(struct pipe_context * pipe,enum pipe_shader_type shader,unsigned start,unsigned num,unsigned unbind_num_trailing_slots,bool take_ownership,struct pipe_sampler_view ** views) argument
181 prepare_shader_sampling(struct softpipe_context * sp,unsigned num,struct pipe_sampler_view ** views,enum pipe_shader_type shader_type,struct pipe_resource * mapped_tex[PIPE_MAX_SHADER_SAMPLER_VIEWS]) argument
304 softpipe_prepare_vertex_sampling(struct softpipe_context * sp,unsigned num,struct pipe_sampler_view ** views) argument
328 softpipe_prepare_geometry_sampling(struct softpipe_context * sp,unsigned num,struct pipe_sampler_view ** views) argument
[all...]
H A Dsp_state.h180 struct pipe_sampler_view **views);
216 struct pipe_sampler_view **views);
224 struct pipe_sampler_view **views);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_state_sampler.c103 struct pipe_sampler_view **views)
113 /* set the new sampler views */
119 pipe_sampler_view_reference(pview, views[i]);
121 views[i]);
170 struct pipe_sampler_view **views,
186 struct pipe_sampler_view *view = views[i];
281 struct pipe_sampler_view **views)
283 prepare_shader_sampling(sp, num, views, PIPE_SHADER_VERTEX,
303 struct pipe_sampler_view **views)
305 prepare_shader_sampling(sp, num, views, PIPE_SHADER_GEOMETR
99 softpipe_set_sampler_views(struct pipe_context * pipe,enum pipe_shader_type shader,unsigned start,unsigned num,struct pipe_sampler_view ** views) argument
167 prepare_shader_sampling(struct softpipe_context * sp,unsigned num,struct pipe_sampler_view ** views,enum pipe_shader_type shader_type,struct pipe_resource * mapped_tex[PIPE_MAX_SHADER_SAMPLER_VIEWS]) argument
279 softpipe_prepare_vertex_sampling(struct softpipe_context * sp,unsigned num,struct pipe_sampler_view ** views) argument
301 softpipe_prepare_geometry_sampling(struct softpipe_context * sp,unsigned num,struct pipe_sampler_view ** views) argument
[all...]
H A Dsp_state.h178 struct pipe_sampler_view **views);
210 struct pipe_sampler_view **views);
218 struct pipe_sampler_view **views);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/driver_rbug/
H A Drbug_context.h51 struct rbug_sampler_view *views[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_SAMPLER_VIEWS]; member in struct:rbug_context::__anon61d8509e0108
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/driver_rbug/
H A Drbug_context.h51 struct rbug_sampler_view *views[PIPE_SHADER_TYPES][PIPE_MAX_SHADER_SAMPLER_VIEWS]; member in struct:rbug_context::__anonaf7363710108
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv40_verttex.c75 struct pipe_sampler_view **views)
82 pipe_sampler_view_reference(&nv30->vertprog.textures[i], views[i]);
74 nv40_verttex_set_sampler_views(struct pipe_context * pipe,unsigned nr,struct pipe_sampler_view ** views) argument

Completed in 13 milliseconds

123456789