Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/libs/wayland/
Dwayland_surface.cpp72 struct wl_shm_buffer* shm_buffer = wl_shm_buffer_get(state_.current_buffer); in Commit() local
73 CHECK(shm_buffer != nullptr); in Commit()
75 wl_shm_buffer_begin_access(shm_buffer); in Commit()
77 const int32_t buffer_w = wl_shm_buffer_get_width(shm_buffer); in Commit()
79 const int32_t buffer_h = wl_shm_buffer_get_height(shm_buffer); in Commit()
81 const int32_t buffer_stride_bytes = wl_shm_buffer_get_stride(shm_buffer); in Commit()
83 GetDrmFormat(wl_shm_buffer_get_format(shm_buffer)); in Commit()
91 reinterpret_cast<uint8_t*>(wl_shm_buffer_get_data(shm_buffer)); in Commit()
97 wl_shm_buffer_end_access(shm_buffer); in Commit()