| Index: gpu/command_buffer/service/context_group.h
|
| diff --git a/gpu/command_buffer/service/context_group.h b/gpu/command_buffer/service/context_group.h
|
| index 43f2d4124083101c4ad59590ed0826bcb283df18..7d20e65f5aa2e1d1d71dd1e2ab2f001b23d5b28a 100644
|
| --- a/gpu/command_buffer/service/context_group.h
|
| +++ b/gpu/command_buffer/service/context_group.h
|
| @@ -39,6 +39,7 @@ class MailboxManager;
|
| class RenderbufferManager;
|
| class PathManager;
|
| class ProgramManager;
|
| +class ProgressReporter;
|
| class SamplerManager;
|
| class ShaderManager;
|
| class TextureManager;
|
| @@ -59,7 +60,8 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
|
| framebuffer_completeness_cache,
|
| const scoped_refptr<FeatureInfo>& feature_info,
|
| bool bind_generates_resource,
|
| - gpu::ImageFactory* image_factory);
|
| + gpu::ImageFactory* image_factory,
|
| + std::unique_ptr<ProgressReporter> progress_reporter);
|
|
|
| // This should only be called by GLES2Decoder. This must be paired with a
|
| // call to destroy if it succeeds.
|
| @@ -234,6 +236,7 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
|
| bool QueryGLFeature(GLenum pname, GLint min_required, GLint* v);
|
| bool QueryGLFeatureU(GLenum pname, GLint min_required, uint32_t* v);
|
| bool HaveContexts();
|
| + void ReportProgress();
|
|
|
| const GpuPreferences& gpu_preferences_;
|
| scoped_refptr<MailboxManager> mailbox_manager_;
|
| @@ -287,6 +290,8 @@ class GPU_EXPORT ContextGroup : public base::RefCounted<ContextGroup> {
|
|
|
| gpu::ImageFactory* image_factory_;
|
|
|
| + std::unique_ptr<ProgressReporter> progress_reporter_;
|
| +
|
| std::vector<base::WeakPtr<gles2::GLES2Decoder> > decoders_;
|
|
|
| // Mappings from client side IDs to service side IDs.
|
|
|