Home
last modified time | relevance | path

Searched refs:shm_buffer (Results 1 – 7 of 7) sorted by relevance

/third_party/weston/libweston/
Dnoop-renderer.c57 struct wl_shm_buffer *shm_buffer; in noop_renderer_attach() local
65 shm_buffer = wl_shm_buffer_get(buffer->resource); in noop_renderer_attach()
67 if (!shm_buffer) { in noop_renderer_attach()
72 data = wl_shm_buffer_get_data(shm_buffer); in noop_renderer_attach()
73 stride = wl_shm_buffer_get_stride(shm_buffer); in noop_renderer_attach()
74 width = wl_shm_buffer_get_width(shm_buffer); in noop_renderer_attach()
75 height = wl_shm_buffer_get_height(shm_buffer); in noop_renderer_attach()
82 wl_shm_buffer_begin_access(shm_buffer); in noop_renderer_attach()
85 wl_shm_buffer_end_access(shm_buffer); in noop_renderer_attach()
87 buffer->shm_buffer = shm_buffer; in noop_renderer_attach()
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()
619 struct wl_shm_buffer *shm_buffer; in pixman_renderer_attach() local
639 shm_buffer = wl_shm_buffer_get(buffer->resource); in pixman_renderer_attach()
641 if (! shm_buffer) { in pixman_renderer_attach()
648 switch (wl_shm_buffer_get_format(shm_buffer)) { in pixman_renderer_attach()
663 wl_shm_buffer_get_format(shm_buffer)); in pixman_renderer_attach()
672 buffer->shm_buffer = shm_buffer; in pixman_renderer_attach()
[all …]
Dscreenshooter.c144 stride = wl_shm_buffer_get_stride(l->buffer->shm_buffer); in screenshooter_frame_notify()
146 d = wl_shm_buffer_get_data(l->buffer->shm_buffer); in screenshooter_frame_notify()
149 wl_shm_buffer_begin_access(l->buffer->shm_buffer); in screenshooter_frame_notify()
170 wl_shm_buffer_end_access(l->buffer->shm_buffer); in screenshooter_frame_notify()
189 buffer->shm_buffer = wl_shm_buffer_get(buffer->resource); in weston_screenshooter_shoot()
190 buffer->width = wl_shm_buffer_get_width(buffer->shm_buffer); in weston_screenshooter_shoot()
191 buffer->height = wl_shm_buffer_get_height(buffer->shm_buffer); in weston_screenshooter_shoot()
/third_party/weston/tests/
Dweston-test.c461 stride = wl_shm_buffer_get_stride(l->buffer->shm_buffer); in test_screenshot_frame_notify()
463 d = wl_shm_buffer_get_data(l->buffer->shm_buffer); in test_screenshot_frame_notify()
466 wl_shm_buffer_begin_access(l->buffer->shm_buffer); in test_screenshot_frame_notify()
490 wl_shm_buffer_end_access(l->buffer->shm_buffer); in test_screenshot_frame_notify()
511 buffer->shm_buffer = wl_shm_buffer_get(buffer->resource); in weston_test_screenshot_shoot()
512 buffer->width = wl_shm_buffer_get_width(buffer->shm_buffer); in weston_test_screenshot_shoot()
513 buffer->height = wl_shm_buffer_get_height(buffer->shm_buffer); in weston_test_screenshot_shoot()
/third_party/weston/libweston/renderer-gl/
Dgl-renderer.c1637 data = wl_shm_buffer_get_data(buffer->shm_buffer); in gl_renderer_flush_damage()
1640 wl_shm_buffer_begin_access(buffer->shm_buffer); in gl_renderer_flush_damage()
1652 wl_shm_buffer_end_access(buffer->shm_buffer); in gl_renderer_flush_damage()
1660 wl_shm_buffer_begin_access(buffer->shm_buffer); in gl_renderer_flush_damage()
1674 wl_shm_buffer_end_access(buffer->shm_buffer); in gl_renderer_flush_damage()
1679 wl_shm_buffer_begin_access(buffer->shm_buffer); in gl_renderer_flush_damage()
1703 wl_shm_buffer_end_access(buffer->shm_buffer); in gl_renderer_flush_damage()
1736 struct wl_shm_buffer *shm_buffer) in gl_renderer_attach_shm() argument
1746 buffer->shm_buffer = shm_buffer; in gl_renderer_attach_shm()
1747 buffer->width = wl_shm_buffer_get_width(shm_buffer); in gl_renderer_attach_shm()
[all …]
/third_party/weston/libweston/backend-drm/
Dstate-propose.c280 assert(buffer && buffer->shm_buffer); in cursor_bo_update()
281 assert(buffer->shm_buffer == wl_shm_buffer_get(buffer->resource)); in cursor_bo_update()
286 stride = wl_shm_buffer_get_stride(buffer->shm_buffer); in cursor_bo_update()
287 s = wl_shm_buffer_get_data(buffer->shm_buffer); in cursor_bo_update()
289 wl_shm_buffer_begin_access(buffer->shm_buffer); in cursor_bo_update()
294 wl_shm_buffer_end_access(buffer->shm_buffer); in cursor_bo_update()
/third_party/weston/include/libweston/
Dlibweston.h1141 struct wl_shm_buffer *shm_buffer; member