Home
last modified time | relevance | path

Searched refs:virgl_hw_res (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_winsys.h32 struct virgl_hw_res;
51 struct virgl_hw_res *res,
57 struct virgl_hw_res *res,
62 struct virgl_hw_res *(*resource_create)(struct virgl_winsys *vws,
70 void (*resource_unref)(struct virgl_winsys *vws, struct virgl_hw_res *res);
72 void *(*resource_map)(struct virgl_winsys *vws, struct virgl_hw_res *res);
73 void (*resource_wait)(struct virgl_winsys *vws, struct virgl_hw_res *res);
75 struct virgl_hw_res *(*resource_create_from_handle)(struct virgl_winsys *vws,
78 struct virgl_hw_res *res,
85 …void (*emit_res)(struct virgl_winsys *vws, struct virgl_cmd_buf *buf, struct virgl_hw_res *res, bo…
[all …]
Dvirgl_resource.h41 struct virgl_hw_res *hw_res;
Dvirgl_texture.c137 struct virgl_hw_res *hw_res; in virgl_texture_transfer_map()
/external/mesa3d/src/gallium/winsys/virgl/vtest/
Dvirgl_vtest_winsys.c34 struct virgl_hw_res *res);
36 struct virgl_hw_res *res);
38 static inline boolean can_cache_resource(struct virgl_hw_res *res) in can_cache_resource()
43 static uint32_t vtest_get_transfer_size(struct virgl_hw_res *res, in vtest_get_transfer_size()
69 struct virgl_hw_res *res, in virgl_vtest_transfer_put()
93 struct virgl_hw_res *res, in virgl_vtest_transfer_get()
119 struct virgl_hw_res *res) in virgl_hw_res_destroy()
129 struct virgl_hw_res *res) in virgl_vtest_resource_is_busy()
145 struct virgl_hw_res *res; in virgl_cache_flush()
152 res = LIST_ENTRY(struct virgl_hw_res, curr, head); in virgl_cache_flush()
[all …]
Dvirgl_vtest_winsys.h54 struct virgl_hw_res { struct
83 struct virgl_hw_res **res_bo; argument
89 static inline struct virgl_hw_res *
90 virgl_hw_res(struct pipe_fence_handle *f) in virgl_hw_res() function
92 return (struct virgl_hw_res *)f; in virgl_hw_res()
/external/mesa3d/src/gallium/winsys/virgl/drm/
Dvirgl_drm_winsys.c46 static inline boolean can_cache_resource(struct virgl_hw_res *res) in can_cache_resource()
52 struct virgl_hw_res *res) in virgl_hw_res_destroy()
80 struct virgl_hw_res *res) in virgl_drm_resource_is_busy()
99 struct virgl_hw_res *res; in virgl_cache_flush()
106 res = LIST_ENTRY(struct virgl_hw_res, curr, head); in virgl_cache_flush()
133 struct virgl_hw_res *res; in virgl_cache_list_check_free()
140 res = LIST_ENTRY(struct virgl_hw_res, curr, head); in virgl_cache_list_check_free()
152 struct virgl_hw_res **dres, in virgl_drm_resource_reference()
153 struct virgl_hw_res *sres) in virgl_drm_resource_reference()
155 struct virgl_hw_res *old = *dres; in virgl_drm_resource_reference()
[all …]
Dvirgl_drm_winsys.h36 struct virgl_hw_res { struct
76 struct virgl_hw_res **res_bo;
85 static inline struct virgl_hw_res *
86 virgl_hw_res(struct pipe_fence_handle *f) in virgl_hw_res() function
88 return (struct virgl_hw_res *)f; in virgl_hw_res()