com.badlogic.gdx.backends.android
Class AndroidGL20

java.lang.Object
  extended by com.badlogic.gdx.backends.android.AndroidGL20
All Implemented Interfaces:
GL20, GLCommon

public class AndroidGL20
extends Object
implements GL20


Field Summary
 
Fields inherited from interface com.badlogic.gdx.graphics.GL20
GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, GL_ACTIVE_ATTRIBUTES, GL_ACTIVE_TEXTURE, GL_ACTIVE_UNIFORM_MAX_LENGTH, GL_ACTIVE_UNIFORMS, GL_ALIASED_LINE_WIDTH_RANGE, GL_ALIASED_POINT_SIZE_RANGE, GL_ALPHA, GL_ALPHA_BITS, GL_ALWAYS, GL_ARRAY_BUFFER, GL_ARRAY_BUFFER_BINDING, GL_ATTACHED_SHADERS, GL_BACK, GL_BLEND, GL_BLEND_COLOR, GL_BLEND_DST_ALPHA, GL_BLEND_DST_RGB, GL_BLEND_EQUATION, GL_BLEND_EQUATION_ALPHA, GL_BLEND_EQUATION_RGB, GL_BLEND_SRC_ALPHA, GL_BLEND_SRC_RGB, GL_BLUE_BITS, GL_BOOL, GL_BOOL_VEC2, GL_BOOL_VEC3, GL_BOOL_VEC4, GL_BUFFER_SIZE, GL_BUFFER_USAGE, GL_BYTE, GL_CCW, GL_CLAMP_TO_EDGE, GL_COLOR_ATTACHMENT0, GL_COLOR_BUFFER_BIT, GL_COLOR_CLEAR_VALUE, GL_COLOR_WRITEMASK, GL_COMPILE_STATUS, GL_COMPRESSED_TEXTURE_FORMATS, GL_CONSTANT_ALPHA, GL_CONSTANT_COLOR, GL_COVERAGE_BUFFER_BIT_NV, GL_CULL_FACE, GL_CULL_FACE_MODE, GL_CURRENT_PROGRAM, GL_CURRENT_VERTEX_ATTRIB, GL_CW, GL_DECR, GL_DECR_WRAP, GL_DELETE_STATUS, GL_DEPTH_ATTACHMENT, GL_DEPTH_BITS, GL_DEPTH_BUFFER_BIT, GL_DEPTH_CLEAR_VALUE, GL_DEPTH_COMPONENT, GL_DEPTH_COMPONENT16, GL_DEPTH_FUNC, GL_DEPTH_RANGE, GL_DEPTH_TEST, GL_DEPTH_WRITEMASK, GL_DITHER, GL_DONT_CARE, GL_DST_ALPHA, GL_DST_COLOR, GL_DYNAMIC_DRAW, GL_ELEMENT_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER_BINDING, GL_EQUAL, GL_ES_VERSION_2_0, GL_EXTENSIONS, GL_FALSE, GL_FASTEST, GL_FIXED, GL_FLOAT, GL_FLOAT_MAT2, GL_FLOAT_MAT3, GL_FLOAT_MAT4, GL_FLOAT_VEC2, GL_FLOAT_VEC3, GL_FLOAT_VEC4, GL_FRAGMENT_SHADER, GL_FRAMEBUFFER, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL, GL_FRAMEBUFFER_BINDING, GL_FRAMEBUFFER_COMPLETE, GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT, GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS, GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT, GL_FRAMEBUFFER_UNSUPPORTED, GL_FRONT, GL_FRONT_AND_BACK, GL_FRONT_FACE, GL_FUNC_ADD, GL_FUNC_REVERSE_SUBTRACT, GL_FUNC_SUBTRACT, GL_GENERATE_MIPMAP_HINT, GL_GEQUAL, GL_GREATER, GL_GREEN_BITS, GL_HIGH_FLOAT, GL_HIGH_INT, GL_IMPLEMENTATION_COLOR_READ_FORMAT, GL_IMPLEMENTATION_COLOR_READ_TYPE, GL_INCR, GL_INCR_WRAP, GL_INFO_LOG_LENGTH, GL_INT, GL_INT_VEC2, GL_INT_VEC3, GL_INT_VEC4, GL_INVALID_ENUM, GL_INVALID_FRAMEBUFFER_OPERATION, GL_INVALID_OPERATION, GL_INVALID_VALUE, GL_INVERT, GL_KEEP, GL_LEQUAL, GL_LESS, GL_LINE_LOOP, GL_LINE_STRIP, GL_LINE_WIDTH, GL_LINEAR, GL_LINEAR_MIPMAP_LINEAR, GL_LINEAR_MIPMAP_NEAREST, GL_LINES, GL_LINK_STATUS, GL_LOW_FLOAT, GL_LOW_INT, GL_LUMINANCE, GL_LUMINANCE_ALPHA, GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS, GL_MAX_CUBE_MAP_TEXTURE_SIZE, GL_MAX_FRAGMENT_UNIFORM_VECTORS, GL_MAX_RENDERBUFFER_SIZE, GL_MAX_TEXTURE_IMAGE_UNITS, GL_MAX_TEXTURE_SIZE, GL_MAX_TEXTURE_UNITS, GL_MAX_VARYING_VECTORS, GL_MAX_VERTEX_ATTRIBS, GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS, GL_MAX_VERTEX_UNIFORM_VECTORS, GL_MAX_VIEWPORT_DIMS, GL_MEDIUM_FLOAT, GL_MEDIUM_INT, GL_MIRRORED_REPEAT, GL_NEAREST, GL_NEAREST_MIPMAP_LINEAR, GL_NEAREST_MIPMAP_NEAREST, GL_NEVER, GL_NICEST, GL_NO_ERROR, GL_NONE, GL_NOTEQUAL, GL_NUM_COMPRESSED_TEXTURE_FORMATS, GL_NUM_SHADER_BINARY_FORMATS, GL_ONE, GL_ONE_MINUS_CONSTANT_ALPHA, GL_ONE_MINUS_CONSTANT_COLOR, GL_ONE_MINUS_DST_ALPHA, GL_ONE_MINUS_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_SRC_COLOR, GL_OUT_OF_MEMORY, GL_PACK_ALIGNMENT, GL_POINTS, GL_POLYGON_OFFSET_FACTOR, GL_POLYGON_OFFSET_FILL, GL_POLYGON_OFFSET_UNITS, GL_RED_BITS, GL_RENDERBUFFER, GL_RENDERBUFFER_ALPHA_SIZE, GL_RENDERBUFFER_BINDING, GL_RENDERBUFFER_BLUE_SIZE, GL_RENDERBUFFER_DEPTH_SIZE, GL_RENDERBUFFER_GREEN_SIZE, GL_RENDERBUFFER_HEIGHT, GL_RENDERBUFFER_INTERNAL_FORMAT, GL_RENDERBUFFER_RED_SIZE, GL_RENDERBUFFER_STENCIL_SIZE, GL_RENDERBUFFER_WIDTH, GL_RENDERER, GL_REPEAT, GL_REPLACE, GL_RGB, GL_RGB5_A1, GL_RGB565, GL_RGBA, GL_RGBA4, GL_SAMPLE_ALPHA_TO_COVERAGE, GL_SAMPLE_BUFFERS, GL_SAMPLE_COVERAGE, GL_SAMPLE_COVERAGE_INVERT, GL_SAMPLE_COVERAGE_VALUE, GL_SAMPLER_2D, GL_SAMPLER_CUBE, GL_SAMPLES, GL_SCISSOR_BOX, GL_SCISSOR_TEST, GL_SHADER_BINARY_FORMATS, GL_SHADER_COMPILER, GL_SHADER_SOURCE_LENGTH, GL_SHADER_TYPE, GL_SHADING_LANGUAGE_VERSION, GL_SHORT, GL_SRC_ALPHA, GL_SRC_ALPHA_SATURATE, GL_SRC_COLOR, GL_STATIC_DRAW, GL_STENCIL_ATTACHMENT, GL_STENCIL_BACK_FAIL, GL_STENCIL_BACK_FUNC, GL_STENCIL_BACK_PASS_DEPTH_FAIL, GL_STENCIL_BACK_PASS_DEPTH_PASS, GL_STENCIL_BACK_REF, GL_STENCIL_BACK_VALUE_MASK, GL_STENCIL_BACK_WRITEMASK, GL_STENCIL_BITS, GL_STENCIL_BUFFER_BIT, GL_STENCIL_CLEAR_VALUE, GL_STENCIL_FAIL, GL_STENCIL_FUNC, GL_STENCIL_INDEX, GL_STENCIL_INDEX8, GL_STENCIL_PASS_DEPTH_FAIL, GL_STENCIL_PASS_DEPTH_PASS, GL_STENCIL_REF, GL_STENCIL_TEST, GL_STENCIL_VALUE_MASK, GL_STENCIL_WRITEMASK, GL_STREAM_DRAW, GL_SUBPIXEL_BITS, GL_TEXTURE, GL_TEXTURE_2D, GL_TEXTURE_BINDING_2D, GL_TEXTURE_BINDING_CUBE_MAP, GL_TEXTURE_CUBE_MAP, GL_TEXTURE_CUBE_MAP_NEGATIVE_X, GL_TEXTURE_CUBE_MAP_NEGATIVE_Y, GL_TEXTURE_CUBE_MAP_NEGATIVE_Z, GL_TEXTURE_CUBE_MAP_POSITIVE_X, GL_TEXTURE_CUBE_MAP_POSITIVE_Y, GL_TEXTURE_CUBE_MAP_POSITIVE_Z, GL_TEXTURE_MAG_FILTER, GL_TEXTURE_MIN_FILTER, GL_TEXTURE_WRAP_S, GL_TEXTURE_WRAP_T, GL_TEXTURE0, GL_TEXTURE1, GL_TEXTURE10, GL_TEXTURE11, GL_TEXTURE12, GL_TEXTURE13, GL_TEXTURE14, GL_TEXTURE15, GL_TEXTURE16, GL_TEXTURE17, GL_TEXTURE18, GL_TEXTURE19, GL_TEXTURE2, GL_TEXTURE20, GL_TEXTURE21, GL_TEXTURE22, GL_TEXTURE23, GL_TEXTURE24, GL_TEXTURE25, GL_TEXTURE26, GL_TEXTURE27, GL_TEXTURE28, GL_TEXTURE29, GL_TEXTURE3, GL_TEXTURE30, GL_TEXTURE31, GL_TEXTURE4, GL_TEXTURE5, GL_TEXTURE6, GL_TEXTURE7, GL_TEXTURE8, GL_TEXTURE9, GL_TRIANGLE_FAN, GL_TRIANGLE_STRIP, GL_TRIANGLES, GL_TRUE, GL_UNPACK_ALIGNMENT, GL_UNSIGNED_BYTE, GL_UNSIGNED_INT, GL_UNSIGNED_SHORT, GL_UNSIGNED_SHORT_4_4_4_4, GL_UNSIGNED_SHORT_5_5_5_1, GL_UNSIGNED_SHORT_5_6_5, GL_VALIDATE_STATUS, GL_VENDOR, GL_VERSION, GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, GL_VERTEX_ATTRIB_ARRAY_ENABLED, GL_VERTEX_ATTRIB_ARRAY_NORMALIZED, GL_VERTEX_ATTRIB_ARRAY_POINTER, GL_VERTEX_ATTRIB_ARRAY_SIZE, GL_VERTEX_ATTRIB_ARRAY_STRIDE, GL_VERTEX_ATTRIB_ARRAY_TYPE, GL_VERTEX_PROGRAM_POINT_SIZE, GL_VERTEX_SHADER, GL_VIEWPORT, GL_ZERO
 
Fields inherited from interface com.badlogic.gdx.graphics.GLCommon
GL_GENERATE_MIPMAP, GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, GL_TEXTURE_MAX_ANISOTROPY_EXT
 
Constructor Summary
AndroidGL20()
           
 
Method Summary
 void glActiveTexture(int texture)
           
 void glAttachShader(int program, int shader)
           
 void glBindAttribLocation(int program, int index, String name)
           
 void glBindBuffer(int target, int buffer)
           
 void glBindFramebuffer(int target, int framebuffer)
           
 void glBindRenderbuffer(int target, int renderbuffer)
           
 void glBindTexture(int target, int texture)
           
 void glBlendColor(float red, float green, float blue, float alpha)
           
 void glBlendEquation(int mode)
           
 void glBlendEquationSeparate(int modeRGB, int modeAlpha)
           
 void glBlendFunc(int sfactor, int dfactor)
           
 void glBlendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)
           
 void glBufferData(int target, int size, Buffer data, int usage)
           
 void glBufferSubData(int target, int offset, int size, Buffer data)
           
 int glCheckFramebufferStatus(int target)
           
 void glClear(int mask)
           
 void glClearColor(float red, float green, float blue, float alpha)
           
 void glClearDepthf(float depth)
           
 void glClearStencil(int s)
           
 void glColorMask(boolean red, boolean green, boolean blue, boolean alpha)
           
 void glCompileShader(int shader)
           
 void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data)
           
 void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data)
           
 void glCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border)
           
 void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
           
 int glCreateProgram()
           
 int glCreateShader(int type)
           
 void glCullFace(int mode)
           
 void glDeleteBuffers(int n, IntBuffer buffers)
           
 void glDeleteFramebuffers(int n, IntBuffer framebuffers)
           
 void glDeleteProgram(int program)
           
 void glDeleteRenderbuffers(int n, IntBuffer renderbuffers)
           
 void glDeleteShader(int shader)
           
 void glDeleteTextures(int n, IntBuffer textures)
           
 void glDepthFunc(int func)
           
 void glDepthMask(boolean flag)
           
 void glDepthRangef(float zNear, float zFar)
           
 void glDetachShader(int program, int shader)
           
 void glDisable(int cap)
           
 void glDisableVertexAttribArray(int index)
           
 void glDrawArrays(int mode, int first, int count)
           
 void glDrawElements(int mode, int count, int type, Buffer indices)
           
 void glDrawElements(int mode, int count, int type, int indices)
           
 void glEnable(int cap)
           
 void glEnableVertexAttribArray(int index)
           
 void glFinish()
           
 void glFlush()
           
 void glFramebufferRenderbuffer(int target, int attachment, int renderbuffertarget, int renderbuffer)
           
 void glFramebufferTexture2D(int target, int attachment, int textarget, int texture, int level)
           
 void glFrontFace(int mode)
           
 void glGenBuffers(int n, IntBuffer buffers)
           
 void glGenerateMipmap(int target)
           
 void glGenFramebuffers(int n, IntBuffer framebuffers)
           
 void glGenRenderbuffers(int n, IntBuffer renderbuffers)
           
 void glGenTextures(int n, IntBuffer textures)
           
 String glGetActiveAttrib(int program, int index, IntBuffer size, Buffer type)
           
 String glGetActiveUniform(int program, int index, IntBuffer size, Buffer type)
           
 void glGetAttachedShaders(int program, int maxcount, Buffer count, IntBuffer shaders)
           
 int glGetAttribLocation(int program, String name)
           
 void glGetBooleanv(int pname, Buffer params)
           
 void glGetBufferParameteriv(int target, int pname, IntBuffer params)
           
 int glGetError()
           
 void glGetFloatv(int pname, FloatBuffer params)
           
 void glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, IntBuffer params)
           
 void glGetIntegerv(int pname, IntBuffer params)
           
 String glGetProgramInfoLog(int program)
           
 void glGetProgramiv(int program, int pname, IntBuffer params)
           
 void glGetRenderbufferParameteriv(int target, int pname, IntBuffer params)
           
 String glGetShaderInfoLog(int shader)
           
 void glGetShaderiv(int shader, int pname, IntBuffer params)
           
 void glGetShaderPrecisionFormat(int shadertype, int precisiontype, IntBuffer range, IntBuffer precision)
           
 void glGetShaderSource(int shader, int bufsize, Buffer length, String source)
           
 String glGetString(int name)
           
 void glGetTexParameterfv(int target, int pname, FloatBuffer params)
           
 void glGetTexParameteriv(int target, int pname, IntBuffer params)
           
 void glGetUniformfv(int program, int location, FloatBuffer params)
           
 void glGetUniformiv(int program, int location, IntBuffer params)
           
 int glGetUniformLocation(int program, String name)
           
 void glGetVertexAttribfv(int index, int pname, FloatBuffer params)
           
 void glGetVertexAttribiv(int index, int pname, IntBuffer params)
           
 void glGetVertexAttribPointerv(int index, int pname, Buffer pointer)
           
 void glHint(int target, int mode)
           
 boolean glIsBuffer(int buffer)
           
 boolean glIsEnabled(int cap)
           
 boolean glIsFramebuffer(int framebuffer)
           
 boolean glIsProgram(int program)
           
 boolean glIsRenderbuffer(int renderbuffer)
           
 boolean glIsShader(int shader)
           
 boolean glIsTexture(int texture)
           
 void glLineWidth(float width)
           
 void glLinkProgram(int program)
           
 void glPixelStorei(int pname, int param)
           
 void glPolygonOffset(float factor, float units)
           
 void glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels)
           
 void glReleaseShaderCompiler()
           
 void glRenderbufferStorage(int target, int internalformat, int width, int height)
           
 void glSampleCoverage(float value, boolean invert)
           
 void glScissor(int x, int y, int width, int height)
           
 void glShaderBinary(int n, IntBuffer shaders, int binaryformat, Buffer binary, int length)
           
 void glShaderSource(int shader, String string)
           
 void glStencilFunc(int func, int ref, int mask)
           
 void glStencilFuncSeparate(int face, int func, int ref, int mask)
           
 void glStencilMask(int mask)
           
 void glStencilMaskSeparate(int face, int mask)
           
 void glStencilOp(int fail, int zfail, int zpass)
           
 void glStencilOpSeparate(int face, int fail, int zfail, int zpass)
           
 void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels)
           
 void glTexParameterf(int target, int pname, float param)
           
 void glTexParameterfv(int target, int pname, FloatBuffer params)
           
 void glTexParameteri(int target, int pname, int param)
           
 void glTexParameteriv(int target, int pname, IntBuffer params)
           
 void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels)
           
 void glUniform1f(int location, float x)
           
 void glUniform1fv(int location, int count, FloatBuffer v)
           
 void glUniform1i(int location, int x)
           
 void glUniform1iv(int location, int count, IntBuffer v)
           
 void glUniform2f(int location, float x, float y)
           
 void glUniform2fv(int location, int count, FloatBuffer v)
           
 void glUniform2i(int location, int x, int y)
           
 void glUniform2iv(int location, int count, IntBuffer v)
           
 void glUniform3f(int location, float x, float y, float z)
           
 void glUniform3fv(int location, int count, FloatBuffer v)
           
 void glUniform3i(int location, int x, int y, int z)
           
 void glUniform3iv(int location, int count, IntBuffer v)
           
 void glUniform4f(int location, float x, float y, float z, float w)
           
 void glUniform4fv(int location, int count, FloatBuffer v)
           
 void glUniform4i(int location, int x, int y, int z, int w)
           
 void glUniform4iv(int location, int count, IntBuffer v)
           
 void glUniformMatrix2fv(int location, int count, boolean transpose, FloatBuffer value)
           
 void glUniformMatrix3fv(int location, int count, boolean transpose, FloatBuffer value)
           
 void glUniformMatrix4fv(int location, int count, boolean transpose, FloatBuffer value)
           
 void glUseProgram(int program)
           
 void glValidateProgram(int program)
           
 void glVertexAttrib1f(int indx, float x)
           
 void glVertexAttrib1fv(int indx, FloatBuffer values)
           
 void glVertexAttrib2f(int indx, float x, float y)
           
 void glVertexAttrib2fv(int indx, FloatBuffer values)
           
 void glVertexAttrib3f(int indx, float x, float y, float z)
           
 void glVertexAttrib3fv(int indx, FloatBuffer values)
           
 void glVertexAttrib4f(int indx, float x, float y, float z, float w)
           
 void glVertexAttrib4fv(int indx, FloatBuffer values)
           
 void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, Buffer ptr)
           
 void glVertexAttribPointer(int indx, int size, int type, boolean normalized, int stride, int ptr)
           
 void glViewport(int x, int y, int width, int height)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndroidGL20

public AndroidGL20()
Method Detail

glActiveTexture

public void glActiveTexture(int texture)
Specified by:
glActiveTexture in interface GLCommon

glAttachShader

public void glAttachShader(int program,
                           int shader)
Specified by:
glAttachShader in interface GL20

glBindAttribLocation

public void glBindAttribLocation(int program,
                                 int index,
                                 String name)
Specified by:
glBindAttribLocation in interface GL20

glBindBuffer

public void glBindBuffer(int target,
                         int buffer)
Specified by:
glBindBuffer in interface GL20

glBindFramebuffer

public void glBindFramebuffer(int target,
                              int framebuffer)
Specified by:
glBindFramebuffer in interface GL20

glBindRenderbuffer

public void glBindRenderbuffer(int target,
                               int renderbuffer)
Specified by:
glBindRenderbuffer in interface GL20

glBindTexture

public void glBindTexture(int target,
                          int texture)
Specified by:
glBindTexture in interface GLCommon

glBlendColor

public void glBlendColor(float red,
                         float green,
                         float blue,
                         float alpha)
Specified by:
glBlendColor in interface GL20

glBlendEquation

public void glBlendEquation(int mode)
Specified by:
glBlendEquation in interface GL20

glBlendEquationSeparate

public void glBlendEquationSeparate(int modeRGB,
                                    int modeAlpha)
Specified by:
glBlendEquationSeparate in interface GL20

glBlendFunc

public void glBlendFunc(int sfactor,
                        int dfactor)
Specified by:
glBlendFunc in interface GLCommon

glBlendFuncSeparate

public void glBlendFuncSeparate(int srcRGB,
                                int dstRGB,
                                int srcAlpha,
                                int dstAlpha)
Specified by:
glBlendFuncSeparate in interface GL20

glBufferData

public void glBufferData(int target,
                         int size,
                         Buffer data,
                         int usage)
Specified by:
glBufferData in interface GL20

glBufferSubData

public void glBufferSubData(int target,
                            int offset,
                            int size,
                            Buffer data)
Specified by:
glBufferSubData in interface GL20

glCheckFramebufferStatus

public int glCheckFramebufferStatus(int target)
Specified by:
glCheckFramebufferStatus in interface GL20

glClear

public void glClear(int mask)
Specified by:
glClear in interface GLCommon

glClearColor

public void glClearColor(float red,
                         float green,
                         float blue,
                         float alpha)
Specified by:
glClearColor in interface GLCommon

glClearDepthf

public void glClearDepthf(float depth)
Specified by:
glClearDepthf in interface GLCommon

glClearStencil

public void glClearStencil(int s)
Specified by:
glClearStencil in interface GLCommon

glColorMask

public void glColorMask(boolean red,
                        boolean green,
                        boolean blue,
                        boolean alpha)
Specified by:
glColorMask in interface GLCommon

glCompileShader

public void glCompileShader(int shader)
Specified by:
glCompileShader in interface GL20

glCompressedTexImage2D

public void glCompressedTexImage2D(int target,
                                   int level,
                                   int internalformat,
                                   int width,
                                   int height,
                                   int border,
                                   int imageSize,
                                   Buffer data)
Specified by:
glCompressedTexImage2D in interface GLCommon

glCompressedTexSubImage2D

public void glCompressedTexSubImage2D(int target,
                                      int level,
                                      int xoffset,
                                      int yoffset,
                                      int width,
                                      int height,
                                      int format,
                                      int imageSize,
                                      Buffer data)
Specified by:
glCompressedTexSubImage2D in interface GLCommon

glCopyTexImage2D

public void glCopyTexImage2D(int target,
                             int level,
                             int internalformat,
                             int x,
                             int y,
                             int width,
                             int height,
                             int border)
Specified by:
glCopyTexImage2D in interface GLCommon

glCopyTexSubImage2D

public void glCopyTexSubImage2D(int target,
                                int level,
                                int xoffset,
                                int yoffset,
                                int x,
                                int y,
                                int width,
                                int height)
Specified by:
glCopyTexSubImage2D in interface GLCommon

glCreateProgram

public int glCreateProgram()
Specified by:
glCreateProgram in interface GL20

glCreateShader

public int glCreateShader(int type)
Specified by:
glCreateShader in interface GL20

glCullFace

public void glCullFace(int mode)
Specified by:
glCullFace in interface GLCommon

glDeleteBuffers

public void glDeleteBuffers(int n,
                            IntBuffer buffers)
Specified by:
glDeleteBuffers in interface GL20

glDeleteFramebuffers

public void glDeleteFramebuffers(int n,
                                 IntBuffer framebuffers)
Specified by:
glDeleteFramebuffers in interface GL20

glDeleteProgram

public void glDeleteProgram(int program)
Specified by:
glDeleteProgram in interface GL20

glDeleteRenderbuffers

public void glDeleteRenderbuffers(int n,
                                  IntBuffer renderbuffers)
Specified by:
glDeleteRenderbuffers in interface GL20

glDeleteShader

public void glDeleteShader(int shader)
Specified by:
glDeleteShader in interface GL20

glDeleteTextures

public void glDeleteTextures(int n,
                             IntBuffer textures)
Specified by:
glDeleteTextures in interface GLCommon

glDepthFunc

public void glDepthFunc(int func)
Specified by:
glDepthFunc in interface GLCommon

glDepthMask

public void glDepthMask(boolean flag)
Specified by:
glDepthMask in interface GLCommon

glDepthRangef

public void glDepthRangef(float zNear,
                          float zFar)
Specified by:
glDepthRangef in interface GLCommon

glDetachShader

public void glDetachShader(int program,
                           int shader)
Specified by:
glDetachShader in interface GL20

glDisable

public void glDisable(int cap)
Specified by:
glDisable in interface GLCommon

glDisableVertexAttribArray

public void glDisableVertexAttribArray(int index)
Specified by:
glDisableVertexAttribArray in interface GL20

glDrawArrays

public void glDrawArrays(int mode,
                         int first,
                         int count)
Specified by:
glDrawArrays in interface GLCommon

glDrawElements

public void glDrawElements(int mode,
                           int count,
                           int type,
                           Buffer indices)
Specified by:
glDrawElements in interface GLCommon

glDrawElements

public void glDrawElements(int mode,
                           int count,
                           int type,
                           int indices)
Specified by:
glDrawElements in interface GL20

glEnable

public void glEnable(int cap)
Specified by:
glEnable in interface GLCommon

glEnableVertexAttribArray

public void glEnableVertexAttribArray(int index)
Specified by:
glEnableVertexAttribArray in interface GL20

glFinish

public void glFinish()
Specified by:
glFinish in interface GLCommon

glFlush

public void glFlush()
Specified by:
glFlush in interface GLCommon

glFramebufferRenderbuffer

public void glFramebufferRenderbuffer(int target,
                                      int attachment,
                                      int renderbuffertarget,
                                      int renderbuffer)
Specified by:
glFramebufferRenderbuffer in interface GL20

glFramebufferTexture2D

public void glFramebufferTexture2D(int target,
                                   int attachment,
                                   int textarget,
                                   int texture,
                                   int level)
Specified by:
glFramebufferTexture2D in interface GL20

glFrontFace

public void glFrontFace(int mode)
Specified by:
glFrontFace in interface GLCommon

glGenBuffers

public void glGenBuffers(int n,
                         IntBuffer buffers)
Specified by:
glGenBuffers in interface GL20

glGenerateMipmap

public void glGenerateMipmap(int target)
Specified by:
glGenerateMipmap in interface GL20

glGenFramebuffers

public void glGenFramebuffers(int n,
                              IntBuffer framebuffers)
Specified by:
glGenFramebuffers in interface GL20

glGenRenderbuffers

public void glGenRenderbuffers(int n,
                               IntBuffer renderbuffers)
Specified by:
glGenRenderbuffers in interface GL20

glGenTextures

public void glGenTextures(int n,
                          IntBuffer textures)
Specified by:
glGenTextures in interface GLCommon

glGetActiveAttrib

public String glGetActiveAttrib(int program,
                                int index,
                                IntBuffer size,
                                Buffer type)
Specified by:
glGetActiveAttrib in interface GL20

glGetActiveUniform

public String glGetActiveUniform(int program,
                                 int index,
                                 IntBuffer size,
                                 Buffer type)
Specified by:
glGetActiveUniform in interface GL20

glGetAttachedShaders

public void glGetAttachedShaders(int program,
                                 int maxcount,
                                 Buffer count,
                                 IntBuffer shaders)
Specified by:
glGetAttachedShaders in interface GL20

glGetAttribLocation

public int glGetAttribLocation(int program,
                               String name)
Specified by:
glGetAttribLocation in interface GL20

glGetBooleanv

public void glGetBooleanv(int pname,
                          Buffer params)
Specified by:
glGetBooleanv in interface GL20

glGetBufferParameteriv

public void glGetBufferParameteriv(int target,
                                   int pname,
                                   IntBuffer params)
Specified by:
glGetBufferParameteriv in interface GL20

glGetError

public int glGetError()
Specified by:
glGetError in interface GLCommon

glGetFloatv

public void glGetFloatv(int pname,
                        FloatBuffer params)
Specified by:
glGetFloatv in interface GL20

glGetFramebufferAttachmentParameteriv

public void glGetFramebufferAttachmentParameteriv(int target,
                                                  int attachment,
                                                  int pname,
                                                  IntBuffer params)
Specified by:
glGetFramebufferAttachmentParameteriv in interface GL20

glGetIntegerv

public void glGetIntegerv(int pname,
                          IntBuffer params)
Specified by:
glGetIntegerv in interface GLCommon

glGetProgramiv

public void glGetProgramiv(int program,
                           int pname,
                           IntBuffer params)
Specified by:
glGetProgramiv in interface GL20

glGetProgramInfoLog

public String glGetProgramInfoLog(int program)
Specified by:
glGetProgramInfoLog in interface GL20

glGetRenderbufferParameteriv

public void glGetRenderbufferParameteriv(int target,
                                         int pname,
                                         IntBuffer params)
Specified by:
glGetRenderbufferParameteriv in interface GL20

glGetShaderiv

public void glGetShaderiv(int shader,
                          int pname,
                          IntBuffer params)
Specified by:
glGetShaderiv in interface GL20

glGetShaderInfoLog

public String glGetShaderInfoLog(int shader)
Specified by:
glGetShaderInfoLog in interface GL20

glGetShaderPrecisionFormat

public void glGetShaderPrecisionFormat(int shadertype,
                                       int precisiontype,
                                       IntBuffer range,
                                       IntBuffer precision)
Specified by:
glGetShaderPrecisionFormat in interface GL20

glGetShaderSource

public void glGetShaderSource(int shader,
                              int bufsize,
                              Buffer length,
                              String source)

glGetString

public String glGetString(int name)
Specified by:
glGetString in interface GLCommon

glGetTexParameterfv

public void glGetTexParameterfv(int target,
                                int pname,
                                FloatBuffer params)
Specified by:
glGetTexParameterfv in interface GL20

glGetTexParameteriv

public void glGetTexParameteriv(int target,
                                int pname,
                                IntBuffer params)
Specified by:
glGetTexParameteriv in interface GL20

glGetUniformfv

public void glGetUniformfv(int program,
                           int location,
                           FloatBuffer params)
Specified by:
glGetUniformfv in interface GL20

glGetUniformiv

public void glGetUniformiv(int program,
                           int location,
                           IntBuffer params)
Specified by:
glGetUniformiv in interface GL20

glGetUniformLocation

public int glGetUniformLocation(int program,
                                String name)
Specified by:
glGetUniformLocation in interface GL20

glGetVertexAttribfv

public void glGetVertexAttribfv(int index,
                                int pname,
                                FloatBuffer params)
Specified by:
glGetVertexAttribfv in interface GL20

glGetVertexAttribiv

public void glGetVertexAttribiv(int index,
                                int pname,
                                IntBuffer params)
Specified by:
glGetVertexAttribiv in interface GL20

glGetVertexAttribPointerv

public void glGetVertexAttribPointerv(int index,
                                      int pname,
                                      Buffer pointer)
Specified by:
glGetVertexAttribPointerv in interface GL20

glHint

public void glHint(int target,
                   int mode)
Specified by:
glHint in interface GLCommon

glIsBuffer

public boolean glIsBuffer(int buffer)
Specified by:
glIsBuffer in interface GL20

glIsEnabled

public boolean glIsEnabled(int cap)
Specified by:
glIsEnabled in interface GL20

glIsFramebuffer

public boolean glIsFramebuffer(int framebuffer)
Specified by:
glIsFramebuffer in interface GL20

glIsProgram

public boolean glIsProgram(int program)
Specified by:
glIsProgram in interface GL20

glIsRenderbuffer

public boolean glIsRenderbuffer(int renderbuffer)
Specified by:
glIsRenderbuffer in interface GL20

glIsShader

public boolean glIsShader(int shader)
Specified by:
glIsShader in interface GL20

glIsTexture

public boolean glIsTexture(int texture)
Specified by:
glIsTexture in interface GL20

glLineWidth

public void glLineWidth(float width)
Specified by:
glLineWidth in interface GLCommon

glLinkProgram

public void glLinkProgram(int program)
Specified by:
glLinkProgram in interface GL20

glPixelStorei

public void glPixelStorei(int pname,
                          int param)
Specified by:
glPixelStorei in interface GLCommon

glPolygonOffset

public void glPolygonOffset(float factor,
                            float units)
Specified by:
glPolygonOffset in interface GLCommon

glReadPixels

public void glReadPixels(int x,
                         int y,
                         int width,
                         int height,
                         int format,
                         int type,
                         Buffer pixels)
Specified by:
glReadPixels in interface GLCommon

glReleaseShaderCompiler

public void glReleaseShaderCompiler()
Specified by:
glReleaseShaderCompiler in interface GL20

glRenderbufferStorage

public void glRenderbufferStorage(int target,
                                  int internalformat,
                                  int width,
                                  int height)
Specified by:
glRenderbufferStorage in interface GL20

glSampleCoverage

public void glSampleCoverage(float value,
                             boolean invert)
Specified by:
glSampleCoverage in interface GL20

glScissor

public void glScissor(int x,
                      int y,
                      int width,
                      int height)
Specified by:
glScissor in interface GLCommon

glShaderBinary

public void glShaderBinary(int n,
                           IntBuffer shaders,
                           int binaryformat,
                           Buffer binary,
                           int length)
Specified by:
glShaderBinary in interface GL20

glShaderSource

public void glShaderSource(int shader,
                           String string)
Specified by:
glShaderSource in interface GL20

glStencilFunc

public void glStencilFunc(int func,
                          int ref,
                          int mask)
Specified by:
glStencilFunc in interface GLCommon

glStencilFuncSeparate

public void glStencilFuncSeparate(int face,
                                  int func,
                                  int ref,
                                  int mask)
Specified by:
glStencilFuncSeparate in interface GL20

glStencilMask

public void glStencilMask(int mask)
Specified by:
glStencilMask in interface GLCommon

glStencilMaskSeparate

public void glStencilMaskSeparate(int face,
                                  int mask)
Specified by:
glStencilMaskSeparate in interface GL20

glStencilOp

public void glStencilOp(int fail,
                        int zfail,
                        int zpass)
Specified by:
glStencilOp in interface GLCommon

glStencilOpSeparate

public void glStencilOpSeparate(int face,
                                int fail,
                                int zfail,
                                int zpass)
Specified by:
glStencilOpSeparate in interface GL20

glTexImage2D

public void glTexImage2D(int target,
                         int level,
                         int internalformat,
                         int width,
                         int height,
                         int border,
                         int format,
                         int type,
                         Buffer pixels)
Specified by:
glTexImage2D in interface GLCommon

glTexParameterf

public void glTexParameterf(int target,
                            int pname,
                            float param)
Specified by:
glTexParameterf in interface GLCommon

glTexParameterfv

public void glTexParameterfv(int target,
                             int pname,
                             FloatBuffer params)
Specified by:
glTexParameterfv in interface GL20

glTexParameteri

public void glTexParameteri(int target,
                            int pname,
                            int param)
Specified by:
glTexParameteri in interface GL20

glTexParameteriv

public void glTexParameteriv(int target,
                             int pname,
                             IntBuffer params)
Specified by:
glTexParameteriv in interface GL20

glTexSubImage2D

public void glTexSubImage2D(int target,
                            int level,
                            int xoffset,
                            int yoffset,
                            int width,
                            int height,
                            int format,
                            int type,
                            Buffer pixels)
Specified by:
glTexSubImage2D in interface GLCommon

glUniform1f

public void glUniform1f(int location,
                        float x)
Specified by:
glUniform1f in interface GL20

glUniform1fv

public void glUniform1fv(int location,
                         int count,
                         FloatBuffer v)
Specified by:
glUniform1fv in interface GL20

glUniform1i

public void glUniform1i(int location,
                        int x)
Specified by:
glUniform1i in interface GL20

glUniform1iv

public void glUniform1iv(int location,
                         int count,
                         IntBuffer v)
Specified by:
glUniform1iv in interface GL20

glUniform2f

public void glUniform2f(int location,
                        float x,
                        float y)
Specified by:
glUniform2f in interface GL20

glUniform2fv

public void glUniform2fv(int location,
                         int count,
                         FloatBuffer v)
Specified by:
glUniform2fv in interface GL20

glUniform2i

public void glUniform2i(int location,
                        int x,
                        int y)
Specified by:
glUniform2i in interface GL20

glUniform2iv

public void glUniform2iv(int location,
                         int count,
                         IntBuffer v)
Specified by:
glUniform2iv in interface GL20

glUniform3f

public void glUniform3f(int location,
                        float x,
                        float y,
                        float z)
Specified by:
glUniform3f in interface GL20

glUniform3fv

public void glUniform3fv(int location,
                         int count,
                         FloatBuffer v)
Specified by:
glUniform3fv in interface GL20

glUniform3i

public void glUniform3i(int location,
                        int x,
                        int y,
                        int z)
Specified by:
glUniform3i in interface GL20

glUniform3iv

public void glUniform3iv(int location,
                         int count,
                         IntBuffer v)
Specified by:
glUniform3iv in interface GL20

glUniform4f

public void glUniform4f(int location,
                        float x,
                        float y,
                        float z,
                        float w)
Specified by:
glUniform4f in interface GL20

glUniform4fv

public void glUniform4fv(int location,
                         int count,
                         FloatBuffer v)
Specified by:
glUniform4fv in interface GL20

glUniform4i

public void glUniform4i(int location,
                        int x,
                        int y,
                        int z,
                        int w)
Specified by:
glUniform4i in interface GL20

glUniform4iv

public void glUniform4iv(int location,
                         int count,
                         IntBuffer v)
Specified by:
glUniform4iv in interface GL20

glUniformMatrix2fv

public void glUniformMatrix2fv(int location,
                               int count,
                               boolean transpose,
                               FloatBuffer value)
Specified by:
glUniformMatrix2fv in interface GL20

glUniformMatrix3fv

public void glUniformMatrix3fv(int location,
                               int count,
                               boolean transpose,
                               FloatBuffer value)
Specified by:
glUniformMatrix3fv in interface GL20

glUniformMatrix4fv

public void glUniformMatrix4fv(int location,
                               int count,
                               boolean transpose,
                               FloatBuffer value)
Specified by:
glUniformMatrix4fv in interface GL20

glUseProgram

public void glUseProgram(int program)
Specified by:
glUseProgram in interface GL20

glValidateProgram

public void glValidateProgram(int program)
Specified by:
glValidateProgram in interface GL20

glVertexAttrib1f

public void glVertexAttrib1f(int indx,
                             float x)
Specified by:
glVertexAttrib1f in interface GL20

glVertexAttrib1fv

public void glVertexAttrib1fv(int indx,
                              FloatBuffer values)
Specified by:
glVertexAttrib1fv in interface GL20

glVertexAttrib2f

public void glVertexAttrib2f(int indx,
                             float x,
                             float y)
Specified by:
glVertexAttrib2f in interface GL20

glVertexAttrib2fv

public void glVertexAttrib2fv(int indx,
                              FloatBuffer values)
Specified by:
glVertexAttrib2fv in interface GL20

glVertexAttrib3f

public void glVertexAttrib3f(int indx,
                             float x,
                             float y,
                             float z)
Specified by:
glVertexAttrib3f in interface GL20

glVertexAttrib3fv

public void glVertexAttrib3fv(int indx,
                              FloatBuffer values)
Specified by:
glVertexAttrib3fv in interface GL20

glVertexAttrib4f

public void glVertexAttrib4f(int indx,
                             float x,
                             float y,
                             float z,
                             float w)
Specified by:
glVertexAttrib4f in interface GL20

glVertexAttrib4fv

public void glVertexAttrib4fv(int indx,
                              FloatBuffer values)
Specified by:
glVertexAttrib4fv in interface GL20

glVertexAttribPointer

public void glVertexAttribPointer(int indx,
                                  int size,
                                  int type,
                                  boolean normalized,
                                  int stride,
                                  Buffer ptr)
Specified by:
glVertexAttribPointer in interface GL20

glVertexAttribPointer

public void glVertexAttribPointer(int indx,
                                  int size,
                                  int type,
                                  boolean normalized,
                                  int stride,
                                  int ptr)
Specified by:
glVertexAttribPointer in interface GL20

glViewport

public void glViewport(int x,
                       int y,
                       int width,
                       int height)
Specified by:
glViewport in interface GLCommon


Copyright © 2013. All Rights Reserved.