Lines Matching refs:Const
71 struct gl_constants *c = &st->ctx->Const; in st_init_limits()
564 ctx->Const.GLSLVersion = 130; in st_init_extensions()
566 ctx->Const.GLSLVersion = 120; in st_init_extensions()
571 if (ctx->Const.GLSLVersion >= 130) { in st_init_extensions()
572 ctx->Const.NativeIntegers = GL_TRUE; in st_init_extensions()
573 ctx->Const.MaxClipPlanes = 8; in st_init_extensions()
584 ctx->Const.NativeIntegers = GL_TRUE; in st_init_extensions()
604 ctx->Const.PrimitiveRestartInSoftware = GL_TRUE; in st_init_extensions()
628 ctx->Const.MaxSamples = i; in st_init_extensions()
632 if (ctx->Const.MaxSamples == 1) { in st_init_extensions()
634 ctx->Const.MaxSamples = 0; in st_init_extensions()
636 else if (ctx->Const.MaxSamples >= 2) { in st_init_extensions()
640 if (ctx->Const.MaxDualSourceDrawBuffers > 0) in st_init_extensions()
653 ctx->Const.ForceGLSLExtensionsWarn = 1; in st_init_extensions()