Home
last modified time | relevance | path

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

/external/minigbm/cros_gralloc/
Dcros_gralloc_buffer.cc15 : id_(id), bo_(acquire_bo), hnd_(acquire_handle), refcount_(1), lockcount_(0), in cros_gralloc_buffer()
19 assert(bo_); in cros_gralloc_buffer()
20 num_planes_ = drv_bo_get_num_planes(bo_); in cros_gralloc_buffer()
27 drv_bo_destroy(bo_); in ~cros_gralloc_buffer()
64 if (drv_num_buffers_per_bo(bo_) != 1) { in lock()
71 drv_bo_invalidate(bo_, lock_data_[0]); in lock()
81 r.width = drv_bo_get_width(bo_); in lock()
82 r.height = drv_bo_get_height(bo_); in lock()
85 vaddr = drv_bo_map(bo_, &r, map_flags, &lock_data_[0], 0); in lock()
95 addr[plane] = static_cast<uint8_t *>(vaddr) + drv_bo_get_plane_offset(bo_, plane); in lock()
[all …]
Dcros_gralloc_buffer.h43 struct bo *bo_; variable
/external/drm_hwcomposer/include/
Ddrmhwcomposer.h48 : bo_(bo), importer_(importer) { in DrmHwcBuffer()
50 DrmHwcBuffer(DrmHwcBuffer &&rhs) : bo_(rhs.bo_), importer_(rhs.importer_) { in DrmHwcBuffer()
62 bo_ = rhs.bo_;
77 hwc_drm_bo bo_;
/external/drm_hwcomposer/utils/
Dhwcutils.cpp38 return &bo_; in operator ->()
43 importer_->ReleaseBuffer(&bo_); in Clear()
64 importer_->ReleaseBuffer(&bo_); in ImportBuffer()
69 bo_ = tmp_bo; in ImportBuffer()