Home
last modified time | relevance | path

Searched refs:buffer_ref (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/common/
Dcommon_jni.cc24 jobject buffer_ref = env->NewGlobalRef(buffer); in Java_org_brotli_wrapper_common_CommonJNI_nativeSetDictionaryData() local
25 if (!buffer_ref) { in Java_org_brotli_wrapper_common_CommonJNI_nativeSetDictionaryData()
30 env->DeleteGlobalRef(buffer_ref); in Java_org_brotli_wrapper_common_CommonJNI_nativeSetDictionaryData()
38 env->DeleteGlobalRef(buffer_ref); in Java_org_brotli_wrapper_common_CommonJNI_nativeSetDictionaryData()
/third_party/weston/libweston/
Dpixman-renderer.c342 if (ps->buffer_ref.buffer && ps->buffer_ref.buffer->shm_buffer) in repaint_region()
343 wl_shm_buffer_begin_access(ps->buffer_ref.buffer->shm_buffer); in repaint_region()
362 if (ps->buffer_ref.buffer && ps->buffer_ref.buffer->shm_buffer) in repaint_region()
363 wl_shm_buffer_end_access(ps->buffer_ref.buffer->shm_buffer); in repaint_region()
622 weston_buffer_reference(&ps->buffer_ref, buffer); in pixman_renderer_attach()
643 weston_buffer_reference(&ps->buffer_ref, NULL); in pixman_renderer_attach()
664 weston_buffer_reference(&ps->buffer_ref, NULL); in pixman_renderer_attach()
704 weston_buffer_reference(&ps->buffer_ref, NULL); in pixman_renderer_surface_state_destroy()
Dpixman-renderer-protected.h43 struct weston_buffer_reference buffer_ref; member
Dcompositor.c1932 return ev->surface->buffer_ref.buffer != NULL; in weston_view_has_valid_buffer()
2037 if (!surface->buffer_ref.buffer) { in weston_surface_calculate_size_from_buffer()
2045 surface->buffer_ref.buffer->width, in weston_surface_calculate_size_from_buffer()
2046 surface->buffer_ref.buffer->height, in weston_surface_calculate_size_from_buffer()
2253 weston_buffer_reference(&surface->buffer_ref, NULL); in weston_surface_destroy()
2435 weston_buffer_reference(&surface->buffer_ref, buffer); in weston_surface_attach()
2477 if (surface->buffer_ref.buffer && in surface_flush_damage()
2478 wl_shm_buffer_get(surface->buffer_ref.buffer->resource)) in surface_flush_damage()
2567 weston_buffer_reference(&ev->surface->buffer_ref, NULL); in output_accumulate_damage()
3655 struct weston_buffer *buffer = surface->buffer_ref.buffer; in apply_damage_buffer()
Dtde-render-part.cpp597 weston_buffer_reference(&ps->buffer_ref, buffer); in tde_render_attach_hook()
Ddata-device.c423 if (!weston_surface_is_mapped(es) && es->buffer_ref.buffer) { in drag_surface_configure()
Dinput.c2754 if (surface->buffer_ref.buffer) { in pointer_set_cursor()
/third_party/weston/libweston/backend-hdi/
Dhdi_renderer.cpp63 struct weston_buffer_reference buffer_ref; member
159 struct weston_buffer *buffer = hss->buffer_ref.buffer; in hdi_renderer_surface_state_mmap()
188 struct weston_buffer *buffer = hss->buffer_ref.buffer; in hdi_renderer_surface_state_unmap()
231 weston_buffer_reference(&hss->buffer_ref, NULL); in hdi_renderer_surface_state_on_destroy()
271 weston_buffer_reference(&hss->buffer_ref, buffer); in hdi_renderer_attach()
281 weston_buffer_reference(&hss->buffer_ref, buffer); in hdi_renderer_attach()
466 struct weston_buffer *buffer = view->surface->buffer_ref.buffer; in hdi_renderer_repaint_output_calc_region()
Dhdi_output.cpp262 dump_to_file(view->surface->buffer_ref.buffer); in hdi_output_repaint()
/third_party/weston/libweston/backend-drm/
Dfb.c51 weston_buffer_reference(&fb->buffer_ref, NULL); in drm_fb_destroy()
475 assert(fb->buffer_ref.buffer == NULL); in drm_fb_set_buffer()
477 weston_buffer_reference(&fb->buffer_ref, buffer); in drm_fb_set_buffer()
539 struct weston_buffer *buffer = ev->surface->buffer_ref.buffer; in drm_fb_get_from_view()
Dstate-propose.c170 wl_shm_buffer_get(ev->surface->buffer_ref.buffer->resource); in drm_output_plane_cursor_has_valid_format()
274 struct weston_buffer *buffer = ev->surface->buffer_ref.buffer; in cursor_bo_update()
1094 (!wl_shm_buffer_get(ev->surface->buffer_ref.buffer->resource) || in drm_assign_planes()
Dstate-helpers.c181 struct weston_buffer *buffer = ev->surface->buffer_ref.buffer; in drm_plane_state_coords_for_view()
Ddrm-internal.h342 struct weston_buffer_reference buffer_ref; member
/third_party/weston/libweston-desktop/
Dxdg-shell.c666 if (!wsurface->buffer_ref.buffer && !toplevel->added) { in weston_desktop_xdg_toplevel_committed()
670 if (!wsurface->buffer_ref.buffer) in weston_desktop_xdg_toplevel_committed()
1265 if (wsurface->buffer_ref.buffer && !surface->configured) { in weston_desktop_xdg_surface_committed()
1453 if (wsurface->buffer_ref.buffer != NULL) { in weston_desktop_xdg_shell_protocol_get_xdg_surface()
Dxdg-shell-v6.c648 if (!wsurface->buffer_ref.buffer && !toplevel->added) { in weston_desktop_xdg_toplevel_committed()
652 if (!wsurface->buffer_ref.buffer) in weston_desktop_xdg_toplevel_committed()
1212 if (wsurface->buffer_ref.buffer && !surface->configured) { in weston_desktop_xdg_surface_committed()
1400 if (wsurface->buffer_ref.buffer != NULL) { in weston_desktop_xdg_shell_protocol_get_xdg_surface()
Dwl-shell.c101 if (wsurface->buffer_ref.buffer == NULL) in weston_desktop_wl_shell_surface_committed()
/third_party/weston/clients/
Dnested.c128 struct nested_buffer_reference buffer_ref; member
855 nested_buffer_reference(&blit_surface->buffer_ref, NULL); in blit_surface_fini()
926 nested_buffer_reference(&blit_surface->buffer_ref, buffer); in blit_surface_attach()
/third_party/weston/libweston/renderer-gl/
Dgl-renderer.c196 struct weston_buffer_reference buffer_ref; member
788 struct weston_buffer *buffer = gs->buffer_ref.buffer; in ensure_surface_buffer_is_ready()
1605 struct weston_buffer *buffer = gs->buffer_ref.buffer; in gl_renderer_flush_damage()
1710 weston_buffer_reference(&gs->buffer_ref, NULL); in gl_renderer_flush_damage()
2647 weston_buffer_reference(&gs->buffer_ref, buffer); in gl_renderer_attach()
2682 weston_buffer_reference(&gs->buffer_ref, NULL); in gl_renderer_attach()
2870 weston_buffer_reference(&gs->buffer_ref, NULL); in surface_state_destroy()
2937 if (surface->buffer_ref.buffer) { in gl_renderer_create_surface()
2938 gl_renderer_attach(surface, surface->buffer_ref.buffer); in gl_renderer_create_surface()
/third_party/weston/include/libweston/
Dlibweston.h1442 struct weston_buffer_reference buffer_ref; member
/third_party/weston/desktop-shell/
Dshell.c2205 if (surface->buffer_ref.buffer) in shell_configure_fullscreen()
/third_party/ffmpeg/doc/
DAPIchanges1762 Add avfilter_fill_frame_from_{audio_,}buffer_ref() functions.