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

Side by Side Diff: content/common/gpu/client/context_provider_command_buffer.h

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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
« no previous file with comments | « content/common/gamepad_param_traits.h ('k') | content/public/browser/android/compositor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_COMMON_GPU_CLIENT_CONTEXT_PROVIDER_COMMAND_BUFFER_H_ 5 #ifndef CONTENT_COMMON_GPU_CLIENT_CONTEXT_PROVIDER_COMMAND_BUFFER_H_
6 #define CONTENT_COMMON_GPU_CLIENT_CONTEXT_PROVIDER_COMMAND_BUFFER_H_ 6 #define CONTENT_COMMON_GPU_CLIENT_CONTEXT_PROVIDER_COMMAND_BUFFER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 23 matching lines...) Expand all
34 class GLES2Implementation; 34 class GLES2Implementation;
35 class GLES2TraceImplementation; 35 class GLES2TraceImplementation;
36 } 36 }
37 } 37 }
38 38
39 namespace skia_bindings { 39 namespace skia_bindings {
40 class GrContextForGLES2Interface; 40 class GrContextForGLES2Interface;
41 } 41 }
42 42
43 namespace content { 43 namespace content {
44 class WebGraphicsContext3DCommandBufferImpl;
45 44
46 // Implementation of cc::ContextProvider that provides a GL implementation over 45 // Implementation of cc::ContextProvider that provides a GL implementation over
47 // command buffer to the GPU process. 46 // command buffer to the GPU process.
48 class CONTENT_EXPORT ContextProviderCommandBuffer 47 class CONTENT_EXPORT ContextProviderCommandBuffer
49 : NON_EXPORTED_BASE(public cc::ContextProvider), 48 : NON_EXPORTED_BASE(public cc::ContextProvider),
50 public base::trace_event::MemoryDumpProvider { 49 public base::trace_event::MemoryDumpProvider {
51 public: 50 public:
52 ContextProviderCommandBuffer( 51 ContextProviderCommandBuffer(
53 scoped_refptr<gpu::GpuChannelHost> channel, 52 scoped_refptr<gpu::GpuChannelHost> channel,
54 int32_t stream_id, 53 int32_t stream_id,
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 std::unique_ptr<gpu::gles2::GLES2TraceImplementation> trace_impl_; 134 std::unique_ptr<gpu::gles2::GLES2TraceImplementation> trace_impl_;
136 std::unique_ptr<skia_bindings::GrContextForGLES2Interface> gr_context_; 135 std::unique_ptr<skia_bindings::GrContextForGLES2Interface> gr_context_;
137 std::unique_ptr<cc::ContextCacheController> cache_controller_; 136 std::unique_ptr<cc::ContextCacheController> cache_controller_;
138 137
139 LostContextCallback lost_context_callback_; 138 LostContextCallback lost_context_callback_;
140 }; 139 };
141 140
142 } // namespace content 141 } // namespace content
143 142
144 #endif // CONTENT_COMMON_GPU_CLIENT_CONTEXT_PROVIDER_COMMAND_BUFFER_H_ 143 #endif // CONTENT_COMMON_GPU_CLIENT_CONTEXT_PROVIDER_COMMAND_BUFFER_H_
OLDNEW
« no previous file with comments | « content/common/gamepad_param_traits.h ('k') | content/public/browser/android/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698