Home
last modified time | relevance | path

Searched refs:dmabuf_fds (Results 1 – 3 of 3) sorted by relevance

/third_party/weston/clients/
Dsimple-dmabuf-egl.c122 int dmabuf_fds[MAX_BUFFER_PLANES]; member
204 if (buf->dmabuf_fds[i] >= 0) in buffer_free()
205 close(buf->dmabuf_fds[i]); in buffer_free()
265 attribs[atti++] = buffer->dmabuf_fds[plane_idx]; \ in create_fbo_for_buffer()
386 &buffer->dmabuf_fds[i]); in create_dmabuf_buffer()
387 if (ret < 0 || buffer->dmabuf_fds[i] < 0) { in create_dmabuf_buffer()
397 buffer->dmabuf_fds[0] = gbm_bo_get_fd(buffer->bo); in create_dmabuf_buffer()
398 if (buffer->dmabuf_fds[0] < 0) { in create_dmabuf_buffer()
418 buffer->dmabuf_fds[i], in create_dmabuf_buffer()
707 window->buffers[i].dmabuf_fds[j] = -1; in create_window()
Dsimple-dmabuf-egl-hos.c124 int dmabuf_fds[MAX_BUFFER_PLANES]; member
204 if (buf->dmabuf_fds[i] >= 0) in buffer_free()
205 close(buf->dmabuf_fds[i]); in buffer_free()
265 attribs[atti++] = buffer->dmabuf_fds[plane_idx]; \ in create_fbo_for_buffer()
387 &buffer->dmabuf_fds[i]); in create_dmabuf_buffer()
388 if (ret < 0 || buffer->dmabuf_fds[i] < 0) { in create_dmabuf_buffer()
398 buffer->dmabuf_fds[0] = gbm_bo_get_fd(buffer->bo); in create_dmabuf_buffer()
399 if (buffer->dmabuf_fds[0] < 0) { in create_dmabuf_buffer()
419 buffer->dmabuf_fds[i], in create_dmabuf_buffer()
651 window->buffers[i].dmabuf_fds[j] = -1; in create_window()
Dsimple-dmabuf-v4l.c127 int dmabuf_fds[VIDEO_MAX_PLANES]; member
351 close(buffer->dmabuf_fds[i]); in create_succeeded()
365 close(buffer->dmabuf_fds[i]); in create_failed()
405 buffer->dmabuf_fds[i], in create_dmabuf_buffer()
462 if (!buffer_export(display, index, buffer->dmabuf_fds)) in queue_initial_buffers()
670 close(window->buffers[i].dmabuf_fds[j]); in destroy_window()