2013-02-23 03:34:06 +00:00
|
|
|
# Copyright (C) 2013 The Android Open Source Project
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
#
|
|
|
|
|
|
|
|
#
|
|
|
|
# ifcheck defaults to 1 so we don't explicitly list pnames requiring
|
|
|
|
# a single value. unknown pnames will be validated against one value, which
|
|
|
|
# is not perfect but better than nothing.
|
|
|
|
#
|
|
|
|
|
2013-02-23 01:48:39 +00:00
|
|
|
glBufferData nullAllowed check data size
|
|
|
|
glBufferSubData check data size
|
2013-02-23 03:34:06 +00:00
|
|
|
# glCompressedTexImage2D
|
|
|
|
# glCompressedTexSubImage2D
|
2009-10-21 18:02:44 +00:00
|
|
|
glClipPlanef check eqn 4
|
|
|
|
glClipPlanex check eqn 4
|
|
|
|
glDeleteBuffers check buffers n
|
2013-02-23 03:34:06 +00:00
|
|
|
glDeleteFramebuffers check framebuffers n
|
2013-02-23 01:48:39 +00:00
|
|
|
glDeleteFramebuffersOES check framebuffers n
|
2013-02-23 03:34:06 +00:00
|
|
|
glDeleteRenderbuffers check renderbuffers n
|
2013-02-23 01:48:39 +00:00
|
|
|
glDeleteRenderbuffersOES check renderbuffers n
|
2009-10-21 18:02:44 +00:00
|
|
|
glDeleteTextures check textures n
|
|
|
|
glDrawElements check_AIOOBE indices count
|
2013-02-23 01:48:39 +00:00
|
|
|
glDrawTexfvOES check coords 5
|
|
|
|
glDrawTexivOES check coords 5
|
|
|
|
glDrawTexsvOES check coords 5
|
|
|
|
glDrawTexxvOES check coords 5
|
2013-02-23 03:34:06 +00:00
|
|
|
glFog ifcheck params 4 pname GL_FOG_COLOR
|
2009-10-21 18:02:44 +00:00
|
|
|
glGenBuffers check buffers n
|
2013-02-23 01:48:39 +00:00
|
|
|
glGenFramebuffersOES check framebuffers n
|
2013-02-23 03:34:06 +00:00
|
|
|
glGenFramebuffers check framebuffers n
|
2013-02-23 01:48:39 +00:00
|
|
|
glGenRenderbuffersOES check renderbuffers n
|
2013-02-23 03:34:06 +00:00
|
|
|
glGenRenderbuffers check renderbuffers n
|
2009-10-21 18:02:44 +00:00
|
|
|
glGenTextures check textures n
|
2013-02-23 03:34:06 +00:00
|
|
|
// glGetActiveAttrib
|
|
|
|
// glGetActiveUniform
|
|
|
|
glGetAttachedShaders nullAllowed check count 1 check shaders maxcount
|
|
|
|
// glGetBooleanv
|
2013-02-23 01:48:39 +00:00
|
|
|
glGetBufferParameter check params 1
|
2013-02-23 03:34:06 +00:00
|
|
|
glGetClipPlanef check eqn 4
|
|
|
|
glGetClipPlanex check eqn 4
|
2013-02-23 01:48:39 +00:00
|
|
|
glGetClipPlanefOES check eqn 4
|
|
|
|
glGetClipPlanexOES check eqn 4
|
2013-02-23 03:34:06 +00:00
|
|
|
// glGetFloatv
|
2013-02-23 01:48:39 +00:00
|
|
|
glGetFramebufferAttachmentParameterivOES check params 1
|
2013-02-23 03:34:06 +00:00
|
|
|
// glGetIntegerv
|
|
|
|
glGetLight ifcheck params 3 pname GL_SPOT_DIRECTION ifcheck params 4 pname GL_AMBIENT,GL_DIFFUSE,GL_SPECULAR,GL_EMISSION
|
|
|
|
glGetMaterial ifcheck params 4 pname GL_AMBIENT,GL_DIFFUSE,GL_SPECULAR,GL_EMISSION,GL_AMBIENT_AND_DIFFUSE
|
|
|
|
// glGetProgramInfoLog
|
|
|
|
glGetProgramiv check params 1
|
|
|
|
glGetRenderbufferParameteriv check params 1
|
2013-02-23 01:48:39 +00:00
|
|
|
glGetRenderbufferParameterivOES check params 1
|
2013-02-23 03:34:06 +00:00
|
|
|
// glGetShaderInfoLog
|
|
|
|
glGetShaderiv check params 1
|
|
|
|
glGetShaderPrecisionFormat check range 1 check precision 1
|
|
|
|
// glGetShaderSource
|
|
|
|
// glGetString
|
|
|
|
glGetTexEnv ifcheck params 4 pname GL_TEXTURE_ENV_COLOR
|
|
|
|
glGetTexGen ifcheck params 4 pname GL_OBJECT_PLANE,GL_EYE_PLANE
|
2009-10-21 18:02:44 +00:00
|
|
|
glGetTexParameter check params 1
|
2013-02-23 03:34:06 +00:00
|
|
|
glGetUniform check params 1
|
|
|
|
glGetVertexAttrib ifcheck params 4 pname GL_CURRENT_VERTEX_ATTRIB
|
|
|
|
glLight ifcheck params 3 pname GL_SPOT_DIRECTION ifcheck params 4 pname GL_AMBIENT,GL_DIFFUSE,GL_SPECULAR,GL_EMISSION
|
|
|
|
glLightModel ifcheck params 4 pname GL_LIGHT_MODEL_AMBIENT
|
2009-10-21 18:02:44 +00:00
|
|
|
glLoadMatrix check m 16
|
2013-02-23 03:34:06 +00:00
|
|
|
glMaterial ifcheck params 4 pname GL_AMBIENT,GL_DIFFUSE,GL_SPECULAR,GL_EMISSION,GL_AMBIENT_AND_DIFFUSE
|
2009-10-21 18:02:44 +00:00
|
|
|
glMultMatrix check m 16
|
|
|
|
glPointParameter check params 1
|
2013-02-23 01:48:39 +00:00
|
|
|
glQueryMatrixxOES check mantissa 16 check exponent 16 return -1
|
2013-02-23 03:34:06 +00:00
|
|
|
# glReadPixels
|
|
|
|
glShaderBinary check binary length
|
|
|
|
// glShaderSource
|
|
|
|
glTexEnv ifcheck params 4 pname GL_TEXTURE_ENV_COLOR
|
2009-10-21 18:02:44 +00:00
|
|
|
glTexImage2D nullAllowed
|
|
|
|
glTexParameter check params 1
|
2013-02-23 01:48:39 +00:00
|
|
|
glTexSubImage2D nullAllowed
|
2013-02-23 03:34:06 +00:00
|
|
|
glUniform1 check v count
|
|
|
|
glUniform2 check v count*2
|
|
|
|
glUniform3 check v count*3
|
|
|
|
glUniform4 check v count*4
|
|
|
|
glUniformMatrix2 check value count*4
|
|
|
|
glUniformMatrix3 check value count*9
|
|
|
|
glUniformMatrix4 check value count*16
|
|
|
|
glVertexAttrib1 check values 1
|
|
|
|
glVertexAttrib2 check values 2
|
|
|
|
glVertexAttrib3 check values 3
|
|
|
|
glVertexAttrib4 check values 4
|
|
|
|
# glVertexAttribPointer
|