Lines Matching refs:max_samples
1047 GLint max_samples = get_gl_max_samples(target, internalFormat); in CreateGLTexture2DMultisample() local
1050 if (max_samples < (GLint)samples) in CreateGLTexture2DMultisample()
1051 …rror("GL error: requested samples (%d) exceeds renderer max samples (%d)\n", samples, max_samples); in CreateGLTexture2DMultisample()
1306 GLint max_samples = get_gl_max_samples(target, internalFormat); in CreateGLTexture2DArrayMultisample() local
1308 if (max_samples < (GLint)samples) in CreateGLTexture2DArrayMultisample()
1309 …rror("GL error: requested samples (%d) exceeds renderer max samples (%d)\n", samples, max_samples); in CreateGLTexture2DArrayMultisample()
2462 GLint max_samples = 0; in get_gl_max_samples() local
2464 glGetInternalformativ(target, internalformat, GL_SAMPLES, 1, &max_samples); in get_gl_max_samples()
2474 glGetIntegerv(GL_MAX_INTEGER_SAMPLES, &max_samples); in get_gl_max_samples()
2480 glGetIntegerv(GL_MAX_DEPTH_TEXTURE_SAMPLES, &max_samples); in get_gl_max_samples()
2483 glGetIntegerv(GL_MAX_COLOR_TEXTURE_SAMPLES, &max_samples); in get_gl_max_samples()
2487 return max_samples; in get_gl_max_samples()