Home
last modified time | relevance | path

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

/third_party/mesa3d/src/gallium/frontends/xa/
Dxa_tracker.c342 struct xa_surface *srf; in surface_create() local
353 srf = calloc(1, sizeof(*srf)); in surface_create()
354 if (!srf) in surface_create()
357 template = &srf->template; in surface_create()
375 srf->tex = xa->screen->resource_from_handle(xa->screen, template, whandle, in surface_create()
378 srf->tex = xa->screen->resource_create(xa->screen, template); in surface_create()
379 if (!srf->tex) in surface_create()
382 srf->refcount = 1; in surface_create()
383 srf->xa = xa; in surface_create()
384 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()
99 struct xa_surface *srf, in xa_surface_dma() argument
117 map = pipe_texture_map(pipe, srf->tex, 0, 0, in xa_surface_dma()
124 util_copy_rect(map, srf->tex->format, transfer->stride, in xa_surface_dma()
127 util_copy_rect(data, srf->tex->format, pitch, in xa_surface_dma()
138 struct xa_surface *srf, unsigned int usage) in xa_surface_map() argument
147 if (srf->transfer) in xa_surface_map()
166 map = pipe_texture_map(pipe, srf->tex, 0, 0, in xa_surface_map()
168 srf->tex->width0, srf->tex->height0, in xa_surface_map()
[all …]
Dxa_composite.c133 if (!dst_pic->srf) in blend_for_op()
136 if ((dst_pic->srf->tex->format == PIPE_FORMAT_L8_UNORM || in blend_for_op()
137 dst_pic->srf->tex->format == PIPE_FORMAT_R8_UNORM)) { in blend_for_op()
282 struct xa_surface *src = src_pic->srf; in picture_format_fixups()
391 xa_format_type(xa_surface_format(dst_pic->srf))) in bind_shaders()
435 if (ctx->srf->format == PIPE_FORMAT_L8_UNORM || in bind_shaders()
436 ctx->srf->format == PIPE_FORMAT_R8_UNORM) in bind_shaders()
476 src_pic->srf->tex,+ src_pic->srf->tex->format); in bind_samplers()
477 src_view = pipe->create_sampler_view(pipe, src_pic->srf->tex, in bind_samplers()
497 mask_pic->srf->tex, in bind_samplers()
[all …]
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_tracker.h.in198 enum xa_formats xa_surface_format(const struct xa_surface *srf);
200 extern struct xa_surface *xa_surface_ref(struct xa_surface *srf);
201 extern void xa_surface_unref(struct xa_surface *srf);
203 extern int xa_surface_redefine(struct xa_surface *srf,
212 extern int xa_surface_handle(struct xa_surface *srf,
Dxa_priv.h106 struct pipe_surface *srf; member
256 struct xa_surface *srf[]);
Dxa_renderer.c288 float dstW, float dstH, struct xa_surface *srf[]) in setup_vertex_data_yuv() argument
299 tex = srf[0]->tex; in setup_vertex_data_yuv()
511 int dst_y, int dst_w, int dst_h, struct xa_surface *srf[]) in renderer_draw_yuv() argument
517 dst_x, dst_y, dst_w, dst_h, srf); in renderer_draw_yuv()
Dxa_composite.h109 struct xa_surface *srf; member
Dxa_yuv.c134 renderer_bind_destination(r, r->srf); in xa_yuv_planar_blit()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_surface.c39 struct svga_winsys_surface *srf, in vmw_svga_winsys_surface_init() argument
42 struct vmw_svga_winsys_surface *vsrf = vmw_svga_winsys_surface(srf); in vmw_svga_winsys_surface_init()
104 struct svga_winsys_surface *srf, in vmw_svga_winsys_surface_map() argument
108 struct vmw_svga_winsys_surface *vsrf = vmw_svga_winsys_surface(srf); in vmw_svga_winsys_surface_map()
230 struct svga_winsys_surface *srf, in vmw_svga_winsys_surface_unmap() argument
233 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,
96 struct svga_winsys_surface *srf,
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLMultiContextTest.cpp300 EGLSurface srf; in TEST_P() local
315 EXPECT_TRUE(createPbufferSurface(dpy, config, 2560, 1080, &srf)); in TEST_P()
319 EXPECT_EGL_TRUE(eglMakeCurrent(dpy, srf, srf, ctx)); in TEST_P()
329 srf = EGL_NO_SURFACE; in TEST_P()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_resource_texture.c1143 struct svga_winsys_surface *srf; in svga_texture_from_handle() local
1156 srf = sws->surface_from_handle(sws, whandle, &format); in svga_texture_from_handle()
1158 if (!srf) in svga_texture_from_handle()
1178 SVGA_DBG(DEBUG_DMA, "wrap surface sid %p\n", srf); in svga_texture_from_handle()
1182 tex->handle = srf; in svga_texture_from_handle()
1205 sws->surface_reference(sws, &srf, NULL); in svga_texture_from_handle()
Dsvga_winsys.h818 struct svga_winsys_surface *srf);
/third_party/weston/clients/
Divi-shell-user-interface.c1019 struct hmi_homescreen_srf *srf) in create_workspace_background() argument
1021 create_ivisurfaceFromColor(p_wlCtx, srf->id, 1, 1, srf->color); in create_workspace_background()
/third_party/tzdata/
Deurope1504 # http://www.srf.ch/player/video?id=c012c029-03b7-4c2b-9164-aa5902cd58d3