+#define MAX_TEXTUREUNITS 32
+
+typedef enum renderpath_e
+{
+ RENDERPATH_GL32,
+ RENDERPATH_GLES2
+}
+renderpath_t;
+
+typedef struct viddef_support_s
+{
+ qboolean gl20shaders130; // indicates glBindFragDataLocation is available
+ int glshaderversion; // typical values: 100 110 120 130 140 ...
+ qboolean amd_texture_texture4;
+ qboolean arb_draw_buffers;
+ qboolean arb_occlusion_query;
+ qboolean arb_query_buffer_object;
+ qboolean arb_texture_compression;
+ qboolean arb_texture_gather;
+ qboolean ext_blend_minmax;
+ qboolean ext_blend_subtract;
+ qboolean ext_blend_func_separate;
+ qboolean ext_packed_depth_stencil;
+ qboolean ext_texture_compression_s3tc;
+ qboolean ext_texture_filter_anisotropic;
+ qboolean ext_texture_srgb;
+ qboolean arb_texture_float;
+ qboolean arb_half_float_pixel;
+ qboolean arb_half_float_vertex;
+ qboolean arb_multisample;
+}
+viddef_support_t;
+
+typedef struct viddef_mode_s
+{
+ int width;
+ int height;
+ int bitsperpixel;
+ qboolean fullscreen;
+ float refreshrate;
+ qboolean userefreshrate;
+ qboolean stereobuffer;
+ int samples;
+}
+viddef_mode_t;
+