Home
last modified time | relevance | path

Searched refs:output_surface_ (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/cc/output/
Ddelegating_renderer_unittest.cc17 DelegatingRendererTest() : LayerTreeTest(), output_surface_(NULL) {} in DelegatingRendererTest()
24 output_surface_ = output_surface.get(); in CreateOutputSurface()
30 FakeOutputSurface* output_surface_; member in cc::DelegatingRendererTest
46 EXPECT_EQ(0u, output_surface_->num_sent_frames()); in PrepareToDrawOnThread()
48 const CompositorFrame& last_frame = output_surface_->last_sent_frame(); in PrepareToDrawOnThread()
57 EXPECT_EQ(0u, output_surface_->num_sent_frames()); in DrawLayersOnThread()
63 EXPECT_EQ(1u, output_surface_->num_sent_frames()); in SwapBuffersOnThread()
65 const CompositorFrame& last_frame = output_surface_->last_sent_frame(); in SwapBuffersOnThread()
118 EXPECT_EQ(0u, output_surface_->num_sent_frames()); in DrawLayersOnThread()
124 EXPECT_EQ(1u, output_surface_->num_sent_frames()); in SwapBuffersOnThread()
[all …]
Ddelegating_renderer.cc51 output_surface_(output_surface), in DelegatingRenderer()
64 if (!output_surface_->context_provider()) { in Initialize()
71 output_surface_->context_provider()->ContextCapabilities(); in Initialize()
129 output_surface_->SwapBuffers(&compositor_frame); in SwapBuffers()
142 ContextProvider* context_provider = output_surface_->context_provider(); in IsContextLost()
153 ContextProvider* context_provider = output_surface_->context_provider(); in SetVisible()
170 ContextProvider* context_provider = output_surface_->context_provider(); in SendManagedMemoryStats()
Doutput_surface_unittest.cc169 output_surface_( in OutputSurfaceTestInitializeNewContext3d()
174 EXPECT_TRUE(output_surface_.BindToClient(&client_)); in BindOutputSurface()
175 EXPECT_TRUE(output_surface_.HasClient()); in BindOutputSurface()
179 EXPECT_FALSE(output_surface_.InitializeNewContext3d(context_provider_)); in InitializeNewContextExpectFail()
180 EXPECT_TRUE(output_surface_.HasClient()); in InitializeNewContextExpectFail()
182 EXPECT_FALSE(output_surface_.context_provider()); in InitializeNewContextExpectFail()
183 EXPECT_TRUE(output_surface_.software_device()); in InitializeNewContextExpectFail()
187 TestOutputSurface output_surface_; member in cc::__anonce9d76960111::OutputSurfaceTestInitializeNewContext3d
195 EXPECT_TRUE(output_surface_.InitializeNewContext3d(context_provider_)); in TEST_F()
197 EXPECT_EQ(context_provider_, output_surface_.context_provider()); in TEST_F()
[all …]
Dgl_renderer_unittest.cc182 output_surface_ = FakeOutputSurface::Create3d( in GLRendererWithDefaultHarnessTest()
184 CHECK(output_surface_->BindToClient(&output_surface_client_)); in GLRendererWithDefaultHarnessTest()
187 output_surface_.get(), NULL, 0, false, 1).Pass(); in GLRendererWithDefaultHarnessTest()
190 output_surface_.get(), in GLRendererWithDefaultHarnessTest()
198 scoped_ptr<FakeOutputSurface> output_surface_; member in cc::__anone697c2860111::GLRendererWithDefaultHarnessTest
212 output_surface_ = FakeOutputSurface::Create3d().Pass(); in GLRendererShaderTest()
213 CHECK(output_surface_->BindToClient(&output_surface_client_)); in GLRendererShaderTest()
216 output_surface_.get(), NULL, 0, false, 1).Pass(); in GLRendererShaderTest()
219 output_surface_.get(), in GLRendererShaderTest()
286 scoped_ptr<FakeOutputSurface> output_surface_; member in cc::GLRendererShaderTest
[all …]
Dgl_renderer.cc186 output_surface_->context_provider()->ContextCapabilities(); in GLRenderer()
272 output_surface_->capabilities().uses_default_gl_framebuffer; in DiscardPixels()
2112 gfx::Size surface_size = output_surface_->SurfaceSize(); in SwapBuffers()
2132 gfx::Rect(output_surface_->SurfaceSize()); in SwapBuffers()
2134 output_surface_->SwapBuffers(&compositor_frame); in SwapBuffers()
2161 output_surface_->DiscardBackbuffer(); in DiscardBackbuffer()
2173 output_surface_->EnsureBackbuffer(); in EnsureBackbuffer()
2255 output_surface_->context_provider(), texture_id); in GetFramebufferPixelsAsync()
2506 output_surface_->BindFramebuffer(); in BindFramebufferToOutputSurface()
2508 if (output_surface_->HasExternalStencilTest()) { in BindFramebufferToOutputSurface()
[all …]
Ddirect_renderer.cc134 output_surface_(output_surface), in DirectRenderer()
227 output_surface_->Reshape(device_viewport_rect.size(), device_scale_factor); in DrawFrame()
343 gfx::Rect(output_surface_->SurfaceSize()))) in DrawRenderPass()
363 output_surface_->HasExternalStencilTest() && in DrawRenderPass()
400 output_surface_->SurfaceSize()); in UseRenderPass()
Dsoftware_renderer_unittest.cc32 output_surface_ = FakeOutputSurface::CreateSoftware( in InitializeRenderer()
34 CHECK(output_surface_->BindToClient(&output_surface_client_)); in InitializeRenderer()
37 ResourceProvider::Create(output_surface_.get(), NULL, 0, false, 1); in InitializeRenderer()
39 this, &settings_, output_surface_.get(), resource_provider()); in InitializeRenderer()
54 scoped_ptr<FakeOutputSurface> output_surface_; member in cc::__anon5bb0bf7e0111::SoftwareRendererTest
Dsoftware_renderer.cc123 output_surface_->SwapBuffers(&compositor_frame); in SwapBuffers()
152 DCHECK(!output_surface_->HasExternalStencilTest()); in BindFramebufferToOutputSurface()
421 DCHECK(!output_surface_->ForcedDrawToSoftwareDevice()); in DrawTileQuad()
574 output_surface_->DiscardBackbuffer(); in DiscardBackbuffer()
586 output_surface_->EnsureBackbuffer(); in EnsureBackbuffer()
Ddelegating_renderer.h61 OutputSurface* output_surface_; variable
Ddirect_renderer.h124 OutputSurface* output_surface_; variable
/external/chromium_org/content/browser/android/in_process/
Dsynchronous_compositor_impl.cc67 output_surface_(NULL), in SynchronousCompositorImpl()
94 DCHECK(output_surface_); in InitializeHwDraw()
104 output_surface_->InitializeHwDraw(onscreen_context, offscreen_context); in InitializeHwDraw()
113 DCHECK(output_surface_); in ReleaseHwDraw()
114 output_surface_->ReleaseHwDraw(); in ReleaseHwDraw()
125 DCHECK(output_surface_); in DemandDrawHw()
127 return output_surface_->DemandDrawHw( in DemandDrawHw()
133 DCHECK(output_surface_); in DemandDrawSw()
135 return output_surface_->DemandDrawSw(canvas); in DemandDrawSw()
141 DCHECK(output_surface_); in SetMemoryPolicy()
[all …]
Dsynchronous_compositor_impl.h96 SynchronousCompositorOutputSurface* output_surface_; variable
/external/chromium_org/cc/test/
Dpixel_test.cc127 output_surface_.reset(new PixelTestOutputSurface( in SetUpGLRenderer()
129 output_surface_->BindToClient(output_surface_client_.get()); in SetUpGLRenderer()
132 ResourceProvider::Create(output_surface_.get(), NULL, 0, false, 1); in SetUpGLRenderer()
138 output_surface_.get(), in SetUpGLRenderer()
145 static_cast<PixelTestOutputSurface*>(output_surface_.get()) in ForceExpandedViewport()
147 SoftwareOutputDevice* device = output_surface_->software_device(); in ForceExpandedViewport()
163 static_cast<PixelTestOutputSurface*>(output_surface_.get()) in EnableExternalStencilTest()
169 output_surface_.reset(new PixelTestOutputSurface(device.Pass())); in SetUpSoftwareRenderer()
170 output_surface_->BindToClient(output_surface_client_.get()); in SetUpSoftwareRenderer()
172 ResourceProvider::Create(output_surface_.get(), NULL, 0, false, 1); in SetUpSoftwareRenderer()
[all …]
Dlayer_tree_test.h180 FakeOutputSurface* output_surface() { return output_surface_; } in output_surface()
189 FakeOutputSurface* output_surface_; variable
Dpixel_test.h51 scoped_ptr<OutputSurface> output_surface_; variable
/external/chromium_org/content/browser/aura/
Dsoftware_browser_compositor_output_surface_unittest.cc70 scoped_ptr<content::BrowserCompositorOutputSurface> output_surface_; member in SoftwareBrowserCompositorOutputSurfaceTest
100 output_surface_.reset(); in TearDown()
126 output_surface_ = CreateSurface(software_device.Pass()); in TEST_F()
129 output_surface_->SwapBuffers(&frame); in TEST_F()
131 EXPECT_EQ(NULL, output_surface_->software_device()->GetVSyncProvider()); in TEST_F()
137 output_surface_ = CreateSurface(software_device.Pass()); in TEST_F()
140 output_surface_->software_device()->GetVSyncProvider()); in TEST_F()
144 output_surface_->SwapBuffers(&frame); in TEST_F()
/external/chromium_org/content/renderer/gpu/
Dcompositor_output_surface.h77 : output_surface_(output_surface) {} in NON_EXPORTED_BASE()
78 void ClearOutputSurface() { output_surface_ = NULL; } in NON_EXPORTED_BASE()
80 if (output_surface_) in NON_EXPORTED_BASE()
81 output_surface_->OnMessageReceived(message); in NON_EXPORTED_BASE()
87 CompositorOutputSurface* output_surface_; in NON_EXPORTED_BASE() local
/external/chromium_org/cc/resources/
Dtile_manager_perftest.cc39 output_surface_ = FakeOutputSurface::Create3d(); in SetUp()
40 CHECK(output_surface_->BindToClient(&output_surface_client_)); in SetUp()
43 ResourceProvider::Create(output_surface_.get(), NULL, 0, false, 1); in SetUp()
172 scoped_ptr<FakeOutputSurface> output_surface_; member in cc::__anon98fb4bbc0111::TileManagerPerfTest
Draster_worker_pool_unittest.cc67 output_surface_ = FakeOutputSurface::Create3d(context_provider_).Pass(); in RasterWorkerPoolTest()
68 CHECK(output_surface_->BindToClient(&output_surface_client_)); in RasterWorkerPoolTest()
71 output_surface_.get(), NULL, 0, false, 1).Pass(); in RasterWorkerPoolTest()
206 scoped_ptr<FakeOutputSurface> output_surface_; member in cc::RasterWorkerPoolTest
Dresource_update_controller_unittest.cc122 output_surface_ = FakeOutputSurface::Create3d( in SetUp()
125 CHECK(output_surface_->BindToClient(&output_surface_client_)); in SetUp()
128 ResourceProvider::Create(output_surface_.get(), NULL, 0, false, 1); in SetUp()
184 scoped_ptr<OutputSurface> output_surface_; member in cc::__anon66cc47b40111::ResourceUpdateControllerTest
Dtile_manager_unittest.cc25 output_surface_ = FakeOutputSurface::Create3d(); in Initialize()
26 CHECK(output_surface_->BindToClient(&output_surface_client_)); in Initialize()
29 ResourceProvider::Create(output_surface_.get(), NULL, 0, false, 1); in Initialize()
141 scoped_ptr<FakeOutputSurface> output_surface_; member in cc::__anon2b639b6f0111::TileManagerTest
Dprioritized_tile_set_unittest.cc56 output_surface_ = FakeOutputSurface::Create3d().Pass(); in PrioritizedTileSetTest()
57 CHECK(output_surface_->BindToClient(&output_surface_client_)); in PrioritizedTileSetTest()
60 ResourceProvider::Create(output_surface_.get(), in PrioritizedTileSetTest()
84 scoped_ptr<FakeOutputSurface> output_surface_; member in cc::__anon577951d40111::PrioritizedTileSetTest
Dprioritized_resource_unittest.cc26 output_surface_(FakeOutputSurface::Create3d()) { in PrioritizedResourceTest()
28 CHECK(output_surface_->BindToClient(&output_surface_client_)); in PrioritizedResourceTest()
30 ResourceProvider::Create(output_surface_.get(), NULL, 0, false, 1); in PrioritizedResourceTest()
113 scoped_ptr<OutputSurface> output_surface_; member in cc::PrioritizedResourceTest
/external/chromium_org/cc/trees/
Dlayer_tree_host_impl.cc357 DCHECK(output_surface_); in CanDraw()
367 if (output_surface_->capabilities().draw_and_swap_full_viewport_every_frame) in CanDraw()
723 DCHECK(!output_surface_->capabilities() in CalculateRenderPasses()
786 const DrawMode draw_mode = GetDrawMode(output_surface_.get()); in CalculateRenderPasses()
876 output_surface_->capabilities().draw_and_swap_full_viewport_every_frame) in CalculateRenderPasses()
923 if (output_surface_->ForcedDrawToSoftwareDevice()) in CalculateRenderPasses()
1109 DCHECK(!output_surface_->capabilities() in PrepareToDraw()
1322 DCHECK(!output_surface_->capabilities() in DrawLayers()
1330 !output_surface_->context_provider()); in DrawLayers()
1380 GetDrawMode(output_surface_.get()), resource_provider_.get()); in DrawLayers()
[all …]
Dlayer_tree_host_impl.h244 OutputSurface* output_surface() const { return output_surface_.get(); } in output_surface()
528 scoped_ptr<OutputSurface> output_surface_; variable

12