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

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

Issue 2157963002: Improve grammar in some comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: maxiumum Created 4 years, 5 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
« no previous file with comments | « google_apis/gcm/engine/mcs_client.h ('k') | net/cookies/cookie_store.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) 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 GLStaticState(); 129 GLStaticState();
130 ~GLStaticState(); 130 ~GLStaticState();
131 131
132 typedef std::pair<GLenum, GLenum> ShaderPrecisionKey; 132 typedef std::pair<GLenum, GLenum> ShaderPrecisionKey;
133 typedef std::map<ShaderPrecisionKey, 133 typedef std::map<ShaderPrecisionKey,
134 cmds::GetShaderPrecisionFormat::Result> 134 cmds::GetShaderPrecisionFormat::Result>
135 ShaderPrecisionMap; 135 ShaderPrecisionMap;
136 ShaderPrecisionMap shader_precisions; 136 ShaderPrecisionMap shader_precisions;
137 }; 137 };
138 138
139 // The maxiumum result size from simple GL get commands. 139 // The maximum result size from simple GL get commands.
140 static const size_t kMaxSizeOfSimpleResult = 140 static const size_t kMaxSizeOfSimpleResult =
141 16 * sizeof(uint32_t); // NOLINT. 141 16 * sizeof(uint32_t); // NOLINT.
142 142
143 // used for testing only. If more things are reseved add them here. 143 // used for testing only. If more things are reseved add them here.
144 static const unsigned int kStartingOffset = kMaxSizeOfSimpleResult; 144 static const unsigned int kStartingOffset = kMaxSizeOfSimpleResult;
145 145
146 // Size in bytes to issue async flush for transfer buffer. 146 // Size in bytes to issue async flush for transfer buffer.
147 static const unsigned int kSizeToFlush = 256 * 1024; 147 static const unsigned int kSizeToFlush = 256 * 1024;
148 148
149 // The bucket used for results. Public for testing only. 149 // The bucket used for results. Public for testing only.
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after
878 878
879 inline bool GLES2Implementation::GetTexParameterivHelper( 879 inline bool GLES2Implementation::GetTexParameterivHelper(
880 GLenum /* target */, GLenum /* pname */, GLint* /* params */) { 880 GLenum /* target */, GLenum /* pname */, GLint* /* params */) {
881 return false; 881 return false;
882 } 882 }
883 883
884 } // namespace gles2 884 } // namespace gles2
885 } // namespace gpu 885 } // namespace gpu
886 886
887 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_ 887 #endif // GPU_COMMAND_BUFFER_CLIENT_GLES2_IMPLEMENTATION_H_
OLDNEW
« no previous file with comments | « google_apis/gcm/engine/mcs_client.h ('k') | net/cookies/cookie_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698