1 #ifndef SOGLDRIVERDATABASE_H
2 #define SOGLDRIVERDATABASE_H
27 #include <Inventor/C/glue/gl.h>
28 #include <Inventor/lists/SbList.h>
31 class SoGLDriverDatabaseP;
36 static SbBool isSupported(
const cc_glglue * context,
const SbName & feature);
37 static SbBool isBroken(
const cc_glglue * context,
const SbName & feature);
38 static SbBool isSlow(
const cc_glglue * context,
const SbName & feature);
39 static SbBool isFast(
const cc_glglue * context,
const SbName & feature);
41 static SbName getComment(
const cc_glglue * context,
const SbName & feature);
43 static void loadFromBuffer(
const char * buffer);
44 static void loadFromFile(
const SbName & filename);
46 static void addBuffer(
const char * buffer);
47 static void addFile(
const SbName & filename);
49 static void addFeature(
const SbName & feature,
const SbName & comment);
52 static void init(
void);
55 static SoGLDriverDatabaseP * pimpl(
void);
61 #define SO_GL_MULTIDRAW_ELEMENTS "COIN_multidraw_elements"
62 #define SO_GL_POLYGON_OFFSET "COIN_polygon_offset"
63 #define SO_GL_TEXTURE_OBJECT "COIN_texture_object"
64 #define SO_GL_3D_TEXTURES "COIN_3d_textures"
65 #define SO_GL_MULTITEXTURE "COIN_multitexture"
66 #define SO_GL_TEXSUBIMAGE "COIN_texsubimage"
67 #define SO_GL_2D_PROXY_TEXTURES "COIN_2d_proxy_textures"
68 #define SO_GL_TEXTURE_EDGE_CLAMP "COIN_texture_edge_clamp"
69 #define SO_GL_TEXTURE_COMPRESSION "COIN_texture_compression"
70 #define SO_GL_COLOR_TABLES "COIN_color_tables"
71 #define SO_GL_COLOR_SUBTABLES "COIN_color_subtables"
72 #define SO_GL_PALETTED_TEXTURES "COIN_paletted_textures"
73 #define SO_GL_BLEND_EQUATION "COIN_blend_equation"
74 #define SO_GL_VERTEX_ARRAY "COIN_vertex_array"
75 #define SO_GL_NV_VERTEX_ARRAY_RANGE "COIN_nv_vertex_array_range"
76 #define SO_GL_VERTEX_BUFFER_OBJECT "COIN_vertex_buffer_object"
77 #define SO_GL_ARB_FRAGMENT_PROGRAM "COIN_arb_fragment_program"
78 #define SO_GL_ARB_VERTEX_PROGRAM "COIN_arb_vertex_program"
79 #define SO_GL_ARB_VERTEX_SHADER "COIN_arb_vertex_shader"
80 #define SO_GL_ARB_SHADER_OBJECT "COIN_arb_shader_object"
81 #define SO_GL_OCCLUSION_QUERY "COIN_occlusion_query"
82 #define SO_GL_FRAMEBUFFER_OBJECT "COIN_framebuffer_object"
83 #define SO_GL_ANISOTROPIC_FILTERING "COIN_anisotropic_filtering"
84 #define SO_GL_SORTED_LAYERS_BLEND "COIN_sorted_layers_blend"
85 #define SO_GL_BUMPMAPPING "COIN_bumpmapping"
86 #define SO_GL_VBO_IN_DISPLAYLIST "COIN_vbo_in_displaylist"
87 #define SO_GL_NON_POWER_OF_TWO_TEXTURES "COIN_non_power_of_two_textures"
88 #define SO_GL_GENERATE_MIPMAP "COIN_generate_mipmap"
89 #define SO_GL_GLSL_CLIP_VERTEX_HW "COIN_GLSL_clip_vertex_hw"
90 #endif // SOGLDATABASE_H
The SoGLDriverDatabase class is used for looking up broken/slow features in OpenGL drivers...
Definition: SoGLDriverDatabase.h:34
The SbName class stores strings by reference.The class is used by Coin for storing keywords...
Definition: SbName.h:31