Home
last modified time | relevance | path

Searched refs:local_buffers (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/egl/drivers/dri2/
Dplatform_android.c252 if (att >= ARRAY_SIZE(dri2_surf->local_buffers)) in droid_alloc_local_buffer()
255 if (!dri2_surf->local_buffers[att]) { in droid_alloc_local_buffer()
256 dri2_surf->local_buffers[att] = in droid_alloc_local_buffer()
261 return dri2_surf->local_buffers[att]; in droid_alloc_local_buffer()
271 for (i = 0; i < ARRAY_SIZE(dri2_surf->local_buffers); i++) { in droid_free_local_buffers()
272 if (dri2_surf->local_buffers[i]) { in droid_free_local_buffers()
274 dri2_surf->local_buffers[i]); in droid_free_local_buffers()
275 dri2_surf->local_buffers[i] = NULL; in droid_free_local_buffers()
Degl_dri2.h296 __DRIbuffer *local_buffers[__DRI_BUFFER_COUNT]; member