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

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

Issue 663363002: Standardize usage of virtual/override/final in gpu/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update generator script Created 6 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
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 <vector> 10 #include <vector>
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 typedef base::Callback<bool(uint32 id)> WaitSyncPointCallback; 61 typedef base::Callback<bool(uint32 id)> WaitSyncPointCallback;
62 62
63 // The default stencil mask, which has all bits set. This really should be a 63 // The default stencil mask, which has all bits set. This really should be a
64 // GLuint, but we can't #include gl_bindings.h in this file without causing 64 // GLuint, but we can't #include gl_bindings.h in this file without causing
65 // macro redefinitions. 65 // macro redefinitions.
66 static const unsigned int kDefaultStencilMask; 66 static const unsigned int kDefaultStencilMask;
67 67
68 // Creates a decoder. 68 // Creates a decoder.
69 static GLES2Decoder* Create(ContextGroup* group); 69 static GLES2Decoder* Create(ContextGroup* group);
70 70
71 virtual ~GLES2Decoder(); 71 ~GLES2Decoder() override;
72 72
73 bool initialized() const { 73 bool initialized() const {
74 return initialized_; 74 return initialized_;
75 } 75 }
76 76
77 void set_initialized() { 77 void set_initialized() {
78 initialized_ = true; 78 initialized_ = true;
79 } 79 }
80 80
81 bool debug() const { 81 bool debug() const {
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 bool debug_; 252 bool debug_;
253 bool log_commands_; 253 bool log_commands_;
254 254
255 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); 255 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder);
256 }; 256 };
257 257
258 } // namespace gles2 258 } // namespace gles2
259 } // namespace gpu 259 } // namespace gpu
260 260
261 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 261 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/gl_state_restorer_impl.h ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698