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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 DESTROY_EFFECT, // DestroyEffect, 1 arg. | 286 DESTROY_EFFECT, // DestroyEffect, 1 arg. |
287 SET_EFFECT, // SetEffect, 1 arg. | 287 SET_EFFECT, // SetEffect, 1 arg. |
288 GET_PARAM_COUNT, // GetParamCount, 4 args. | 288 GET_PARAM_COUNT, // GetParamCount, 4 args. |
289 CREATE_PARAM, // CreateParam, 3 args. | 289 CREATE_PARAM, // CreateParam, 3 args. |
290 CREATE_PARAM_BY_NAME, // CreateParamByName, 5 args. | 290 CREATE_PARAM_BY_NAME, // CreateParamByName, 5 args. |
291 CREATE_PARAM_BY_NAME_IMMEDIATE, // CreateParamByName, 3 args + data | 291 CREATE_PARAM_BY_NAME_IMMEDIATE, // CreateParamByName, 3 args + data |
292 DESTROY_PARAM, // DestroyParam, 1 arg | 292 DESTROY_PARAM, // DestroyParam, 1 arg |
293 SET_PARAM_DATA, // SetParamData, 4 args | 293 SET_PARAM_DATA, // SetParamData, 4 args |
294 SET_PARAM_DATA_IMMEDIATE, // SetParamData, 2 args + data | 294 SET_PARAM_DATA_IMMEDIATE, // SetParamData, 2 args + data |
295 GET_PARAM_DESC, // GetParamDesc, 4 args | 295 GET_PARAM_DESC, // GetParamDesc, 4 args |
| 296 GET_STREAM_COUNT, // GetStreamCount, 4 args. |
| 297 GET_STREAM_DESC, // GetStreamDesc, 5 args |
296 DESTROY_TEXTURE, // DestroyTexture, 1 arg | 298 DESTROY_TEXTURE, // DestroyTexture, 1 arg |
297 CREATE_TEXTURE_2D, // CreateTexture2D, 3 args | 299 CREATE_TEXTURE_2D, // CreateTexture2D, 3 args |
298 CREATE_TEXTURE_3D, // CreateTexture3D, 4 args | 300 CREATE_TEXTURE_3D, // CreateTexture3D, 4 args |
299 CREATE_TEXTURE_CUBE, // CreateTextureCube, 3 args | 301 CREATE_TEXTURE_CUBE, // CreateTextureCube, 3 args |
300 SET_TEXTURE_DATA, // SetTextureData, 10 args | 302 SET_TEXTURE_DATA, // SetTextureData, 10 args |
301 SET_TEXTURE_DATA_IMMEDIATE, // SetTextureData, 8 args + data | 303 SET_TEXTURE_DATA_IMMEDIATE, // SetTextureData, 8 args + data |
302 GET_TEXTURE_DATA, // GetTextureData, 10 args | 304 GET_TEXTURE_DATA, // GetTextureData, 10 args |
303 CREATE_SAMPLER, // CreateSampler, 1 arg | 305 CREATE_SAMPLER, // CreateSampler, 1 arg |
304 DESTROY_SAMPLER, // DestroySampler, 1 arg | 306 DESTROY_SAMPLER, // DestroySampler, 1 arg |
305 SET_SAMPLER_STATES, // SetSamplerStates, 2 arg | 307 SET_SAMPLER_STATES, // SetSamplerStates, 2 arg |
306 SET_SAMPLER_BORDER_COLOR, // SetSamplerBorderColor, 5 arg | 308 SET_SAMPLER_BORDER_COLOR, // SetSamplerBorderColor, 5 arg |
307 SET_SAMPLER_TEXTURE, // SetSamplerTexture, 2 arg | 309 SET_SAMPLER_TEXTURE, // SetSamplerTexture, 2 arg |
308 SET_VIEWPORT, // SetViewport. 6 arguments. | 310 SET_VIEWPORT, // SetViewport. 6 arguments. |
309 SET_SCISSOR, // SetScissor, 2 args | 311 SET_SCISSOR, // SetScissor, 2 args |
310 SET_POINT_LINE_RASTER, // SetPointLineRaster, 2 args | 312 SET_POINT_LINE_RASTER, // SetPointLineRaster, 2 args |
311 SET_POLYGON_RASTER, // SetPolygonRaster, 1 args | 313 SET_POLYGON_RASTER, // SetPolygonRaster, 1 args |
312 SET_POLYGON_OFFSET, // SetPolygonOffest, 2 args | 314 SET_POLYGON_OFFSET, // SetPolygonOffest, 2 args |
313 SET_ALPHA_TEST, // SetAlphaTest, 2 args | 315 SET_ALPHA_TEST, // SetAlphaTest, 2 args |
314 SET_DEPTH_TEST, // SetDepthTest, 1 args | 316 SET_DEPTH_TEST, // SetDepthTest, 1 args |
315 SET_STENCIL_TEST, // SetStencilTest, 2 args | 317 SET_STENCIL_TEST, // SetStencilTest, 2 args |
316 SET_BLENDING, // SetBlending, 1 args | 318 SET_BLENDING, // SetBlending, 1 args |
317 SET_BLENDING_COLOR, // SetBlendingColor, 4 args | 319 SET_BLENDING_COLOR, // SetBlendingColor, 4 args |
318 SET_COLOR_WRITE, // SetColorWrite, 1 args | 320 SET_COLOR_WRITE, // SetColorWrite, 1 args |
319 }; | 321 }; |
320 | 322 |
321 } // namespace command_buffer | 323 } // namespace command_buffer |
322 } // namespace o3d | 324 } // namespace o3d |
323 | 325 |
324 #endif // O3D_COMMAND_BUFFER_COMMON_CROSS_CMD_BUFFER_FORMAT_H_ | 326 #endif // O3D_COMMAND_BUFFER_COMMON_CROSS_CMD_BUFFER_FORMAT_H_ |
OLD | NEW |