Home
last modified time | relevance | path

Searched refs:ring_buffer_ (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/cc/debug/
Dframe_rate_counter.cc40 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()
Dframe_rate_counter.h21 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
Dpaint_time_counter.h20 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
Dpaint_time_counter.cc21 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()
/external/chromium_org/gpu/command_buffer/client/
Dtransfer_buffer.cc63 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()
Dclient_test_helper.cc51 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()
Dcmd_buffer_helper.cc64 ring_buffer_ = buffer; in AllocateRingBuffer()
71 entries_ = static_cast<CommandBufferEntry*>(ring_buffer_.ptr); in AllocateRingBuffer()
Dcmd_buffer_helper.h218 return ring_buffer_; in get_ring_buffer()
250 Buffer ring_buffer_; variable
Dclient_test_helper.h56 CommandBufferEntry* ring_buffer_; variable
Dtransfer_buffer.h123 scoped_ptr<AlignedRingBuffer> ring_buffer_; variable
/external/chromium_org/cc/resources/
Dmemory_history.h20 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
Dmemory_history.cc19 ring_buffer_.SaveToBuffer(entry); in SaveEntry()
26 for (RingBufferType::Iterator it = ring_buffer_.Begin(); it; ++it) { in GetMinAndMax()
/external/chromium_org/gpu/command_buffer/service/
Dcommand_buffer_service.cc98 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()
Dcommand_buffer_service.h71 Buffer ring_buffer_; variable