| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/freedreno/ |
| H A D | freedreno_surface.c | 37 const struct pipe_surface *surf_tmpl) 47 unsigned level = surf_tmpl->u.tex.level; 53 psurf->format = surf_tmpl->format; 56 psurf->nr_samples = surf_tmpl->nr_samples; 59 psurf->u.buf.first_element = surf_tmpl->u.buf.first_element; 60 psurf->u.buf.last_element = surf_tmpl->u.buf.last_element; 62 debug_assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); 64 psurf->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 65 psurf->u.tex.last_layer = surf_tmpl 35 fd_create_surface(struct pipe_context * pctx,struct pipe_resource * ptex,const struct pipe_surface * surf_tmpl) argument [all...] |
| H A D | freedreno_surface.h | 44 const struct pipe_surface *surf_tmpl);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/freedreno/ |
| H A D | freedreno_surface.c | 36 const struct pipe_surface *surf_tmpl) 44 unsigned level = surf_tmpl->u.tex.level; 50 psurf->format = surf_tmpl->format; 53 psurf->nr_samples = surf_tmpl->nr_samples; 56 psurf->u.buf.first_element = surf_tmpl->u.buf.first_element; 57 psurf->u.buf.last_element = surf_tmpl->u.buf.last_element; 60 psurf->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 61 psurf->u.tex.last_layer = surf_tmpl->u.tex.last_layer; 35 fd_create_surface(struct pipe_context * pctx,struct pipe_resource * ptex,const struct pipe_surface * surf_tmpl) argument
|
| H A D | freedreno_surface.h | 44 const struct pipe_surface *surf_tmpl);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_surface.c | 130 const struct pipe_surface *surf_tmpl) 136 if (util_format_is_depth_or_stencil(surf_tmpl->format)) { 149 ps->format = surf_tmpl->format; 151 assert(surf_tmpl->u.tex.level <= pt->last_level); 152 assert(surf_tmpl->u.tex.first_layer <= surf_tmpl->u.tex.last_layer); 153 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); 154 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); 155 ps->u.tex.level = surf_tmpl->u.tex.level; 156 ps->u.tex.first_layer = surf_tmpl 128 llvmpipe_create_surface(struct pipe_context * pipe,struct pipe_resource * pt,const struct pipe_surface * surf_tmpl) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/graw/ |
| H A D | clear.c | 43 struct pipe_surface surf_tmpl; local in function:init 84 surf_tmpl.format = templat.format; 85 surf_tmpl.u.tex.level = 0; 86 surf_tmpl.u.tex.first_layer = 0; 87 surf_tmpl.u.tex.last_layer = 0; 88 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
| H A D | shader-leak.c | 170 struct pipe_surface surf_tmpl; local in function:init 211 surf_tmpl.format = templat.format; 212 surf_tmpl.u.tex.level = 0; 213 surf_tmpl.u.tex.first_layer = 0; 214 surf_tmpl.u.tex.last_layer = 0; 215 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
| H A D | tri-gs.c | 177 struct pipe_surface surf_tmpl; local in function:init 218 surf_tmpl.format = templat.format; 219 surf_tmpl.u.tex.level = 0; 220 surf_tmpl.u.tex.first_layer = 0; 221 surf_tmpl.u.tex.last_layer = 0; 222 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
| H A D | tri-instanced.c | 228 struct pipe_surface surf_tmpl; local in function:init 269 surf_tmpl.format = templat.format; 270 surf_tmpl.u.tex.level = 0; 271 surf_tmpl.u.tex.first_layer = 0; 272 surf_tmpl.u.tex.last_layer = 0; 273 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/tests/graw/ |
| H A D | clear.c | 43 struct pipe_surface surf_tmpl; local in function:init 84 surf_tmpl.format = templat.format; 85 surf_tmpl.u.tex.level = 0; 86 surf_tmpl.u.tex.first_layer = 0; 87 surf_tmpl.u.tex.last_layer = 0; 88 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
| H A D | shader-leak.c | 175 struct pipe_surface surf_tmpl; local in function:init 216 surf_tmpl.format = templat.format; 217 surf_tmpl.u.tex.level = 0; 218 surf_tmpl.u.tex.first_layer = 0; 219 surf_tmpl.u.tex.last_layer = 0; 220 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
| H A D | tri-gs.c | 182 struct pipe_surface surf_tmpl; local in function:init 223 surf_tmpl.format = templat.format; 224 surf_tmpl.u.tex.level = 0; 225 surf_tmpl.u.tex.first_layer = 0; 226 surf_tmpl.u.tex.last_layer = 0; 227 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/r300/ |
| H A D | r300_texture.h | 82 const struct pipe_surface *surf_tmpl, 88 const struct pipe_surface *surf_tmpl);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r300/ |
| H A D | r300_texture.h | 82 const struct pipe_surface *surf_tmpl, 88 const struct pipe_surface *surf_tmpl);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/i915/ |
| H A D | i915_surface.c | 45 const struct pipe_surface *surf_tmpl, 356 const struct pipe_surface *surf_tmpl, 362 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); 365 assert(surf_tmpl->u.tex.first_layer == 0); 372 ps->format = surf_tmpl->format; 373 ps->width = u_minify(width0, surf_tmpl->u.tex.level); 374 ps->height = u_minify(height0, surf_tmpl->u.tex.level); 375 ps->u.tex.level = surf_tmpl->u.tex.level; 376 ps->u.tex.first_layer = surf_tmpl 354 i915_create_surface_custom(struct pipe_context * ctx,struct pipe_resource * pt,const struct pipe_surface * surf_tmpl,unsigned width0,unsigned height0) argument 384 i915_create_surface(struct pipe_context * ctx,struct pipe_resource * pt,const struct pipe_surface * surf_tmpl) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/ |
| H A D | st_cb_eglimage.c | 149 struct pipe_surface *ps, surf_tmpl; local in function:st_egl_image_target_renderbuffer_storage 151 u_surface_default_template(&surf_tmpl, stimg.texture); 152 surf_tmpl.format = stimg.format; 153 surf_tmpl.u.tex.level = stimg.level; 154 surf_tmpl.u.tex.first_layer = stimg.layer; 155 surf_tmpl.u.tex.last_layer = stimg.layer; 156 ps = pipe->create_surface(pipe, stimg.texture, &surf_tmpl);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/ |
| H A D | sp_texture.c | 293 const struct pipe_surface *surf_tmpl) 302 ps->format = surf_tmpl->format; 304 assert(surf_tmpl->u.tex.level <= pt->last_level); 305 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); 306 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); 307 ps->u.tex.level = surf_tmpl->u.tex.level; 308 ps->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 309 ps->u.tex.last_layer = surf_tmpl->u.tex.last_layer; 316 ps->width = surf_tmpl->u.buf.last_element - surf_tmpl 291 softpipe_create_surface(struct pipe_context * pipe,struct pipe_resource * pt,const struct pipe_surface * surf_tmpl) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/ |
| H A D | sp_texture.c | 293 const struct pipe_surface *surf_tmpl) 302 ps->format = surf_tmpl->format; 304 assert(surf_tmpl->u.tex.level <= pt->last_level); 305 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); 306 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); 307 ps->u.tex.level = surf_tmpl->u.tex.level; 308 ps->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 309 ps->u.tex.last_layer = surf_tmpl->u.tex.last_layer; 316 ps->width = surf_tmpl->u.buf.last_element - surf_tmpl 291 softpipe_create_surface(struct pipe_context * pipe,struct pipe_resource * pt,const struct pipe_surface * surf_tmpl) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/ |
| H A D | lp_surface.c | 185 const struct pipe_surface *surf_tmpl) 191 if (util_format_is_depth_or_stencil(surf_tmpl->format)) { 204 ps->format = surf_tmpl->format; 206 assert(surf_tmpl->u.tex.level <= pt->last_level); 207 assert(surf_tmpl->u.tex.first_layer <= surf_tmpl->u.tex.last_layer); 208 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); 209 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); 210 ps->u.tex.level = surf_tmpl->u.tex.level; 211 ps->u.tex.first_layer = surf_tmpl 183 llvmpipe_create_surface(struct pipe_context * pipe,struct pipe_resource * pt,const struct pipe_surface * surf_tmpl) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/tests/trivial/ |
| H A D | tri.c | 86 struct pipe_surface surf_tmpl; local in function:init_prog 160 surf_tmpl.format = PIPE_FORMAT_B8G8R8A8_UNORM; 161 surf_tmpl.u.tex.level = 0; 162 surf_tmpl.u.tex.first_layer = 0; 163 surf_tmpl.u.tex.last_layer = 0; 169 p->framebuffer.cbufs[0] = p->pipe->create_surface(p->pipe, p->target, &surf_tmpl);
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/tests/trivial/ |
| H A D | tri.c | 86 struct pipe_surface surf_tmpl; local in function:init_prog 160 surf_tmpl.format = PIPE_FORMAT_B8G8R8A8_UNORM; 161 surf_tmpl.u.tex.level = 0; 162 surf_tmpl.u.tex.first_layer = 0; 163 surf_tmpl.u.tex.last_layer = 0; 169 p->framebuffer.cbufs[0] = p->pipe->create_surface(p->pipe, p->target, &surf_tmpl);
|
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/svga/ |
| H A D | svga_surface.c | 302 const struct pipe_surface *surf_tmpl, 323 layer = surf_tmpl->u.tex.first_layer; 329 layer = surf_tmpl->u.tex.first_layer; 331 nlayers = surf_tmpl->u.tex.last_layer - surf_tmpl->u.tex.first_layer + 1; 335 zslice = surf_tmpl->u.tex.first_layer; 341 s->base.format = surf_tmpl->format; 342 s->base.width = u_minify(pt->width0, surf_tmpl->u.tex.level); 343 s->base.height = u_minify(pt->height0, surf_tmpl->u.tex.level); 344 s->base.u.tex.level = surf_tmpl 300 svga_create_surface_view(struct pipe_context * pipe,struct pipe_resource * pt,const struct pipe_surface * surf_tmpl,boolean view) argument 448 svga_create_surface(struct pipe_context * pipe,struct pipe_resource * pt,const struct pipe_surface * surf_tmpl) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/svga/ |
| H A D | svga_surface.c | 286 const struct pipe_surface *surf_tmpl, 307 layer = surf_tmpl->u.tex.first_layer; 313 layer = surf_tmpl->u.tex.first_layer; 315 nlayers = surf_tmpl->u.tex.last_layer - surf_tmpl->u.tex.first_layer + 1; 319 zslice = surf_tmpl->u.tex.first_layer; 325 s->base.format = surf_tmpl->format; 326 s->base.width = u_minify(pt->width0, surf_tmpl->u.tex.level); 327 s->base.height = u_minify(pt->height0, surf_tmpl->u.tex.level); 328 s->base.u.tex.level = surf_tmpl 284 svga_create_surface_view(struct pipe_context * pipe,struct pipe_resource * pt,const struct pipe_surface * surf_tmpl,boolean clone_resource) argument 432 svga_create_surface(struct pipe_context * pipe,struct pipe_resource * pt,const struct pipe_surface * surf_tmpl) argument [all...] |
| /xsrc/external/mit/MesaLib/dist/src/gallium/drivers/i915/ |
| H A D | i915_surface.c | 44 const struct pipe_surface *surf_tmpl, 386 const struct pipe_surface *surf_tmpl, 392 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); 394 assert(surf_tmpl->u.tex.first_layer == 0); 404 ps->format = surf_tmpl->format; 405 ps->width = u_minify(width0, surf_tmpl->u.tex.level); 406 ps->height = u_minify(height0, surf_tmpl->u.tex.level); 407 ps->u.tex.level = surf_tmpl->u.tex.level; 408 ps->u.tex.first_layer = surf_tmpl 385 i915_create_surface_custom(struct pipe_context * ctx,struct pipe_resource * pt,const struct pipe_surface * surf_tmpl,unsigned width0,unsigned height0) argument 437 i915_create_surface(struct pipe_context * ctx,struct pipe_resource * pt,const struct pipe_surface * surf_tmpl) argument [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/driver_noop/ |
| H A D | noop_state.c | 91 const struct pipe_surface *surf_tmpl) 100 surface->format = surf_tmpl->format; 104 surface->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 105 surface->u.tex.last_layer = surf_tmpl->u.tex.last_layer; 106 surface->u.tex.level = surf_tmpl->u.tex.level; 89 noop_create_surface(struct pipe_context * ctx,struct pipe_resource * texture,const struct pipe_surface * surf_tmpl) argument
|