Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Dshared_buffer_helpers.h59 CPUUsageMode usage_mode_ = CPUUsageMode::READ_OFTEN; variable
80 assert((usage_mode_ == CPUUsageMode::WRITE_OFTEN) || in Publish()
81 (usage_mode_ == CPUUsageMode::WRITE_RARELY)); in Publish()
92 assert((usage_mode_ == CPUUsageMode::READ_OFTEN) || in GetNewest()
93 (usage_mode_ == CPUUsageMode::READ_RARELY)); in GetNewest()
115 switch (usage_mode_) { in Ring()
/frameworks/native/libs/vr/libdisplay/
Dshared_buffer_helpers.cpp13 : buffer_key_(key), usage_mode_(mode) { in CPUMappedBuffer()
21 usage_mode_(mode) { in CPUMappedBuffer()
26 : buffer_(buffer), usage_mode_(mode) { in CPUMappedBuffer()
69 switch (usage_mode_) { in TryMapping()