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

Side by Side Diff: gpu/command_buffer/client/gles2_implementation.h

Issue 10834248: Clean-up inline members of nested classes (gpu/) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: GLES2_IMPL_EXPORT Created 8 years, 4 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 | « no previous file | gpu/command_buffer/client/gles2_implementation.cc » ('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) 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_CLIENT_GLES2_IMPLEMENTATION_H_ 5 #ifndef GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 6 #define GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
7 7
8 #include <GLES2/gl2.h> 8 #include <GLES2/gl2.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 class GLES2_IMPL_EXPORT GLES2Implementation { 96 class GLES2_IMPL_EXPORT GLES2Implementation {
97 public: 97 public:
98 class ErrorMessageCallback { 98 class ErrorMessageCallback {
99 public: 99 public:
100 virtual ~ErrorMessageCallback() { } 100 virtual ~ErrorMessageCallback() { }
101 virtual void OnErrorMessage(const char* msg, int id) = 0; 101 virtual void OnErrorMessage(const char* msg, int id) = 0;
102 }; 102 };
103 103
104 // Stores client side cached GL state. 104 // Stores client side cached GL state.
105 struct GLCachedState { 105 struct GLCachedState {
106 struct IntState { 106 struct GLES2_IMPL_EXPORT IntState {
107 IntState() 107 IntState();
108 : max_combined_texture_image_units(0),
109 max_cube_map_texture_size(0),
110 max_fragment_uniform_vectors(0),
111 max_renderbuffer_size(0),
112 max_texture_image_units(0),
113 max_texture_size(0),
114 max_varying_vectors(0),
115 max_vertex_attribs(0),
116 max_vertex_texture_image_units(0),
117 max_vertex_uniform_vectors(0),
118 num_compressed_texture_formats(0),
119 num_shader_binary_formats(0) {
120 }
121
122 GLint max_combined_texture_image_units; 108 GLint max_combined_texture_image_units;
123 GLint max_cube_map_texture_size; 109 GLint max_cube_map_texture_size;
124 GLint max_fragment_uniform_vectors; 110 GLint max_fragment_uniform_vectors;
125 GLint max_renderbuffer_size; 111 GLint max_renderbuffer_size;
126 GLint max_texture_image_units; 112 GLint max_texture_image_units;
127 GLint max_texture_size; 113 GLint max_texture_size;
128 GLint max_varying_vectors; 114 GLint max_varying_vectors;
129 GLint max_vertex_attribs; 115 GLint max_vertex_attribs;
130 GLint max_vertex_texture_image_units; 116 GLint max_vertex_texture_image_units;
131 GLint max_vertex_uniform_vectors; 117 GLint max_vertex_uniform_vectors;
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 593
608 inline bool GLES2Implementation::GetTexParameterivHelper( 594 inline bool GLES2Implementation::GetTexParameterivHelper(
609 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 595 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
610 return false; 596 return false;
611 } 597 }
612 598
613 } // namespace gles2 599 } // namespace gles2
614 } // namespace gpu 600 } // namespace gpu
615 601
616 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 602 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/client/gles2_implementation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698