/external/chromium_org/cc/base/ |
swap_promise_monitor.cc | 14 : layer_tree_host_(layer_tree_host), 18 if (layer_tree_host_) 19 layer_tree_host_->InsertSwapPromiseMonitor(this); 25 if (layer_tree_host_) 26 layer_tree_host_->RemoveSwapPromiseMonitor(this);
|
latency_info_swap_promise_monitor.cc | 29 layer_tree_host_->QueueSwapPromise(swap_promise.Pass());
|
swap_promise_monitor.h | 38 LayerTreeHost* layer_tree_host_; member in class:cc::SwapPromiseMonitor
|
/external/chromium_org/cc/test/ |
layer_test_common.h | 10 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times((expect)); \ 12 Mock::VerifyAndClearExpectations(layer_tree_host_.get()); \ 17 EXPECT_CALL(*layer_tree_host_, SetNeedsUpdateLayers()).Times((expect)); \ 19 Mock::VerifyAndClearExpectations(layer_tree_host_.get()); \
|
layer_tree_test.cc | 470 layer_tree_host_ = LayerTreeHostForTesting::Create( 475 ASSERT_TRUE(layer_tree_host_); 480 layer_tree_host_->SetLayerTreeHostClientReady(); 488 if (layer_tree_host_) { 489 static_cast<LayerTreeHostForTesting*>(layer_tree_host_.get())-> 495 if (!layer_tree_host_->root_layer()) { 500 layer_tree_host_->SetRootLayer(root_layer); 503 gfx::Size root_bounds = layer_tree_host_->root_layer()->bounds(); 505 gfx::ScaleSize(root_bounds, layer_tree_host_->device_scale_factor())); 506 layer_tree_host_->SetViewportSize(device_root_bounds) [all...] |
fake_proxy.cc | 10 layer_tree_host_ = host; 20 DCHECK(layer_tree_host_); 21 layer_tree_host_->OnCreateAndInitializeOutputSurfaceAttempted(true);
|
fake_proxy.h | 16 FakeProxy() : Proxy(NULL), layer_tree_host_(NULL) {} 20 layer_tree_host_(NULL) {} 55 LayerTreeHost* layer_tree_host_; member in class:cc::FakeProxy
|
layer_tree_test.h | 173 return layer_tree_host_ ? layer_tree_host_->proxy() : NULL; 178 LayerTreeHost* layer_tree_host() { return layer_tree_host_.get(); } 188 scoped_ptr<LayerTreeHost> layer_tree_host_; member in class:cc::LayerTreeTest
|
/external/chromium_org/cc/debug/ |
micro_benchmark_controller_unittest.cc | 26 layer_tree_host_ = FakeLayerTreeHost::Create(); 27 layer_tree_host_->SetRootLayer(Layer::Create()); 28 layer_tree_host_->InitializeForTesting(scoped_ptr<Proxy>(new FakeProxy)); 33 layer_tree_host_.reset(); 37 scoped_ptr<FakeLayerTreeHost> layer_tree_host_; member in class:cc::__anon3829::MicroBenchmarkControllerTest 50 bool result = layer_tree_host_->ScheduleMicroBenchmark( 56 EXPECT_FALSE(layer_tree_host_->needs_commit()); 57 bool result = layer_tree_host_->ScheduleMicroBenchmark( 60 EXPECT_TRUE(layer_tree_host_->needs_commit()); 65 bool result = layer_tree_host_->ScheduleMicroBenchmark [all...] |
/external/chromium_org/content/test/ |
web_layer_tree_view_impl_for_testing.cc | 48 layer_tree_host_ = 50 if (!layer_tree_host_) 56 layer_tree_host_->SetLayerTreeHostClientReady(); 61 layer_tree_host_->SetRootLayer( 66 layer_tree_host_->SetRootLayer(scoped_refptr<cc::Layer>()); 72 layer_tree_host_->SetViewportSize(device_viewport_size); 76 return layer_tree_host_->device_viewport_size(); 80 return layer_tree_host_->device_viewport_size(); 85 layer_tree_host_->SetDeviceScaleFactor(device_scale_factor); 89 return layer_tree_host_->device_scale_factor() [all...] |
web_layer_tree_view_impl_for_testing.h | 85 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; member in class:webkit::WebLayerTreeViewImplForTesting
|
/external/chromium_org/cc/layers/ |
ui_resource_layer_unittest.cc | 39 layer_tree_host_ = FakeLayerTreeHost::Create(); 40 layer_tree_host_->InitializeSingleThreaded(&fake_client_); 44 Mock::VerifyAndClearExpectations(layer_tree_host_.get()); 47 scoped_ptr<FakeLayerTreeHost> layer_tree_host_; member in class:cc::__anon3866::UIResourceLayerTest 57 layer_tree_host_->SetRootLayer(test_layer); 58 Mock::VerifyAndClearExpectations(layer_tree_host_.get()); 59 EXPECT_EQ(test_layer->layer_tree_host(), layer_tree_host_.get()); 61 layer_tree_host_->InitializeOutputSurfaceIfNeeded(); 87 layer_tree_host_->SetRootLayer(test_layer); 88 Mock::VerifyAndClearExpectations(layer_tree_host_.get()) [all...] |
nine_patch_layer_unittest.cc | 39 layer_tree_host_ = FakeLayerTreeHost::Create(); 43 Mock::VerifyAndClearExpectations(layer_tree_host_.get()); 46 scoped_ptr<FakeLayerTreeHost> layer_tree_host_; member in class:cc::__anon3850::NinePatchLayerTest 56 layer_tree_host_->SetRootLayer(test_layer); 57 Mock::VerifyAndClearExpectations(layer_tree_host_.get()); 58 EXPECT_EQ(test_layer->layer_tree_host(), layer_tree_host_.get()); 73 layer_tree_host_.get(), UIResourceBitmap(bitmap));
|
layer_perftest.cc | 43 layer_tree_host_ = FakeLayerTreeHost::Create(); 44 layer_tree_host_->InitializeSingleThreaded(&fake_client_); 48 layer_tree_host_->SetRootLayer(NULL); 49 layer_tree_host_.reset(); 56 scoped_ptr<FakeLayerTreeHost> layer_tree_host_; member in class:cc::__anon3846::LayerPerfTest 65 layer_tree_host_->SetRootLayer(test_layer);
|
texture_layer_unittest.cc | 67 layer_tree_host_.reset(new MockLayerTreeHost(&fake_client_)); 71 Mock::VerifyAndClearExpectations(layer_tree_host_.get()); 72 EXPECT_CALL(*layer_tree_host_, AcquireLayerTextures()).Times(AnyNumber()); 73 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AnyNumber()); 75 layer_tree_host_->SetRootLayer(NULL); 76 layer_tree_host_.reset(); 79 scoped_ptr<MockLayerTreeHost> layer_tree_host_; member in class:cc::__anon3859::TextureLayerTest 89 EXPECT_CALL(*layer_tree_host_, AcquireLayerTextures()).Times(AnyNumber()); 90 EXPECT_CALL(*layer_tree_host_, SetNeedsCommit()).Times(AnyNumber()); 91 layer_tree_host_->SetRootLayer(test_layer) [all...] |
tiled_layer_unittest.cc | 62 layer_tree_host_ = LayerTreeHost::CreateThreaded( 67 proxy_ = layer_tree_host_->proxy(); 69 layer_tree_host_->SetLayerTreeHostClientReady(); 70 layer_tree_host_->InitializeOutputSurfaceIfNeeded(); 71 layer_tree_host_->SetRootLayer(Layer::Create()); 132 occlusion_->SetRenderTarget(layer_tree_host_->root_layer()); 135 layer_tree_host_->root_layer(), 136 layer_tree_host_->device_viewport_size(), 138 inputs.device_scale_factor = layer_tree_host_->device_scale_factor(); 140 layer_tree_host_->GetRendererCapabilities().max_texture_size 202 scoped_ptr<LayerTreeHost> layer_tree_host_; member in class:cc::__anon3863::TiledLayerTest [all...] |
layer.cc | 41 layer_tree_host_(NULL), 106 if (layer_tree_host_ == host) 109 layer_tree_host_ = host; 137 if (layer_tree_host_ && !ignore_set_needs_commit_) 138 layer_tree_host_->SetNeedsUpdateLayers(); 142 if (!layer_tree_host_) 150 layer_tree_host_->SetNeedsCommit(); 154 if (!layer_tree_host_) 157 layer_tree_host_->SetNeedsFullTreeSync(); 161 if (!layer_tree_host_) [all...] |
layer_unittest.cc | 30 EXPECT_CALL(*layer_tree_host_, SetNeedsFullTreeSync()).Times((expect)); \ 32 Mock::VerifyAndClearExpectations(layer_tree_host_.get()); \ 67 layer_tree_host_.reset(new StrictMock<MockLayerTreeHost>(&fake_client_)); 71 Mock::VerifyAndClearExpectations(layer_tree_host_.get()); 72 EXPECT_CALL(*layer_tree_host_, SetNeedsFullTreeSync()).Times(AnyNumber()); 81 layer_tree_host_->SetRootLayer(NULL); 82 layer_tree_host_.reset(); 116 EXPECT_CALL(*layer_tree_host_, SetNeedsFullTreeSync()).Times(AnyNumber()); 117 layer_tree_host_->SetRootLayer(parent_); 126 Mock::VerifyAndClearExpectations(layer_tree_host_.get()) 135 scoped_ptr<StrictMock<MockLayerTreeHost> > layer_tree_host_; member in class:cc::__anon3848::LayerTest [all...] |
scrollbar_layer_unittest.cc | 573 layer_tree_host_.reset( 595 layer_tree_host_->InitializeOutputSurfaceIfNeeded(); 596 layer_tree_host_->SetRootLayer(layer_tree_root); 610 testing::Mock::VerifyAndClearExpectations(layer_tree_host_.get()); 611 EXPECT_EQ(scrollbar_layer->layer_tree_host(), layer_tree_host_.get()); 621 EXPECT_EQ(expected_resources, layer_tree_host_->UIResourceCount()); 622 EXPECT_EQ(expected_created, layer_tree_host_->TotalUIResourceCreated()); 623 EXPECT_EQ(expected_deleted, layer_tree_host_->TotalUIResourceDeleted()); 625 testing::Mock::VerifyAndClearExpectations(layer_tree_host_.get()); 633 scoped_ptr<MockLayerTreeHost> layer_tree_host_; member in class:cc::__anon3857::ScrollbarLayerTestResourceCreation 726 scoped_ptr<MockLayerTreeHost> layer_tree_host_; member in class:cc::__anon3857::ScaledScrollbarLayerTestResourceCreation [all...] |
layer.h | 394 LayerTreeHost* layer_tree_host() { return layer_tree_host_; } 395 const LayerTreeHost* layer_tree_host() const { return layer_tree_host_; } 567 LayerTreeHost* layer_tree_host_; member in class:cc::Layer
|
/external/chromium_org/content/renderer/gpu/ |
render_widget_compositor.cc | 304 return layer_tree_host_->GetInputHandler(); 321 return layer_tree_host_->BeginMainFrameRequested(); 325 layer_tree_host_->UpdateClientAnimations(time); 329 layer_tree_host_->Composite(frame_begin_time); 333 layer_tree_host_->SetNeedsDisplayOnAllLayers(); 337 cc::LayerTreeDebugState current = layer_tree_host_->debug_state(); 339 layer_tree_host_->SetDebugState(current); 343 layer_tree_host_->CollectRenderingStats(stats); 350 layer_tree_host_->UpdateTopControlsState(constraints, 357 layer_tree_host_->SetOverdrawBottomHeight(overdraw_bottom_height) [all...] |
render_widget_compositor.h | 152 scoped_ptr<cc::LayerTreeHost> layer_tree_host_; member in class:content::RenderWidgetCompositor
|
/external/chromium_org/cc/trees/ |
single_thread_proxy.cc | 33 layer_tree_host_(layer_tree_host), 50 layer_tree_host_impl_ = layer_tree_host_->CreateLayerTreeHostImpl(this); 118 output_surface = layer_tree_host_->CreateOutputSurface(); 127 layer_tree_host_->client()->OffscreenContextProvider(); 138 layer_tree_host_->DeleteContentsTexturesOnImplThread( 163 layer_tree_host_->OnCreateAndInitializeOutputSurfaceAttempted(success); 172 DCHECK(!layer_tree_host_->output_surface_lost()); 201 layer_tree_host_->contents_texture_manager()) { 204 layer_tree_host_->BeginCommitOnImplThread(layer_tree_host_impl_.get()); 215 layer_tree_host_->RecreateUIResources() [all...] |
single_thread_proxy.h | 107 LayerTreeHost* layer_tree_host_; member in class:cc::SingleThreadProxy
|
thread_proxy.cc | 41 : layer_tree_host_(layer_tree_host) {} 44 layer_tree_host_->BreakSwapPromises(cc::SwapPromise::COMMIT_FAILS); 48 cc::LayerTreeHost* layer_tree_host_; member in class:__anon3960::SwapPromiseChecker [all...] |