Searched defs:srf (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c502 struct svga_winsys_surface *srf; local
515 srf = sws->surface_from_handle(sws, whandle, &format);
517 if (!srf)
551 SVGA_DBG(DEBUG_DMA, "wrap surface sid %p\n", srf);
554 tex->handle = srf;
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/
H A Dxa_composite.h93 struct xa_surface *srf; member in struct:xa_picture
H A Dxa_context.c88 struct xa_surface *srf,
106 transfer = pipe_get_transfer(pipe, srf->tex, 0, 0,
117 util_copy_rect(map, srf->tex->format, transfer->stride,
120 util_copy_rect(data, srf->tex->format, pitch,
137 struct xa_surface *srf, unsigned int usage)
146 if (srf->transfer)
157 srf->transfer = pipe_get_transfer(pipe, srf->tex, 0, 0,
159 srf->tex->width0, srf
87 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) argument
136 xa_surface_map(struct xa_context *ctx, struct xa_surface *srf, unsigned int usage) argument
172 xa_surface_unmap(struct xa_surface *srf) argument
[all...]
H A Dxa_tracker.c291 struct xa_surface *srf; local
302 srf = calloc(1, sizeof(*srf));
303 if (!srf)
306 template = &srf->template;
323 srf->tex = xa->screen->resource_create(xa->screen, template);
324 if (!srf->tex)
327 srf->xa = xa;
328 srf->flags = flags;
329 srf
338 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) argument
422 xa_surface_destroy(struct xa_surface *srf) argument
437 xa_surface_handle(struct xa_surface *srf, uint32_t * handle, unsigned int *stride) argument
458 xa_surface_format(const struct xa_surface *srf) argument
[all...]
H A Dxa_priv.h104 struct pipe_surface *srf; member in struct:xa_context
231 struct xa_surface *srf[]);
H A Dxa_renderer.c294 float dstW, float dstH, struct xa_surface *srf[])
305 tex = srf[0]->tex;
508 int dst_y, int dst_w, int dst_h, struct xa_surface *srf[])
514 dst_x, dst_y, dst_w, dst_h, srf);
287 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[]) argument
502 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[]) argument
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_resource_texture.c502 struct svga_winsys_surface *srf; local
515 srf = sws->surface_from_handle(sws, whandle, &format);
517 if (!srf)
551 SVGA_DBG(DEBUG_DMA, "wrap surface sid %p\n", srf);
554 tex->handle = srf;
/external/mesa3d/src/gallium/state_trackers/xa/
H A Dxa_composite.h93 struct xa_surface *srf; member in struct:xa_picture
H A Dxa_context.c88 struct xa_surface *srf,
106 transfer = pipe_get_transfer(pipe, srf->tex, 0, 0,
117 util_copy_rect(map, srf->tex->format, transfer->stride,
120 util_copy_rect(data, srf->tex->format, pitch,
137 struct xa_surface *srf, unsigned int usage)
146 if (srf->transfer)
157 srf->transfer = pipe_get_transfer(pipe, srf->tex, 0, 0,
159 srf->tex->width0, srf
87 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) argument
136 xa_surface_map(struct xa_context *ctx, struct xa_surface *srf, unsigned int usage) argument
172 xa_surface_unmap(struct xa_surface *srf) argument
[all...]
H A Dxa_tracker.c291 struct xa_surface *srf; local
302 srf = calloc(1, sizeof(*srf));
303 if (!srf)
306 template = &srf->template;
323 srf->tex = xa->screen->resource_create(xa->screen, template);
324 if (!srf->tex)
327 srf->xa = xa;
328 srf->flags = flags;
329 srf
338 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) argument
422 xa_surface_destroy(struct xa_surface *srf) argument
437 xa_surface_handle(struct xa_surface *srf, uint32_t * handle, unsigned int *stride) argument
458 xa_surface_format(const struct xa_surface *srf) argument
[all...]
H A Dxa_priv.h104 struct pipe_surface *srf; member in struct:xa_context
231 struct xa_surface *srf[]);
H A Dxa_renderer.c294 float dstW, float dstH, struct xa_surface *srf[])
305 tex = srf[0]->tex;
508 int dst_y, int dst_w, int dst_h, struct xa_surface *srf[])
514 dst_x, dst_y, dst_w, dst_h, srf);
287 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[]) argument
502 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[]) argument

Completed in 1954 milliseconds