Home
last modified time | relevance | path

Searched refs:frame_provider_ (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/cc/layers/
Ddelegated_frame_provider_unittest.cc84 frame_provider_ = in SetFrameProvider()
89 scoped_refptr<DelegatedFrameProvider> frame_provider_; member in cc::__anon188e41fc0111::DelegatedFrameProviderTest
109 frame_provider_ = NULL; in TEST_F()
135 frame_provider_ = NULL; in TEST_F()
155 DelegatedRendererLayer::Create(frame_provider_); in TEST_F()
157 DelegatedRendererLayer::Create(frame_provider_); in TEST_F()
162 frame_provider_->GetFrameDataAndRefResources(observer1.get(), &damage); in TEST_F()
164 frame_provider_->GetFrameDataAndRefResources(observer2.get(), &damage); in TEST_F()
169 frame_provider_->GetFrameDataAndRefResources(observer1.get(), &damage); in TEST_F()
171 frame_provider_->GetFrameDataAndRefResources(observer2.get(), &damage); in TEST_F()
[all …]
Ddelegated_renderer_layer.cc23 frame_provider_(frame_provider), in DelegatedRendererLayer()
27 frame_provider_->AddObserver(this); in DelegatedRendererLayer()
31 frame_provider_->RemoveObserver(this); in ~DelegatedRendererLayer()
69 frame_provider_->GetReturnResourcesCallbackForImplThread()); in PushPropertiesTo()
92 frame_provider_->GetFrameDataAndRefResources(this, &frame_damage_); in Update()
Ddelegated_renderer_layer.h42 scoped_refptr<DelegatedFrameProvider> frame_provider_;
/external/chromium_org/content/renderer/
Dchild_frame_compositing_helper.cc190 frame_provider_ = NULL; in OnContainerDestroy()
227 frame_provider_ = NULL; in OnCompositorFrameSwapped()
246 if (!frame_provider_.get() || frame_provider_->frame_size() != frame_size) { in OnCompositorFrameSwapped()
247 frame_provider_ = new cc::DelegatedFrameProvider( in OnCompositorFrameSwapped()
252 cc::DelegatedRendererLayer::Create(frame_provider_.get()); in OnCompositorFrameSwapped()
258 frame_provider_->SetFrameData(frame->delegated_frame_data.Pass()); in OnCompositorFrameSwapped()
Dchild_frame_compositing_helper.h126 scoped_refptr<cc::DelegatedFrameProvider> frame_provider_; variable
/external/chromium_org/cc/trees/
Dlayer_tree_host_unittest_no_message_loop.cc165 frame_provider_ = new DelegatedFrameProvider( in RunTestWithoutMessageLoop()
170 FakeDelegatedRendererLayer::Create(frame_provider_.get()); in RunTestWithoutMessageLoop()
181 frame_provider_->SetFrameData(CreateFrameDataWithResource(999)); in RunTestWithoutMessageLoop()
189 frame_provider_ = NULL; in RunTestWithoutMessageLoop()
227 scoped_refptr<DelegatedFrameProvider> frame_provider_; member in cc::__anon8a0957de0111::LayerTreeHostNoMessageLoopDelegatedLayer
Dlayer_tree_host_unittest_delegated.cc271 if (frame_provider_.get() && frame_size == frame_provider_->frame_size()) { in SetFrameData()
272 frame_provider_->SetFrameData(frame_data.Pass()); in SetFrameData()
279 frame_provider_ = NULL; in SetFrameData()
282 frame_provider_ = new DelegatedFrameProvider(resource_collection_.get(), in SetFrameData()
285 delegated_ = CreateDelegatedLayer(frame_provider_.get()); in SetFrameData()
312 scoped_refptr<DelegatedFrameProvider> frame_provider_; member in cc::__anon8f3a66630111::LayerTreeHostDelegatedTestCaseSingleDelegatedLayer
566 delegated_copy_ = CreateDelegatedLayer(frame_provider_.get()); in DidCommit()
1834 delegated_ = CreateDelegatedLayer(frame_provider_.get()); in DidCommitAndDrawFrame()
1902 frame_provider_->SetFrameData(frame.Pass()); in DidCommitAndDrawFrame()
1903 delegated_ = CreateDelegatedLayer(frame_provider_.get()); in DidCommitAndDrawFrame()
[all …]
/external/chromium_org/android_webview/browser/
Dhardware_renderer.cc118 frame_provider_ = NULL; in ~HardwareRenderer()
179 if (!frame_provider_ || size_changed) { in SetFrameData()
184 frame_provider_ = new cc::DelegatedFrameProvider( in SetFrameData()
187 delegated_layer_ = cc::DelegatedRendererLayer::Create(frame_provider_); in SetFrameData()
193 frame_provider_->SetFrameData(frame->delegated_frame_data.Pass()); in SetFrameData()
Dhardware_renderer.h93 scoped_refptr<cc::DelegatedFrameProvider> frame_provider_; variable
/external/chromium_org/chromecast/media/cma/ipc_streamer/
Dav_streamer_proxy.cc39 DCHECK(!frame_provider_); in SetCodedFrameProvider()
40 frame_provider_.reset(frame_provider.release()); in SetCodedFrameProvider()
66 frame_provider_->Flush(done_cb); in StopAndFlush()
87 frame_provider_->Read(base::Bind(&AvStreamerProxy::OnNewBuffer, weak_this_)); in RequestBufferIfNeeded()
Dav_streamer_proxy.h60 scoped_ptr<CodedFrameProvider> frame_provider_; variable
/external/chromium_org/content/browser/compositor/
Ddelegated_frame_host.cc69 if (surface_id_.is_null() && !frame_provider_.get() && in WasShown()
419 if (!frame_provider_.get() || in SwapDelegatedFrame()
420 frame_size != frame_provider_->frame_size() || in SwapDelegatedFrame()
422 frame_provider_ = new cc::DelegatedFrameProvider( in SwapDelegatedFrame()
424 client_->GetLayer()->SetShowDelegatedContent(frame_provider_.get(), in SwapDelegatedFrame()
427 frame_provider_->SetFrameData(frame_data.Pass()); in SwapDelegatedFrame()
462 if (frame_provider_.get() || !surface_id_.is_null()) in SwapDelegatedFrame()
522 frame_provider_ = NULL; in EvictDelegatedFrame()
902 if (frame_provider_.get() || !surface_id_.is_null()) in OnLostResources()
969 DCHECK(frame_provider_.get() || !surface_id_.is_null()); in LockResources()
[all …]
Ddelegated_frame_host.h118 return frame_provider_.get(); in FrameProviderForTesting()
266 scoped_refptr<cc::DelegatedFrameProvider> frame_provider_; variable
/external/chromium_org/content/browser/renderer_host/
Drender_widget_host_view_android.cc421 DCHECK(frame_provider_); in CreateDelegatedLayerForFrameProvider()
424 cc::DelegatedRendererLayer::Create(frame_provider_); in CreateDelegatedLayerForFrameProvider()
863 DCHECK(frame_provider_); in CopyFromCompositingSurface()
943 frame_provider_ = NULL; in DestroyDelegatedContent()
984 if (!frame_provider_ || in SwapDelegatedFrame()
985 texture_size_in_layer_ != frame_provider_->frame_size()) { in SwapDelegatedFrame()
987 frame_provider_ = new cc::DelegatedFrameProvider( in SwapDelegatedFrame()
989 layer_ = cc::DelegatedRendererLayer::Create(frame_provider_); in SwapDelegatedFrame()
992 frame_provider_->SetFrameData(frame_data.Pass()); in SwapDelegatedFrame()
Drender_widget_host_view_android.h372 scoped_refptr<cc::DelegatedFrameProvider> frame_provider_; variable