Searched refs:context_provider (Results 1 - 25 of 84) sorted by relevance

1234

/external/chromium_org/cc/resources/
H A Dtexture_mailbox_deleter_unittest.cc20 scoped_refptr<TestContextProvider> context_provider = local
22 context_provider->BindToCurrentThread();
25 context_provider->ContextGL()->GenTextures(1, &texture_id);
27 EXPECT_TRUE(context_provider->HasOneRef());
28 EXPECT_EQ(1u, context_provider->TestContext3d()->NumTextures());
31 deleter->GetReleaseCallback(context_provider, texture_id).Pass();
32 EXPECT_FALSE(context_provider->HasOneRef());
33 EXPECT_EQ(1u, context_provider->TestContext3d()->NumTextures());
38 EXPECT_TRUE(context_provider->HasOneRef());
39 EXPECT_EQ(0u, context_provider
[all...]
H A Dscoped_gpu_raster.h11 #include "cc/output/context_provider.h"
20 ScopedGpuRaster(ContextProvider* context_provider);
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);
47 const scoped_refptr<ContextProvider>& context_provider,
49 // This callback owns a reference on the |context_provider|. It must be
54 context_provider,
17 DeleteTextureOnImplThread( const scoped_refptr<ContextProvider>& context_provider, unsigned texture_id, uint32 sync_point, bool is_lost) argument
46 GetReleaseCallback( const scoped_refptr<ContextProvider>& context_provider, unsigned texture_id) argument
H A Dscoped_gpu_raster.cc15 ScopedGpuRaster::ScopedGpuRaster(ContextProvider* context_provider) argument
16 : context_provider_(context_provider) {
H A Dtexture_mailbox_deleter.h34 const scoped_refptr<ContextProvider>& context_provider,
H A Dgpu_raster_worker_pool.h25 ContextProvider* context_provider,
44 ContextProvider* context_provider,
/external/chromium_org/content/renderer/gpu/
H A Ddelegated_compositor_output_surface.cc13 const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
17 context_provider,
10 DelegatedCompositorOutputSurface( int32 routing_id, uint32 output_surface_id, const scoped_refptr<ContextProviderCommandBuffer>& context_provider, scoped_refptr<FrameSwapMessageQueue> swap_frame_message_queue) argument
H A Ddelegated_compositor_output_surface.h19 const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
H A Dcompositor_output_surface.cc56 const scoped_refptr<ContextProviderCommandBuffer>& context_provider,
60 : OutputSurface(context_provider, software_device.Pass()),
109 if (!context_provider()) {
156 if (context_provider()) {
157 gpu::gles2::GLES2Interface* context = context_provider()->ContextGL();
160 context_provider()->ContextSupport()->SignalSyncPoint(sync_point,
190 static_cast<ContextProviderCommandBuffer*>(context_provider());
53 CompositorOutputSurface( int32 routing_id, uint32 output_surface_id, const scoped_refptr<ContextProviderCommandBuffer>& context_provider, scoped_ptr<cc::SoftwareOutputDevice> software_device, scoped_refptr<FrameSwapMessageQueue> swap_frame_message_queue, bool use_swap_compositor_frame_message) argument
/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 Ddelegating_renderer.cc13 #include "cc/output/context_provider.h"
46 if (!output_surface_->context_provider()) {
51 output_surface_->context_provider()->ContextCapabilities();
119 ContextProvider* context_provider = output_surface_->context_provider(); local
123 if (context_provider) {
124 context_provider->DeleteCachedResources();
125 context_provider->ContextGL()->Flush();
131 if (context_provider)
132 context_provider
[all...]
H A Doutput_surface_unittest.cc25 explicit TestOutputSurface(scoped_refptr<ContextProvider> context_provider) argument
26 : OutputSurface(context_provider) {}
31 TestOutputSurface(scoped_refptr<ContextProvider> context_provider, argument
33 : OutputSurface(context_provider, software_device.Pass()) {}
102 output_surface.context_provider()->ContextGL()->LoseContextCHROMIUM(
104 output_surface.context_provider()->ContextGL()->Flush();
109 scoped_refptr<TestContextProvider> context_provider = local
113 context_provider->UnboundTestContext3d()->set_context_lost(true);
115 TestOutputSurface output_surface(context_provider);
141 EXPECT_FALSE(output_surface_.context_provider());
176 scoped_refptr<TestContextProvider> context_provider = local
[all...]
H A Doutput_surface.h16 #include "cc/output/context_provider.h"
51 const scoped_refptr<ContextProvider>& context_provider);
55 OutputSurface(const scoped_refptr<ContextProvider>& context_provider,
90 ContextProvider* context_provider() const { return context_provider_.get(); } function in class:cc::OutputSurface
146 scoped_refptr<ContextProvider> context_provider);
H A Doutput_surface.cc44 const scoped_refptr<ContextProvider>& context_provider)
46 context_provider_(context_provider),
63 const scoped_refptr<ContextProvider>& context_provider,
66 context_provider_(context_provider),
147 scoped_refptr<ContextProvider> context_provider) {
149 DCHECK(context_provider.get());
153 if (context_provider->BindToCurrentThread()) {
154 context_provider_ = context_provider;
43 OutputSurface( const scoped_refptr<ContextProvider>& context_provider) argument
62 OutputSurface( const scoped_refptr<ContextProvider>& context_provider, scoped_ptr<SoftwareOutputDevice> software_device) argument
146 InitializeAndSetContext3d( scoped_refptr<ContextProvider> context_provider) argument
/external/chromium_org/android_webview/browser/
H A Dparent_output_surface.cc13 scoped_refptr<cc::ContextProvider> context_provider)
14 : cc::OutputSurface(context_provider) {
12 ParentOutputSurface( scoped_refptr<cc::ContextProvider> context_provider) argument
H A Dparent_output_surface.h15 scoped_refptr<cc::ContextProvider> context_provider);
/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.cc18 scoped_refptr<ContextProvider> context_provider,
20 : OutputSurface(context_provider),
47 scoped_refptr<ContextProvider> context_provider,
50 : OutputSurface(context_provider, software_device.Pass()),
65 !context_provider()) {
17 FakeOutputSurface( scoped_refptr<ContextProvider> context_provider, bool delegated_rendering) argument
46 FakeOutputSurface( scoped_refptr<ContextProvider> context_provider, scoped_ptr<SoftwareOutputDevice> software_device, bool delegated_rendering) argument
H A Dfake_output_surface.h31 scoped_refptr<ContextProvider> 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));
124 scoped_refptr<ContextProvider> context_provider,
132 scoped_refptr<ContextProvider> context_provider,
30 Create3d( scoped_refptr<ContextProvider> context_provider) argument
52 CreateDelegating3d( scoped_refptr<TestContextProvider> context_provider) argument
H A Dpixel_test_output_surface.h15 scoped_refptr<ContextProvider> context_provider);
/external/chromium_org/content/browser/compositor/
H A Dsurface_display_output_surface.cc18 const scoped_refptr<cc::ContextProvider>& context_provider)
19 : cc::OutputSurface(context_provider,
15 SurfaceDisplayOutputSurface( cc::SurfaceManager* surface_manager, uint32_t surface_id_namespace, const scoped_refptr<cc::ContextProvider>& context_provider) argument
/external/chromium_org/content/renderer/media/android/
H A Dstream_texture_factory_impl.h27 const scoped_refptr<cc::ContextProvider>& context_provider,
47 const scoped_refptr<cc::ContextProvider>& context_provider,
H A Dstream_texture_factory_impl.cc7 #include "cc/output/context_provider.h"
113 const scoped_refptr<cc::ContextProvider>& context_provider,
116 return new StreamTextureFactoryImpl(context_provider, channel, frame_id);
120 const scoped_refptr<cc::ContextProvider>& context_provider,
123 : context_provider_(context_provider),
112 Create( const scoped_refptr<cc::ContextProvider>& context_provider, GpuChannelHost* channel, int frame_id) argument
119 StreamTextureFactoryImpl( const scoped_refptr<cc::ContextProvider>& context_provider, GpuChannelHost* channel, int frame_id) argument
/external/chromium_org/mojo/cc/
H A Doutput_surface_mojo.cc16 const scoped_refptr<cc::ContextProvider>& context_provider,
19 : cc::OutputSurface(context_provider),
14 OutputSurfaceMojo( OutputSurfaceMojoClient* client, const scoped_refptr<cc::ContextProvider>& context_provider, SurfacePtr surface, uint32_t id_namespace) argument
H A Doutput_surface_mojo.h25 const scoped_refptr<cc::ContextProvider>& context_provider,

Completed in 2944 milliseconds

1234