mesa: hook up memory object multisamples tex(ture)storage api
[mesa.git] / src / mesa / main / teximage.h
1 /**
2 * \file teximage.h
3 * Texture images manipulation functions.
4 */
5
6 /*
7 * Mesa 3-D graphics library
8 *
9 * Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
10 *
11 * Permission is hereby granted, free of charge, to any person obtaining a
12 * copy of this software and associated documentation files (the "Software"),
13 * to deal in the Software without restriction, including without limitation
14 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
15 * and/or sell copies of the Software, and to permit persons to whom the
16 * Software is furnished to do so, subject to the following conditions:
17 *
18 * The above copyright notice and this permission notice shall be included
19 * in all copies or substantial portions of the Software.
20 *
21 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
22 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
24 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
25 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
26 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
27 * OTHER DEALINGS IN THE SOFTWARE.
28 */
29
30
31 #ifndef TEXIMAGE_H
32 #define TEXIMAGE_H
33
34
35 #include "mtypes.h"
36 #include "formats.h"
37
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41
42 /** Is the given value one of the 6 cube faces? */
43 static inline GLboolean
44 _mesa_is_cube_face(GLenum target)
45 {
46 return (target >= GL_TEXTURE_CUBE_MAP_POSITIVE_X &&
47 target <= GL_TEXTURE_CUBE_MAP_NEGATIVE_Z);
48 }
49
50
51 /**
52 * Return number of faces for a texture target. This will be 6 for
53 * cube maps and 1 otherwise.
54 * NOTE: this function is not used for cube map arrays which operate
55 * more like 2D arrays than cube maps.
56 */
57 static inline GLuint
58 _mesa_num_tex_faces(GLenum target)
59 {
60 switch (target) {
61 case GL_TEXTURE_CUBE_MAP:
62 case GL_PROXY_TEXTURE_CUBE_MAP:
63 return 6;
64 default:
65 return 1;
66 }
67 }
68
69
70 /**
71 * If the target is GL_TEXTURE_CUBE_MAP, return one of the
72 * GL_TEXTURE_CUBE_MAP_POSITIVE/NEGATIVE_X/Y/Z targets corresponding to
73 * the face parameter.
74 * Else, return target as-is.
75 */
76 static inline GLenum
77 _mesa_cube_face_target(GLenum target, unsigned face)
78 {
79 if (target == GL_TEXTURE_CUBE_MAP) {
80 assert(face < 6);
81 return GL_TEXTURE_CUBE_MAP_POSITIVE_X + face;
82 }
83 else {
84 return target;
85 }
86 }
87
88
89 /**
90 * For cube map faces, return a face index in [0,5].
91 * For other targets return 0;
92 */
93 static inline GLuint
94 _mesa_tex_target_to_face(GLenum target)
95 {
96 if (_mesa_is_cube_face(target))
97 return (GLuint) target - (GLuint) GL_TEXTURE_CUBE_MAP_POSITIVE_X;
98 else
99 return 0;
100 }
101
102
103 /** Are any of the dimensions of given texture equal to zero? */
104 static inline GLboolean
105 _mesa_is_zero_size_texture(const struct gl_texture_image *texImage)
106 {
107 return (texImage->Width == 0 ||
108 texImage->Height == 0 ||
109 texImage->Depth == 0);
110 }
111
112 /** \name Internal functions */
113 /*@{*/
114
115 extern GLboolean
116 _mesa_is_proxy_texture(GLenum target);
117
118 extern bool
119 _mesa_is_array_texture(GLenum target);
120
121
122 extern void
123 _mesa_delete_texture_image( struct gl_context *ctx,
124 struct gl_texture_image *teximage );
125
126
127 extern void
128 _mesa_init_teximage_fields(struct gl_context *ctx,
129 struct gl_texture_image *img,
130 GLsizei width, GLsizei height, GLsizei depth,
131 GLint border, GLenum internalFormat,
132 mesa_format format);
133
134
135 extern mesa_format
136 _mesa_choose_texture_format(struct gl_context *ctx,
137 struct gl_texture_object *texObj,
138 GLenum target, GLint level,
139 GLenum internalFormat, GLenum format, GLenum type);
140
141 extern void
142 _mesa_update_fbo_texture(struct gl_context *ctx,
143 struct gl_texture_object *texObj,
144 GLuint face, GLuint level);
145
146 extern void
147 _mesa_clear_texture_image(struct gl_context *ctx,
148 struct gl_texture_image *texImage);
149
150
151 extern struct gl_texture_image *
152 _mesa_select_tex_image(const struct gl_texture_object *texObj,
153 GLenum target, GLint level);
154
155
156 extern struct gl_texture_image *
157 _mesa_get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj,
158 GLenum target, GLint level);
159
160 mesa_format
161 _mesa_get_texbuffer_format(const struct gl_context *ctx, GLenum internalFormat);
162
163 /**
164 * Return the base-level texture image for the given texture object.
165 */
166 static inline const struct gl_texture_image *
167 _mesa_base_tex_image(const struct gl_texture_object *texObj)
168 {
169 return texObj->Image[0][texObj->BaseLevel];
170 }
171
172
173 extern GLint
174 _mesa_max_texture_levels(struct gl_context *ctx, GLenum target);
175
176
177 extern GLboolean
178 _mesa_test_proxy_teximage(struct gl_context *ctx, GLenum target,
179 GLuint numLevels, GLint level,
180 mesa_format format, GLuint numSamples,
181 GLint width, GLint height, GLint depth);
182
183 extern GLboolean
184 _mesa_target_can_be_compressed(const struct gl_context *ctx, GLenum target,
185 GLenum intFormat, GLenum *error);
186
187 extern GLint
188 _mesa_get_texture_dimensions(GLenum target);
189
190 extern GLboolean
191 _mesa_tex_target_is_layered(GLenum target);
192
193 extern GLuint
194 _mesa_get_texture_layers(const struct gl_texture_object *texObj, GLint level);
195
196 extern GLsizei
197 _mesa_get_tex_max_num_levels(GLenum target, GLsizei width, GLsizei height,
198 GLsizei depth);
199
200 extern GLboolean
201 _mesa_legal_texture_dimensions(struct gl_context *ctx, GLenum target,
202 GLint level, GLint width, GLint height,
203 GLint depth, GLint border);
204
205 extern mesa_format
206 _mesa_validate_texbuffer_format(const struct gl_context *ctx,
207 GLenum internalFormat);
208
209
210 bool
211 _mesa_legal_texture_base_format_for_target(struct gl_context *ctx,
212 GLenum target,
213 GLenum internalFormat);
214
215 bool
216 _mesa_format_no_online_compression(const struct gl_context *ctx, GLenum format);
217
218 GLboolean
219 _mesa_is_renderable_texture_format(struct gl_context *ctx, GLenum internalformat);
220
221 extern void
222 _mesa_texture_sub_image(struct gl_context *ctx, GLuint dims,
223 struct gl_texture_object *texObj,
224 struct gl_texture_image *texImage,
225 GLenum target, GLint level,
226 GLint xoffset, GLint yoffset, GLint zoffset,
227 GLsizei width, GLsizei height, GLsizei depth,
228 GLenum format, GLenum type, const GLvoid *pixels,
229 bool dsa);
230
231 extern void
232 _mesa_texture_storage_ms_memory(struct gl_context *ctx, GLuint dims,
233 struct gl_texture_object *texObj,
234 struct gl_memory_object *memObj,
235 GLenum target, GLsizei samples,
236 GLenum internalFormat, GLsizei width,
237 GLsizei height, GLsizei depth,
238 GLboolean fixedSampleLocations,
239 GLuint64 offset, const char* func);
240
241 bool
242 _mesa_is_cube_map_texture(GLenum target);
243
244 /*@}*/
245
246
247 /** \name API entry point functions */
248 /*@{*/
249
250 extern void GLAPIENTRY
251 _mesa_TexImage1D( GLenum target, GLint level, GLint internalformat,
252 GLsizei width, GLint border,
253 GLenum format, GLenum type, const GLvoid *pixels );
254
255
256 extern void GLAPIENTRY
257 _mesa_TexImage2D( GLenum target, GLint level, GLint internalformat,
258 GLsizei width, GLsizei height, GLint border,
259 GLenum format, GLenum type, const GLvoid *pixels );
260
261
262 extern void GLAPIENTRY
263 _mesa_TexImage3D( GLenum target, GLint level, GLint internalformat,
264 GLsizei width, GLsizei height, GLsizei depth, GLint border,
265 GLenum format, GLenum type, const GLvoid *pixels );
266
267
268 extern void GLAPIENTRY
269 _mesa_TexImage3DEXT( GLenum target, GLint level, GLenum internalformat,
270 GLsizei width, GLsizei height, GLsizei depth,
271 GLint border, GLenum format, GLenum type,
272 const GLvoid *pixels );
273
274 extern void GLAPIENTRY
275 _mesa_TexImage1D_no_error(GLenum target, GLint level, GLint internalformat,
276 GLsizei width, GLint border,
277 GLenum format, GLenum type, const GLvoid *pixels);
278
279 extern void GLAPIENTRY
280 _mesa_TexImage2D_no_error(GLenum target, GLint level, GLint internalformat,
281 GLsizei width, GLsizei height, GLint border,
282 GLenum format, GLenum type, const GLvoid *pixels);
283
284 extern void GLAPIENTRY
285 _mesa_TexImage3D_no_error(GLenum target, GLint level, GLint internalformat,
286 GLsizei width, GLsizei height, GLsizei depth,
287 GLint border, GLenum format, GLenum type,
288 const GLvoid *pixels);
289
290 extern void GLAPIENTRY
291 _mesa_EGLImageTargetTexture2DOES( GLenum target, GLeglImageOES image );
292
293 void GLAPIENTRY
294 _mesa_TexSubImage1D_no_error(GLenum target, GLint level, GLint xoffset,
295 GLsizei width,
296 GLenum format, GLenum type,
297 const GLvoid *pixels);
298
299 extern void GLAPIENTRY
300 _mesa_TexSubImage1D( GLenum target, GLint level, GLint xoffset,
301 GLsizei width,
302 GLenum format, GLenum type,
303 const GLvoid *pixels );
304
305 void GLAPIENTRY
306 _mesa_TexSubImage2D_no_error(GLenum target, GLint level,
307 GLint xoffset, GLint yoffset,
308 GLsizei width, GLsizei height,
309 GLenum format, GLenum type,
310 const GLvoid *pixels);
311
312 extern void GLAPIENTRY
313 _mesa_TexSubImage2D( GLenum target, GLint level,
314 GLint xoffset, GLint yoffset,
315 GLsizei width, GLsizei height,
316 GLenum format, GLenum type,
317 const GLvoid *pixels );
318
319 void GLAPIENTRY
320 _mesa_TexSubImage3D_no_error(GLenum target, GLint level,
321 GLint xoffset, GLint yoffset, GLint zoffset,
322 GLsizei width, GLsizei height, GLsizei depth,
323 GLenum format, GLenum type,
324 const GLvoid *pixels);
325
326 extern void GLAPIENTRY
327 _mesa_TexSubImage3D( GLenum target, GLint level,
328 GLint xoffset, GLint yoffset, GLint zoffset,
329 GLsizei width, GLsizei height, GLsizei depth,
330 GLenum format, GLenum type,
331 const GLvoid *pixels );
332
333 void GLAPIENTRY
334 _mesa_TextureSubImage1D_no_error(GLuint texture, GLint level, GLint xoffset,
335 GLsizei width, GLenum format, GLenum type,
336 const GLvoid *pixels);
337
338 extern void GLAPIENTRY
339 _mesa_TextureSubImage1D(GLuint texture, GLint level, GLint xoffset,
340 GLsizei width,
341 GLenum format, GLenum type,
342 const GLvoid *pixels);
343
344 void GLAPIENTRY
345 _mesa_TextureSubImage2D_no_error(GLuint texture, GLint level, GLint xoffset,
346 GLint yoffset, GLsizei width, GLsizei height,
347 GLenum format, GLenum type,
348 const GLvoid *pixels);
349
350 extern void GLAPIENTRY
351 _mesa_TextureSubImage2D(GLuint texture, GLint level,
352 GLint xoffset, GLint yoffset,
353 GLsizei width, GLsizei height,
354 GLenum format, GLenum type,
355 const GLvoid *pixels);
356
357 void GLAPIENTRY
358 _mesa_TextureSubImage3D_no_error(GLuint texture, GLint level, GLint xoffset,
359 GLint yoffset, GLint zoffset, GLsizei width,
360 GLsizei height, GLsizei depth, GLenum format,
361 GLenum type, const GLvoid *pixels);
362
363 extern void GLAPIENTRY
364 _mesa_TextureSubImage3D(GLuint texture, GLint level,
365 GLint xoffset, GLint yoffset, GLint zoffset,
366 GLsizei width, GLsizei height, GLsizei depth,
367 GLenum format, GLenum type,
368 const GLvoid *pixels);
369
370
371 extern void GLAPIENTRY
372 _mesa_CopyTexImage1D(GLenum target, GLint level, GLenum internalformat,
373 GLint x, GLint y, GLsizei width, GLint border);
374
375
376 extern void GLAPIENTRY
377 _mesa_CopyTexImage2D( GLenum target, GLint level,
378 GLenum internalformat, GLint x, GLint y,
379 GLsizei width, GLsizei height, GLint border );
380
381
382 extern void GLAPIENTRY
383 _mesa_CopyTexImage1D_no_error(GLenum target, GLint level, GLenum internalformat,
384 GLint x, GLint y, GLsizei width, GLint border);
385
386
387 extern void GLAPIENTRY
388 _mesa_CopyTexImage2D_no_error(GLenum target, GLint level, GLenum internalformat,
389 GLint x, GLint y, GLsizei width, GLsizei height,
390 GLint border );
391
392
393 extern void GLAPIENTRY
394 _mesa_CopyTexSubImage1D( GLenum target, GLint level, GLint xoffset,
395 GLint x, GLint y, GLsizei width );
396
397
398 extern void GLAPIENTRY
399 _mesa_CopyTexSubImage2D( GLenum target, GLint level,
400 GLint xoffset, GLint yoffset,
401 GLint x, GLint y, GLsizei width, GLsizei height );
402
403
404 extern void GLAPIENTRY
405 _mesa_CopyTexSubImage3D( GLenum target, GLint level,
406 GLint xoffset, GLint yoffset, GLint zoffset,
407 GLint x, GLint y, GLsizei width, GLsizei height );
408
409 extern void GLAPIENTRY
410 _mesa_CopyTextureSubImage1D(GLuint texture, GLint level,
411 GLint xoffset, GLint x, GLint y, GLsizei width);
412
413 extern void GLAPIENTRY
414 _mesa_CopyTextureSubImage2D(GLuint texture, GLint level,
415 GLint xoffset, GLint yoffset,
416 GLint x, GLint y,
417 GLsizei width, GLsizei height);
418
419 extern void GLAPIENTRY
420 _mesa_CopyTextureSubImage3D(GLuint texture, GLint level,
421 GLint xoffset, GLint yoffset, GLint zoffset,
422 GLint x, GLint y,
423 GLsizei width, GLsizei height);
424
425 extern void GLAPIENTRY
426 _mesa_CopyTexSubImage1D_no_error(GLenum target, GLint level, GLint xoffset,
427 GLint x, GLint y, GLsizei width );
428
429 extern void GLAPIENTRY
430 _mesa_CopyTexSubImage2D_no_error(GLenum target, GLint level, GLint xoffset,
431 GLint yoffset, GLint x, GLint y, GLsizei width,
432 GLsizei height);
433
434 extern void GLAPIENTRY
435 _mesa_CopyTexSubImage3D_no_error(GLenum target, GLint level, GLint xoffset,
436 GLint yoffset, GLint zoffset, GLint x, GLint y,
437 GLsizei width, GLsizei height);
438
439 extern void GLAPIENTRY
440 _mesa_CopyTextureSubImage1D_no_error(GLuint texture, GLint level, GLint xoffset,
441 GLint x, GLint y, GLsizei width);
442
443 extern void GLAPIENTRY
444 _mesa_CopyTextureSubImage2D_no_error(GLuint texture, GLint level, GLint xoffset,
445 GLint yoffset, GLint x, GLint y,
446 GLsizei width, GLsizei height);
447
448 extern void GLAPIENTRY
449 _mesa_CopyTextureSubImage3D_no_error(GLuint texture, GLint level, GLint xoffset,
450 GLint yoffset, GLint zoffset, GLint x,
451 GLint y, GLsizei width, GLsizei height);
452
453 extern void GLAPIENTRY
454 _mesa_ClearTexSubImage( GLuint texture, GLint level,
455 GLint xoffset, GLint yoffset, GLint zoffset,
456 GLsizei width, GLsizei height, GLsizei depth,
457 GLenum format, GLenum type, const void *data );
458
459 extern void GLAPIENTRY
460 _mesa_ClearTexImage( GLuint texture, GLint level,
461 GLenum format, GLenum type, const void *data );
462
463 extern void GLAPIENTRY
464 _mesa_CompressedTexImage1D(GLenum target, GLint level,
465 GLenum internalformat, GLsizei width,
466 GLint border, GLsizei imageSize,
467 const GLvoid *data);
468
469 extern void GLAPIENTRY
470 _mesa_CompressedTexImage2D(GLenum target, GLint level,
471 GLenum internalformat, GLsizei width,
472 GLsizei height, GLint border, GLsizei imageSize,
473 const GLvoid *data);
474
475 extern void GLAPIENTRY
476 _mesa_CompressedTexImage3D(GLenum target, GLint level,
477 GLenum internalformat, GLsizei width,
478 GLsizei height, GLsizei depth, GLint border,
479 GLsizei imageSize, const GLvoid *data);
480
481 extern void GLAPIENTRY
482 _mesa_CompressedTexImage1D_no_error(GLenum target, GLint level,
483 GLenum internalformat, GLsizei width,
484 GLint border, GLsizei imageSize,
485 const GLvoid *data);
486
487 extern void GLAPIENTRY
488 _mesa_CompressedTexImage2D_no_error(GLenum target, GLint level,
489 GLenum internalformat, GLsizei width,
490 GLsizei height, GLint border,
491 GLsizei imageSize, const GLvoid *data);
492
493 extern void GLAPIENTRY
494 _mesa_CompressedTexImage3D_no_error(GLenum target, GLint level,
495 GLenum internalformat, GLsizei width,
496 GLsizei height, GLsizei depth, GLint border,
497 GLsizei imageSize, const GLvoid *data);
498
499
500 extern void GLAPIENTRY
501 _mesa_CompressedTexSubImage1D_no_error(GLenum target, GLint level,
502 GLint xoffset, GLsizei width,
503 GLenum format, GLsizei imageSize,
504 const GLvoid *data);
505 extern void GLAPIENTRY
506 _mesa_CompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset,
507 GLsizei width, GLenum format,
508 GLsizei imageSize, const GLvoid *data);
509
510 extern void GLAPIENTRY
511 _mesa_CompressedTextureSubImage1D_no_error(GLuint texture, GLint level,
512 GLint xoffset, GLsizei width,
513 GLenum format, GLsizei imageSize,
514 const GLvoid *data);
515 extern void GLAPIENTRY
516 _mesa_CompressedTextureSubImage1D(GLuint texture, GLint level, GLint xoffset,
517 GLsizei width, GLenum format,
518 GLsizei imageSize, const GLvoid *data);
519
520 extern void GLAPIENTRY
521 _mesa_CompressedTexSubImage2D_no_error(GLenum target, GLint level,
522 GLint xoffset, GLint yoffset,
523 GLsizei width, GLsizei height,
524 GLenum format, GLsizei imageSize,
525 const GLvoid *data);
526 extern void GLAPIENTRY
527 _mesa_CompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset,
528 GLint yoffset, GLsizei width, GLsizei height,
529 GLenum format, GLsizei imageSize,
530 const GLvoid *data);
531
532 extern void GLAPIENTRY
533 _mesa_CompressedTextureSubImage2D_no_error(GLuint texture, GLint level,
534 GLint xoffset, GLint yoffset,
535 GLsizei width, GLsizei height,
536 GLenum format, GLsizei imageSize,
537 const GLvoid *data);
538 extern void GLAPIENTRY
539 _mesa_CompressedTextureSubImage2D(GLuint texture, GLint level, GLint xoffset,
540 GLint yoffset,
541 GLsizei width, GLsizei height,
542 GLenum format, GLsizei imageSize,
543 const GLvoid *data);
544
545 extern void GLAPIENTRY
546 _mesa_CompressedTexSubImage3D_no_error(GLenum target, GLint level,
547 GLint xoffset, GLint yoffset,
548 GLint zoffset, GLsizei width,
549 GLsizei height, GLsizei depth,
550 GLenum format, GLsizei imageSize,
551 const GLvoid *data);
552 extern void GLAPIENTRY
553 _mesa_CompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset,
554 GLint yoffset, GLint zoffset, GLsizei width,
555 GLsizei height, GLsizei depth, GLenum format,
556 GLsizei imageSize, const GLvoid *data);
557
558 extern void GLAPIENTRY
559 _mesa_CompressedTextureSubImage3D_no_error(GLuint texture, GLint level,
560 GLint xoffset, GLint yoffset,
561 GLint zoffset, GLsizei width,
562 GLsizei height, GLsizei depth,
563 GLenum format, GLsizei imageSize,
564 const GLvoid *data);
565 extern void GLAPIENTRY
566 _mesa_CompressedTextureSubImage3D(GLuint texture, GLint level, GLint xoffset,
567 GLint yoffset, GLint zoffset,
568 GLsizei width, GLsizei height,
569 GLsizei depth,
570 GLenum format, GLsizei imageSize,
571 const GLvoid *data);
572
573 extern void GLAPIENTRY
574 _mesa_TexBuffer(GLenum target, GLenum internalFormat, GLuint buffer);
575
576 extern void GLAPIENTRY
577 _mesa_TexBufferRange(GLenum target, GLenum internalFormat, GLuint buffer,
578 GLintptr offset, GLsizeiptr size);
579
580 extern void GLAPIENTRY
581 _mesa_TextureBuffer(GLuint texture, GLenum internalFormat, GLuint buffer);
582
583 extern void GLAPIENTRY
584 _mesa_TextureBufferRange(GLuint texture, GLenum internalFormat, GLuint buffer,
585 GLintptr offset, GLsizeiptr size);
586
587
588 extern void GLAPIENTRY
589 _mesa_TexImage2DMultisample(GLenum target, GLsizei samples,
590 GLenum internalformat, GLsizei width,
591 GLsizei height, GLboolean fixedsamplelocations);
592
593 extern void GLAPIENTRY
594 _mesa_TexImage3DMultisample(GLenum target, GLsizei samples,
595 GLenum internalformat, GLsizei width,
596 GLsizei height, GLsizei depth,
597 GLboolean fixedsamplelocations);
598
599 extern void GLAPIENTRY
600 _mesa_TexStorage2DMultisample(GLenum target, GLsizei samples,
601 GLenum internalformat, GLsizei width,
602 GLsizei height, GLboolean fixedsamplelocations);
603
604 extern void GLAPIENTRY
605 _mesa_TexStorage3DMultisample(GLenum target, GLsizei samples,
606 GLenum internalformat, GLsizei width,
607 GLsizei height, GLsizei depth,
608 GLboolean fixedsamplelocations);
609
610 void GLAPIENTRY
611 _mesa_TextureStorage2DMultisample(GLuint texture, GLsizei samples,
612 GLenum internalformat, GLsizei width,
613 GLsizei height,
614 GLboolean fixedsamplelocations);
615
616 void GLAPIENTRY
617 _mesa_TextureStorage3DMultisample(GLuint texture, GLsizei samples,
618 GLenum internalformat, GLsizei width,
619 GLsizei height, GLsizei depth,
620 GLboolean fixedsamplelocations);
621 /*@}*/
622
623 #ifdef __cplusplus
624 }
625 #endif
626
627 #endif