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

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

Issue 9581018: GPU: Build most of the gpu as a single DLL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
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 22 matching lines...) Expand all
33 : multisampling(false), 33 : multisampling(false),
34 driver_bug_workarounds(false) { 34 driver_bug_workarounds(false) {
35 } 35 }
36 36
37 bool multisampling; 37 bool multisampling;
38 bool driver_bug_workarounds; 38 bool driver_bug_workarounds;
39 }; 39 };
40 40
41 // This class implements the AsyncAPIInterface interface, decoding GLES2 41 // This class implements the AsyncAPIInterface interface, decoding GLES2
42 // commands and calling GL. 42 // commands and calling GL.
43 class GLES2Decoder : public CommonDecoder { 43 class GPU_EXPORT GLES2Decoder : public CommonDecoder {
44 public: 44 public:
45 typedef error::Error Error; 45 typedef error::Error Error;
46 typedef base::Callback<void(int32 id, const std::string& msg)> MsgCallback; 46 typedef base::Callback<void(int32 id, const std::string& msg)> MsgCallback;
47 47
48 // Creates a decoder. 48 // Creates a decoder.
49 static GLES2Decoder* Create(ContextGroup* group); 49 static GLES2Decoder* Create(ContextGroup* group);
50 50
51 virtual ~GLES2Decoder(); 51 virtual ~GLES2Decoder();
52 52
53 bool debug() const { 53 bool debug() const {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 bool log_synthesized_gl_errors_; 171 bool log_synthesized_gl_errors_;
172 static bool testing_force_is_angle_; 172 static bool testing_force_is_angle_;
173 173
174 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder); 174 DISALLOW_COPY_AND_ASSIGN(GLES2Decoder);
175 }; 175 };
176 176
177 } // namespace gles2 177 } // namespace gles2
178 } // namespace gpu 178 } // namespace gpu
179 179
180 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_ 180 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_H_
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/framebuffer_manager.h ('k') | gpu/command_buffer/service/gpu_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698