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

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder.h

Issue 1387143003: Add missing break in switch-case statements in gles2_cmd_decoder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changes to go through the clang compiler error! Created 5 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 | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.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 // This file contains the GLES2Decoder class. 5 // This file contains the GLES2Decoder class.
6 6
7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 7 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 8 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
9 9
10 #include <string> 10 #include <string>
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 virtual void RestoreGlobalState() const = 0; 172 virtual void RestoreGlobalState() const = 0;
173 virtual void RestoreProgramBindings() const = 0; 173 virtual void RestoreProgramBindings() const = 0;
174 virtual void RestoreTextureState(unsigned service_id) const = 0; 174 virtual void RestoreTextureState(unsigned service_id) const = 0;
175 virtual void RestoreTextureUnitBindings(unsigned unit) const = 0; 175 virtual void RestoreTextureUnitBindings(unsigned unit) const = 0;
176 176
177 virtual void ClearAllAttributes() const = 0; 177 virtual void ClearAllAttributes() const = 0;
178 virtual void RestoreAllAttributes() const = 0; 178 virtual void RestoreAllAttributes() const = 0;
179 179
180 virtual void SetIgnoreCachedStateForTest(bool ignore) = 0; 180 virtual void SetIgnoreCachedStateForTest(bool ignore) = 0;
181 virtual void SetForceShaderNameHashingForTest(bool force) = 0; 181 virtual void SetForceShaderNameHashingForTest(bool force) = 0;
182 virtual uint32 GetAndClearBackbufferClearBitsForTest();
182 183
183 // Gets the QueryManager for this context. 184 // Gets the QueryManager for this context.
184 virtual QueryManager* GetQueryManager() = 0; 185 virtual QueryManager* GetQueryManager() = 0;
185 186
186 // Gets the VertexArrayManager for this context. 187 // Gets the VertexArrayManager for this context.
187 virtual VertexArrayManager* GetVertexArrayManager() = 0; 188 virtual VertexArrayManager* GetVertexArrayManager() = 0;
188 189
189 // Gets the ImageManager for this context. 190 // Gets the ImageManager for this context.
190 virtual ImageManager* GetImageManager() = 0; 191 virtual ImageManager* GetImageManager() = 0;
191 192
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 bool log_commands_; 274 bool log_commands_;
274 bool unsafe_es3_apis_enabled_; 275 bool unsafe_es3_apis_enabled_;
275 bool force_shader_name_hashing_for_test_; 276 bool force_shader_name_hashing_for_test_;
276 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); 277 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder);
277 }; 278 };
278 279
279 } // namespace gles2 280 } // namespace gles2
280 } // namespace gpu 281 } // namespace gpu
281 282
282 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 283 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
OLDNEW
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698