Searched refs:ring_buffer_ (Results 1 – 14 of 14) sorted by relevance
40 DCHECK_LT(n, ring_buffer_.BufferSize()); in RecentFrameInterval()41 return ring_buffer_.ReadBuffer(n) - ring_buffer_.ReadBuffer(n - 1); in RecentFrameInterval()48 ring_buffer_.SaveToBuffer(timestamp); in SaveTimeStamp()51 if (ring_buffer_.CurrentIndex() < 2) in SaveTimeStamp()55 RecentFrameInterval(ring_buffer_.BufferSize() - 1); in SaveTimeStamp()57 if (has_impl_thread_ && ring_buffer_.CurrentIndex() > 0) { in SaveTimeStamp()94 for (RingBufferType::Iterator it = --ring_buffer_.End(); it; --it) { in GetMinAndMaxFPS()127 for (RingBufferType::Iterator it = --ring_buffer_.End(); in GetAverageFPS()
21 int current_frame_number() const { return ring_buffer_.CurrentIndex(); } in current_frame_number()23 size_t time_stamp_history_size() const { return ring_buffer_.BufferSize(); } in time_stamp_history_size()41 RingBufferType::Iterator begin() const { return ring_buffer_.Begin(); } in begin()42 RingBufferType::Iterator end() const { return ring_buffer_.End(); } in end()47 RingBufferType ring_buffer_; variable
20 size_t HistorySize() const { return ring_buffer_.BufferSize(); } in HistorySize()32 RingBufferType::Iterator Begin() const { return ring_buffer_.Begin(); } in Begin()33 RingBufferType::Iterator End() const { return ring_buffer_.End(); } in End()38 RingBufferType ring_buffer_; variable
21 ring_buffer_.SaveToBuffer(paint_time); in SavePaintTime()33 for (RingBufferType::Iterator it = ring_buffer_.Begin(); it; ++it) { in GetMinAndMaxPaintTime()47 ring_buffer_.Clear(); in ClearHistory()
63 ring_buffer_.reset(); in Free()73 return ring_buffer_->GetOffset(pointer); in GetOffset()77 ring_buffer_->FreePendingToken(p, token); in FreePendingToken()91 ring_buffer_.reset(new AlignedRingBuffer( in AllocateRingBuffer()166 unsigned int max_size = ring_buffer_->GetLargestFreeOrPendingSize(); in AllocUpTo()169 return ring_buffer_->Alloc(*size_allocated); in AllocUpTo()179 unsigned int max_size = ring_buffer_->GetLargestFreeOrPendingSize(); in Alloc()185 return ring_buffer_->Alloc(size); in Alloc()204 return HaveBuffer() ? ring_buffer_->GetLargestFreeOrPendingSize() : 0; in GetCurrentMaxAllocationWithoutRealloc()
51 ring_buffer_ = static_cast<CommandBufferEntry*>(ring_buffer_buffer_.ptr); in SetGetBuffer()52 state_.num_entries = ring_buffer_buffer_.size / sizeof(ring_buffer_[0]); in SetGetBuffer()
64 ring_buffer_ = buffer; in AllocateRingBuffer()71 entries_ = static_cast<CommandBufferEntry*>(ring_buffer_.ptr); in AllocateRingBuffer()
218 return ring_buffer_; in get_ring_buffer()250 Buffer ring_buffer_; variable
56 CommandBufferEntry* ring_buffer_; variable
123 scoped_ptr<AlignedRingBuffer> ring_buffer_; variable
20 size_t HistorySize() const { return ring_buffer_.BufferSize(); } in HistorySize()42 RingBufferType::Iterator Begin() const { return ring_buffer_.Begin(); } in Begin()43 RingBufferType::Iterator End() const { return ring_buffer_.End(); } in End()48 RingBufferType ring_buffer_; variable
19 ring_buffer_.SaveToBuffer(entry); in SaveEntry()26 for (RingBufferType::Iterator it = ring_buffer_.Begin(); it; ++it) { in GetMinAndMax()
98 ring_buffer_ = GetTransferBuffer(transfer_buffer_id); in SetGetBuffer()99 DCHECK(ring_buffer_.ptr); in SetGetBuffer()101 num_entries_ = ring_buffer_.size / sizeof(CommandBufferEntry); in SetGetBuffer()152 ring_buffer_ = Buffer(); in DestroyTransferBuffer()
71 Buffer ring_buffer_; variable