Searched refs:buffer_idx (Results 1 – 3 of 3) sorted by relevance
32 int buffer_idx = WaitForNewFrameSince(&frame_number); in OnFrameAfter() local33 void* buffer = GetBuffer(buffer_idx); in OnFrameAfter()47 void* SocketBasedScreenConnector::GetBuffer(int buffer_idx) { in GetBuffer() argument48 if (buffer_idx < 0) return nullptr; in GetBuffer()49 buffer_idx %= NUM_BUFFERS_; in GetBuffer()50 return &buffer_[buffer_idx * ScreenSizeInBytes()]; in GetBuffer()97 void SocketBasedScreenConnector::BroadcastNewFrame(int buffer_idx) { in BroadcastNewFrame() argument101 newest_buffer_ = buffer_idx; in BroadcastNewFrame()
41 void* GetBuffer(int buffer_idx);43 void BroadcastNewFrame(int buffer_idx);
399 void CpuComposer::CompositeLayer(hwc_layer_1_t* src_layer, int buffer_idx) { in CompositeLayer() argument428 reinterpret_cast<uint8_t*>(screen_view_->GetBuffer(buffer_idx)); in CompositeLayer()640 int buffer_idx = screen_view_->NextBuffer(); in SetLayers() local662 CompositeLayer(&layers[idx], buffer_idx); in SetLayers()674 CompositeLayer(&layers[idx], buffer_idx); in SetLayers()680 screen_view_->Broadcast(buffer_idx); in SetLayers()