Home
last modified time | relevance | path

Searched refs:srf (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_context.c88 struct xa_surface *srf, in xa_surface_dma() argument
106 transfer = pipe_get_transfer(pipe, srf->tex, 0, 0, in xa_surface_dma()
117 util_copy_rect(map, srf->tex->format, transfer->stride, in xa_surface_dma()
120 util_copy_rect(data, srf->tex->format, pitch, in xa_surface_dma()
137 struct xa_surface *srf, unsigned int usage) in xa_surface_map() argument
146 if (srf->transfer) in xa_surface_map()
157 srf->transfer = pipe_get_transfer(pipe, srf->tex, 0, 0, in xa_surface_map()
159 srf->tex->width0, srf->tex->height0); in xa_surface_map()
160 if (!srf->transfer) in xa_surface_map()
163 map = pipe_transfer_map(pipe, srf->transfer); in xa_surface_map()
[all …]
Dxa_tracker.c291 struct xa_surface *srf; in xa_surface_create() local
302 srf = calloc(1, sizeof(*srf)); in xa_surface_create()
303 if (!srf) in xa_surface_create()
306 template = &srf->template; in xa_surface_create()
323 srf->tex = xa->screen->resource_create(xa->screen, template); in xa_surface_create()
324 if (!srf->tex) in xa_surface_create()
327 srf->xa = xa; in xa_surface_create()
328 srf->flags = flags; in xa_surface_create()
329 srf->fdesc = fdesc; in xa_surface_create()
331 return srf; in xa_surface_create()
[all …]
Dxa_composite.c131 if (!dst_pic->srf) in blend_for_op()
134 if (dst_pic->srf->tex->format == PIPE_FORMAT_L8_UNORM) { in blend_for_op()
284 struct xa_surface *src = src_pic->srf; in picture_format_fixups()
375 if (ctx->srf->format == PIPE_FORMAT_L8_UNORM) in bind_shaders()
420 src_pic->srf->tex, in bind_samplers()
421 src_pic->srf->tex->format); in bind_samplers()
422 src_view = pipe->create_sampler_view(pipe, src_pic->srf->tex, in bind_samplers()
444 mask_pic->srf->tex, in bind_samplers()
445 mask_pic->srf->tex->format); in bind_samplers()
446 src_view = pipe->create_sampler_view(pipe, mask_pic->srf->tex, in bind_samplers()
[all …]
Dxa_tracker.h163 enum xa_formats xa_surface_format(const struct xa_surface *srf);
165 extern void xa_surface_destroy(struct xa_surface *srf);
167 extern int xa_surface_redefine(struct xa_surface *srf,
176 extern int xa_surface_handle(struct xa_surface *srf,
Dxa_context.h74 struct xa_surface *srf,
81 struct xa_surface *srf, unsigned int usage);
83 extern void xa_surface_unmap(struct xa_surface *srf);
Dxa_yuv.c134 renderer_bind_destination(r, r->srf, r->srf->width, r->srf->height); in xa_yuv_planar_blit()
Dxa_priv.h104 struct pipe_surface *srf; member
231 struct xa_surface *srf[]);
Dxa_renderer.c294 float dstW, float dstH, struct xa_surface *srf[]) in setup_vertex_data_yuv() argument
305 tex = srf[0]->tex; in setup_vertex_data_yuv()
508 int dst_y, int dst_w, int dst_h, struct xa_surface *srf[]) in renderer_draw_yuv() argument
514 dst_x, dst_y, dst_w, dst_h, srf); in renderer_draw_yuv()
Dxa_composite.h93 struct xa_surface *srf; member
/external/swiftshader/third_party/LLVM/test/Transforms/CorrelatedValuePropagation/
Dcrash.ll29 br label %srf.exit.i
31 srf.exit.i:
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c502 struct svga_winsys_surface *srf; in svga_texture_from_handle() local
515 srf = sws->surface_from_handle(sws, whandle, &format); in svga_texture_from_handle()
517 if (!srf) in svga_texture_from_handle()
551 SVGA_DBG(DEBUG_DMA, "wrap surface sid %p\n", srf); in svga_texture_from_handle()
554 tex->handle = srf; in svga_texture_from_handle()
Dsvga_winsys.h301 struct svga_winsys_surface *srf);
/external/llvm/test/Transforms/CorrelatedValuePropagation/
Dcrash.ll29 br label %srf.exit.i
31 srf.exit.i: