Home
last modified time | relevance | path

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

/external/minigbm/cros_gralloc/
Dcros_gralloc_buffer.cc14 : id_(id), bo_(acquire_bo), hnd_(acquire_handle), refcount_(1), lockcount_(0) in cros_gralloc_buffer()
16 assert(bo_); in cros_gralloc_buffer()
17 num_planes_ = drv_bo_get_num_planes(bo_); in cros_gralloc_buffer()
24 drv_bo_destroy(bo_); in ~cros_gralloc_buffer()
58 if (drv_num_buffers_per_bo(bo_) != 1) { in lock()
65 drv_bo_invalidate(bo_, lock_data_[0]); in lock()
68 vaddr = drv_bo_map(bo_, rect, map_flags, &lock_data_[0], 0); in lock()
78 addr[plane] = static_cast<uint8_t *>(vaddr) + drv_bo_get_plane_offset(bo_, plane); in lock()
93 drv_bo_flush_or_unmap(bo_, lock_data_[0]); in unlock()
Dcros_gralloc_buffer.h35 struct bo *bo_; variable
/external/drm_hwcomposer/
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_;
Dhwcutils.cpp36 return &bo_; in operator ->()
41 importer_->ReleaseBuffer(&bo_); in Clear()
54 importer_->ReleaseBuffer(&bo_); in ImportBuffer()
59 bo_ = tmp_bo; in ImportBuffer()