Searched defs:surf_tmpl (Results 26 - 50 of 68) sorted by relevance

123

/external/mesa3d/src/gallium/tests/graw/
H A Dshader-leak.c171 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 Dtri-gs.c178 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 Dtri-instanced.c229 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);
H A Dfs-test.c427 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 Dgs-test.c491 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 Dvs-test.c378 struct pipe_surface surf_tmpl; local
419 surf_tmpl.format = templat.format;
420 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET;
421 surf_tmpl.u.tex.level = 0;
422 surf_tmpl.u.tex.first_layer = 0;
423 surf_tmpl.u.tex.last_layer = 0;
424 surf = ctx->create_surface(ctx, rttex, &surf_tmpl);
/external/mesa3d/src/gallium/tests/trivial/
H A Dquad-tex.c91 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 Dtri.c86 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/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/
H A Dr300_texture.c1074 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/radeonsi/
H A Dr600_blit.c129 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...]
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/
H A Dfs-test.c427 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 Dgs-test.c491 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 Dvs-test.c378 struct pipe_surface surf_tmpl; local
419 surf_tmpl.format = templat.format;
420 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET;
421 surf_tmpl.u.tex.level = 0;
422 surf_tmpl.u.tex.first_layer = 0;
423 surf_tmpl.u.tex.last_layer = 0;
424 surf = ctx->create_surface(ctx, rttex, &surf_tmpl);
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/
H A Dst_cb_fbo.c117 struct pipe_surface surf_tmpl; local
209 u_surface_default_template(&surf_tmpl, strb->texture, templ.bind);
212 &surf_tmpl);
394 struct pipe_surface surf_tmpl; local
444 memset(&surf_tmpl, 0, sizeof(surf_tmpl));
445 surf_tmpl.format = ctx->Color.sRGBEnabled
447 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET;
448 surf_tmpl.u.tex.level = strb->rtt_level;
449 surf_tmpl
[all...]
H A Dst_manager.c208 struct pipe_surface *ps, surf_tmpl; local
227 u_surface_default_template(&surf_tmpl, textures[i],
229 ps = st->pipe->create_surface(st->pipe, textures[i], &surf_tmpl);
800 struct pipe_surface *ps, surf_tmpl; local
809 u_surface_default_template(&surf_tmpl, stimg.texture, usage);
810 surf_tmpl.u.tex.level = stimg.level;
811 surf_tmpl.u.tex.first_layer = stimg.layer;
812 surf_tmpl.u.tex.last_layer = stimg.layer;
813 ps = st->pipe->create_surface(st->pipe, stimg.texture, &surf_tmpl);
/external/mesa3d/src/gallium/drivers/r300/
H A Dr300_texture.c1074 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/mesa3d/src/gallium/drivers/radeonsi/
H A Dr600_blit.c129 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...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_fbo.c117 struct pipe_surface surf_tmpl; local
209 u_surface_default_template(&surf_tmpl, strb->texture, templ.bind);
212 &surf_tmpl);
394 struct pipe_surface surf_tmpl; local
444 memset(&surf_tmpl, 0, sizeof(surf_tmpl));
445 surf_tmpl.format = ctx->Color.sRGBEnabled
447 surf_tmpl.usage = PIPE_BIND_RENDER_TARGET;
448 surf_tmpl.u.tex.level = strb->rtt_level;
449 surf_tmpl
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_debug.c546 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/r600/
H A Dr600_blit.c183 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/state_trackers/vega/
H A Dimage.c139 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 Dmask.c398 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);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xorg/
H A Dxorg_exa.c1067 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/mesa3d/src/gallium/auxiliary/util/
H A Du_debug.c546 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/mesa3d/src/gallium/drivers/r600/
H A Dr600_blit.c183 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...]

Completed in 356 milliseconds

123