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

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

Issue 6713127: Initialize a few uninitialized members in GPU classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
« no previous file with comments | « gpu/command_buffer/common/logging.h ('k') | 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "gpu/command_buffer/service/common_decoder.h" 14 #include "gpu/command_buffer/service/common_decoder.h"
15 #include "ui/gfx/size.h" 15 #include "ui/gfx/size.h"
16 16
17 namespace gfx { 17 namespace gfx {
18 class GLContext; 18 class GLContext;
19 } 19 }
20 20
21 namespace gpu { 21 namespace gpu {
22 22
23 namespace gles2 { 23 namespace gles2 {
24 24
25 class ContextGroup; 25 class ContextGroup;
26 class GLES2Util; 26 class GLES2Util;
27 27
28 struct DisallowedExtensions { 28 struct DisallowedExtensions {
29 DisallowedExtensions() : multisampling(false) {}
30
29 bool multisampling; 31 bool multisampling;
30 }; 32 };
31 33
32 // This class implements the AsyncAPIInterface interface, decoding GLES2 34 // This class implements the AsyncAPIInterface interface, decoding GLES2
33 // commands and calling GL. 35 // commands and calling GL.
34 class GLES2Decoder : public CommonDecoder { 36 class GLES2Decoder : public CommonDecoder {
35 public: 37 public:
36 typedef error::Error Error; 38 typedef error::Error Error;
37 39
38 // Creates a decoder. 40 // Creates a decoder.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 private: 114 private:
113 bool debug_; 115 bool debug_;
114 116
115 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); 117 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder);
116 }; 118 };
117 119
118 } // namespace gles2 120 } // namespace gles2
119 } // namespace gpu 121 } // namespace gpu
120 122
121 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 123 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/common/logging.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