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

Side by Side Diff: command_buffer/service/cross/gl/effect_gl.h

Issue 332036: move all O3D specific command buffer stuff to command_buffer::o3d... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: Created 11 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright 2009, Google Inc. 2 * Copyright 2009, Google Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 25 matching lines...) Expand all
36 #define O3D_COMMAND_BUFFER_SERVICE_CROSS_GL_EFFECT_GL_H_ 36 #define O3D_COMMAND_BUFFER_SERVICE_CROSS_GL_EFFECT_GL_H_
37 37
38 #include <vector> 38 #include <vector>
39 39
40 #include "command_buffer/common/cross/gapi_interface.h" 40 #include "command_buffer/common/cross/gapi_interface.h"
41 #include "command_buffer/service/cross/resource.h" 41 #include "command_buffer/service/cross/resource.h"
42 #include "command_buffer/service/cross/gl/gl_utils.h" 42 #include "command_buffer/service/cross/gl/gl_utils.h"
43 43
44 namespace o3d { 44 namespace o3d {
45 namespace command_buffer { 45 namespace command_buffer {
46 namespace o3d {
46 47
47 class GAPIGL; 48 class GAPIGL;
48 class EffectGL; 49 class EffectGL;
49 50
50 // GL version of EffectParam. 51 // GL version of EffectParam.
51 class EffectParamGL: public EffectParam { 52 class EffectParamGL: public EffectParam {
52 public: 53 public:
53 EffectParamGL(effect_param::DataType data_type, 54 EffectParamGL(effect_param::DataType data_type,
54 EffectGL *effect, 55 EffectGL *effect,
55 unsigned int param_index); 56 unsigned int param_index);
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 LowLevelParamList low_level_params_; 150 LowLevelParamList low_level_params_;
150 151
151 // List of the indices of the low level params that are samplers. 152 // List of the indices of the low level params that are samplers.
152 std::vector<unsigned int> sampler_params_; 153 std::vector<unsigned int> sampler_params_;
153 bool update_samplers_; 154 bool update_samplers_;
154 155
155 friend class EffectParamGL; 156 friend class EffectParamGL;
156 DISALLOW_COPY_AND_ASSIGN(EffectGL); 157 DISALLOW_COPY_AND_ASSIGN(EffectGL);
157 }; 158 };
158 159
159 160 } // namespace o3d
160 } // namespace command_buffer 161 } // namespace command_buffer
161 } // namespace o3d 162 } // namespace o3d
162 163
163 #endif // O3D_COMMAND_BUFFER_SERVICE_CROSS_GL_EFFECT_GL_H_ 164 #endif // O3D_COMMAND_BUFFER_SERVICE_CROSS_GL_EFFECT_GL_H_
OLDNEW
« no previous file with comments | « command_buffer/service/cross/gapi_decoder.cc ('k') | command_buffer/service/cross/gl/effect_gl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698