/third_party/mesa3d/src/gallium/frontends/xa/ |
H A D | xa_tracker.c | 342 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 in surface_create() 439 xa_surface_redefine(struct xa_surface *srf, int width, int height, int depth, enum xa_surface_type stype, enum xa_formats xa_format, unsigned int new_flags, int copy_contents) xa_surface_redefine() argument 523 xa_surface_ref(struct xa_surface *srf) xa_surface_ref() argument 533 xa_surface_unref(struct xa_surface *srf) xa_surface_unref() argument 551 xa_surface_handle(struct xa_surface *srf, enum xa_handle_type type, uint32_t * handle, unsigned int *stride) xa_surface_handle() argument 575 xa_surface_format(const struct xa_surface *srf) xa_surface_format() argument [all...] |
H A D | xa_context.c | 85 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() 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() 147 if (srf->transfer) in xa_surface_map() 166 map = pipe_texture_map(pipe, srf->tex, 0, 0, in xa_surface_map() 168 srf in xa_surface_map() 98 xa_surface_dma(struct xa_context *ctx, struct xa_surface *srf, void *data, unsigned int pitch, int to_surface, struct xa_box *boxes, unsigned int num_boxes) xa_surface_dma() argument 137 xa_surface_map(struct xa_context *ctx, struct xa_surface *srf, unsigned int usage) xa_surface_map() argument 178 xa_surface_unmap(struct xa_surface *srf) xa_surface_unmap() argument [all...] |
H A D | xa_composite.c | 133 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 in bind_samplers() [all...] |
H A D | xa_context.h | 76 struct xa_surface *srf, 83 struct xa_surface *srf, unsigned int usage); 85 extern void xa_surface_unmap(struct xa_surface *srf);
|
H A D | xa_priv.h | 106 struct pipe_surface *srf; member 256 struct xa_surface *srf[]);
|
H A D | xa_renderer.c | 288 float dstW, float dstH, struct xa_surface *srf[]) in setup_vertex_data_yuv() 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() 517 dst_x, dst_y, dst_w, dst_h, srf); in renderer_draw_yuv() 281 setup_vertex_data_yuv(struct xa_context *r, float srcX, float srcY, float srcW, float srcH, float dstX, float dstY, float dstW, float dstH, struct xa_surface *srf[]) setup_vertex_data_yuv() argument 505 renderer_draw_yuv(struct xa_context *r, float src_x, float src_y, float src_w, float src_h, int dst_x, int dst_y, int dst_w, int dst_h, struct xa_surface *srf[]) renderer_draw_yuv() argument
|
H A D | xa_composite.h | 109 struct xa_surface *srf; member
|
H A D | xa_yuv.c | 134 renderer_bind_destination(r, r->srf); in xa_yuv_planar_blit()
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_surface.c | 39 struct svga_winsys_surface *srf, in vmw_svga_winsys_surface_init() 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() 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() 233 struct vmw_svga_winsys_surface *vsrf = vmw_svga_winsys_surface(srf); in vmw_svga_winsys_surface_unmap() 38 vmw_svga_winsys_surface_init(struct svga_winsys_screen *sws, struct svga_winsys_surface *srf, unsigned surf_size, SVGA3dSurfaceAllFlags flags) vmw_svga_winsys_surface_init() argument 103 vmw_svga_winsys_surface_map(struct svga_winsys_context *swc, struct svga_winsys_surface *srf, unsigned flags, boolean *retry, boolean *rebind) vmw_svga_winsys_surface_map() argument 229 vmw_svga_winsys_surface_unmap(struct svga_winsys_context *swc, struct svga_winsys_surface *srf, boolean *rebind) vmw_svga_winsys_surface_unmap() argument
|
H A D | vmw_surface.h | 91 struct svga_winsys_surface *srf, 96 struct svga_winsys_surface *srf,
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLMultiContextTest.cpp | 300 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/ |
H A D | svga_resource_texture.c | 1147 struct svga_winsys_surface *srf; in svga_texture_from_handle() local 1160 srf = sws->surface_from_handle(sws, whandle, &format); in svga_texture_from_handle() 1162 if (!srf) in svga_texture_from_handle() 1182 SVGA_DBG(DEBUG_DMA, "wrap surface sid %p\n", srf); in svga_texture_from_handle() 1186 tex->handle = srf; in svga_texture_from_handle() 1222 sws->surface_reference(sws, &srf, NULL); in svga_texture_from_handle()
|
H A D | svga_winsys.h | 842 struct svga_winsys_surface *srf);
|