Searched refs:CPUUsageMode (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/libs/vr/libdisplay/include/private/dvr/ |
D | shared_buffer_helpers.h | 14 enum class CPUUsageMode { READ_OFTEN, READ_RARELY, WRITE_OFTEN, WRITE_RARELY }; enum 21 CPUMappedBuffer(DvrGlobalBufferKey key, CPUUsageMode mode); 24 CPUMappedBuffer(std::unique_ptr<IonBuffer> buffer, CPUUsageMode mode); 27 CPUMappedBuffer(IonBuffer* buffer, CPUUsageMode mode); 59 CPUUsageMode usage_mode_ = CPUUsageMode::READ_OFTEN; 69 CPUMappedBroadcastRing(DvrGlobalBufferKey key, CPUUsageMode mode) in CPUMappedBroadcastRing() 72 CPUMappedBroadcastRing(std::unique_ptr<IonBuffer> buffer, CPUUsageMode mode) in CPUMappedBroadcastRing() 75 CPUMappedBroadcastRing(IonBuffer* buffer, CPUUsageMode mode) in CPUMappedBroadcastRing() 80 assert((usage_mode_ == CPUUsageMode::WRITE_OFTEN) || in Publish() 81 (usage_mode_ == CPUUsageMode::WRITE_RARELY)); in Publish() [all …]
|
/frameworks/native/libs/vr/libdisplay/ |
D | shared_buffer_helpers.cpp | 12 CPUMappedBuffer::CPUMappedBuffer(DvrGlobalBufferKey key, CPUUsageMode mode) in CPUMappedBuffer() 18 CPUUsageMode mode) in CPUMappedBuffer() 25 CPUMappedBuffer::CPUMappedBuffer(IonBuffer* buffer, CPUUsageMode mode) in CPUMappedBuffer() 70 case CPUUsageMode::READ_OFTEN: in TryMapping() 73 case CPUUsageMode::READ_RARELY: in TryMapping() 76 case CPUUsageMode::WRITE_OFTEN: in TryMapping() 79 case CPUUsageMode::WRITE_RARELY: in TryMapping()
|
/frameworks/native/libs/vr/libvrsensor/ |
D | pose_client.cpp | 48 DvrGlobalBuffers::kSensorPoseBuffer, CPUUsageMode::READ_RARELY); in Poll() 270 DvrGlobalBuffers::kVsyncPoseBuffer, CPUUsageMode::READ_OFTEN); in GetVsyncBuffer()
|
/frameworks/native/libs/vr/libvrflinger/ |
D | hardware_composer.cpp | 588 &ion_buffer, CPUUsageMode::WRITE_OFTEN); in OnNewGlobalBuffer()
|