/external/chromium_org/cc/resources/ |
H A D | texture_mailbox_deleter_unittest.cc | 18 scoped_refptr<TestContextProvider> context_provider = local 20 context_provider->BindToCurrentThread(); 22 unsigned texture_id = context_provider->Context3d()->createTexture(); 24 EXPECT_TRUE(context_provider->HasOneRef()); 25 EXPECT_EQ(1u, context_provider->TestContext3d()->NumTextures()); 28 deleter->GetReleaseCallback(context_provider, texture_id).Pass(); 29 EXPECT_FALSE(context_provider->HasOneRef()); 30 EXPECT_EQ(1u, context_provider->TestContext3d()->NumTextures()); 35 EXPECT_TRUE(context_provider->HasOneRef()); 36 EXPECT_EQ(0u, context_provider [all...] |
H A D | texture_mailbox_deleter.cc | 11 #include "cc/output/context_provider.h" 18 const scoped_refptr<ContextProvider>& context_provider, 23 context_provider->ContextGL()->WaitSyncPointCHROMIUM(sync_point); 24 context_provider->ContextGL()->DeleteTextures(1, &texture_id); 45 const scoped_refptr<ContextProvider>& context_provider, 47 // This callback owns a reference on the |context_provider|. It must be 52 context_provider, 17 DeleteTextureOnImplThread( const scoped_refptr<ContextProvider>& context_provider, unsigned texture_id, unsigned sync_point, bool is_lost) argument 44 GetReleaseCallback( const scoped_refptr<ContextProvider>& context_provider, unsigned texture_id) argument
|
H A D | video_resource_updater.cc | 27 VideoResourceUpdater::VideoResourceUpdater(ContextProvider* context_provider, argument 29 : context_provider_(context_provider), 382 ContextProvider* context_provider = updater->context_provider_; local 383 if (context_provider && sync_point) { 384 GLC(context_provider->ContextGL(), 385 context_provider->ContextGL()->WaitSyncPointCHROMIUM(sync_point));
|
H A D | resource_provider_unittest.cc | 420 scoped_refptr<TestContextProvider> context_provider = local 424 output_surface_ = FakeOutputSurface::Create3d(context_provider); 2899 scoped_refptr<TestContextProvider> context_provider = local 2902 output_surface->InitializeAndSetContext3d(context_provider, NULL);
|
/external/chromium_org/content/renderer/gpu/ |
H A D | delegated_compositor_output_surface.cc | 12 const scoped_refptr<ContextProviderCommandBuffer>& context_provider, 16 context_provider, 9 DelegatedCompositorOutputSurface( int32 routing_id, uint32 output_surface_id, const scoped_refptr<ContextProviderCommandBuffer>& context_provider, scoped_ptr<cc::SoftwareOutputDevice> software) argument
|
H A D | mailbox_output_surface.cc | 26 const scoped_refptr<ContextProviderCommandBuffer>& context_provider, 31 context_provider, 23 MailboxOutputSurface( int32 routing_id, uint32 output_surface_id, const scoped_refptr<ContextProviderCommandBuffer>& context_provider, scoped_ptr<cc::SoftwareOutputDevice> software_device, cc::ResourceFormat format) argument
|
H A D | compositor_output_surface.cc | 53 const scoped_refptr<ContextProviderCommandBuffer>& context_provider, 56 : OutputSurface(context_provider, software_device.Pass()), 102 if (!context_provider()) { 50 CompositorOutputSurface( int32 routing_id, uint32 output_surface_id, const scoped_refptr<ContextProviderCommandBuffer>& context_provider, scoped_ptr<cc::SoftwareOutputDevice> software_device, bool use_swap_compositor_frame_message) argument
|
/external/chromium_org/cc/test/ |
H A D | pixel_test_output_surface.cc | 13 scoped_refptr<ContextProvider> context_provider) 14 : OutputSurface(context_provider), external_stencil_test_(false) {} 12 PixelTestOutputSurface( scoped_refptr<ContextProvider> context_provider) argument
|
H A D | fake_output_surface.cc | 17 scoped_refptr<ContextProvider> context_provider, 19 : OutputSurface(context_provider), 48 scoped_refptr<ContextProvider> context_provider, 51 : OutputSurface(context_provider, software_device.Pass()), 67 !context_provider()) { 16 FakeOutputSurface( scoped_refptr<ContextProvider> context_provider, bool delegated_rendering) argument 47 FakeOutputSurface( scoped_refptr<ContextProvider> context_provider, scoped_ptr<SoftwareOutputDevice> software_device, bool delegated_rendering) argument
|
H A D | fake_output_surface.h | 31 scoped_refptr<TestContextProvider> context_provider) { 32 return make_scoped_ptr(new FakeOutputSurface(context_provider, false)); 53 scoped_refptr<TestContextProvider> context_provider) { 54 return make_scoped_ptr(new FakeOutputSurface(context_provider, true)); 131 scoped_refptr<ContextProvider> context_provider, 139 scoped_refptr<ContextProvider> context_provider, 30 Create3d( scoped_refptr<TestContextProvider> context_provider) argument 52 CreateDelegating3d( scoped_refptr<TestContextProvider> context_provider) argument
|
/external/chromium_org/cc/layers/ |
H A D | io_surface_layer_impl.cc | 43 ContextProvider* context_provider = local 44 layer_tree_impl()->output_surface()->context_provider().get(); 46 if (context_provider) 47 context_provider->ContextGL()->DeleteTextures(1, &io_surface_texture_id_); 71 ContextProvider* context_provider = local 72 layer_tree_impl()->output_surface()->context_provider().get(); 73 if (!context_provider) { 78 gpu::gles2::GLES2Interface* gl = context_provider->ContextGL();
|
H A D | texture_layer_unittest.cc | 19 #include "cc/output/context_provider.h" 1199 ContextProvider* context_provider = local 1200 host_impl_.output_surface()->context_provider(); 1202 context_provider->Context3d()->createTexture(); 1250 ContextProvider* context_provider = local 1251 host_impl_.output_surface()->context_provider(); 1253 context_provider->Context3d()->createTexture(); 1281 ContextProvider* context_provider = local 1282 host_impl_.output_surface()->context_provider(); 1284 context_provider [all...] |
/external/chromium_org/cc/output/ |
H A D | program_binding.h | 11 #include "cc/output/context_provider.h" 59 void Initialize(ContextProvider* context_provider, argument 62 DCHECK(context_provider); 65 if (context_provider->IsContextLost()) 69 context_provider->ContextGL(), 72 DCHECK(context_provider->IsContextLost()); 77 vertex_shader_.Init(context_provider->ContextGL(), 79 fragment_shader_.Init(context_provider->ContextGL(), 83 if (!Link(context_provider->ContextGL())) { 84 DCHECK(context_provider [all...] |
H A D | output_surface.h | 15 #include "cc/output/context_provider.h" 50 explicit OutputSurface(scoped_refptr<ContextProvider> context_provider); 54 OutputSurface(scoped_refptr<ContextProvider> context_provider, 89 scoped_refptr<ContextProvider> context_provider() const { function in class:cc::OutputSurface 148 scoped_refptr<ContextProvider> context_provider,
|
H A D | delegating_renderer.cc | 64 if (!output_surface_->context_provider()) { 71 output_surface_->context_provider()->ContextCapabilities(); 142 ContextProvider* context_provider = output_surface_->context_provider(); local 143 if (!context_provider) 145 return context_provider->IsContextLost(); 153 ContextProvider* context_provider = output_surface_->context_provider(); local 157 if (context_provider) 158 context_provider 170 ContextProvider* context_provider = output_surface_->context_provider(); local [all...] |
H A D | output_surface_unittest.cc | 25 explicit TestOutputSurface(scoped_refptr<ContextProvider> context_provider) argument 26 : OutputSurface(context_provider), 35 TestOutputSurface(scoped_refptr<ContextProvider> context_provider, argument 37 : OutputSurface(context_provider, software_device.Pass()), 145 output_surface.context_provider()->Context3d()->loseContextCHROMIUM( 151 scoped_refptr<TestContextProvider> context_provider = local 155 context_provider->UnboundTestContext3d()->set_context_lost(true); 157 TestOutputSurface output_surface(context_provider); 182 EXPECT_FALSE(output_surface_.context_provider()); 197 EXPECT_EQ(context_provider_, output_surface_.context_provider()); 361 scoped_refptr<TestContextProvider> context_provider = local 419 scoped_refptr<TestContextProvider> context_provider = local [all...] |
H A D | output_surface.cc | 47 OutputSurface::OutputSurface(scoped_refptr<ContextProvider> context_provider) argument 48 : context_provider_(context_provider), 73 OutputSurface::OutputSurface(scoped_refptr<ContextProvider> context_provider, argument 75 : context_provider_(context_provider), 283 scoped_refptr<ContextProvider> context_provider, 286 DCHECK(context_provider); 290 if (context_provider->BindToCurrentThread()) { 291 context_provider_ = context_provider; 282 InitializeAndSetContext3d( scoped_refptr<ContextProvider> context_provider, scoped_refptr<ContextProvider> offscreen_context_provider) argument
|
/external/chromium_org/content/browser/aura/ |
H A D | browser_compositor_output_surface.cc | 20 const scoped_refptr<ContextProviderCommandBuffer>& context_provider, 25 : OutputSurface(context_provider), 19 BrowserCompositorOutputSurface( const scoped_refptr<ContextProviderCommandBuffer>& context_provider, int surface_id, IDMap<BrowserCompositorOutputSurface>* output_surface_map, base::MessageLoopProxy* compositor_message_loop, base::WeakPtr<ui::Compositor> compositor) argument
|
H A D | no_transport_image_transport_factory.cc | 7 #include "cc/output/context_provider.h" 18 FakeTexture(scoped_refptr<cc::ContextProvider> context_provider, argument 21 context_provider_(context_provider),
|
H A D | gpu_process_transport_factory.cc | 195 scoped_refptr<ContextProviderCommandBuffer> context_provider; local 205 context_provider = ContextProviderCommandBuffer::Create( 210 UMA_HISTOGRAM_BOOLEAN("Aura.CreatedGpuBrowserCompositor", !!context_provider); 212 if (!context_provider.get()) { 241 context_provider,
|
/external/chromium_org/content/browser/android/in_process/ |
H A D | synchronous_compositor_factory_impl.cc | 222 context_provider; local
|
/external/chromium_org/content/renderer/media/ |
H A D | renderer_gpu_video_accelerator_factories.cc | 24 const scoped_refptr<ContextProviderCommandBuffer>& context_provider) 28 context_provider_(context_provider), 22 RendererGpuVideoAcceleratorFactories( GpuChannelHost* gpu_channel_host, const scoped_refptr<ContextProviderCommandBuffer>& context_provider) argument
|
/external/chromium_org/content/browser/renderer_host/ |
H A D | compositor_impl_android.cc | 23 #include "cc/output/context_provider.h" 58 const scoped_refptr<cc::ContextProvider>& context_provider) 59 : cc::OutputSurface(context_provider) { 76 content::ContextProviderCommandBuffer>& context_provider) 77 : cc::OutputSurface(context_provider) { 398 scoped_refptr<ContextProviderCommandBuffer> context_provider = local 401 if (!context_provider.get()) { 407 new OutputSurfaceWithoutParent(context_provider)); 57 DirectOutputSurface( const scoped_refptr<cc::ContextProvider>& context_provider) argument 74 OutputSurfaceWithoutParent( const scoped_refptr< content::ContextProviderCommandBuffer>& context_provider) argument
|
/external/chromium_org/cc/trees/ |
H A D | layer_tree_host_unittest_delegated.cc | 336 ContextProvider* context_provider = variable 337 host_impl->output_surface()->context_provider(); 345 context_provider->Context3d()->loseContextCHROMIUM(
|
H A D | layer_tree_impl.cc | 524 ContextProvider* LayerTreeImpl::context_provider() const { function in class:cc::LayerTreeImpl 525 return output_surface()->context_provider();
|