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

Side by Side Diff: gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h

Issue 972713002: gpu/blink: Cleanup - Remove 'using' declarations from webgraphicscontext3d_impl.h. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review + REBASE Created 5 years, 9 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
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_BLINK_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 5 #ifndef GPU_BLINK_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
6 #define GPU_BLINK_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 6 #define GPU_BLINK_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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 56
57 size_t GetMappedMemoryLimit(); 57 size_t GetMappedMemoryLimit();
58 58
59 bool InitializeOnCurrentThread(); 59 bool InitializeOnCurrentThread();
60 void SetLock(base::Lock* lock); 60 void SetLock(base::Lock* lock);
61 61
62 //---------------------------------------------------------------------- 62 //----------------------------------------------------------------------
63 // WebGraphicsContext3D methods 63 // WebGraphicsContext3D methods
64 virtual bool isContextLost(); 64 virtual bool isContextLost();
65 65
66 virtual WGC3Denum getGraphicsResetStatusARB(); 66 virtual blink::WGC3Denum getGraphicsResetStatusARB();
67 67
68 ::gpu::ContextSupport* GetContextSupport(); 68 ::gpu::ContextSupport* GetContextSupport();
69 69
70 ::gpu::gles2::GLES2Implementation* GetImplementation() { 70 ::gpu::gles2::GLES2Implementation* GetImplementation() {
71 return real_gl_; 71 return real_gl_;
72 } 72 }
73 73
74 private: 74 private:
75 WebGraphicsContext3DInProcessCommandBufferImpl( 75 WebGraphicsContext3DInProcessCommandBufferImpl(
76 scoped_ptr< ::gpu::GLInProcessContext> context, 76 scoped_ptr< ::gpu::GLInProcessContext> context,
(...skipping 20 matching lines...) Expand all
97 97
98 // The context we use for OpenGL rendering. 98 // The context we use for OpenGL rendering.
99 scoped_ptr< ::gpu::GLInProcessContext> context_; 99 scoped_ptr< ::gpu::GLInProcessContext> context_;
100 // The GLES2Implementation we use for OpenGL rendering. 100 // The GLES2Implementation we use for OpenGL rendering.
101 ::gpu::gles2::GLES2Implementation* real_gl_; 101 ::gpu::gles2::GLES2Implementation* real_gl_;
102 }; 102 };
103 103
104 } // namespace gpu_blink 104 } // namespace gpu_blink
105 105
106 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_ 106 #endif // GPU_BLINK_WEBGRAPHICSCONTEXT3D_IN_PROCESS_COMMAND_BUFFER_IMPL_H_
OLDNEW
« no previous file with comments | « gpu/blink/webgraphicscontext3d_impl.cc ('k') | gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698