/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
H A D | st_atom_framebuffer.c | 71 struct pipe_surface surf_tmpl; local 72 memset(&surf_tmpl, 0, sizeof(surf_tmpl)); 73 surf_tmpl.format = format; 74 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET; 75 surf_tmpl.u.tex.level = level; 76 surf_tmpl.u.tex.first_layer = strb->rtt_face + strb->rtt_slice; 77 surf_tmpl.u.tex.last_layer = strb->rtt_face + strb->rtt_slice; 83 &surf_tmpl);
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_framebuffer.c | 71 struct pipe_surface surf_tmpl; local 72 memset(&surf_tmpl, 0, sizeof(surf_tmpl)); 73 surf_tmpl.format = format; 74 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET; 75 surf_tmpl.u.tex.level = level; 76 surf_tmpl.u.tex.first_layer = strb->rtt_face + strb->rtt_slice; 77 surf_tmpl.u.tex.last_layer = strb->rtt_face + strb->rtt_slice; 83 &surf_tmpl);
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
H A D | clear.c | 43 struct pipe_surface surf_tmpl; local 84 surf_tmpl.format = templat.format; 85 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET; 86 surf_tmpl.u.tex.level = 0; 87 surf_tmpl.u.tex.first_layer = 0; 88 surf_tmpl.u.tex.last_layer = 0; 89 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
H A D | quad-sample.c | 300 struct pipe_surface surf_tmpl; local 341 surf_tmpl.format = templat.format; 342 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET; 343 surf_tmpl.u.tex.level = 0; 344 surf_tmpl.u.tex.first_layer = 0; 345 surf_tmpl.u.tex.last_layer = 0; 346 surf = ctx->create_surface(ctx, rttex, &surf_tmpl);
|
H A D | shader-leak.c | 171 struct pipe_surface surf_tmpl; local 212 surf_tmpl.format = templat.format; 213 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET; 214 surf_tmpl.u.tex.level = 0; 215 surf_tmpl.u.tex.first_layer = 0; 216 surf_tmpl.u.tex.last_layer = 0; 217 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
H A D | tri-gs.c | 178 struct pipe_surface surf_tmpl; local 219 surf_tmpl.format = templat.format; 220 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET; 221 surf_tmpl.u.tex.level = 0; 222 surf_tmpl.u.tex.first_layer = 0; 223 surf_tmpl.u.tex.last_layer = 0; 224 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
H A D | tri-instanced.c | 229 struct pipe_surface surf_tmpl; local 270 surf_tmpl.format = templat.format; 271 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET; 272 surf_tmpl.u.tex.level = 0; 273 surf_tmpl.u.tex.first_layer = 0; 274 surf_tmpl.u.tex.last_layer = 0; 275 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
/external/mesa3d/src/gallium/tests/graw/ |
H A D | clear.c | 43 struct pipe_surface surf_tmpl; local 84 surf_tmpl.format = templat.format; 85 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET; 86 surf_tmpl.u.tex.level = 0; 87 surf_tmpl.u.tex.first_layer = 0; 88 surf_tmpl.u.tex.last_layer = 0; 89 surf = ctx->create_surface(ctx, tex, &surf_tmpl);
|
H A D | quad-sample.c | 300 struct pipe_surface surf_tmpl; local 341 surf_tmpl.format = templat.format; 342 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET; 343 surf_tmpl.u.tex.level = 0; 344 surf_tmpl.u.tex.first_layer = 0; 345 surf_tmpl.u.tex.last_layer = 0; 346 surf = ctx->create_surface(ctx, rttex, &surf_tmpl);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | vg_manager.c | 50 struct pipe_surface surf_tmpl; local 64 memset(&surf_tmpl, 0, sizeof(surf_tmpl)); 65 u_surface_default_template(&surf_tmpl, strb->texture, 67 strb->surface = pipe->create_surface(pipe, strb->texture, &surf_tmpl);
|
H A D | vg_context.c | 366 struct pipe_surface surf_tmpl; local 380 memset(&surf_tmpl, 0, sizeof(surf_tmpl)); 381 u_surface_default_template(&surf_tmpl, dsrb->texture, 385 &surf_tmpl); 449 struct pipe_surface surf_tmpl; local 453 memset(&surf_tmpl, 0, sizeof(surf_tmpl)); 454 u_surface_default_template(&surf_tmpl, stfb->blend_texture_view->texture, 458 &surf_tmpl); [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
H A D | vg_manager.c | 50 struct pipe_surface surf_tmpl; local 64 memset(&surf_tmpl, 0, sizeof(surf_tmpl)); 65 u_surface_default_template(&surf_tmpl, strb->texture, 67 strb->surface = pipe->create_surface(pipe, strb->texture, &surf_tmpl);
|
H A D | vg_context.c | 366 struct pipe_surface surf_tmpl; local 380 memset(&surf_tmpl, 0, sizeof(surf_tmpl)); 381 u_surface_default_template(&surf_tmpl, dsrb->texture, 385 &surf_tmpl); 449 struct pipe_surface surf_tmpl; local 453 memset(&surf_tmpl, 0, sizeof(surf_tmpl)); 454 u_surface_default_template(&surf_tmpl, stfb->blend_texture_view->texture, 458 &surf_tmpl); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
H A D | i915_surface.c | 281 const struct pipe_surface *surf_tmpl) 285 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); 288 assert(surf_tmpl->u.tex.first_layer == 0); 295 ps->format = surf_tmpl->format; 296 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); 297 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); 298 ps->u.tex.level = surf_tmpl->u.tex.level; 299 ps->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 300 ps->u.tex.last_layer = surf_tmpl 279 i915_create_surface(struct pipe_context *ctx, struct pipe_resource *pt, const struct pipe_surface *surf_tmpl) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/noop/ |
H A D | noop_state.c | 107 const struct pipe_surface *surf_tmpl) 116 surface->format = surf_tmpl->format; 119 surface->usage = surf_tmpl->usage; 121 surface->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 122 surface->u.tex.last_layer = surf_tmpl->u.tex.last_layer; 123 surface->u.tex.level = surf_tmpl->u.tex.level; 105 noop_create_surface(struct pipe_context *ctx, struct pipe_resource *texture, const struct pipe_surface *surf_tmpl) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
H A D | r600_texture.c | 552 const struct pipe_surface *surf_tmpl) 556 unsigned level = surf_tmpl->u.tex.level; 558 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); 562 /* offset = r600_texture_get_offset(rtex, level, surf_tmpl->u.tex.first_layer);*/ 566 surface->base.format = surf_tmpl->format; 569 surface->base.usage = surf_tmpl->usage; 571 surface->base.u.tex.first_layer = surf_tmpl->u.tex.first_layer; 572 surface->base.u.tex.last_layer = surf_tmpl->u.tex.last_layer; 550 r600_create_surface(struct pipe_context *pipe, struct pipe_resource *texture, const struct pipe_surface *surf_tmpl) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
H A D | sp_texture.c | 259 const struct pipe_surface *surf_tmpl) 262 unsigned level = surf_tmpl->u.tex.level; 265 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); 272 ps->format = surf_tmpl->format; 275 ps->usage = surf_tmpl->usage; 278 ps->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 279 ps->u.tex.last_layer = surf_tmpl->u.tex.last_layer; 257 softpipe_create_surface(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_surface *surf_tmpl) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
H A D | svga_surface.c | 186 const struct pipe_surface *surf_tmpl) 195 boolean render = (surf_tmpl->usage & (PIPE_BIND_RENDER_TARGET | 201 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); 208 face = surf_tmpl->u.tex.first_layer; 213 zslice = surf_tmpl->u.tex.first_layer; 219 s->base.format = surf_tmpl->format; 220 s->base.width = u_minify(pt->width0, surf_tmpl->u.tex.level); 221 s->base.height = u_minify(pt->height0, surf_tmpl->u.tex.level); 222 s->base.usage = surf_tmpl 184 svga_create_surface(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_surface *surf_tmpl) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/ |
H A D | quad-tex.c | 91 struct pipe_surface surf_tmpl; local 217 surf_tmpl.format = PIPE_FORMAT_B8G8R8A8_UNORM; /* All drivers support this */ 218 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET; 219 surf_tmpl.u.tex.level = 0; 220 surf_tmpl.u.tex.first_layer = 0; 221 surf_tmpl.u.tex.last_layer = 0; 227 p->framebuffer.cbufs[0] = p->pipe->create_surface(p->pipe, p->target, &surf_tmpl);
|
H A D | tri.c | 86 struct pipe_surface surf_tmpl; local 158 surf_tmpl.format = PIPE_FORMAT_B8G8R8A8_UNORM; 159 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET; 160 surf_tmpl.u.tex.level = 0; 161 surf_tmpl.u.tex.first_layer = 0; 162 surf_tmpl.u.tex.last_layer = 0; 168 p->framebuffer.cbufs[0] = p->pipe->create_surface(p->pipe, p->target, &surf_tmpl);
|
/external/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_surface.c | 281 const struct pipe_surface *surf_tmpl) 285 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); 288 assert(surf_tmpl->u.tex.first_layer == 0); 295 ps->format = surf_tmpl->format; 296 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); 297 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); 298 ps->u.tex.level = surf_tmpl->u.tex.level; 299 ps->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 300 ps->u.tex.last_layer = surf_tmpl 279 i915_create_surface(struct pipe_context *ctx, struct pipe_resource *pt, const struct pipe_surface *surf_tmpl) argument [all...] |
/external/mesa3d/src/gallium/drivers/noop/ |
H A D | noop_state.c | 107 const struct pipe_surface *surf_tmpl) 116 surface->format = surf_tmpl->format; 119 surface->usage = surf_tmpl->usage; 121 surface->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 122 surface->u.tex.last_layer = surf_tmpl->u.tex.last_layer; 123 surface->u.tex.level = surf_tmpl->u.tex.level; 105 noop_create_surface(struct pipe_context *ctx, struct pipe_resource *texture, const struct pipe_surface *surf_tmpl) argument
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | r600_texture.c | 552 const struct pipe_surface *surf_tmpl) 556 unsigned level = surf_tmpl->u.tex.level; 558 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); 562 /* offset = r600_texture_get_offset(rtex, level, surf_tmpl->u.tex.first_layer);*/ 566 surface->base.format = surf_tmpl->format; 569 surface->base.usage = surf_tmpl->usage; 571 surface->base.u.tex.first_layer = surf_tmpl->u.tex.first_layer; 572 surface->base.u.tex.last_layer = surf_tmpl->u.tex.last_layer; 550 r600_create_surface(struct pipe_context *pipe, struct pipe_resource *texture, const struct pipe_surface *surf_tmpl) argument
|
/external/mesa3d/src/gallium/drivers/softpipe/ |
H A D | sp_texture.c | 259 const struct pipe_surface *surf_tmpl) 262 unsigned level = surf_tmpl->u.tex.level; 265 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); 272 ps->format = surf_tmpl->format; 275 ps->usage = surf_tmpl->usage; 278 ps->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 279 ps->u.tex.last_layer = surf_tmpl->u.tex.last_layer; 257 softpipe_create_surface(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_surface *surf_tmpl) argument
|
/external/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_surface.c | 186 const struct pipe_surface *surf_tmpl) 195 boolean render = (surf_tmpl->usage & (PIPE_BIND_RENDER_TARGET | 201 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); 208 face = surf_tmpl->u.tex.first_layer; 213 zslice = surf_tmpl->u.tex.first_layer; 219 s->base.format = surf_tmpl->format; 220 s->base.width = u_minify(pt->width0, surf_tmpl->u.tex.level); 221 s->base.height = u_minify(pt->height0, surf_tmpl->u.tex.level); 222 s->base.usage = surf_tmpl 184 svga_create_surface(struct pipe_context *pipe, struct pipe_resource *pt, const struct pipe_surface *surf_tmpl) argument [all...] |