/external/chromium_org/cc/output/ |
D | delegating_renderer_unittest.cc | 17 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 …]
|
D | delegating_renderer.cc | 51 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()
|
D | output_surface_unittest.cc | 169 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 …]
|
D | gl_renderer_unittest.cc | 182 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 …]
|
D | gl_renderer.cc | 186 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 …]
|
D | direct_renderer.cc | 134 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()
|
D | software_renderer_unittest.cc | 32 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
|
D | software_renderer.cc | 123 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()
|
D | delegating_renderer.h | 61 OutputSurface* output_surface_; variable
|
D | direct_renderer.h | 124 OutputSurface* output_surface_; variable
|
/external/chromium_org/content/browser/android/in_process/ |
D | synchronous_compositor_impl.cc | 67 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 …]
|
D | synchronous_compositor_impl.h | 96 SynchronousCompositorOutputSurface* output_surface_; variable
|
/external/chromium_org/cc/test/ |
D | pixel_test.cc | 127 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 …]
|
D | layer_tree_test.h | 180 FakeOutputSurface* output_surface() { return output_surface_; } in output_surface() 189 FakeOutputSurface* output_surface_; variable
|
D | pixel_test.h | 51 scoped_ptr<OutputSurface> output_surface_; variable
|
/external/chromium_org/content/browser/aura/ |
D | software_browser_compositor_output_surface_unittest.cc | 70 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/ |
D | compositor_output_surface.h | 77 : 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/ |
D | tile_manager_perftest.cc | 39 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
|
D | raster_worker_pool_unittest.cc | 67 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
|
D | resource_update_controller_unittest.cc | 122 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
|
D | tile_manager_unittest.cc | 25 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
|
D | prioritized_tile_set_unittest.cc | 56 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
|
D | prioritized_resource_unittest.cc | 26 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/ |
D | layer_tree_host_impl.cc | 357 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 …]
|
D | layer_tree_host_impl.h | 244 OutputSurface* output_surface() const { return output_surface_.get(); } in output_surface() 528 scoped_ptr<OutputSurface> output_surface_; variable
|