Lines Matching refs:GLESv2Validation
655 SET_ERROR_IF(!GLESv2Validation::pixelStoreParam(ctx, param), GL_INVALID_ENUM); in s_glPixelStorei()
656 SET_ERROR_IF(!GLESv2Validation::pixelStoreValue(param, value), GL_INVALID_VALUE); in s_glPixelStorei()
665 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM); in s_glBindBuffer()
690 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM); in s_glBufferData()
694 SET_ERROR_IF(!GLESv2Validation::bufferUsage(ctx, usage), GL_INVALID_ENUM); in s_glBufferData()
708 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM); in s_glBufferSubData()
751 SET_ERROR_IF(!GLESv2Validation::vertexAttribType(ctx, type), GL_INVALID_ENUM); in s_glVertexAttribPointer()
1182 SET_ERROR_IF(!GLESv2Validation::allowedGetVertexAttrib(pname), GL_INVALID_ENUM); in s_glGetVertexAttribiv()
1193 SET_ERROR_IF(!GLESv2Validation::allowedGetVertexAttrib(pname), GL_INVALID_ENUM); in s_glGetVertexAttribfv()
2081 RET_AND_SET_ERROR_IF(!GLESv2Validation::shaderType(ctx, shaderType), GL_INVALID_ENUM, 0); in s_glCreateShader()
2468 SET_ERROR_IF(!GLESv2Validation::textureTarget(ctx, target), GL_INVALID_ENUM); in s_glBindTexture()
2512 SET_ERROR_IF(!GLESv2Validation::textureTarget(ctx, target), GL_INVALID_ENUM); in s_glGetTexParameterfv()
2513 SET_ERROR_IF(!GLESv2Validation::textureParams(ctx, pname), GL_INVALID_ENUM); in s_glGetTexParameterfv()
2530 SET_ERROR_IF(!GLESv2Validation::textureTarget(ctx, target), GL_INVALID_ENUM); in s_glGetTexParameteriv()
2531 SET_ERROR_IF(!GLESv2Validation::textureParams(ctx, pname), GL_INVALID_ENUM); in s_glGetTexParameteriv()
2576 SET_ERROR_IF(!GLESv2Validation::textureTarget(ctx, target), GL_INVALID_ENUM); in s_glTexParameterf()
2577 SET_ERROR_IF(!GLESv2Validation::textureParams(ctx, pname), GL_INVALID_ENUM); in s_glTexParameterf()
2578 …SET_ERROR_IF(!GLESv2Validation::textureParamValue(ctx, pname, (GLint)param, param, (GLenum)param),… in s_glTexParameterf()
2597 SET_ERROR_IF(!GLESv2Validation::textureTarget(ctx, target), GL_INVALID_ENUM); in s_glTexParameterfv()
2598 SET_ERROR_IF(!GLESv2Validation::textureParams(ctx, pname), GL_INVALID_ENUM); in s_glTexParameterfv()
2601 …SET_ERROR_IF(!GLESv2Validation::textureParamValue(ctx, pname, (GLint)param, param, (GLenum)param),… in s_glTexParameterfv()
2620 SET_ERROR_IF(!GLESv2Validation::textureTarget(ctx, target), GL_INVALID_ENUM); in s_glTexParameteri()
2621 SET_ERROR_IF(!GLESv2Validation::textureParams(ctx, pname), GL_INVALID_ENUM); in s_glTexParameteri()
2622 …SET_ERROR_IF(!GLESv2Validation::textureParamValue(ctx, pname, param, (GLfloat)param, (GLenum)param… in s_glTexParameteri()
2636 …RET_AND_SET_ERROR_IF(!GLESv2Validation::textureBufferFormat(ctx, internalFormat), GL_INVALID_ENUM,… in validateTexBuffer()
2645 …RET_AND_SET_ERROR_IF(!GLESv2Validation::textureBufferFormat(ctx, internalFormat), GL_INVALID_ENUM,… in validateTexBufferRange()
2735 !GLESv2Validation::allowedBlendEquation(mode), in s_glBlendEquationiEXT()
2746 !GLESv2Validation::allowedBlendEquation(modeRGB) || in s_glBlendEquationSeparateiEXT()
2747 !GLESv2Validation::allowedBlendEquation(modeAlpha), in s_glBlendEquationSeparateiEXT()
2758 !GLESv2Validation::allowedBlendFunc(sfactor) || in s_glBlendFunciEXT()
2759 !GLESv2Validation::allowedBlendFunc(dfactor), in s_glBlendFunciEXT()
2770 !GLESv2Validation::allowedBlendFunc(srcRGB) || in s_glBlendFuncSeparateiEXT()
2771 !GLESv2Validation::allowedBlendFunc(dstRGB) || in s_glBlendFuncSeparateiEXT()
2772 !GLESv2Validation::allowedBlendFunc(srcAlpha) || in s_glBlendFuncSeparateiEXT()
2773 !GLESv2Validation::allowedBlendFunc(dstAlpha), in s_glBlendFuncSeparateiEXT()
2808 SET_ERROR_IF(!GLESv2Validation::textureTarget(ctx, target), GL_INVALID_ENUM); in s_glTexImage2D()
2809 SET_ERROR_IF(!GLESv2Validation::pixelType(ctx, type), GL_INVALID_ENUM); in s_glTexImage2D()
2810 SET_ERROR_IF(!GLESv2Validation::pixelFormat(ctx, format), GL_INVALID_ENUM); in s_glTexImage2D()
2811 …SET_ERROR_IF(!GLESv2Validation::pixelFormat(ctx, internalformat) && !GLESv2Validation::pixelIntern… in s_glTexImage2D()
2812 SET_ERROR_IF(!(GLESv2Validation::pixelOp(format,type)),GL_INVALID_OPERATION); in s_glTexImage2D()
2813 …SET_ERROR_IF(!GLESv2Validation::pixelSizedFormat(ctx, internalformat, format, type), GL_INVALID_OP… in s_glTexImage2D()
2828 …SET_ERROR_IF(GLESv2Validation::isCubeMapTarget(target) && width > max_cube_map_texture_size, GL_IN… in s_glTexImage2D()
2829 …SET_ERROR_IF(GLESv2Validation::isCubeMapTarget(target) && height > max_cube_map_texture_size, GL_I… in s_glTexImage2D()
2830 SET_ERROR_IF(GLESv2Validation::isCubeMapTarget(target) && (width != height), GL_INVALID_VALUE); in s_glTexImage2D()
2892 SET_ERROR_IF(!GLESv2Validation::textureTarget(ctx, target), GL_INVALID_ENUM); in s_glTexSubImage2D()
2893 SET_ERROR_IF(!GLESv2Validation::pixelType(ctx, type), GL_INVALID_ENUM); in s_glTexSubImage2D()
2894 SET_ERROR_IF(!GLESv2Validation::pixelFormat(ctx, format), GL_INVALID_ENUM); in s_glTexSubImage2D()
2904 SET_ERROR_IF(GLESv2Validation::isCubeMapTarget(target) && in s_glTexSubImage2D()
2961 SET_ERROR_IF(!GLESv2Validation::textureTarget(ctx, target), GL_INVALID_ENUM); in s_glCopyTexImage2D()
2962 …SET_ERROR_IF(!GLESv2Validation::pixelFormat(ctx, internalformat) && !GLESv2Validation::pixelIntern… in s_glCopyTexImage2D()
2974 …SET_ERROR_IF(GLESv2Validation::isCubeMapTarget(target) && width > max_cube_map_texture_size, GL_IN… in s_glCopyTexImage2D()
2975 …SET_ERROR_IF(GLESv2Validation::isCubeMapTarget(target) && height > max_cube_map_texture_size, GL_I… in s_glCopyTexImage2D()
2976 SET_ERROR_IF(GLESv2Validation::isCubeMapTarget(target) && (width != height), GL_INVALID_VALUE); in s_glCopyTexImage2D()
3021 SET_ERROR_IF(!GLESv2Validation::textureTarget(ctx, target), GL_INVALID_ENUM); in s_glTexParameteriv()
3022 SET_ERROR_IF(!GLESv2Validation::textureParams(ctx, pname), GL_INVALID_ENUM); in s_glTexParameteriv()
3025 …SET_ERROR_IF(!GLESv2Validation::textureParamValue(ctx, pname, param, (GLfloat)param, (GLenum)param… in s_glTexParameteriv()
3150 !GLESv2Validation::rboFormat(ctx, internalformat), in s_glRenderbufferStorage()
3172 SET_ERROR_IF(!GLESv2Validation::framebufferTarget(ctx, target), GL_INVALID_ENUM); in s_glFramebufferRenderbuffer()
3173 SET_ERROR_IF(!GLESv2Validation::framebufferAttachment(ctx, attachment), GL_INVALID_ENUM); in s_glFramebufferRenderbuffer()
3210 SET_ERROR_IF(!GLESv2Validation::framebufferTarget(ctx, target), GL_INVALID_ENUM); in s_glBindFramebuffer()
3231 SET_ERROR_IF(!GLESv2Validation::framebufferTarget(ctx, target), GL_INVALID_ENUM); in s_glFramebufferTexture2D()
3232 SET_ERROR_IF(!GLESv2Validation::textureTarget(ctx, textarget), GL_INVALID_ENUM); in s_glFramebufferTexture2D()
3233 SET_ERROR_IF(!GLESv2Validation::framebufferAttachment(ctx, attachment), GL_INVALID_ENUM); in s_glFramebufferTexture2D()
3236 …SET_ERROR_IF(GLESv2Validation::isCubeMapTarget(textarget) && !state->isTextureCubeMap(texture), GL… in s_glFramebufferTexture2D()
3237 …SET_ERROR_IF(!GLESv2Validation::isCubeMapTarget(textarget) && state->isTextureCubeMap(texture), GL… in s_glFramebufferTexture2D()
3266 SET_ERROR_IF(!GLESv2Validation::framebufferTarget(ctx, target), GL_INVALID_ENUM); in s_glGetFramebufferAttachmentParameteriv()
3351 RET_AND_SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM, NULL); in s_glMapBufferOES()
3399 RET_AND_SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM, NULL); in s_glMapBufferRange()
3413 … RET_AND_SET_ERROR_IF(access & ~GLESv2Validation::allBufferMapAccessFlags, GL_INVALID_VALUE, NULL); in s_glMapBufferRange()
3437 RET_AND_SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM, GL_FALSE); in s_glUnmapBuffer()
3489 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM); in s_glFlushMappedBufferRange()
3528 SET_ERROR_IF(!GLESv2Validation::textureTarget(ctx, target), GL_INVALID_ENUM); in s_glCompressedTexImage2D()
3532 … SET_ERROR_IF(!GLESv2Validation::supportedCompressedFormat(ctx, internalformat), GL_INVALID_ENUM); in s_glCompressedTexImage2D()
3590 SET_ERROR_IF(!GLESv2Validation::textureTarget(ctx, target), GL_INVALID_ENUM); in s_glCompressedTexSubImage2D()
3664 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM); in s_glBindBufferRange()
3712 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM); in s_glBindBufferBase()
3759 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, readtarget), GL_INVALID_ENUM); in s_glCopyBufferSubData()
3760 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, writetarget), GL_INVALID_ENUM); in s_glCopyBufferSubData()
3806 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM); in s_glGetBufferParameteriv()
3817 SET_ERROR_IF(!GLESv2Validation::bufferParam(ctx, pname), GL_INVALID_ENUM); in s_glGetBufferParameteriv()
3858 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM); in s_glGetBufferParameteri64v()
3869 SET_ERROR_IF(!GLESv2Validation::bufferParam(ctx, pname), GL_INVALID_ENUM); in s_glGetBufferParameteri64v()
3909 SET_ERROR_IF(!GLESv2Validation::bufferTarget(ctx, target), GL_INVALID_ENUM); in s_glGetBufferPointerv()
4088 SET_ERROR_IF(!GLESv2Validation::allowedGetActiveUniformBlock(pname), GL_INVALID_ENUM); in s_glGetActiveUniformBlockiv()
4112 SET_ERROR_IF(!GLESv2Validation::allowedGetVertexAttrib(pname), GL_INVALID_ENUM); in s_glGetVertexAttribIiv()
4122 SET_ERROR_IF(!GLESv2Validation::allowedGetVertexAttrib(pname), GL_INVALID_ENUM); in s_glGetVertexAttribIuiv()
4176 SET_ERROR_IF(!GLESv2Validation::rboFormat(ctx, internalformat), GL_INVALID_ENUM); in s_glRenderbufferStorageMultisample()
4259 SET_ERROR_IF(!GLESv2Validation::framebufferTarget(ctx, target), GL_INVALID_ENUM); in s_glFramebufferTextureLayer()
4260 SET_ERROR_IF(!GLESv2Validation::framebufferAttachment(ctx, attachment), GL_INVALID_ENUM); in s_glFramebufferTextureLayer()
4289 SET_ERROR_IF(!GLESv2Validation::pixelInternalFormat(internalformat), GL_INVALID_ENUM); in s_glTexStorage2D()
4401 SET_ERROR_IF(!GLESv2Validation::pixelType(ctx, type), GL_INVALID_ENUM); in s_glTexImage3D()
4402 SET_ERROR_IF(!GLESv2Validation::pixelFormat(ctx, format), GL_INVALID_ENUM); in s_glTexImage3D()
4403 SET_ERROR_IF(!(GLESv2Validation::pixelOp(format,type)),GL_INVALID_OPERATION); in s_glTexImage3D()
4404 …SET_ERROR_IF(!GLESv2Validation::pixelSizedFormat(ctx, internalFormat, format, type), GL_INVALID_OP… in s_glTexImage3D()
4472 SET_ERROR_IF(!GLESv2Validation::pixelType(ctx, type), GL_INVALID_ENUM); in s_glTexSubImage3D()
4473 SET_ERROR_IF(!GLESv2Validation::pixelFormat(ctx, format), GL_INVALID_ENUM); in s_glTexSubImage3D()
4531 … SET_ERROR_IF(!GLESv2Validation::supportedCompressedFormat(ctx, internalformat), GL_INVALID_ENUM); in s_glCompressedTexImage3D()
4586 SET_ERROR_IF(!GLESv2Validation::textureTarget(ctx, target), GL_INVALID_ENUM); in s_glCompressedTexSubImage3D()
4666 SET_ERROR_IF(!GLESv2Validation::pixelInternalFormat(internalformat), GL_INVALID_ENUM); in s_glTexStorage3D()
4983 SET_ERROR_IF(!GLESv2Validation::readPixelsFormat(format), GL_INVALID_ENUM); in s_glReadPixels()
4984 SET_ERROR_IF(!GLESv2Validation::readPixelsType(type), GL_INVALID_ENUM); in s_glReadPixels()
4985 SET_ERROR_IF(!(GLESv2Validation::pixelOp(format,type)),GL_INVALID_OPERATION); in s_glReadPixels()
5026 !GLESv2Validation::readPixelsFboFormatMatch( in s_glReadPixels()
5047 …SET_ERROR_IF(!GLESv2Validation::allowedEnable(ctx->majorVersion(), ctx->minorVersion(), what), GL_… in s_glEnable()
5065 …SET_ERROR_IF(!GLESv2Validation::allowedEnable(ctx->majorVersion(), ctx->minorVersion(), what), GL_… in s_glDisable()
5158 GLESv2Validation::isIntegerFormat(read_fbo_format_info.tex_format), in s_glBlitFramebuffer()
5167 !GLESv2Validation::blitFramebufferFormat( in s_glBlitFramebuffer()
5183 !GLESv2Validation::blitFramebufferFormat( in s_glBlitFramebuffer()
5199 !GLESv2Validation::blitFramebufferFormat( in s_glBlitFramebuffer()
5250 SET_ERROR_IF(!GLESv2Validation::internalFormatTarget(ctx, target), GL_INVALID_ENUM); in s_glGetInternalformativ()
5251 SET_ERROR_IF(!GLESv2Validation::unsizedFormat(internalformat) && in s_glGetInternalformativ()
5252 !GLESv2Validation::colorRenderableFormat(ctx, internalformat) && in s_glGetInternalformativ()
5253 !GLESv2Validation::depthRenderableFormat(ctx, internalformat) && in s_glGetInternalformativ()
5254 !GLESv2Validation::stencilRenderableFormat(ctx, internalformat), in s_glGetInternalformativ()
5289 SET_ERROR_IF(tex && GLESv2Validation::isCompressedFormat(internalformat), in s_glGenerateMipmap()
5292 !GLESv2Validation::unsizedFormat(internalformat) && in s_glGenerateMipmap()
5293 !(GLESv2Validation::colorRenderableFormat(ctx, internalformat) && in s_glGenerateMipmap()
5294 GLESv2Validation::filterableTexFormat(ctx, internalformat)), in s_glGenerateMipmap()
5381 SET_ERROR_IF(!GLESv2Validation::allowedGetSyncParam(pname), GL_INVALID_ENUM); in s_glGetSynciv()
5506 SET_ERROR_IF(!GLESv2Validation::allowedGetShader(pname), GL_INVALID_ENUM); in s_glGetShaderiv()
6087 SET_ERROR_IF(!GLESv2Validation::pixelInternalFormat(internalformat), GL_INVALID_ENUM); in s_glTexStorage2DMultisample()
6222 SET_ERROR_IF(!GLESv2Validation::allowedQueryTarget(target), GL_INVALID_ENUM); in s_glBeginQuery()
6246 SET_ERROR_IF(!GLESv2Validation::allowedQueryTarget(target), GL_INVALID_ENUM); in s_glEndQuery()
6264 SET_ERROR_IF(!GLESv2Validation::textureTarget(ctx, target), GL_INVALID_ENUM); in s_glCopyTexSubImage2D()
6277 …SET_ERROR_IF(GLESv2Validation::isCubeMapTarget(target) && width > max_cube_map_texture_size, GL_IN… in s_glCopyTexSubImage2D()
6278 …SET_ERROR_IF(GLESv2Validation::isCubeMapTarget(target) && height > max_cube_map_texture_size, GL_I… in s_glCopyTexSubImage2D()
6370 SET_ERROR_IF(!GLESv2Validation::samplerParams(ctx, pname), GL_INVALID_ENUM); in s_glGetSamplerParameterfv()
6380 SET_ERROR_IF(!GLESv2Validation::samplerParams(ctx, pname), GL_INVALID_ENUM); in s_glGetSamplerParameteriv()
6390 SET_ERROR_IF(!GLESv2Validation::samplerParams(ctx, pname), GL_INVALID_ENUM); in s_glSamplerParameterf()
6391 …SET_ERROR_IF(!GLESv2Validation::textureParamValue(ctx, pname, (GLint)param, param, (GLenum)param),… in s_glSamplerParameterf()
6399 SET_ERROR_IF(!GLESv2Validation::samplerParams(ctx, pname), GL_INVALID_ENUM); in s_glSamplerParameteri()
6400 …SET_ERROR_IF(!GLESv2Validation::textureParamValue(ctx, pname, param, (GLfloat)param, (GLenum)param… in s_glSamplerParameteri()
6408 SET_ERROR_IF(!GLESv2Validation::samplerParams(ctx, pname), GL_INVALID_ENUM); in s_glSamplerParameterfv()
6411 …SET_ERROR_IF(!GLESv2Validation::textureParamValue(ctx, pname, (GLint)param, param, (GLenum)param),… in s_glSamplerParameterfv()
6419 SET_ERROR_IF(!GLESv2Validation::samplerParams(ctx, pname), GL_INVALID_ENUM); in s_glSamplerParameteriv()
6422 …SET_ERROR_IF(!GLESv2Validation::textureParamValue(ctx, pname, (GLint)param, param, (GLenum)param),… in s_glSamplerParameteriv()
6510 SET_ERROR_IF(!GLESv2Validation::allowedFunc(func), GL_INVALID_ENUM); in s_glStencilFunc()
6518 …SET_ERROR_IF(!GLESv2Validation::allowedFace(face) || !GLESv2Validation::allowedFunc(func), GL_INVA… in s_glStencilFuncSeparate()
6527 !GLESv2Validation::allowedStencilOp(fail) || in s_glStencilOp()
6528 !GLESv2Validation::allowedStencilOp(zfail) || in s_glStencilOp()
6529 !GLESv2Validation::allowedStencilOp(zpass), in s_glStencilOp()
6539 !GLESv2Validation::allowedFace(face) || in s_glStencilOpSeparate()
6540 !GLESv2Validation::allowedStencilOp(fail) || in s_glStencilOpSeparate()
6541 !GLESv2Validation::allowedStencilOp(zfail) || in s_glStencilOpSeparate()
6542 !GLESv2Validation::allowedStencilOp(zpass), in s_glStencilOpSeparate()
6552 !GLESv2Validation::allowedFace(face), in s_glStencilMaskSeparate()
6562 !GLESv2Validation::allowedBlendEquation(mode), in s_glBlendEquation()
6570 !GLESv2Validation::allowedBlendEquation(modeRGB) || in s_glBlendEquationSeparate()
6571 !GLESv2Validation::allowedBlendEquation(modeAlpha), in s_glBlendEquationSeparate()
6579 !GLESv2Validation::allowedBlendFunc(sfactor) || in s_glBlendFunc()
6580 !GLESv2Validation::allowedBlendFunc(dfactor), in s_glBlendFunc()
6588 !GLESv2Validation::allowedBlendFunc(srcRGB) || in s_glBlendFuncSeparate()
6589 !GLESv2Validation::allowedBlendFunc(dstRGB) || in s_glBlendFuncSeparate()
6590 !GLESv2Validation::allowedBlendFunc(srcAlpha) || in s_glBlendFuncSeparate()
6591 !GLESv2Validation::allowedBlendFunc(dstAlpha), in s_glBlendFuncSeparate()
6599 !GLESv2Validation::allowedCullFace(mode), in s_glCullFace()
6607 !GLESv2Validation::allowedFrontFace(mode), in s_glFrontFace()
6692 SET_ERROR_IF(!GLESv2Validation::allowedShaderType(shadertype), GL_INVALID_ENUM); in s_glGetShaderPrecisionFormat()
6693 SET_ERROR_IF(!GLESv2Validation::allowedPrecisionType(precisiontype), GL_INVALID_ENUM); in s_glGetShaderPrecisionFormat()
6699 …SET_ERROR_IF(!GLESv2Validation::allowedGetProgram(ctx->majorVersion(), ctx->minorVersion(), pname)… in s_glGetProgramiv()
6715 SET_ERROR_IF(!GLESv2Validation::allowedGetActiveUniforms(pname), GL_INVALID_ENUM); in s_glGetActiveUniformsiv()
6743 SET_ERROR_IF(!GLESv2Validation::allowedGetRenderbufferParameter(pname), GL_INVALID_ENUM); in s_glGetRenderbufferParameteriv()
6750 SET_ERROR_IF(!GLESv2Validation::allowedQueryTarget(target), GL_INVALID_ENUM); in s_glGetQueryiv()
6751 SET_ERROR_IF(!GLESv2Validation::allowedQueryParam(pname), GL_INVALID_ENUM); in s_glGetQueryiv()
6758 SET_ERROR_IF(!GLESv2Validation::allowedQueryObjectParam(pname), GL_INVALID_ENUM); in s_glGetQueryObjectuiv()
6768 …RET_AND_SET_ERROR_IF(!GLESv2Validation::allowedEnable(ctx->majorVersion(), ctx->minorVersion(), ca… in s_glIsEnabled()
6774 SET_ERROR_IF(!GLESv2Validation::allowedHintTarget(target), GL_INVALID_ENUM); in s_glHint()
6775 SET_ERROR_IF(!GLESv2Validation::allowedHintMode(mode), GL_INVALID_ENUM); in s_glHint()