Home
last modified time | relevance | path

Searched refs:buffer_release (Results 1 – 22 of 22) sorted by relevance

/third_party/weston/libweston/
Dlinux-explicit-synchronization.c41 struct weston_buffer_release *buffer_release = in destroy_linux_buffer_release() local
44 fd_clear(&buffer_release->fence_fd); in destroy_linux_buffer_release()
45 free(buffer_release); in destroy_linux_buffer_release()
113 struct weston_buffer_release *buffer_release; in linux_surface_synchronization_get_release() local
123 if (surface->pending.buffer_release_ref.buffer_release) { in linux_surface_synchronization_get_release()
131 buffer_release = zalloc(sizeof *buffer_release); in linux_surface_synchronization_get_release()
132 if (buffer_release == NULL) in linux_surface_synchronization_get_release()
135 buffer_release->fence_fd = -1; in linux_surface_synchronization_get_release()
136 buffer_release->resource = in linux_surface_synchronization_get_release()
140 if (!buffer_release->resource) in linux_surface_synchronization_get_release()
[all …]
Dcompositor.c2377 assert((struct wl_resource *)data == ref->buffer_release->resource); in weston_buffer_release_reference_handle_destroy()
2378 ref->buffer_release = NULL; in weston_buffer_release_reference_handle_destroy()
2382 weston_buffer_release_destroy(struct weston_buffer_release *buffer_release) in weston_buffer_release_destroy() argument
2384 struct wl_resource *resource = buffer_release->resource; in weston_buffer_release_destroy()
2385 int release_fence_fd = buffer_release->fence_fd; in weston_buffer_release_destroy()
2400 struct weston_buffer_release *buffer_release) in weston_buffer_release_reference() argument
2402 if (buffer_release == ref->buffer_release) in weston_buffer_release_reference()
2405 if (ref->buffer_release) { in weston_buffer_release_reference()
2406 ref->buffer_release->ref_count--; in weston_buffer_release_reference()
2408 if (ref->buffer_release->ref_count == 0) in weston_buffer_release_reference()
[all …]
Dtde-render-part.cpp599 es->buffer_release_ref.buffer_release); in tde_render_attach_hook()
Dpixman-renderer.c624 es->buffer_release_ref.buffer_release); in pixman_renderer_attach()
/third_party/weston/tests/
Dlinux-explicit-synchronization-test.c205 struct zwp_linux_buffer_release_v1 *buffer_release; in TEST() local
207 buffer_release = in TEST()
215 zwp_linux_buffer_release_v1_destroy(buffer_release); in TEST()
228 struct zwp_linux_buffer_release_v1 *buffer_release; in TEST() local
231 buffer_release = in TEST()
238 zwp_linux_buffer_release_v1_destroy(buffer_release); in TEST()
276 struct zwp_linux_buffer_release_v1 *buffer_release, in buffer_release_fenced_handler() argument
284 struct zwp_linux_buffer_release_v1 *buffer_release) in buffer_release_immediate_handler() argument
Devent-test.c125 TEST(buffer_release) in TEST() argument
/third_party/weston/clients/
Dsimple-dmabuf-egl.c130 struct zwp_linux_buffer_release_v1 *buffer_release; member
164 buffer_release(void *data, struct wl_buffer *buffer) in buffer_release() function
172 buffer_release
183 if (buf->buffer_release) in buffer_free()
184 zwp_linux_buffer_release_v1_destroy(buf->buffer_release); in buffer_free()
889 assert(release == buffer->buffer_release); in buffer_fenced_release()
894 zwp_linux_buffer_release_v1_destroy(buffer->buffer_release); in buffer_fenced_release()
895 buffer->buffer_release = NULL; in buffer_fenced_release()
904 assert(release == buffer->buffer_release); in buffer_immediate_release()
908 zwp_linux_buffer_release_v1_destroy(buffer->buffer_release); in buffer_immediate_release()
[all …]
Dsimple-dmabuf-egl-hos.c132 struct zwp_linux_buffer_release_v1 *buffer_release; member
164 buffer_release(void *data, struct wl_buffer *buffer) in buffer_release() function
172 buffer_release
183 if (buf->buffer_release) in buffer_free()
184 zwp_linux_buffer_release_v1_destroy(buf->buffer_release); in buffer_free()
833 assert(release == buffer->buffer_release); in buffer_fenced_release()
838 zwp_linux_buffer_release_v1_destroy(buffer->buffer_release); in buffer_fenced_release()
839 buffer->buffer_release = NULL; in buffer_fenced_release()
848 assert(release == buffer->buffer_release); in buffer_immediate_release()
852 zwp_linux_buffer_release_v1_destroy(buffer->buffer_release); in buffer_immediate_release()
[all …]
Dsimple-shm.c78 buffer_release(void *data, struct wl_buffer *buffer) in buffer_release() function
86 buffer_release
Dmulti-resource.c79 buffer_release(void *data, struct wl_buffer *buffer) in buffer_release() function
85 buffer_release
Dpresentation-shm.c122 buffer_release(void *data, struct wl_buffer *buffer) in buffer_release() function
130 buffer_release
Dsimple-dmabuf-v4l.c189 buffer_release(void *data, struct wl_buffer *buffer) in buffer_release() function
200 buffer_release
Dsimple-damage.c103 buffer_release(void *data, struct wl_buffer *buffer) in buffer_release() function
111 buffer_release
/third_party/gstreamer/gstplugins_bad/ext/wayland/
Dwlbuffer.c132 buffer_release (void *data, struct wl_buffer *wl_buffer) in buffer_release() function
147 buffer_release
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/tsmux/
Dtsmuxstream.c260 if (stream->buffer_release) in tsmux_stream_free()
261 stream->buffer_release (tmbuf->data, tmbuf->user_data); in tsmux_stream_free()
284 stream->buffer_release = func; in tsmux_stream_set_buffer_release_func()
329 if (stream->buffer_release) { in tsmux_stream_consume()
330 stream->buffer_release (stream->cur_buffer->data, in tsmux_stream_consume()
Dtsmuxstream.h169 TsMuxStreamBufferReleaseFunc buffer_release; member
/third_party/weston/libweston/backend-drm/
Dfb.c473 struct weston_buffer_release *buffer_release) in drm_fb_set_buffer() argument
479 buffer_release); in drm_fb_set_buffer()
587 ev->surface->buffer_release_ref.buffer_release); in drm_fb_get_from_view()
/third_party/weston/libweston/renderer-gl/
Dgl-renderer.c1039 struct weston_buffer_release *buffer_release; in update_buffer_release_fences() local
1047 buffer_release = gs->buffer_release_ref.buffer_release; in update_buffer_release_fences()
1049 if (!gs->used_in_output_repaint || !buffer_release) in update_buffer_release_fences()
1061 buffer_release->resource, in update_buffer_release_fences()
1063 fd_clear(&buffer_release->fence_fd); in update_buffer_release_fences()
1088 fd_update(&buffer_release->fence_fd, fence_fd); in update_buffer_release_fences()
2649 es->buffer_release_ref.buffer_release); in gl_renderer_attach()
/third_party/weston/compositor/
Dscreen-share.c416 buffer_release(void *data, struct wl_buffer *buffer) in buffer_release() function
428 buffer_release
/third_party/weston/include/libweston/
Dlibweston.h1192 struct weston_buffer_release *buffer_release; member
/third_party/weston/libweston/backend-wayland/
Dwayland.c263 buffer_release(void *data, struct wl_buffer *buffer) in buffer_release() function
275 buffer_release
/third_party/gstreamer/gstplugins_good/
DChangeLog61275 correctly and gst_buffer_unref() calls buffer_release().