-
Notifications
You must be signed in to change notification settings - Fork 5
Description
These OpenGL routines are used in app-shadertoy but should be ok since they don't have any pointer arguments:
glActiveTexture
glAttachShader
glBindBuffer
glBindTexture
glBindVertexArray
glClear
glCompileShader
glCreateProgram
glCreateShader
glDeleteProgram
glDeleteShader
glDetachShader
glDisableVertexAttribArray
glDrawArrays
glEnableVertexAttribArray
glFlush
glGetError
glLinkProgram
glPixelStorei
glProgramUniform1f
glProgramUniform1i
glProgramUniform2f
glProgramUniform3f
glProgramUniform4f
glReadBuffer
glTexParameteri
glTexStorage2D
glUseProgram
These are the problematic routines with pointer arguments or return values.
We should sort out the API issues as regards these functions first:
glGetString
glBufferData
glGenBuffers
glGenTextures
glGenVertexArrays
glGetActiveUniform
glGetAttribLocation
glGetIntegerv
glGetProgramiv
glGetShaderiv
glNamedBufferData
glObjectLabel
glProgramUniform4fv
glProgramUniformMatrix4fv
glReadPixels
glShaderSource
glTexImage2D
glTexSubImage2D
glVertexAttribPointer
NOTE: arguments or return values with string pointers in them are probably ok since the binding for all pointers is to perl PV strings.