Searched defs:context_provider (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/cc/resources/
H A Dtexture_mailbox_deleter_unittest.cc18 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 Dtexture_mailbox_deleter.cc11 #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 Dvideo_resource_updater.cc27 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 Dresource_provider_unittest.cc420 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 Ddelegated_compositor_output_surface.cc12 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 Dmailbox_output_surface.cc26 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 Dcompositor_output_surface.cc53 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 Dpixel_test_output_surface.cc13 scoped_refptr<ContextProvider> context_provider)
14 : OutputSurface(context_provider), external_stencil_test_(false) {}
12 PixelTestOutputSurface( scoped_refptr<ContextProvider> context_provider) argument
H A Dfake_output_surface.cc17 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 Dfake_output_surface.h31 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 Dio_surface_layer_impl.cc43 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 Dtexture_layer_unittest.cc19 #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 Dprogram_binding.h11 #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 Doutput_surface.h15 #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 Ddelegating_renderer.cc64 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 Doutput_surface_unittest.cc25 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 Doutput_surface.cc47 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 Dbrowser_compositor_output_surface.cc20 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 Dno_transport_image_transport_factory.cc7 #include "cc/output/context_provider.h"
18 FakeTexture(scoped_refptr<cc::ContextProvider> context_provider, argument
21 context_provider_(context_provider),
H A Dgpu_process_transport_factory.cc195 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 Dsynchronous_compositor_factory_impl.cc222 context_provider; local
/external/chromium_org/content/renderer/media/
H A Drenderer_gpu_video_accelerator_factories.cc24 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 Dcompositor_impl_android.cc23 #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 Dlayer_tree_host_unittest_delegated.cc336 ContextProvider* context_provider = variable
337 host_impl->output_surface()->context_provider();
345 context_provider->Context3d()->loseContextCHROMIUM(
H A Dlayer_tree_impl.cc524 ContextProvider* LayerTreeImpl::context_provider() const { function in class:cc::LayerTreeImpl
525 return output_surface()->context_provider();

Completed in 1793 milliseconds

12