Home
last modified time | relevance | path

Searched refs:pb_buffer (Results 1 – 25 of 28) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_buffer.h98 struct pb_buffer struct
122 void (*destroy)( struct pb_buffer *buf ); argument
128 void *(*map)( struct pb_buffer *buf,
131 void (*unmap)( struct pb_buffer *buf );
133 enum pipe_error (*validate)( struct pb_buffer *buf,
137 void (*fence)( struct pb_buffer *buf,
151 void (*get_base_buffer)( struct pb_buffer *buf,
152 struct pb_buffer **base_buf,
162 pb_map(struct pb_buffer *buf, in pb_map()
174 pb_unmap(struct pb_buffer *buf) in pb_unmap()
[all …]
Dpb_buffer_malloc.c45 struct pb_buffer base;
53 malloc_buffer(struct pb_buffer *buf) in malloc_buffer()
64 malloc_buffer_destroy(struct pb_buffer *buf) in malloc_buffer_destroy()
72 malloc_buffer_map(struct pb_buffer *buf, in malloc_buffer_map()
81 malloc_buffer_unmap(struct pb_buffer *buf) in malloc_buffer_unmap()
88 malloc_buffer_validate(struct pb_buffer *buf, in malloc_buffer_validate()
98 malloc_buffer_fence(struct pb_buffer *buf, in malloc_buffer_fence()
106 malloc_buffer_get_base_buffer(struct pb_buffer *buf, in malloc_buffer_get_base_buffer()
107 struct pb_buffer **base_buf, in malloc_buffer_get_base_buffer()
126 struct pb_buffer *
[all …]
Dpb_bufmgr_mm.c63 struct pb_buffer *buffer;
78 struct pb_buffer base;
87 mm_buffer(struct pb_buffer *buf) in mm_buffer()
95 mm_buffer_destroy(struct pb_buffer *buf) in mm_buffer_destroy()
110 mm_buffer_map(struct pb_buffer *buf, in mm_buffer_map()
124 mm_buffer_unmap(struct pb_buffer *buf) in mm_buffer_unmap()
131 mm_buffer_validate(struct pb_buffer *buf, in mm_buffer_validate()
142 mm_buffer_fence(struct pb_buffer *buf, in mm_buffer_fence()
152 mm_buffer_get_base_buffer(struct pb_buffer *buf, in mm_buffer_get_base_buffer()
153 struct pb_buffer **base_buf, in mm_buffer_get_base_buffer()
[all …]
Dpb_bufmgr_ondemand.c48 struct pb_buffer base;
57 struct pb_buffer *buffer;
74 pb_ondemand_buffer(struct pb_buffer *buf) in pb_ondemand_buffer()
92 pb_ondemand_buffer_destroy(struct pb_buffer *_buf) in pb_ondemand_buffer_destroy()
105 pb_ondemand_buffer_map(struct pb_buffer *_buf, in pb_ondemand_buffer_map()
123 pb_ondemand_buffer_unmap(struct pb_buffer *_buf) in pb_ondemand_buffer_unmap()
173 pb_ondemand_buffer_validate(struct pb_buffer *_buf, in pb_ondemand_buffer_validate()
193 pb_ondemand_buffer_fence(struct pb_buffer *_buf, in pb_ondemand_buffer_fence()
207 pb_ondemand_buffer_get_base_buffer(struct pb_buffer *_buf, in pb_ondemand_buffer_get_base_buffer()
208 struct pb_buffer **base_buf, in pb_ondemand_buffer_get_base_buffer()
[all …]
Dpb_bufmgr_pool.c69 struct pb_buffer *buffer;
86 struct pb_buffer base;
97 pool_buffer(struct pb_buffer *buf) in pool_buffer()
106 pool_buffer_destroy(struct pb_buffer *buf) in pool_buffer_destroy()
121 pool_buffer_map(struct pb_buffer *buf, unsigned flags, void *flush_ctx) in pool_buffer_map()
137 pool_buffer_unmap(struct pb_buffer *buf) in pool_buffer_unmap()
144 pool_buffer_validate(struct pb_buffer *buf, in pool_buffer_validate()
155 pool_buffer_fence(struct pb_buffer *buf, in pool_buffer_fence()
165 pool_buffer_get_base_buffer(struct pb_buffer *buf, in pool_buffer_get_base_buffer()
166 struct pb_buffer **base_buf, in pool_buffer_get_base_buffer()
[all …]
Dpb_bufmgr_cache.c62 struct pb_buffer base;
64 struct pb_buffer *buffer;
89 pb_cache_buffer(struct pb_buffer *buf) in pb_cache_buffer()
150 pb_cache_buffer_destroy(struct pb_buffer *_buf) in pb_cache_buffer_destroy()
169 pb_cache_buffer_map(struct pb_buffer *_buf, in pb_cache_buffer_map()
178 pb_cache_buffer_unmap(struct pb_buffer *_buf) in pb_cache_buffer_unmap()
186 pb_cache_buffer_validate(struct pb_buffer *_buf, in pb_cache_buffer_validate()
196 pb_cache_buffer_fence(struct pb_buffer *_buf, in pb_cache_buffer_fence()
205 pb_cache_buffer_get_base_buffer(struct pb_buffer *_buf, in pb_cache_buffer_get_base_buffer()
206 struct pb_buffer **base_buf, in pb_cache_buffer_get_base_buffer()
[all …]
Dpb_bufmgr_debug.c70 struct pb_buffer base;
72 struct pb_buffer *buffer;
103 pb_debug_buffer(struct pb_buffer *buf) in pb_debug_buffer()
229 pb_debug_buffer_destroy(struct pb_buffer *_buf) in pb_debug_buffer_destroy()
250 pb_debug_buffer_map(struct pb_buffer *_buf, in pb_debug_buffer_map()
274 pb_debug_buffer_unmap(struct pb_buffer *_buf) in pb_debug_buffer_unmap()
291 pb_debug_buffer_get_base_buffer(struct pb_buffer *_buf, in pb_debug_buffer_get_base_buffer()
292 struct pb_buffer **base_buf, in pb_debug_buffer_get_base_buffer()
302 pb_debug_buffer_validate(struct pb_buffer *_buf, in pb_debug_buffer_validate()
323 pb_debug_buffer_fence(struct pb_buffer *_buf, in pb_debug_buffer_fence()
[all …]
Dpb_bufmgr_slab.c61 struct pb_buffer base;
92 struct pb_buffer *bo;
167 pb_slab_buffer(struct pb_buffer *buf) in pb_slab_buffer()
195 pb_slab_buffer_destroy(struct pb_buffer *_buf) in pb_slab_buffer_destroy()
229 pb_slab_buffer_map(struct pb_buffer *_buf, in pb_slab_buffer_map()
243 pb_slab_buffer_unmap(struct pb_buffer *_buf) in pb_slab_buffer_unmap()
254 pb_slab_buffer_validate(struct pb_buffer *_buf, in pb_slab_buffer_validate()
264 pb_slab_buffer_fence(struct pb_buffer *_buf, in pb_slab_buffer_fence()
273 pb_slab_buffer_get_base_buffer(struct pb_buffer *_buf, in pb_slab_buffer_get_base_buffer()
274 struct pb_buffer **base_buf, in pb_slab_buffer_get_base_buffer()
[all …]
Dpb_validate.h47 struct pb_buffer;
61 struct pb_buffer *buf,
66 enum pipe_error (*callback)(struct pb_buffer *buf, void *data),
Dpb_bufmgr.h72 struct pb_buffer *
88 struct pb_buffer *buf );
132 mm_bufmgr_create_from_buffer(struct pb_buffer *buffer,
Dpb_buffer_fenced.c115 struct pb_buffer base;
127 struct pb_buffer *buffer;
161 fenced_buffer(struct pb_buffer *buf) in fenced_buffer()
660 fenced_buffer_destroy(struct pb_buffer *buf) in fenced_buffer_destroy()
676 fenced_buffer_map(struct pb_buffer *buf, in fenced_buffer_map()
735 fenced_buffer_unmap(struct pb_buffer *buf) in fenced_buffer_unmap()
756 fenced_buffer_validate(struct pb_buffer *buf, in fenced_buffer_validate()
831 fenced_buffer_fence(struct pb_buffer *buf, in fenced_buffer_fence()
869 fenced_buffer_get_base_buffer(struct pb_buffer *buf, in fenced_buffer_get_base_buffer()
870 struct pb_buffer **base_buf, in fenced_buffer_get_base_buffer()
[all …]
Dpb_validate.c50 struct pb_buffer *buf;
65 struct pb_buffer *buf, in pb_validate_add_buffer()
117 enum pipe_error (*callback)(struct pb_buffer *buf, void *data), in pb_validate_foreach()
Dpb_bufmgr_alt.c61 static struct pb_buffer *
67 struct pb_buffer *buf; in pb_alt_manager_create_buffer()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_buffer.c60 struct pb_buffer base;
73 vmw_gmr_buffer(struct pb_buffer *buf) in vmw_gmr_buffer()
98 vmw_gmr_buffer_destroy(struct pb_buffer *_buf) in vmw_gmr_buffer_destroy()
111 vmw_gmr_buffer_map(struct pb_buffer *_buf, in vmw_gmr_buffer_map()
121 vmw_gmr_buffer_unmap(struct pb_buffer *_buf) in vmw_gmr_buffer_unmap()
129 vmw_gmr_buffer_get_base_buffer(struct pb_buffer *buf, in vmw_gmr_buffer_get_base_buffer()
130 struct pb_buffer **base_buf, in vmw_gmr_buffer_get_base_buffer()
139 vmw_gmr_buffer_validate( struct pb_buffer *_buf, in vmw_gmr_buffer_validate()
149 vmw_gmr_buffer_fence( struct pb_buffer *_buf, in vmw_gmr_buffer_fence()
167 static struct pb_buffer *
[all …]
Dvmw_buffer.h34 struct pb_buffer;
41 static INLINE struct pb_buffer *
45 return (struct pb_buffer *)buffer; in vmw_pb_buffer()
50 vmw_svga_winsys_buffer(struct pb_buffer *buffer) in vmw_svga_winsys_buffer()
61 vmw_gmr_bufmgr_region_ptr(struct pb_buffer *buf,
Dvmw_screen_svga.c61 struct pb_buffer *buffer; in vmw_svga_winsys_buffer_create()
114 struct pb_buffer *pbuf = vmw_pb_buffer(buf); in vmw_svga_winsys_buffer_destroy()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_winsys.h144 struct pb_buffer *(*buffer_create)(struct radeon_winsys *ws,
151 struct pb_buffer *buf);
179 boolean (*buffer_is_busy)(struct pb_buffer *buf,
191 void (*buffer_wait)(struct pb_buffer *buf, enum radeon_bo_usage usage);
202 void (*buffer_get_tiling)(struct pb_buffer *buf,
221 void (*buffer_set_tiling)(struct pb_buffer *buf,
240 struct pb_buffer *(*buffer_from_handle)(struct radeon_winsys *ws,
253 boolean (*buffer_get_handle)(struct pb_buffer *buf,
Dradeon_drm_bo.c97 static INLINE struct radeon_bo *radeon_bo(struct pb_buffer *bo) in radeon_bo()
132 static struct radeon_bo *get_radeon_bo(struct pb_buffer *_buf) in get_radeon_bo()
139 struct pb_buffer *base_buf; in get_radeon_bo()
150 static void radeon_bo_wait(struct pb_buffer *_buf, enum radeon_bo_usage usage) in radeon_bo_wait()
174 static boolean radeon_bo_is_busy(struct pb_buffer *_buf, in radeon_bo_is_busy()
364 static void radeon_bo_destroy(struct pb_buffer *_buf) in radeon_bo_destroy()
420 if (radeon_bo_is_busy((struct pb_buffer*)bo, in radeon_bo_map()
430 if (radeon_bo_is_busy((struct pb_buffer*)bo, in radeon_bo_map()
447 radeon_bo_wait((struct pb_buffer*)bo, in radeon_bo_map()
459 radeon_bo_wait((struct pb_buffer*)bo, RADEON_USAGE_READWRITE); in radeon_bo_map()
[all …]
Dradeon_drm_bo.h48 struct pb_buffer base;
78 pb_reference((struct pb_buffer**)dst, (struct pb_buffer*)src); in radeon_bo_reference()
/external/mesa3d/src/gallium/drivers/r300/
Dr300_screen.c478 pb_reference((struct pb_buffer**)ptr, in r300_fence_reference()
479 (struct pb_buffer*)fence); in r300_fence_reference()
486 struct pb_buffer *rfence = (struct pb_buffer*)fence; in r300_fence_signalled()
496 struct pb_buffer *rfence = (struct pb_buffer*)fence; in r300_fence_finish()
Dr300_flush.c71 struct pb_buffer **rfence = (struct pb_buffer**)fence; in r300_flush()
Dr300_context.h305 struct pb_buffer *buf;
313 struct pb_buffer *buf;
400 struct pb_buffer *buf;
/external/mesa3d/src/gallium/drivers/radeonsi/
Dradeonsi_resource.h38 struct pb_buffer *buf;
Dr600_texture.c470 struct pb_buffer *buf, in r600_texture_create_object()
590 struct pb_buffer *buf = NULL; in si_texture_from_handle()
/external/mesa3d/src/gallium/drivers/r600/
Dr600.h85 struct pb_buffer *buf;

12