42 #include <Inventor/system/gl.h> 43 #include <Inventor/C/basic.h> 57 typedef struct cc_glglue cc_glglue;
75 COIN_DLL_API
const cc_glglue * cc_glglue_instance(
int contextid);
83 COIN_DLL_API
void cc_glglue_glversion(
const cc_glglue * glue,
86 unsigned int * release);
93 COIN_DLL_API SbBool cc_glglue_glversion_matches_at_least(
const cc_glglue * glue,
96 unsigned int release);
103 COIN_DLL_API SbBool cc_glglue_glxversion_matches_at_least(
const cc_glglue * glue,
110 COIN_DLL_API SbBool cc_glglue_glext_supported(
const cc_glglue * glue,
const char * extname);
123 COIN_DLL_API
void * cc_glglue_getprocaddress(
const cc_glglue * glue,
const char * symname);
127 COIN_DLL_API SbBool cc_glglue_isdirect(
const cc_glglue * w);
134 COIN_DLL_API SbBool cc_glglue_has_polygon_offset(
const cc_glglue * glue);
136 enum cc_glglue_Primitives { cc_glglue_FILLED = 1 << 0,
137 cc_glglue_LINES = 1 << 1,
138 cc_glglue_POINTS = 1 << 2 };
139 COIN_DLL_API
void cc_glglue_glPolygonOffsetEnable(
const cc_glglue * glue,
140 SbBool enable,
int m);
141 COIN_DLL_API
void cc_glglue_glPolygonOffset(
const cc_glglue * glue,
147 COIN_DLL_API SbBool cc_glglue_has_texture_objects(
const cc_glglue * glue);
148 COIN_DLL_API
void cc_glglue_glGenTextures(
const cc_glglue * glue,
151 COIN_DLL_API
void cc_glglue_glBindTexture(
const cc_glglue * glue,
154 COIN_DLL_API
void cc_glglue_glDeleteTextures(
const cc_glglue * glue,
156 const GLuint * textures);
160 COIN_DLL_API SbBool cc_glglue_has_3d_textures(
const cc_glglue * glue);
161 COIN_DLL_API
void cc_glglue_glTexImage3D(
const cc_glglue * glue,
164 GLenum internalformat,
171 const GLvoid *pixels);
172 COIN_DLL_API
void cc_glglue_glTexSubImage3D(
const cc_glglue * glue,
183 const GLvoid * pixels);
184 COIN_DLL_API
void cc_glglue_glCopyTexSubImage3D(
const cc_glglue * glue,
197 COIN_DLL_API SbBool cc_glglue_has_multitexture(
const cc_glglue * glue);
198 COIN_DLL_API
void cc_glglue_glMultiTexCoord2f(
const cc_glglue * glue,
202 COIN_DLL_API
void cc_glglue_glMultiTexCoord2fv(
const cc_glglue * glue,
205 COIN_DLL_API
void cc_glglue_glMultiTexCoord3fv(
const cc_glglue * glue,
208 COIN_DLL_API
void cc_glglue_glMultiTexCoord4fv(
const cc_glglue * glue,
212 COIN_DLL_API
void cc_glglue_glActiveTexture(
const cc_glglue * glue,
214 COIN_DLL_API
void cc_glglue_glClientActiveTexture(
const cc_glglue * glue,
219 COIN_DLL_API SbBool cc_glglue_has_texsubimage(
const cc_glglue * glue);
220 COIN_DLL_API
void cc_glglue_glTexSubImage2D(
const cc_glglue * glue,
229 const GLvoid * pixels);
233 COIN_DLL_API SbBool cc_glglue_has_2d_proxy_textures(
const cc_glglue * glue);
235 COIN_DLL_API SbBool cc_glglue_has_texture_edge_clamp(
const cc_glglue * glue);
237 COIN_DLL_API
void cc_glglue_glPushClientAttrib(
const cc_glglue * glue, GLbitfield mask);
238 COIN_DLL_API
void cc_glglue_glPopClientAttrib(
const cc_glglue * glue);
243 COIN_DLL_API SbBool cc_glue_has_texture_compression(
const cc_glglue * glue);
245 COIN_DLL_API
void cc_glglue_glCompressedTexImage3D(
const cc_glglue * glue,
248 GLenum internalformat,
254 const GLvoid * data);
255 COIN_DLL_API
void cc_glglue_glCompressedTexImage2D(
const cc_glglue * glue,
258 GLenum internalformat,
264 COIN_DLL_API
void cc_glglue_glCompressedTexImage1D(
const cc_glglue * glue,
267 GLenum internalformat,
272 COIN_DLL_API
void cc_glglue_glCompressedTexSubImage3D(
const cc_glglue * glue,
284 COIN_DLL_API
void cc_glglue_glCompressedTexSubImage2D(
const cc_glglue * glue,
294 COIN_DLL_API
void cc_glglue_glCompressedTexSubImage1D(
const cc_glglue * glue,
302 COIN_DLL_API
void cc_glglue_glGetCompressedTexImage(
const cc_glglue * glue,
310 COIN_DLL_API SbBool cc_glglue_has_color_tables(
const cc_glglue * glue);
311 COIN_DLL_API SbBool cc_glglue_has_color_subtables(
const cc_glglue * glue);
314 COIN_DLL_API SbBool cc_glglue_has_paletted_textures(
const cc_glglue * glue);
316 COIN_DLL_API
void cc_glglue_glColorTable(
const cc_glglue * glue,
318 GLenum internalFormat,
322 const GLvoid *table);
323 COIN_DLL_API
void cc_glglue_glColorSubTable(
const cc_glglue * glue,
329 const GLvoid * data);
330 COIN_DLL_API
void cc_glglue_glGetColorTable(
const cc_glglue * glue,
335 COIN_DLL_API
void cc_glglue_glGetColorTableParameteriv(
const cc_glglue * glue,
339 COIN_DLL_API
void cc_glglue_glGetColorTableParameterfv(
const cc_glglue * glue,
347 COIN_DLL_API SbBool cc_glglue_has_blendequation(
const cc_glglue * glue);
348 COIN_DLL_API
void cc_glglue_glBlendEquation(
const cc_glglue * glue, GLenum mode);
351 COIN_DLL_API SbBool cc_glglue_has_blendfuncseparate(
const cc_glglue * glue);
352 COIN_DLL_API
void cc_glglue_glBlendFuncSeparate(
const cc_glglue * glue,
353 GLenum srgb, GLenum drgb,
354 GLenum salpha, GLenum dalpha);
358 COIN_DLL_API SbBool cc_glglue_has_vertex_array(
const cc_glglue * glue);
359 COIN_DLL_API
void cc_glglue_glVertexPointer(
const cc_glglue * glue,
360 GLint size, GLenum type, GLsizei stride,
const GLvoid * pointer);
361 COIN_DLL_API
void cc_glglue_glTexCoordPointer(
const cc_glglue * glue,
362 GLint size, GLenum type, GLsizei stride,
const GLvoid * pointer);
363 COIN_DLL_API
void cc_glglue_glNormalPointer(
const cc_glglue * glue,
364 GLenum type, GLsizei stride,
const GLvoid *pointer);
365 COIN_DLL_API
void cc_glglue_glColorPointer(
const cc_glglue * glue,
366 GLint size, GLenum type, GLsizei stride,
const GLvoid * pointer);
367 COIN_DLL_API
void cc_glglue_glIndexPointer (
const cc_glglue * glue,
368 GLenum type, GLsizei stride,
const GLvoid * pointer);
369 COIN_DLL_API
void cc_glglue_glEnableClientState(
const cc_glglue * glue, GLenum array);
370 COIN_DLL_API
void cc_glglue_glDisableClientState(
const cc_glglue * glue, GLenum array);
371 COIN_DLL_API
void cc_glglue_glInterleavedArrays(
const cc_glglue * glue,
372 GLenum format, GLsizei stride,
const GLvoid * pointer);
373 COIN_DLL_API
void cc_glglue_glDrawArrays(
const cc_glglue * glue,
374 GLenum mode, GLint first, GLsizei count);
375 COIN_DLL_API
void cc_glglue_glDrawElements(
const cc_glglue * glue,
376 GLenum mode, GLsizei count, GLenum type,
const GLvoid * indices);
377 COIN_DLL_API
void cc_glglue_glDrawRangeElements(
const cc_glglue * glue,
378 GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type,
const GLvoid * indices);
379 COIN_DLL_API
void cc_glglue_glArrayElement(
const cc_glglue * glue, GLint i);
381 COIN_DLL_API
int cc_glglue_max_texture_units(
const cc_glglue * glue);
382 COIN_DLL_API
int cc_glglue_has_multidraw_vertex_arrays(
const cc_glglue * glue);
384 COIN_DLL_API
void cc_glglue_glMultiDrawArrays(
const cc_glglue * glue, GLenum mode,
const GLint * first,
385 const GLsizei * count, GLsizei primcount);
386 COIN_DLL_API
void cc_glglue_glMultiDrawElements(
const cc_glglue * glue, GLenum mode,
const GLsizei * count,
387 GLenum type,
const GLvoid ** indices, GLsizei primcount);
390 COIN_DLL_API SbBool cc_glglue_has_nv_vertex_array_range(
const cc_glglue * glue);
391 COIN_DLL_API
void cc_glglue_glFlushVertexArrayRangeNV(
const cc_glglue * glue);
392 COIN_DLL_API
void cc_glglue_glVertexArrayRangeNV(
const cc_glglue * glue, GLsizei size,
const GLvoid * pointer);
393 COIN_DLL_API
void * cc_glglue_glAllocateMemoryNV(
const cc_glglue * glue,
394 GLsizei size, GLfloat readfreq,
395 GLfloat writefreq, GLfloat priority);
396 COIN_DLL_API
void cc_glglue_glFreeMemoryNV(
const cc_glglue * glue, GLvoid * buffer);
399 COIN_DLL_API SbBool cc_glglue_has_vertex_buffer_object(
const cc_glglue * glue);
400 COIN_DLL_API
void cc_glglue_glBindBuffer(
const cc_glglue * glue, GLenum target, GLuint buffer);
401 COIN_DLL_API
void cc_glglue_glDeleteBuffers(
const cc_glglue * glue, GLsizei n,
const GLuint *buffers);
402 COIN_DLL_API
void cc_glglue_glGenBuffers(
const cc_glglue * glue, GLsizei n, GLuint *buffers);
403 COIN_DLL_API GLboolean cc_glglue_glIsBuffer(
const cc_glglue * glue, GLuint buffer);
404 COIN_DLL_API
void cc_glglue_glBufferData(
const cc_glglue * glue,
409 COIN_DLL_API
void cc_glglue_glBufferSubData(
const cc_glglue * glue,
413 const GLvoid * data);
414 COIN_DLL_API
void cc_glglue_glGetBufferSubData(
const cc_glglue * glue,
419 COIN_DLL_API GLvoid * cc_glglue_glMapBuffer(
const cc_glglue * glue,
420 GLenum target, GLenum access);
421 COIN_DLL_API GLboolean cc_glglue_glUnmapBuffer(
const cc_glglue * glue,
423 COIN_DLL_API
void cc_glglue_glGetBufferParameteriv(
const cc_glglue * glue,
427 COIN_DLL_API
void cc_glglue_glGetBufferPointerv(
const cc_glglue * glue,
433 COIN_DLL_API SbBool cc_glglue_has_arb_fragment_program(
const cc_glglue * glue);
434 COIN_DLL_API
void cc_glglue_glProgramString(
const cc_glglue * glue, GLenum target, GLenum format,
435 GLsizei len,
const GLvoid *
string);
436 COIN_DLL_API
void cc_glglue_glBindProgram(
const cc_glglue * glue, GLenum target,
438 COIN_DLL_API
void cc_glglue_glDeletePrograms(
const cc_glglue * glue, GLsizei n,
439 const GLuint *programs);
440 COIN_DLL_API
void cc_glglue_glGenPrograms(
const cc_glglue * glue, GLsizei n, GLuint *programs);
441 COIN_DLL_API
void cc_glglue_glProgramEnvParameter4d(
const cc_glglue * glue, GLenum target,
442 GLuint index, GLdouble x, GLdouble y,
443 GLdouble z, GLdouble w);
444 COIN_DLL_API
void cc_glglue_glProgramEnvParameter4dv(
const cc_glglue * glue, GLenum target,
445 GLuint index,
const GLdouble *params);
446 COIN_DLL_API
void cc_glglue_glProgramEnvParameter4f(
const cc_glglue * glue, GLenum target,
447 GLuint index, GLfloat x,
448 GLfloat y, GLfloat z,
450 COIN_DLL_API
void cc_glglue_glProgramEnvParameter4fv(
const cc_glglue * glue, GLenum target,
451 GLuint index,
const GLfloat *params);
452 COIN_DLL_API
void cc_glglue_glProgramLocalParameter4d(
const cc_glglue * glue, GLenum target,
453 GLuint index, GLdouble x,
454 GLdouble y, GLdouble z,
456 COIN_DLL_API
void cc_glglue_glProgramLocalParameter4dv(
const cc_glglue * glue, GLenum target,
457 GLuint index,
const GLdouble *params);
458 COIN_DLL_API
void cc_glglue_glProgramLocalParameter4f(
const cc_glglue * glue, GLenum target,
459 GLuint index, GLfloat x, GLfloat y,
460 GLfloat z, GLfloat w);
461 COIN_DLL_API
void cc_glglue_glProgramLocalParameter4fv(
const cc_glglue * glue, GLenum target,
462 GLuint index,
const GLfloat *params);
463 COIN_DLL_API
void cc_glglue_glGetProgramEnvParameterdv(
const cc_glglue * glue, GLenum target,
464 GLuint index, GLdouble *params);
465 COIN_DLL_API
void cc_glglue_glGetProgramEnvParameterfv(
const cc_glglue * glue, GLenum target,
466 GLuint index, GLfloat *params);
467 COIN_DLL_API
void cc_glglue_glGetProgramLocalParameterdv(
const cc_glglue * glue, GLenum target,
468 GLuint index, GLdouble *params);
469 COIN_DLL_API
void cc_glglue_glGetProgramLocalParameterfv(
const cc_glglue * glue, GLenum target,
470 GLuint index, GLfloat *params);
471 COIN_DLL_API
void cc_glglue_glGetProgramiv(
const cc_glglue * glue, GLenum target,
472 GLenum pname, GLint *params);
473 COIN_DLL_API
void cc_glglue_glGetProgramString(
const cc_glglue * glue, GLenum target,
474 GLenum pname, GLvoid *
string);
475 COIN_DLL_API SbBool cc_glglue_glIsProgram(
const cc_glglue * glue, GLuint program);
478 COIN_DLL_API SbBool cc_glglue_has_arb_vertex_program(
const cc_glglue * glue);
479 COIN_DLL_API
void cc_glglue_glVertexAttrib1s(
const cc_glglue * glue, GLuint index, GLshort x);
480 COIN_DLL_API
void cc_glglue_glVertexAttrib1f(
const cc_glglue * glue, GLuint index, GLfloat x);
481 COIN_DLL_API
void cc_glglue_glVertexAttrib1d(
const cc_glglue * glue, GLuint index, GLdouble x);
482 COIN_DLL_API
void cc_glglue_glVertexAttrib2s(
const cc_glglue * glue, GLuint index, GLshort x, GLshort y);
483 COIN_DLL_API
void cc_glglue_glVertexAttrib2f(
const cc_glglue * glue, GLuint index, GLfloat x, GLfloat y);
484 COIN_DLL_API
void cc_glglue_glVertexAttrib2d(
const cc_glglue * glue, GLuint index, GLdouble x, GLdouble y);
485 COIN_DLL_API
void cc_glglue_glVertexAttrib3s(
const cc_glglue * glue, GLuint index,
486 GLshort x, GLshort y, GLshort z);
487 COIN_DLL_API
void cc_glglue_glVertexAttrib3f(
const cc_glglue * glue, GLuint index,
488 GLfloat x, GLfloat y, GLfloat z);
489 COIN_DLL_API
void cc_glglue_glVertexAttrib3d(
const cc_glglue * glue, GLuint index,
490 GLdouble x, GLdouble y, GLdouble z);
491 COIN_DLL_API
void cc_glglue_glVertexAttrib4s(
const cc_glglue * glue, GLuint index, GLshort x,
492 GLshort y, GLshort z, GLshort w);
493 COIN_DLL_API
void cc_glglue_glVertexAttrib4f(
const cc_glglue * glue, GLuint index, GLfloat x,
494 GLfloat y, GLfloat z, GLfloat w);
495 COIN_DLL_API
void cc_glglue_glVertexAttrib4d(
const cc_glglue * glue, GLuint index, GLdouble x,
496 GLdouble y, GLdouble z, GLdouble w);
497 COIN_DLL_API
void cc_glglue_glVertexAttrib4Nub(
const cc_glglue * glue, GLuint index, GLubyte x,
498 GLubyte y, GLubyte z, GLubyte w);
499 COIN_DLL_API
void cc_glglue_glVertexAttrib1sv(
const cc_glglue * glue, GLuint index,
const GLshort *v);
500 COIN_DLL_API
void cc_glglue_glVertexAttrib1fv(
const cc_glglue * glue, GLuint index,
const GLfloat *v);
501 COIN_DLL_API
void cc_glglue_glVertexAttrib1dv(
const cc_glglue * glue, GLuint index,
const GLdouble *v);
502 COIN_DLL_API
void cc_glglue_glVertexAttrib2sv(
const cc_glglue * glue, GLuint index,
const GLshort *v);
503 COIN_DLL_API
void cc_glglue_glVertexAttrib2fv(
const cc_glglue * glue, GLuint index,
const GLfloat *v);
504 COIN_DLL_API
void cc_glglue_glVertexAttrib2dv(
const cc_glglue * glue, GLuint index,
const GLdouble *v);
505 COIN_DLL_API
void cc_glglue_glVertexAttrib3sv(
const cc_glglue * glue, GLuint index,
const GLshort *v);
506 COIN_DLL_API
void cc_glglue_glVertexAttrib3fv(
const cc_glglue * glue, GLuint index,
const GLfloat *v);
507 COIN_DLL_API
void cc_glglue_glVertexAttrib3dv(
const cc_glglue * glue, GLuint index,
const GLdouble *v);
508 COIN_DLL_API
void cc_glglue_glVertexAttrib4bv(
const cc_glglue * glue, GLuint index,
const GLbyte *v);
509 COIN_DLL_API
void cc_glglue_glVertexAttrib4sv(
const cc_glglue * glue, GLuint index,
const GLshort *v);
510 COIN_DLL_API
void cc_glglue_glVertexAttrib4iv(
const cc_glglue * glue, GLuint index,
const GLint *v);
511 COIN_DLL_API
void cc_glglue_glVertexAttrib4ubv(
const cc_glglue * glue, GLuint index,
const GLubyte *v);
512 COIN_DLL_API
void cc_glglue_glVertexAttrib4usv(
const cc_glglue * glue, GLuint index,
const GLushort *v);
513 COIN_DLL_API
void cc_glglue_glVertexAttrib4uiv(
const cc_glglue * glue, GLuint index,
const GLuint *v);
514 COIN_DLL_API
void cc_glglue_glVertexAttrib4fv(
const cc_glglue * glue, GLuint index,
const GLfloat *v);
515 COIN_DLL_API
void cc_glglue_glVertexAttrib4dv(
const cc_glglue * glue, GLuint index,
const GLdouble *v);
516 COIN_DLL_API
void cc_glglue_glVertexAttrib4Nbv(
const cc_glglue * glue, GLuint index,
const GLbyte *v);
517 COIN_DLL_API
void cc_glglue_glVertexAttrib4Nsv(
const cc_glglue * glue, GLuint index,
const GLshort *v);
518 COIN_DLL_API
void cc_glglue_glVertexAttrib4Niv(
const cc_glglue * glue, GLuint index,
const GLint *v);
519 COIN_DLL_API
void cc_glglue_glVertexAttrib4Nubv(
const cc_glglue * glue, GLuint index,
const GLubyte *v);
520 COIN_DLL_API
void cc_glglue_glVertexAttrib4Nusv(
const cc_glglue * glue, GLuint index,
const GLushort *v);
521 COIN_DLL_API
void cc_glglue_glVertexAttrib4Nuiv(
const cc_glglue * glue, GLuint index,
const GLuint *v);
522 COIN_DLL_API
void cc_glglue_glVertexAttribPointer(
const cc_glglue * glue, GLuint index, GLint size,
523 GLenum type, GLboolean normalized, GLsizei stride,
524 const GLvoid *pointer);
525 COIN_DLL_API
void cc_glglue_glEnableVertexAttribArray(
const cc_glglue * glue, GLuint index);
526 COIN_DLL_API
void cc_glglue_glDisableVertexAttribArray(
const cc_glglue * glue, GLuint index);
527 COIN_DLL_API
void cc_glglue_glGetVertexAttribdv(
const cc_glglue * glue, GLuint index, GLenum pname,
529 COIN_DLL_API
void cc_glglue_glGetVertexAttribfv(
const cc_glglue * glue, GLuint index, GLenum pname,
531 COIN_DLL_API
void cc_glglue_glGetVertexAttribiv(
const cc_glglue * glue, GLuint index, GLenum pname,
533 COIN_DLL_API
void cc_glglue_glGetVertexAttribPointerv(
const cc_glglue * glue, GLuint index, GLenum pname,
537 COIN_DLL_API SbBool cc_glglue_has_arb_vertex_shader(
const cc_glglue * glue);
540 COIN_DLL_API SbBool cc_glglue_has_occlusion_query(
const cc_glglue * glue);
541 COIN_DLL_API
void cc_glglue_glGenQueries(
const cc_glglue * glue,
542 GLsizei n, GLuint * ids);
543 COIN_DLL_API
void cc_glglue_glDeleteQueries(
const cc_glglue * glue,
544 GLsizei n,
const GLuint *ids);
545 COIN_DLL_API GLboolean cc_glglue_glIsQuery(
const cc_glglue * glue,
547 COIN_DLL_API
void cc_glglue_glBeginQuery(
const cc_glglue * glue,
548 GLenum target, GLuint
id);
549 COIN_DLL_API
void cc_glglue_glEndQuery(
const cc_glglue * glue,
551 COIN_DLL_API
void cc_glglue_glGetQueryiv(
const cc_glglue * glue,
552 GLenum target, GLenum pname,
554 COIN_DLL_API
void cc_glglue_glGetQueryObjectiv(
const cc_glglue * glue,
555 GLuint
id, GLenum pname,
557 COIN_DLL_API
void cc_glglue_glGetQueryObjectuiv(
const cc_glglue * glue,
558 GLuint
id, GLenum pname,
562 COIN_DLL_API
void cc_glglue_glIsRenderbuffer(
const cc_glglue * glue, GLuint renderbuffer);
563 COIN_DLL_API
void cc_glglue_glBindRenderbuffer(
const cc_glglue * glue, GLenum target, GLuint renderbuffer);
564 COIN_DLL_API
void cc_glglue_glDeleteRenderbuffers(
const cc_glglue * glue, GLsizei n,
const GLuint *renderbuffers);
565 COIN_DLL_API
void cc_glglue_glGenRenderbuffers(
const cc_glglue * glue, GLsizei n, GLuint *renderbuffers);
566 COIN_DLL_API
void cc_glglue_glRenderbufferStorage(
const cc_glglue * glue, GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
567 COIN_DLL_API
void cc_glglue_glGetRenderbufferParameteriv(
const cc_glglue * glue, GLenum target, GLenum pname, GLint *params);
568 COIN_DLL_API GLboolean cc_glglue_glIsFramebuffer(
const cc_glglue * glue, GLuint framebuffer);
569 COIN_DLL_API
void cc_glglue_glBindFramebuffer(
const cc_glglue * glue, GLenum target, GLuint framebuffer);
570 COIN_DLL_API
void cc_glglue_glDeleteFramebuffers(
const cc_glglue * glue, GLsizei n,
const GLuint *framebuffers);
571 COIN_DLL_API
void cc_glglue_glGenFramebuffers(
const cc_glglue * glue, GLsizei n, GLuint *framebuffers);
572 COIN_DLL_API GLenum cc_glglue_glCheckFramebufferStatus(
const cc_glglue * glue, GLenum target);
573 COIN_DLL_API
void cc_glglue_glFramebufferTexture1D(
const cc_glglue * glue, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
574 COIN_DLL_API
void cc_glglue_glFramebufferTexture2D(
const cc_glglue * glue, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
575 COIN_DLL_API
void cc_glglue_glFramebufferTexture3D(
const cc_glglue * glue, GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
576 COIN_DLL_API
void cc_glglue_glFramebufferRenderbuffer(
const cc_glglue * glue, GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
577 COIN_DLL_API
void cc_glglue_glGetFramebufferAttachmentParameteriv(
const cc_glglue * glue, GLenum target, GLenum attachment, GLenum pname, GLint *params);
578 COIN_DLL_API
void cc_glglue_glGenerateMipmap(
const cc_glglue * glue, GLenum target);
579 COIN_DLL_API SbBool cc_glglue_has_framebuffer_objects(
const cc_glglue * glue);
583 COIN_DLL_API SbBool cc_glglue_can_do_bumpmapping(
const cc_glglue * glue);
584 COIN_DLL_API SbBool cc_glglue_can_do_sortedlayersblend(
const cc_glglue * glue);
585 COIN_DLL_API SbBool cc_glglue_can_do_anisotropic_filtering(
const cc_glglue * glue);
586 COIN_DLL_API SbBool cc_glglue_has_framebuffer_objects(
const cc_glglue * glue);
589 COIN_DLL_API
int cc_glglue_get_max_lights(
const cc_glglue * glue);
590 COIN_DLL_API
const float * cc_glglue_get_line_width_range(
const cc_glglue * glue);
591 COIN_DLL_API
const float * cc_glglue_get_point_size_range(
const cc_glglue * glue);
593 COIN_DLL_API
float cc_glglue_get_max_anisotropy(
const cc_glglue * glue);
599 COIN_DLL_API
void * cc_glglue_glXGetCurrentDisplay(
const cc_glglue * w);
617 COIN_DLL_API
void cc_glglue_context_max_dimensions(
unsigned int * width,
unsigned int * height);
619 COIN_DLL_API
void * cc_glglue_context_create_offscreen(
unsigned int width,
unsigned int height);
620 COIN_DLL_API SbBool cc_glglue_context_make_current(
void * ctx);
621 COIN_DLL_API
void cc_glglue_context_reinstate_previous(
void * ctx);
622 COIN_DLL_API
void cc_glglue_context_destruct(
void * ctx);
624 COIN_DLL_API
void cc_glglue_context_bind_pbuffer(
void * ctx);
625 COIN_DLL_API
void cc_glglue_context_release_pbuffer(
void * ctx);
626 COIN_DLL_API SbBool cc_glglue_context_pbuffer_is_bound(
void * ctx);
627 COIN_DLL_API SbBool cc_glglue_context_can_render_to_texture(
void * ctx);
630 COIN_DLL_API
const void * cc_glglue_win32_HDC(
void * ctx);
631 COIN_DLL_API
void cc_glglue_win32_updateHDCBitmap(
void * ctx);
644 typedef void * cc_glglue_offscreen_data;
647 cc_glglue_offscreen_data (*create_offscreen)(
unsigned int width,
unsigned int height);
648 SbBool (*make_current)(cc_glglue_offscreen_data context);
649 void (*reinstate_previous)(cc_glglue_offscreen_data context);
650 void (*destruct)(cc_glglue_offscreen_data context);
Definition: C/glue/gl.h:646