Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(158)

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 126093010: Use ContextProvider subclass to provide WGC3D pointers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 namespace media { 51 namespace media {
52 class AudioHardwareConfig; 52 class AudioHardwareConfig;
53 } 53 }
54 54
55 namespace v8 { 55 namespace v8 {
56 class Extension; 56 class Extension;
57 } 57 }
58 58
59 namespace webkit { 59 namespace webkit {
60 namespace gpu { 60 namespace gpu {
61 class ContextProviderWebContext;
61 class GrContextForWebGraphicsContext3D; 62 class GrContextForWebGraphicsContext3D;
62 } 63 }
63 } 64 }
64 65
65 namespace content { 66 namespace content {
66 67
67 class AppCacheDispatcher; 68 class AppCacheDispatcher;
68 class AudioInputMessageFilter; 69 class AudioInputMessageFilter;
69 class AudioMessageFilter; 70 class AudioMessageFilter;
70 class AudioRendererMixerManager; 71 class AudioRendererMixerManager;
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 scoped_refptr<base::MessageLoopProxy> GetMediaThreadMessageLoopProxy(); 256 scoped_refptr<base::MessageLoopProxy> GetMediaThreadMessageLoopProxy();
256 257
257 // Causes the idle handler to skip sending idle notifications 258 // Causes the idle handler to skip sending idle notifications
258 // on the two next scheduled calls, so idle notifications are 259 // on the two next scheduled calls, so idle notifications are
259 // not sent for at least one notification delay. 260 // not sent for at least one notification delay.
260 void PostponeIdleNotification(); 261 void PostponeIdleNotification();
261 262
262 scoped_refptr<RendererGpuVideoAcceleratorFactories> GetGpuFactories(); 263 scoped_refptr<RendererGpuVideoAcceleratorFactories> GetGpuFactories();
263 264
264 scoped_refptr<cc::ContextProvider> OffscreenCompositorContextProvider(); 265 scoped_refptr<cc::ContextProvider> OffscreenCompositorContextProvider();
265 scoped_refptr<cc::ContextProvider> SharedMainThreadContextProvider(); 266 scoped_refptr<webkit::gpu::ContextProviderWebContext>
267 SharedMainThreadContextProvider();
266 268
267 // AudioRendererMixerManager instance which manages renderer side mixer 269 // AudioRendererMixerManager instance which manages renderer side mixer
268 // instances shared based on configured audio parameters. Lazily created on 270 // instances shared based on configured audio parameters. Lazily created on
269 // first call. 271 // first call.
270 AudioRendererMixerManager* GetAudioRendererMixerManager(); 272 AudioRendererMixerManager* GetAudioRendererMixerManager();
271 273
272 // AudioHardwareConfig contains audio hardware configuration for 274 // AudioHardwareConfig contains audio hardware configuration for
273 // renderer side clients. Creation requires a synchronous IPC call so it is 275 // renderer side clients. Creation requires a synchronous IPC call so it is
274 // lazily created on the first call. 276 // lazily created on the first call.
275 media::AudioHardwareConfig* GetAudioHardwareConfig(); 277 media::AudioHardwareConfig* GetAudioHardwareConfig();
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
504 // multiple threads. Current allocation mechanism for IOSurface 506 // multiple threads. Current allocation mechanism for IOSurface
505 // backed GpuMemoryBuffers prevent this. crbug.com/325045 507 // backed GpuMemoryBuffers prevent this. crbug.com/325045
506 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_; 508 base::ThreadChecker allocate_gpu_memory_buffer_thread_checker_;
507 509
508 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 510 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
509 }; 511 };
510 512
511 } // namespace content 513 } // namespace content
512 514
513 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 515 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/media/renderer_gpu_video_accelerator_factories.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698