Home
last modified time | relevance | path

Searched refs:output_surface (Results 1 – 25 of 50) sorted by relevance

12

/external/chromium_org/cc/output/
Doutput_surface_unittest.cc135 TestOutputSurface output_surface(TestContextProvider::Create()); in TEST() local
136 EXPECT_FALSE(output_surface.HasClient()); in TEST()
139 EXPECT_TRUE(output_surface.BindToClient(&client)); in TEST()
140 EXPECT_TRUE(output_surface.HasClient()); in TEST()
145 output_surface.context_provider()->Context3d()->loseContextCHROMIUM( in TEST()
157 TestOutputSurface output_surface(context_provider); in TEST() local
158 EXPECT_FALSE(output_surface.HasClient()); in TEST()
161 EXPECT_FALSE(output_surface.BindToClient(&client)); in TEST()
162 EXPECT_FALSE(output_surface.HasClient()); in TEST()
222 TestOutputSurface output_surface(TestContextProvider::Create()); in TEST() local
[all …]
Dgl_renderer_unittest.cc160 OutputSurface* output_surface, in FakeRendererGL() argument
164 output_surface, in FakeRendererGL()
555 scoped_ptr<OutputSurface> output_surface(FakeOutputSurface::Create3d( in TEST_F() local
557 CHECK(output_surface->BindToClient(&output_surface_client)); in TEST_F()
560 ResourceProvider::Create(output_surface.get(), NULL, 0, false, 1)); in TEST_F()
566 output_surface.get(), in TEST_F()
591 scoped_ptr<OutputSurface> output_surface(FakeOutputSurface::Create3d( in TEST_F() local
593 CHECK(output_surface->BindToClient(&output_surface_client)); in TEST_F()
596 ResourceProvider::Create(output_surface.get(), NULL, 0, false, 1)); in TEST_F()
602 output_surface.get(), in TEST_F()
[all …]
Ddelegating_renderer.cc37 OutputSurface* output_surface, in Create() argument
40 client, settings, output_surface, resource_provider)); in Create()
48 OutputSurface* output_surface, in DelegatingRenderer() argument
51 output_surface_(output_surface), in DelegatingRenderer()
Ddelegating_renderer_unittest.cc22 scoped_ptr<FakeOutputSurface> output_surface = in CreateOutputSurface() local
24 output_surface_ = output_surface.get(); in CreateOutputSurface()
25 return output_surface.PassAs<OutputSurface>(); in CreateOutputSurface()
Ddelegating_renderer.h23 OutputSurface* output_surface,
57 OutputSurface* output_surface,
Dsoftware_renderer.h33 OutputSurface* output_surface,
75 OutputSurface* output_surface,
Dsoftware_renderer.cc68 OutputSurface* output_surface, in Create() argument
71 client, settings, output_surface, resource_provider)); in Create()
76 OutputSurface* output_surface, in SoftwareRenderer() argument
78 : DirectRenderer(client, settings, output_surface, resource_provider), in SoftwareRenderer()
82 output_device_(output_surface->software_device()), in SoftwareRenderer()
/external/chromium_org/cc/resources/
Dscoped_resource_unittest.cc18 scoped_ptr<OutputSurface> output_surface(FakeOutputSurface::Create3d()); in TEST() local
19 CHECK(output_surface->BindToClient(&output_surface_client)); in TEST()
22 ResourceProvider::Create(output_surface.get(), NULL, 0, false, 1)); in TEST()
36 scoped_ptr<OutputSurface> output_surface(FakeOutputSurface::Create3d()); in TEST() local
37 CHECK(output_surface->BindToClient(&output_surface_client)); in TEST()
40 ResourceProvider::Create(output_surface.get(), NULL, 0, false, 1)); in TEST()
58 scoped_ptr<OutputSurface> output_surface(FakeOutputSurface::Create3d()); in TEST() local
59 CHECK(output_surface->BindToClient(&output_surface_client)); in TEST()
62 ResourceProvider::Create(output_surface.get(), NULL, 0, false, 1)); in TEST()
92 scoped_ptr<OutputSurface> output_surface(FakeOutputSurface::Create3d()); in TEST() local
[all …]
Dresource_provider_unittest.cc2032 scoped_ptr<OutputSurface> output_surface(FakeOutputSurface::Create3d( in TEST_P() local
2034 CHECK(output_surface->BindToClient(&output_surface_client)); in TEST_P()
2037 ResourceProvider::Create(output_surface.get(), NULL, 0, false, 1)); in TEST_P()
2113 scoped_ptr<OutputSurface> output_surface(FakeOutputSurface::Create3d( in TEST_P() local
2115 CHECK(output_surface->BindToClient(&output_surface_client)); in TEST_P()
2118 ResourceProvider::Create(output_surface.get(), NULL, 0, false, 1)); in TEST_P()
2162 scoped_ptr<OutputSurface> output_surface(FakeOutputSurface::Create3d( in TEST_P() local
2164 CHECK(output_surface->BindToClient(&output_surface_client)); in TEST_P()
2167 ResourceProvider::Create(output_surface.get(), NULL, 0, false, 1)); in TEST_P()
2215 scoped_ptr<OutputSurface> output_surface( in TEST_P() local
[all …]
/external/chromium_org/content/browser/aura/
Dreflector_impl.cc73 BrowserCompositorOutputSurface* output_surface = in ShutdownOnImplThread() local
75 if (output_surface) in ShutdownOnImplThread()
76 output_surface->SetReflector(NULL); in ShutdownOnImplThread()
89 BrowserCompositorOutputSurface* output_surface) { in AttachToOutputSurface() argument
91 new GLHelper(output_surface->context_provider()->Context3d(), in AttachToOutputSurface()
92 output_surface->context_provider()->ContextSupport())); in AttachToOutputSurface()
93 output_surface->SetReflector(this); in AttachToOutputSurface()
/external/chromium_org/cc/test/
Dpixel_test.h98 OutputSurface* output_surface, in GLRendererWithExpandedViewport() argument
104 output_surface, in GLRendererWithExpandedViewport()
114 OutputSurface* output_surface, in SoftwareRendererWithExpandedViewport() argument
116 : SoftwareRenderer(client, settings, output_surface, resource_provider) {} in SoftwareRendererWithExpandedViewport()
Dlayer_tree_test.cc162 virtual bool InitializeRenderer(scoped_ptr<OutputSurface> output_surface) in InitializeRenderer() argument
164 bool success = LayerTreeHostImpl::InitializeRenderer(output_surface.Pass()); in InitializeRenderer()
685 scoped_ptr<FakeOutputSurface> output_surface; in CreateOutputSurface() local
687 output_surface = FakeOutputSurface::CreateDelegating3d(); in CreateOutputSurface()
689 output_surface = FakeOutputSurface::Create3d(); in CreateOutputSurface()
690 output_surface_ = output_surface.get(); in CreateOutputSurface()
691 return output_surface.PassAs<OutputSurface>(); in CreateOutputSurface()
Dlayer_tree_pixel_test.cc38 scoped_ptr<PixelTestOutputSurface> output_surface; in CreateOutputSurface() local
47 output_surface = make_scoped_ptr( in CreateOutputSurface()
58 output_surface = make_scoped_ptr(new PixelTestOutputSurface( in CreateOutputSurface()
64 output_surface->set_surface_expansion_size(surface_expansion_size); in CreateOutputSurface()
65 return output_surface.PassAs<OutputSurface>(); in CreateOutputSurface()
/external/chromium_org/content/browser/android/in_process/
Dsynchronous_compositor_impl.h67 SynchronousCompositorOutputSurface* output_surface) OVERRIDE;
69 SynchronousCompositorOutputSurface* output_surface) OVERRIDE;
92 SynchronousCompositorOutputSurface* output_surface);
Dsynchronous_compositor_impl.cc152 SynchronousCompositorOutputSurface* output_surface) { in DidBindOutputSurface() argument
154 output_surface_ = output_surface; in DidBindOutputSurface()
160 SynchronousCompositorOutputSurface* output_surface) { in DidDestroySynchronousOutputSurface() argument
165 if (output_surface_ == output_surface) { in DidDestroySynchronousOutputSurface()
Dsynchronous_compositor_output_surface.h31 SynchronousCompositorOutputSurface* output_surface) = 0;
33 SynchronousCompositorOutputSurface* output_surface) = 0;
Dsynchronous_compositor_factory_impl.cc116 scoped_ptr<SynchronousCompositorOutputSurface> output_surface( in CreateOutputSurface() local
118 return output_surface.PassAs<cc::OutputSurface>(); in CreateOutputSurface()
/external/chromium_org/cc/trees/
Dsingle_thread_proxy.cc116 scoped_ptr<OutputSurface> output_surface = first_output_surface_.Pass(); in CreateAndInitializeOutputSurface() local
117 if (!output_surface) in CreateAndInitializeOutputSurface()
118 output_surface = layer_tree_host_->CreateOutputSurface(); in CreateAndInitializeOutputSurface()
119 if (!output_surface) { in CreateAndInitializeOutputSurface()
146 DCHECK(output_surface); in CreateAndInitializeOutputSurface()
148 output_surface.Pass()); in CreateAndInitializeOutputSurface()
Dlayer_tree_host_impl.cc544 static DrawMode GetDrawMode(OutputSurface* output_surface) { in GetDrawMode() argument
545 if (output_surface->ForcedDrawToSoftwareDevice()) { in GetDrawMode()
547 } else if (output_surface->context_provider()) { in GetDrawMode()
550 DCHECK_EQ(!output_surface->software_device(), in GetDrawMode()
551 output_surface->capabilities().delegated_rendering); in GetDrawMode()
1682 OutputSurface* output_surface, in CreateAndSetRenderer() argument
1686 if (output_surface->capabilities().delegated_rendering) { in CreateAndSetRenderer()
1688 this, &settings_, output_surface, resource_provider); in CreateAndSetRenderer()
1689 } else if (output_surface->context_provider() && !skip_gl_renderer) { in CreateAndSetRenderer()
1692 output_surface, in CreateAndSetRenderer()
[all …]
Dthread_proxy.cc269 scoped_ptr<OutputSurface> output_surface = first_output_surface_.Pass(); in DoCreateAndInitializeOutputSurface() local
270 if (!output_surface) in DoCreateAndInitializeOutputSurface()
271 output_surface = layer_tree_host()->CreateOutputSurface(); in DoCreateAndInitializeOutputSurface()
274 bool success = !!output_surface; in DoCreateAndInitializeOutputSurface()
304 base::Passed(&output_surface), in DoCreateAndInitializeOutputSurface()
1429 scoped_ptr<OutputSurface> output_surface, in InitializeOutputSurfaceOnImplThread() argument
1442 *success = layer_tree_host_impl_->InitializeRenderer(output_surface.Pass()); in InitializeOutputSurfaceOnImplThread()
1535 if (layer_tree_host_impl_->output_surface()) in CommitPendingOnImplThreadForTesting()
1604 if (layer_tree_host_impl_->output_surface()) { in RenewTreePriority()
1605 layer_tree_host_impl_->output_surface()-> in RenewTreePriority()
Dlayer_tree_host_impl_unittest.cc155 scoped_ptr<OutputSurface> output_surface) { in CreateHostImpl() argument
158 bool init = host_impl_->InitializeRenderer(output_surface.Pass()); in CreateHostImpl()
377 scoped_ptr<FakeOutputSurface> output_surface( in TEST_F() local
379 CreateHostImpl(DefaultSettings(), output_surface.PassAs<OutputSurface>()); in TEST_F()
478 scoped_ptr<FakeOutputSurface> output_surface(FakeOutputSurface::Create3d( in TEST_F() local
483 output_surface.PassAs<OutputSurface>())); in TEST_F()
3353 scoped_ptr<OutputSurface> output_surface( in TEST_F() local
3355 CreateHostImpl(DefaultSettings(), output_surface.Pass()); in TEST_F()
3408 scoped_ptr<OutputSurface> output_surface( in TEST_F() local
3418 layer_tree_host_impl->InitializeRenderer(output_surface.Pass()); in TEST_F()
[all …]
Dlayer_tree_impl.cc382 !output_surface()->ForcedDrawToSoftwareDevice(); in UpdateDrawProperties()
525 return output_surface()->context_provider(); in context_provider()
528 OutputSurface* LayerTreeImpl::output_surface() const { in output_surface() function in cc::LayerTreeImpl
529 return layer_tree_host_impl_->output_surface(); in output_surface()
/external/chromium_org/content/renderer/gpu/
Dcompositor_output_surface.h76 CompositorOutputSurface* output_surface) in NON_EXPORTED_BASE()
77 : output_surface_(output_surface) {} in NON_EXPORTED_BASE()
/external/chromium_org/cc/layers/
Dio_surface_layer_impl.cc44 layer_tree_impl()->output_surface()->context_provider().get(); in DestroyTexture()
72 layer_tree_impl()->output_surface()->context_provider().get(); in WillDraw()
/external/chromium_org/content/browser/renderer_host/
Dsoftware_frame_manager_unittest.cc30 bool SwapToNewFrame(uint32 output_surface, unsigned frame_id) { in SwapToNewFrame() argument
37 output_surface, &frame, 1.0, base::GetCurrentProcessHandle()); in SwapToNewFrame()

12