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.c116 if (att >= ARRAY_SIZE(dri2_surf->local_buffers)) in droid_alloc_local_buffer()
119 if (!dri2_surf->local_buffers[att]) { in droid_alloc_local_buffer()
120 dri2_surf->local_buffers[att] = in droid_alloc_local_buffer()
125 return dri2_surf->local_buffers[att]; in droid_alloc_local_buffer()
135 for (i = 0; i < ARRAY_SIZE(dri2_surf->local_buffers); i++) { in droid_free_local_buffers()
136 if (dri2_surf->local_buffers[i]) { in droid_free_local_buffers()
138 dri2_surf->local_buffers[i]); in droid_free_local_buffers()
139 dri2_surf->local_buffers[i] = NULL; in droid_free_local_buffers()
Degl_dri2.h200 __DRIbuffer *local_buffers[__DRI_BUFFER_COUNT]; member