Home
last modified time | relevance | path

Searched refs:TestContextProvider (Results 1 – 21 of 21) sorted by relevance

/external/chromium_org/cc/test/
Dtest_context_provider.cc18 class TestContextProvider::LostContextCallbackProxy
21 explicit LostContextCallbackProxy(TestContextProvider* provider) in LostContextCallbackProxy()
35 TestContextProvider* provider_;
39 scoped_refptr<TestContextProvider> TestContextProvider::Create() { in Create()
44 scoped_refptr<TestContextProvider> TestContextProvider::Create( in Create()
48 return new TestContextProvider(context.Pass()); in Create()
51 TestContextProvider::TestContextProvider( in TestContextProvider() function in cc::TestContextProvider
64 TestContextProvider::~TestContextProvider() { in ~TestContextProvider()
69 bool TestContextProvider::BindToCurrentThread() { in BindToCurrentThread()
88 ContextProvider::Capabilities TestContextProvider::ContextCapabilities() { in ContextCapabilities()
[all …]
Dtest_context_provider.h23 class TestContextProvider : public ContextProvider {
28 static scoped_refptr<TestContextProvider> Create();
29 static scoped_refptr<TestContextProvider> Create(
61 explicit TestContextProvider(scoped_ptr<TestWebGraphicsContext3D> context);
62 virtual ~TestContextProvider();
85 base::WeakPtrFactory<TestContextProvider> weak_ptr_factory_;
87 DISALLOW_COPY_AND_ASSIGN(TestContextProvider);
Dfake_output_surface.h27 TestContextProvider::Create(), false)); in Create3d()
31 scoped_refptr<TestContextProvider> context_provider) { in Create3d()
38 TestContextProvider::Create(context.Pass()), false)); in Create3d()
49 TestContextProvider::Create(), true)); in CreateDelegating3d()
53 scoped_refptr<TestContextProvider> context_provider) { in CreateDelegating3d()
60 TestContextProvider::Create(context.Pass()), true)); in CreateDelegating3d()
87 TestContextProvider::Create(context.Pass()), false)); in CreateOffscreen()
Dfake_layer_tree_host_client.cc42 offscreen_contexts_ = TestContextProvider::Create(); in OffscreenContextProvider()
Dfake_layer_tree_host_client.h55 scoped_refptr<TestContextProvider> offscreen_contexts_;
Dlayer_tree_test.h24 class TestContextProvider; variable
205 scoped_refptr<TestContextProvider> compositor_contexts_;
Dlayer_tree_test.cc697 compositor_contexts_ = TestContextProvider::Create(); in OffscreenContextProvider()
/external/chromium_org/ui/compositor/test/
Dtest_context_factory.cc21 new cc::OutputSurface(cc::TestContextProvider::Create())); in CreateOutputSurface()
37 offscreen_compositor_contexts_ = cc::TestContextProvider::Create(); in OffscreenCompositorContextProvider()
48 shared_main_thread_contexts_ = cc::TestContextProvider::Create(); in SharedMainThreadContextProvider()
51 static_cast<cc::TestContextProvider*>( in SharedMainThreadContextProvider()
Dtest_context_factory.h10 namespace cc { class TestContextProvider; } variable
37 scoped_refptr<cc::TestContextProvider> offscreen_compositor_contexts_;
38 scoped_refptr<cc::TestContextProvider> shared_main_thread_contexts_;
/external/chromium_org/cc/output/
Doutput_surface_unittest.cc135 TestOutputSurface output_surface(TestContextProvider::Create()); in TEST()
151 scoped_refptr<TestContextProvider> context_provider = in TEST()
152 TestContextProvider::Create(); in TEST()
168 : context_provider_(TestContextProvider::Create()), in OutputSurfaceTestInitializeNewContext3d()
186 scoped_refptr<TestContextProvider> context_provider_;
222 TestOutputSurface output_surface(TestContextProvider::Create()); in TEST()
310 TestOutputSurface output_surface(TestContextProvider::Create()); in TEST()
361 scoped_refptr<TestContextProvider> context_provider = in TEST()
362 TestContextProvider::Create(); in TEST()
419 scoped_refptr<TestContextProvider> context_provider = in TEST()
[all …]
Dgl_renderer_unittest.cc782 scoped_refptr<TestContextProvider> provider = TestContextProvider::Create( in TEST_F()
1110 : FakeOutputSurface(TestContextProvider::Create(context3d.Pass()), in NonReshapableOutputSurface()
1724 TestContextProvider::Create(scoped_ptr<TestWebGraphicsContext3D>( in MockOutputSurface()
/external/chromium_org/cc/resources/
Dtexture_mailbox_deleter_unittest.cc18 scoped_refptr<TestContextProvider> context_provider = in TEST()
19 TestContextProvider::Create(); in TEST()
Draster_worker_pool_unittest.cc63 : context_provider_(TestContextProvider::Create()), in RasterWorkerPoolTest()
204 scoped_refptr<TestContextProvider> context_provider_;
Dresource_provider_unittest.cc420 scoped_refptr<TestContextProvider> context_provider = in ResourceProviderTest()
421 TestContextProvider::Create( in ResourceProviderTest()
2899 scoped_refptr<TestContextProvider> context_provider = in InitializeGLAndCheck()
2900 TestContextProvider::Create( in InitializeGLAndCheck()
/external/chromium_org/cc/trees/
Dlayer_tree_host_unittest_copyrequest.cc544 first_context_provider_ = TestContextProvider::Create(); in CreateOutputSurface()
550 second_context_provider_ = TestContextProvider::Create(); in CreateOutputSurface()
657 scoped_refptr<TestContextProvider> first_context_provider_;
658 scoped_refptr<TestContextProvider> second_context_provider_;
675 context_provider_ = TestContextProvider::Create(); in CreateOutputSurface()
736 scoped_refptr<TestContextProvider> context_provider_;
783 external_context_provider_ = TestContextProvider::Create(); in BeginTest()
823 scoped_refptr<TestContextProvider> external_context_provider_;
Dlayer_tree_host_unittest.cc3085 scoped_refptr<TestContextProvider> context_provider = in DeferredInitializeAndRedraw()
3086 TestContextProvider::Create(); // Not bound to thread. in DeferredInitializeAndRedraw()
4245 scoped_refptr<TestContextProvider> context_provider = in CreateOutputSurface()
4246 TestContextProvider::Create(); in CreateOutputSurface()
4498 first_context_provider_ = TestContextProvider::Create(); in CreateOutputSurface()
4501 second_context_provider_ = TestContextProvider::Create(); in CreateOutputSurface()
4561 scoped_refptr<TestContextProvider> first_context_provider_;
4562 scoped_refptr<TestContextProvider> second_context_provider_;
Dlayer_tree_host_impl_unittest.cc3352 scoped_refptr<TestContextProvider> provider(TestContextProvider::Create()); in TEST_F()
3403 scoped_refptr<TestContextProvider> context_provider( in TEST_F()
3404 TestContextProvider::Create()); in TEST_F()
3701 scoped_refptr<TestContextProvider> provider(TestContextProvider::Create()); in SetupLayersForOpacity()
4910 onscreen_context_provider_ = TestContextProvider::Create(); in SetUp()
4911 offscreen_context_provider_ = TestContextProvider::Create(); in SetUp()
4919 scoped_refptr<TestContextProvider> onscreen_context_provider_;
4920 scoped_refptr<TestContextProvider> offscreen_context_provider_;
5170 scoped_refptr<TestContextProvider> context_provider = in TEST_F()
5171 TestContextProvider::Create(); in TEST_F()
Dlayer_tree_host_unittest_context.cc128 TestContextProvider::Create(CreateOffscreenContext3d()); in OffscreenContextProvider()
193 scoped_refptr<TestContextProvider> offscreen_contexts_;
/external/chromium_org/content/test/
Dweb_layer_tree_view_impl_for_testing.cc159 new cc::OutputSurface(cc::TestContextProvider::Create())); in CreateOutputSurface()
/external/chromium_org/cc/layers/
Dtexture_layer_unittest.cc917 scoped_refptr<TestContextProvider> provider = TestContextProvider::Create(); in CreateOutputSurface()
1413 scoped_refptr<TestContextProvider> provider = TestContextProvider::Create(); in CreateOutputSurface()
1530 scoped_refptr<TestContextProvider> provider = TestContextProvider::Create(); in CreateOutputSurface()
Dpicture_layer_impl_unittest.cc1510 TestContextProvider::Create(), NULL)); in TEST_F()