| OLD | NEW |
| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 bool SetSamplers(GAPID3D9 *gapi); | 118 bool SetSamplers(GAPID3D9 *gapi); |
| 119 // Sets streams vector. | 119 // Sets streams vector. |
| 120 bool SetStreams(); | 120 bool SetStreams(); |
| 121 | 121 |
| 122 ID3DXEffect *d3d_effect_; | 122 ID3DXEffect *d3d_effect_; |
| 123 IDirect3DVertexShader9 *d3d_vertex_shader_; | 123 IDirect3DVertexShader9 *d3d_vertex_shader_; |
| 124 ID3DXConstantTable *fs_constant_table_; | 124 ID3DXConstantTable *fs_constant_table_; |
| 125 ParamList params_; | 125 ParamList params_; |
| 126 StreamList streams_; | 126 StreamList streams_; |
| 127 bool sync_parameters_; | 127 bool sync_parameters_; |
| 128 ResourceID samplers_[kMaxSamplerUnits]; | 128 ResourceId samplers_[kMaxSamplerUnits]; |
| 129 | 129 |
| 130 friend class EffectParamD3D9; | 130 friend class EffectParamD3D9; |
| 131 DISALLOW_COPY_AND_ASSIGN(EffectD3D9); | 131 DISALLOW_COPY_AND_ASSIGN(EffectD3D9); |
| 132 }; | 132 }; |
| 133 | 133 |
| 134 } // namespace command_buffer | 134 } // namespace command_buffer |
| 135 } // namespace o3d | 135 } // namespace o3d |
| 136 | 136 |
| 137 #endif // O3D_COMMAND_BUFFER_SERVICE_WIN_D3D9_EFFECT_D3D9_H_ | 137 #endif // O3D_COMMAND_BUFFER_SERVICE_WIN_D3D9_EFFECT_D3D9_H_ |
| OLD | NEW |