Lines Matching refs:gl_ver
153 int gl_ver; member
706 static void init_features(int gl_ver, int gles_ver) in init_features() argument
709 if (gl_ver >= feature_list[id].gl_ver || in init_features()
5095 int gl_ver; in vrend_renderer_init() local
5116 gl_ver = epoxy_gl_version(); in vrend_renderer_init()
5129 vrend_state.gl_major_ver = gl_ver / 10; in vrend_renderer_init()
5130 vrend_state.gl_minor_ver = gl_ver % 10; in vrend_renderer_init()
5133 fprintf(stderr, "gl_version %d - es profile enabled\n", gl_ver); in vrend_renderer_init()
5137 } else if (gl_ver > 30 && !epoxy_has_gl_extension("GL_ARB_compatibility")) { in vrend_renderer_init()
5138 fprintf(stderr, "gl_version %d - core profile enabled\n", gl_ver); in vrend_renderer_init()
5141 fprintf(stderr, "gl_version %d - compat profile\n", gl_ver); in vrend_renderer_init()
5144 init_features(gles ? 0 : gl_ver, in vrend_renderer_init()
5145 gles ? gl_ver : 0); in vrend_renderer_init()
7817 static void vrend_fill_caps_glsl_version(int gl_ver, int gles_ver, in vrend_fill_caps_glsl_version() argument
7829 if (gl_ver > 0) { in vrend_fill_caps_glsl_version()
7832 if (gl_ver == 31) in vrend_fill_caps_glsl_version()
7834 else if (gl_ver == 32) in vrend_fill_caps_glsl_version()
7836 else if (gl_ver == 33) in vrend_fill_caps_glsl_version()
7838 else if (gl_ver == 40) in vrend_fill_caps_glsl_version()
7840 else if (gl_ver == 41) in vrend_fill_caps_glsl_version()
7842 else if (gl_ver == 42) in vrend_fill_caps_glsl_version()
7844 else if (gl_ver >= 43) in vrend_fill_caps_glsl_version()
7853 static void vrend_renderer_fill_caps_v1(int gl_ver, int gles_ver, union virgl_caps *caps) in vrend_renderer_fill_caps_v1() argument
7870 if (gl_ver > 0 && !vrend_state.use_core_profile) { in vrend_renderer_fill_caps_v1()
7910 if (gl_ver >= 32) { in vrend_renderer_fill_caps_v1()
7943 if (gl_ver >= 40) { in vrend_renderer_fill_caps_v1()
7965 if (gl_ver >= 45) { in vrend_renderer_fill_caps_v1()
8020 if (gl_ver > 0) { in vrend_renderer_fill_caps_v1()
8062 static void vrend_renderer_fill_caps_v2(int gl_ver, int gles_ver, union virgl_caps *caps) in vrend_renderer_fill_caps_v2() argument
8075 if (gl_ver > 0) { in vrend_renderer_fill_caps_v2()
8115 if (gl_ver >= 43) { in vrend_renderer_fill_caps_v2()
8150 if (gl_ver >= 44 || gles_ver >= 31) in vrend_renderer_fill_caps_v2()
8197 int gl_ver, gles_ver; in vrend_renderer_fill_caps() local
8219 gl_ver = 0; in vrend_renderer_fill_caps()
8222 gl_ver = epoxy_gl_version(); in vrend_renderer_fill_caps()
8225 vrend_fill_caps_glsl_version(gl_ver, gles_ver, caps); in vrend_renderer_fill_caps()
8226 vrend_renderer_fill_caps_v1(gl_ver, gles_ver, caps); in vrend_renderer_fill_caps()
8231 vrend_renderer_fill_caps_v2(gl_ver, gles_ver, caps); in vrend_renderer_fill_caps()