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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 // Implements the SetParamData function for D3D9. | 188 // Implements the SetParamData function for D3D9. |
189 virtual ParseError SetParamData(ResourceID id, | 189 virtual ParseError SetParamData(ResourceID id, |
190 unsigned int size, | 190 unsigned int size, |
191 const void *data); | 191 const void *data); |
192 | 192 |
193 // Implements the GetParamDesc function for D3D9. | 193 // Implements the GetParamDesc function for D3D9. |
194 virtual ParseError GetParamDesc(ResourceID id, | 194 virtual ParseError GetParamDesc(ResourceID id, |
195 unsigned int size, | 195 unsigned int size, |
196 void *data); | 196 void *data); |
197 | 197 |
| 198 // Implements the GetStreamCount function for D3D9. |
| 199 virtual ParseError GetStreamCount(ResourceID id, |
| 200 unsigned int size, |
| 201 void *data); |
| 202 |
| 203 // Implements the GetStreamDesc function for D3D9. |
| 204 virtual ParseError GetStreamDesc(ResourceID id, |
| 205 unsigned int index, |
| 206 unsigned int size, |
| 207 void *data); |
| 208 |
198 // Implements the CreateTexture2D function for D3D9. | 209 // Implements the CreateTexture2D function for D3D9. |
199 virtual ParseError CreateTexture2D(ResourceID id, | 210 virtual ParseError CreateTexture2D(ResourceID id, |
200 unsigned int width, | 211 unsigned int width, |
201 unsigned int height, | 212 unsigned int height, |
202 unsigned int levels, | 213 unsigned int levels, |
203 texture::Format format, | 214 texture::Format format, |
204 unsigned int flags); | 215 unsigned int flags); |
205 | 216 |
206 // Implements the CreateTexture3D function for D3D9. | 217 // Implements the CreateTexture3D function for D3D9. |
207 virtual ParseError CreateTexture3D(ResourceID id, | 218 virtual ParseError CreateTexture3D(ResourceID id, |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
375 ResourceMap<EffectD3D9> effects_; | 386 ResourceMap<EffectD3D9> effects_; |
376 ResourceMap<EffectParamD3D9> effect_params_; | 387 ResourceMap<EffectParamD3D9> effect_params_; |
377 ResourceMap<TextureD3D9> textures_; | 388 ResourceMap<TextureD3D9> textures_; |
378 ResourceMap<SamplerD3D9> samplers_; | 389 ResourceMap<SamplerD3D9> samplers_; |
379 }; | 390 }; |
380 | 391 |
381 } // namespace command_buffer | 392 } // namespace command_buffer |
382 } // namespace o3d | 393 } // namespace o3d |
383 | 394 |
384 #endif // O3D_COMMAND_BUFFER_SERVICE_WIN_D3D9_GAPI_D3D9_H__ | 395 #endif // O3D_COMMAND_BUFFER_SERVICE_WIN_D3D9_GAPI_D3D9_H__ |
OLD | NEW |