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

Side by Side Diff: gpu/command_buffer/service/gl_context_virtual.h

Issue 2532763002: gpu: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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
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 GPU_COMMAND_BUFFER_SERVICE_GL_CONTEXT_VIRTUAL_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GL_CONTEXT_VIRTUAL_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_GL_CONTEXT_VIRTUAL_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_GL_CONTEXT_VIRTUAL_H_
7 7
8 #include <string> 8 #include <string>
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "gpu/gpu_export.h" 13 #include "gpu/gpu_export.h"
14 #include "ui/gl/gl_context.h" 14 #include "ui/gl/gl_context.h"
15 15
16 namespace gl { 16 namespace gl {
17 class GPUPreference;
18 class GPUTimingClient; 17 class GPUTimingClient;
19 class GLShareGroup; 18 class GLShareGroup;
20 class GLSurface; 19 class GLSurface;
21 } 20 }
22 21
23 namespace gpu { 22 namespace gpu {
24 namespace gles2 { 23 namespace gles2 {
25 class GLES2Decoder; 24 class GLES2Decoder;
26 } 25 }
27 26
(...skipping 27 matching lines...) Expand all
55 54
56 scoped_refptr<gl::GLContext> shared_context_; 55 scoped_refptr<gl::GLContext> shared_context_;
57 base::WeakPtr<gles2::GLES2Decoder> decoder_; 56 base::WeakPtr<gles2::GLES2Decoder> decoder_;
58 57
59 DISALLOW_COPY_AND_ASSIGN(GLContextVirtual); 58 DISALLOW_COPY_AND_ASSIGN(GLContextVirtual);
60 }; 59 };
61 60
62 } // namespace gpu 61 } // namespace gpu
63 62
64 #endif // GPU_COMMAND_BUFFER_SERVICE_GL_CONTEXT_VIRTUAL_H_ 63 #endif // GPU_COMMAND_BUFFER_SERVICE_GL_CONTEXT_VIRTUAL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698