Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_tracker.c333 struct xa_surface *srf; in surface_create() local
344 srf = calloc(1, sizeof(*srf)); in surface_create()
345 if (!srf) in surface_create()
348 template = &srf->template; in surface_create()
366 srf->tex = xa->screen->resource_from_handle(xa->screen, template, whandle, in surface_create()
369 srf->tex = xa->screen->resource_create(xa->screen, template); in surface_create()
370 if (!srf->tex) in surface_create()
373 srf->refcount = 1; in surface_create()
374 srf->xa = xa; in surface_create()
375 srf->flags = flags; in surface_create()
[all …]
Dxa_context.c85 if (r->srf) in xa_context_destroy()
86 pipe_surface_reference(&r->srf, NULL); in xa_context_destroy()
98 struct xa_surface *srf, in xa_surface_dma() argument
116 map = pipe_transfer_map(pipe, srf->tex, 0, 0, in xa_surface_dma()
123 util_copy_rect(map, srf->tex->format, transfer->stride, in xa_surface_dma()
126 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()
165 map = pipe_transfer_map(pipe, srf->tex, 0, 0, in xa_surface_map()
167 srf->tex->width0, srf->tex->height0, in xa_surface_map()
[all …]
Dxa_composite.c132 if (!dst_pic->srf) in blend_for_op()
135 if ((dst_pic->srf->tex->format == PIPE_FORMAT_L8_UNORM || in blend_for_op()
136 dst_pic->srf->tex->format == PIPE_FORMAT_R8_UNORM)) { in blend_for_op()
286 struct xa_surface *src = src_pic->srf; in picture_format_fixups()
378 if (ctx->srf->format == PIPE_FORMAT_L8_UNORM || in bind_shaders()
379 ctx->srf->format == PIPE_FORMAT_R8_UNORM) in bind_shaders()
424 src_pic->srf->tex, in bind_samplers()
425 src_pic->srf->tex->format); in bind_samplers()
426 src_view = pipe->create_sampler_view(pipe, src_pic->srf->tex, in bind_samplers()
448 mask_pic->srf->tex, in bind_samplers()
[all …]
Dxa_tracker.h193 enum xa_formats xa_surface_format(const struct xa_surface *srf);
195 extern struct xa_surface *xa_surface_ref(struct xa_surface *srf);
196 extern void xa_surface_unref(struct xa_surface *srf);
198 extern int xa_surface_redefine(struct xa_surface *srf,
207 extern int xa_surface_handle(struct xa_surface *srf,
Dxa_context.h76 struct xa_surface *srf,
83 struct xa_surface *srf, unsigned int usage);
85 extern void xa_surface_unmap(struct xa_surface *srf);
Dxa_priv.h108 struct pipe_surface *srf; member
265 struct xa_surface *srf[]);
Dxa_composite.h93 struct xa_surface *srf; member
Dxa_renderer.c307 float dstW, float dstH, struct xa_surface *srf[]) in setup_vertex_data_yuv() argument
318 tex = srf[0]->tex; in setup_vertex_data_yuv()
525 int dst_y, int dst_w, int dst_h, struct xa_surface *srf[]) in renderer_draw_yuv() argument
531 dst_x, dst_y, dst_w, dst_h, srf); in renderer_draw_yuv()
Dxa_yuv.c134 renderer_bind_destination(r, r->srf); in xa_yuv_planar_blit()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_surface.c40 struct svga_winsys_surface *srf, in vmw_svga_winsys_surface_map() argument
43 struct vmw_svga_winsys_surface *vsrf = vmw_svga_winsys_surface(srf); in vmw_svga_winsys_surface_map()
164 struct svga_winsys_surface *srf, in vmw_svga_winsys_surface_unmap() argument
167 struct vmw_svga_winsys_surface *vsrf = vmw_svga_winsys_surface(srf); in vmw_svga_winsys_surface_unmap()
Dvmw_surface.h91 struct svga_winsys_surface *srf,
95 struct svga_winsys_surface *srf,
/external/swiftshader/third_party/LLVM/test/Transforms/CorrelatedValuePropagation/
Dcrash.ll29 br label %srf.exit.i
31 srf.exit.i:
/external/llvm/test/Transforms/CorrelatedValuePropagation/
Dcrash.ll29 br label %srf.exit.i
31 srf.exit.i:
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c1150 struct svga_winsys_surface *srf; in svga_texture_from_handle() local
1163 srf = sws->surface_from_handle(sws, whandle, &format); in svga_texture_from_handle()
1165 if (!srf) in svga_texture_from_handle()
1210 SVGA_DBG(DEBUG_DMA, "wrap surface sid %p\n", srf); in svga_texture_from_handle()
1214 tex->handle = srf; in svga_texture_from_handle()
Dsvga_winsys.h727 struct svga_winsys_surface *srf);