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

Side by Side Diff: webkit/common/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h

Issue 317523002: Corrected namespace for WebGraphicsContext3DImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « webkit/common/gpu/webgraphicscontext3d_impl.cc ('k') | no next file » | 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) 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 WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 5 #ifndef WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
6 #define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 6 #define WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 15 matching lines...) Expand all
26 26
27 namespace gpu { 27 namespace gpu {
28 class GLInProcessContext; 28 class GLInProcessContext;
29 struct GLInProcessContextAttribs; 29 struct GLInProcessContextAttribs;
30 } 30 }
31 31
32 namespace webkit { 32 namespace webkit {
33 namespace gpu { 33 namespace gpu {
34 34
35 class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl 35 class WEBKIT_GPU_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl
36 : public content::WebGraphicsContext3DImpl { 36 : public WebGraphicsContext3DImpl {
37 public: 37 public:
38 static scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> 38 static scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl>
39 CreateViewContext( 39 CreateViewContext(
40 const blink::WebGraphicsContext3D::Attributes& attributes, 40 const blink::WebGraphicsContext3D::Attributes& attributes,
41 bool lose_context_when_out_of_memory, 41 bool lose_context_when_out_of_memory,
42 gfx::AcceleratedWidget window); 42 gfx::AcceleratedWidget window);
43 43
44 static scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> 44 static scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl>
45 CreateOffscreenContext( 45 CreateOffscreenContext(
46 const blink::WebGraphicsContext3D::Attributes& attributes, 46 const blink::WebGraphicsContext3D::Attributes& attributes,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 // The context we use for OpenGL rendering. 96 // The context we use for OpenGL rendering.
97 scoped_ptr< ::gpu::GLInProcessContext> context_; 97 scoped_ptr< ::gpu::GLInProcessContext> context_;
98 // The GLES2Implementation we use for OpenGL rendering. 98 // The GLES2Implementation we use for OpenGL rendering.
99 ::gpu::gles2::GLES2Implementation* real_gl_; 99 ::gpu::gles2::GLES2Implementation* real_gl_;
100 }; 100 };
101 101
102 } // namespace gpu 102 } // namespace gpu
103 } // namespace webkit 103 } // namespace webkit
104 104
105 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL _H_ 105 #endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL _H_
OLDNEW
« no previous file with comments | « webkit/common/gpu/webgraphicscontext3d_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698