/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_blitter.c | 1516 struct pipe_surface *srcsurf, *dstsurf, surf_tmpl; local 1529 memset(&surf_tmpl, 0, sizeof(surf_tmpl)); 1530 surf_tmpl.format = dst->format; 1531 surf_tmpl.u.tex.level = dst_level; 1532 surf_tmpl.u.tex.first_layer = dst_layer; 1533 surf_tmpl.u.tex.last_layer = dst_layer; 1534 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET; 1536 dstsurf = pipe->create_surface(pipe, dst, &surf_tmpl); 1538 surf_tmpl [all...] |
H A D | u_debug.c | 546 struct pipe_surface *surface, surf_tmpl; local 552 memset(&surf_tmpl, 0, sizeof(surf_tmpl)); 553 u_surface_default_template(&surf_tmpl, texture, 0 /* no bind flag - not a surface */); 554 surface = pipe->create_surface(pipe, texture, &surf_tmpl);
|
/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/llvmpipe/ |
H A D | lp_texture.c | 558 const struct pipe_surface *surf_tmpl) 562 assert(surf_tmpl->u.tex.level <= pt->last_level); 569 ps->format = surf_tmpl->format; 570 ps->width = u_minify(pt->width0, surf_tmpl->u.tex.level); 571 ps->height = u_minify(pt->height0, surf_tmpl->u.tex.level); 572 ps->usage = surf_tmpl->usage; 574 ps->u.tex.level = surf_tmpl->u.tex.level; 575 ps->u.tex.first_layer = surf_tmpl->u.tex.first_layer; 576 ps->u.tex.last_layer = surf_tmpl->u.tex.last_layer; 556 llvmpipe_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/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/r300/ |
H A D | r300_render.c | 1262 struct pipe_surface *srcsurf, *dstsurf, surf_tmpl; local 1268 memset(&surf_tmpl, 0, sizeof(surf_tmpl)); 1269 surf_tmpl.format = info->src.res->format; 1270 surf_tmpl.u.tex.first_layer = 1271 surf_tmpl.u.tex.last_layer = info->src.layer; 1272 srcsurf = pipe->create_surface(pipe, info->src.res, &surf_tmpl); 1275 surf_tmpl.format = info->dst.res->format; 1276 surf_tmpl.u.tex.level = info->dst.level; 1277 surf_tmpl [all...] |
H A D | r300_texture.c | 1074 const struct pipe_surface *surf_tmpl, 1080 unsigned level = surf_tmpl->u.tex.level; 1082 assert(surf_tmpl->u.tex.first_layer == surf_tmpl->u.tex.last_layer); 1090 surface->base.format = surf_tmpl->format; 1093 surface->base.usage = surf_tmpl->usage; 1095 surface->base.u.tex.first_layer = surf_tmpl->u.tex.first_layer; 1096 surface->base.u.tex.last_layer = surf_tmpl->u.tex.last_layer; 1107 surf_tmpl->u.tex.first_layer); 1151 const struct pipe_surface *surf_tmpl) 1072 r300_create_surface_custom(struct pipe_context * ctx, struct pipe_resource* texture, const struct pipe_surface *surf_tmpl, unsigned width0_override, unsigned height0_override) argument 1149 r300_create_surface(struct pipe_context * ctx, struct pipe_resource* texture, const struct pipe_surface *surf_tmpl) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
H A D | r600_blit.c | 183 struct pipe_surface *zsurf, *cbsurf, surf_tmpl; local 190 surf_tmpl.format = texture->resource.b.b.format; 191 surf_tmpl.u.tex.level = level; 192 surf_tmpl.u.tex.first_layer = layer; 193 surf_tmpl.u.tex.last_layer = layer; 194 surf_tmpl.usage = PIPE_BIND_DEPTH_STENCIL; 196 zsurf = ctx->create_surface(ctx, &texture->resource.b.b, &surf_tmpl); 198 surf_tmpl.format = flushed_depth_texture->resource.b.b.format; 199 surf_tmpl.u.tex.level = level; 200 surf_tmpl 278 struct pipe_surface *cbsurf, surf_tmpl; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
H A D | r600_blit.c | 129 struct pipe_surface *zsurf, *cbsurf, surf_tmpl; local 131 surf_tmpl.format = texture->real_format; 132 surf_tmpl.u.tex.level = level; 133 surf_tmpl.u.tex.first_layer = layer; 134 surf_tmpl.u.tex.last_layer = layer; 135 surf_tmpl.usage = PIPE_BIND_DEPTH_STENCIL; 137 zsurf = ctx->create_surface(ctx, &texture->resource.b.b, &surf_tmpl); 139 surf_tmpl.format = texture->flushed_depth_texture->real_format; 140 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET; 142 (struct pipe_resource*)texture->flushed_depth_texture, &surf_tmpl); [all...] |
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/rbug/ |
H A D | rbug_context.c | 988 const struct pipe_surface *surf_tmpl) 999 surf_tmpl); 986 rbug_context_create_surface(struct pipe_context *_pipe, struct pipe_resource *_resource, 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/drivers/trace/ |
H A D | tr_context.c | 940 const struct pipe_surface *surf_tmpl) 953 trace_dump_arg_begin("surf_tmpl"); 954 trace_dump_surface_template(surf_tmpl, resource->target); 958 result = pipe->create_surface(pipe, resource, surf_tmpl); 938 trace_context_create_surface(struct pipe_context *_pipe, struct pipe_resource *_resource, const struct pipe_surface *surf_tmpl) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | image.c | 139 struct pipe_surface *surf, surf_tmpl; local 142 u_surface_default_template(&surf_tmpl, dst, PIPE_BIND_RENDER_TARGET); 143 surf = ctx->pipe->create_surface(ctx->pipe, dst, &surf_tmpl); 567 struct pipe_surface *surf, surf_tmpl; local 570 memset(&surf_tmpl, 0, sizeof(surf_tmpl)); 571 u_surface_default_template(&surf_tmpl, image_texture(src), 573 surf = pipe->create_surface(pipe, image_texture(src), &surf_tmpl); 587 struct pipe_surface *surf, surf_tmpl; local 593 memset(&surf_tmpl, [all...] |
H A D | mask.c | 398 struct pipe_surface *surf, surf_tmpl; local 401 u_surface_default_template(&surf_tmpl, layer->sampler_view->texture, 404 &surf_tmpl); 427 struct pipe_surface *surf, surf_tmpl; local 428 u_surface_default_template(&surf_tmpl, view->texture, 430 surf = pipe->create_surface(pipe, view->texture, &surf_tmpl);
|
H A D | renderer.c | 864 struct pipe_surface *surf, surf_tmpl; local 873 u_surface_default_template(&surf_tmpl, dst, 875 surf = renderer->pipe->create_surface(renderer->pipe, dst, &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...] |
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);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/ |
H A D | xorg_exa.c | 1067 struct pipe_surface surf_tmpl; local 1068 memset(&surf_tmpl, 0, sizeof(surf_tmpl)); 1069 u_surface_default_template(&surf_tmpl, priv->tex, 1072 return pipe->create_surface(pipe, priv->tex, &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 | fs-test.c | 427 struct pipe_surface surf_tmpl; local 468 surf_tmpl.format = templat.format; 469 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET; 470 surf_tmpl.u.tex.level = 0; 471 surf_tmpl.u.tex.first_layer = 0; 472 surf_tmpl.u.tex.last_layer = 0; 473 surf = ctx->create_surface(ctx, rttex, &surf_tmpl);
|
H A D | gs-test.c | 491 struct pipe_surface surf_tmpl; local 532 surf_tmpl.format = templat.format; 533 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET; 534 surf_tmpl.u.tex.level = 0; 535 surf_tmpl.u.tex.first_layer = 0; 536 surf_tmpl.u.tex.last_layer = 0; 537 surf = ctx->create_surface(ctx, rttex, &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);
|