Class GdxGL

  • All Implemented Interfaces:
    com.badlogic.gdx.graphics.GL20, org.oscim.backend.GL

    public class GdxGL
    extends com.badlogic.gdx.backends.gwt.GwtGL20
    implements org.oscim.backend.GL
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected com.google.gwt.webgl.client.WebGLRenderingContext gl  
      • Fields inherited from interface org.oscim.backend.GL

        ACTIVE_ATTRIBUTE_MAX_LENGTH, ACTIVE_ATTRIBUTES, ACTIVE_TEXTURE, ACTIVE_UNIFORM_MAX_LENGTH, ACTIVE_UNIFORMS, ALIASED_LINE_WIDTH_RANGE, ALIASED_POINT_SIZE_RANGE, ALPHA, ALPHA_BITS, ALWAYS, ARRAY_BUFFER, ARRAY_BUFFER_BINDING, ATTACHED_SHADERS, BACK, BLEND, BLEND_COLOR, BLEND_DST_ALPHA, BLEND_DST_RGB, BLEND_EQUATION, BLEND_EQUATION_ALPHA, BLEND_EQUATION_RGB, BLEND_SRC_ALPHA, BLEND_SRC_RGB, BLUE_BITS, BOOL, BOOL_VEC2, BOOL_VEC3, BOOL_VEC4, BUFFER_SIZE, BUFFER_USAGE, BYTE, CCW, CLAMP_TO_EDGE, COLOR_ATTACHMENT0, COLOR_BUFFER_BIT, COLOR_CLEAR_VALUE, COLOR_WRITEMASK, COMPILE_STATUS, COMPRESSED_TEXTURE_FORMATS, CONSTANT_ALPHA, CONSTANT_COLOR, COVERAGE_BUFFER_BIT_NV, CULL_FACE, CULL_FACE_MODE, CURRENT_PROGRAM, CURRENT_VERTEX_ATTRIB, CW, DECR, DECR_WRAP, DELETE_STATUS, DEPTH_ATTACHMENT, DEPTH_BITS, DEPTH_BUFFER_BIT, DEPTH_CLEAR_VALUE, DEPTH_COMPONENT, DEPTH_COMPONENT16, DEPTH_FUNC, DEPTH_RANGE, DEPTH_TEST, DEPTH_WRITEMASK, DITHER, DONT_CARE, DST_ALPHA, DST_COLOR, DYNAMIC_DRAW, ELEMENT_ARRAY_BUFFER, ELEMENT_ARRAY_BUFFER_BINDING, EQUAL, ES_VERSION_2_0, EXTENSIONS, FALSE, FASTEST, FIXED, FLOAT, FLOAT_MAT2, FLOAT_MAT3, FLOAT_MAT4, FLOAT_VEC2, FLOAT_VEC3, FLOAT_VEC4, FRAGMENT_SHADER, FRAMEBUFFER, FRAMEBUFFER_ATTACHMENT_OBJECT_NAME, FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE, FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE, FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL, FRAMEBUFFER_BINDING, FRAMEBUFFER_COMPLETE, FRAMEBUFFER_INCOMPLETE_ATTACHMENT, FRAMEBUFFER_INCOMPLETE_DIMENSIONS, FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT, FRAMEBUFFER_UNSUPPORTED, FRONT, FRONT_AND_BACK, FRONT_FACE, FUNC_ADD, FUNC_REVERSE_SUBTRACT, FUNC_SUBTRACT, GENERATE_MIPMAP, GENERATE_MIPMAP_HINT, GEQUAL, GREATER, GREEN_BITS, HIGH_FLOAT, HIGH_INT, IMPLEMENTATION_COLOR_READ_FORMAT, IMPLEMENTATION_COLOR_READ_TYPE, INCR, INCR_WRAP, INFO_LOG_LENGTH, INT, INT_VEC2, INT_VEC3, INT_VEC4, INVALID_ENUM, INVALID_FRAMEBUFFER_OPERATION, INVALID_OPERATION, INVALID_VALUE, INVERT, KEEP, LEQUAL, LESS, LINE_LOOP, LINE_STRIP, LINE_WIDTH, LINEAR, LINEAR_MIPMAP_LINEAR, LINEAR_MIPMAP_NEAREST, LINES, LINK_STATUS, LOW_FLOAT, LOW_INT, LUMINANCE, LUMINANCE_ALPHA, MAX_COMBINED_TEXTURE_IMAGE_UNITS, MAX_CUBE_MAP_TEXTURE_SIZE, MAX_FRAGMENT_UNIFORM_VECTORS, MAX_RENDERBUFFER_SIZE, MAX_TEXTURE_IMAGE_UNITS, MAX_TEXTURE_MAX_ANISOTROPY_EXT, MAX_TEXTURE_SIZE, MAX_TEXTURE_UNITS, MAX_VARYING_VECTORS, MAX_VERTEX_ATTRIBS, MAX_VERTEX_TEXTURE_IMAGE_UNITS, MAX_VERTEX_UNIFORM_VECTORS, MAX_VIEWPORT_DIMS, MEDIUM_FLOAT, MEDIUM_INT, MIRRORED_REPEAT, NEAREST, NEAREST_MIPMAP_LINEAR, NEAREST_MIPMAP_NEAREST, NEVER, NICEST, NO_ERROR, NONE, NOTEQUAL, NUM_COMPRESSED_TEXTURE_FORMATS, NUM_SHADER_BINARY_FORMATS, ONE, ONE_MINUS_CONSTANT_ALPHA, ONE_MINUS_CONSTANT_COLOR, ONE_MINUS_DST_ALPHA, ONE_MINUS_DST_COLOR, ONE_MINUS_SRC_ALPHA, ONE_MINUS_SRC_COLOR, OUT_OF_MEMORY, PACK_ALIGNMENT, POINTS, POLYGON_OFFSET_FACTOR, POLYGON_OFFSET_FILL, POLYGON_OFFSET_UNITS, RED_BITS, RENDERBUFFER, RENDERBUFFER_ALPHA_SIZE, RENDERBUFFER_BINDING, RENDERBUFFER_BLUE_SIZE, RENDERBUFFER_DEPTH_SIZE, RENDERBUFFER_GREEN_SIZE, RENDERBUFFER_HEIGHT, RENDERBUFFER_INTERNAL_FORMAT, RENDERBUFFER_RED_SIZE, RENDERBUFFER_STENCIL_SIZE, RENDERBUFFER_WIDTH, RENDERER, REPEAT, REPLACE, RGB, RGB5_A1, RGB565, RGBA, RGBA4, SAMPLE_ALPHA_TO_COVERAGE, SAMPLE_BUFFERS, SAMPLE_COVERAGE, SAMPLE_COVERAGE_INVERT, SAMPLE_COVERAGE_VALUE, SAMPLER_2D, SAMPLER_CUBE, SAMPLES, SCISSOR_BOX, SCISSOR_TEST, SHADER_BINARY_FORMATS, SHADER_COMPILER, SHADER_SOURCE_LENGTH, SHADER_TYPE, SHADING_LANGUAGE_VERSION, SHORT, SRC_ALPHA, SRC_ALPHA_SATURATE, SRC_COLOR, STATIC_DRAW, STENCIL_ATTACHMENT, STENCIL_BACK_FAIL, STENCIL_BACK_FUNC, STENCIL_BACK_PASS_DEPTH_FAIL, STENCIL_BACK_PASS_DEPTH_PASS, STENCIL_BACK_REF, STENCIL_BACK_VALUE_MASK, STENCIL_BACK_WRITEMASK, STENCIL_BITS, STENCIL_BUFFER_BIT, STENCIL_CLEAR_VALUE, STENCIL_FAIL, STENCIL_FUNC, STENCIL_INDEX, STENCIL_INDEX8, STENCIL_PASS_DEPTH_FAIL, STENCIL_PASS_DEPTH_PASS, STENCIL_REF, STENCIL_TEST, STENCIL_VALUE_MASK, STENCIL_WRITEMASK, STREAM_DRAW, SUBPIXEL_BITS, TEXTURE, TEXTURE_2D, TEXTURE_BINDING_2D, TEXTURE_BINDING_CUBE_MAP, TEXTURE_CUBE_MAP, TEXTURE_CUBE_MAP_NEGATIVE_X, TEXTURE_CUBE_MAP_NEGATIVE_Y, TEXTURE_CUBE_MAP_NEGATIVE_Z, TEXTURE_CUBE_MAP_POSITIVE_X, TEXTURE_CUBE_MAP_POSITIVE_Y, TEXTURE_CUBE_MAP_POSITIVE_Z, TEXTURE_MAG_FILTER, TEXTURE_MAX_ANISOTROPY_EXT, TEXTURE_MIN_FILTER, TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE0, TEXTURE1, TEXTURE10, TEXTURE11, TEXTURE12, TEXTURE13, TEXTURE14, TEXTURE15, TEXTURE16, TEXTURE17, TEXTURE18, TEXTURE19, TEXTURE2, TEXTURE20, TEXTURE21, TEXTURE22, TEXTURE23, TEXTURE24, TEXTURE25, TEXTURE26, TEXTURE27, TEXTURE28, TEXTURE29, TEXTURE3, TEXTURE30, TEXTURE31, TEXTURE4, TEXTURE5, TEXTURE6, TEXTURE7, TEXTURE8, TEXTURE9, TRIANGLE_FAN, TRIANGLE_STRIP, TRIANGLES, TRUE, UNPACK_ALIGNMENT, UNSIGNED_BYTE, UNSIGNED_INT, UNSIGNED_SHORT, UNSIGNED_SHORT_4_4_4_4, UNSIGNED_SHORT_5_5_5_1, UNSIGNED_SHORT_5_6_5, VALIDATE_STATUS, VENDOR, VERSION, VERTEX_ATTRIB_ARRAY_BUFFER_BINDING, VERTEX_ATTRIB_ARRAY_ENABLED, VERTEX_ATTRIB_ARRAY_NORMALIZED, VERTEX_ATTRIB_ARRAY_POINTER, VERTEX_ATTRIB_ARRAY_SIZE, VERTEX_ATTRIB_ARRAY_STRIDE, VERTEX_ATTRIB_ARRAY_TYPE, VERTEX_PROGRAM_POINT_SIZE, VERTEX_SHADER, VIEWPORT, ZERO
      • 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, 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_MAX_ANISOTROPY_EXT, 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_MAX_ANISOTROPY_EXT, 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
    • Constructor Summary

      Constructors 
      Constructor Description
      GdxGL​(com.google.gwt.webgl.client.WebGLRenderingContext gl)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void activeTexture​(int texture)  
      void attachShader​(int program, int shader)  
      void bindAttribLocation​(int program, int index, java.lang.String name)  
      void bindBuffer​(int target, int buffer)  
      void bindFramebuffer​(int target, int framebuffer)  
      void bindRenderbuffer​(int target, int renderbuffer)  
      void bindTexture​(int target, int texture)  
      void blendColor​(float red, float green, float blue, float alpha)  
      void blendEquation​(int mode)  
      void blendEquationSeparate​(int modeRGB, int modeAlpha)  
      void blendFunc​(int sfactor, int dfactor)  
      void blendFuncSeparate​(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha)  
      void bufferData​(int target, int size, java.nio.Buffer data, int usage)  
      void bufferSubData​(int target, int offset, int size, java.nio.Buffer data)  
      int checkFramebufferStatus​(int target)  
      void clear​(int mask)  
      void clearColor​(float red, float green, float blue, float alpha)  
      void clearDepthf​(float depth)  
      void clearStencil​(int s)  
      void colorMask​(boolean red, boolean green, boolean blue, boolean alpha)  
      void compileShader​(int shader)  
      void compressedTexImage2D​(int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data)  
      void compressedTexSubImage2D​(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data)  
      void copyTexImage2D​(int target, int level, int internalformat, int x, int y, int width, int height, int border)  
      void copyTexSubImage2D​(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)  
      int createProgram()  
      int createShader​(int type)  
      void cullFace​(int mode)  
      void deleteBuffer​(int buffer)  
      void deleteBuffers​(int n, java.nio.IntBuffer buffers)  
      void deleteFramebuffer​(int framebuffer)  
      void deleteFramebuffers​(int n, java.nio.IntBuffer framebuffers)  
      void deleteProgram​(int program)  
      void deleteRenderbuffer​(int renderbuffer)  
      void deleteRenderbuffers​(int n, java.nio.IntBuffer renderbuffers)  
      void deleteShader​(int shader)  
      void deleteTexture​(int texture)  
      void deleteTextures​(int n, java.nio.IntBuffer textures)  
      void depthFunc​(int func)  
      void depthMask​(boolean flag)  
      void depthRangef​(float zNear, float zFar)  
      void detachShader​(int program, int shader)  
      void disable​(int cap)  
      void disableVertexAttribArray​(int index)  
      void drawArrays​(int mode, int first, int count)  
      void drawElements​(int mode, int count, int type, int indices)  
      void drawElements​(int mode, int count, int type, java.nio.Buffer indices)  
      void enable​(int cap)  
      void enableVertexAttribArray​(int index)  
      void finish()  
      void flush()  
      void framebufferRenderbuffer​(int target, int attachment, int renderbuffertarget, int renderbuffer)  
      void framebufferTexture2D​(int target, int attachment, int textarget, int texture, int level)  
      void frontFace​(int mode)  
      int genBuffer()  
      void genBuffers​(int n, java.nio.IntBuffer buffers)  
      void generateMipmap​(int target)  
      int genFramebuffer()  
      void genFramebuffers​(int n, java.nio.IntBuffer framebuffers)  
      int genRenderbuffer()  
      void genRenderbuffers​(int n, java.nio.IntBuffer renderbuffers)  
      int genTexture()  
      void genTextures​(int n, java.nio.IntBuffer textures)  
      java.lang.String getActiveAttrib​(int program, int index, java.nio.IntBuffer size, java.nio.Buffer type)  
      java.lang.String getActiveUniform​(int program, int index, java.nio.IntBuffer size, java.nio.Buffer type)  
      void getAttachedShaders​(int program, int maxcount, java.nio.Buffer count, java.nio.IntBuffer shaders)  
      int getAttribLocation​(int program, java.lang.String name)  
      void getBooleanv​(int pname, java.nio.Buffer params)  
      void getBufferParameteriv​(int target, int pname, java.nio.IntBuffer params)  
      int getError()  
      void getFloatv​(int pname, java.nio.FloatBuffer params)  
      void getFramebufferAttachmentParameteriv​(int target, int attachment, int pname, java.nio.IntBuffer params)  
      void getIntegerv​(int pname, java.nio.IntBuffer params)  
      java.lang.String getProgramInfoLog​(int program)  
      void getProgramiv​(int program, int pname, java.nio.IntBuffer params)  
      void getRenderbufferParameteriv​(int target, int pname, java.nio.IntBuffer params)  
      java.lang.String getShaderInfoLog​(int shader)  
      void getShaderiv​(int shader, int pname, java.nio.IntBuffer params)  
      void getShaderPrecisionFormat​(int shadertype, int precisiontype, java.nio.IntBuffer range, java.nio.IntBuffer precision)  
      java.lang.String getString​(int name)  
      void getTexParameterfv​(int target, int pname, java.nio.FloatBuffer params)  
      void getTexParameteriv​(int target, int pname, java.nio.IntBuffer params)  
      void getUniformfv​(int program, int location, java.nio.FloatBuffer params)  
      void getUniformiv​(int program, int location, java.nio.IntBuffer params)  
      int getUniformLocation​(int program, java.lang.String name)  
      void getVertexAttribfv​(int index, int pname, java.nio.FloatBuffer params)  
      void getVertexAttribiv​(int index, int pname, java.nio.IntBuffer params)  
      void getVertexAttribPointerv​(int index, int pname, java.nio.Buffer pointer)  
      void glTexImage2D​(int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels)  
      void hint​(int target, int mode)  
      boolean isBuffer​(int buffer)  
      boolean isEnabled​(int cap)  
      boolean isFramebuffer​(int framebuffer)  
      boolean isProgram​(int program)  
      boolean isRenderbuffer​(int renderbuffer)  
      boolean isShader​(int shader)  
      boolean isTexture​(int texture)  
      void lineWidth​(float width)  
      void linkProgram​(int program)  
      void pixelStorei​(int pname, int param)  
      void polygonOffset​(float factor, float units)  
      void readPixels​(int x, int y, int width, int height, int format, int type, java.nio.Buffer pixels)  
      void releaseShaderCompiler()  
      void renderbufferStorage​(int target, int internalformat, int width, int height)  
      void sampleCoverage​(float value, boolean invert)  
      void scissor​(int x, int y, int width, int height)  
      void shaderBinary​(int n, java.nio.IntBuffer shaders, int binaryformat, java.nio.Buffer binary, int length)  
      void shaderSource​(int shader, java.lang.String string)  
      void stencilFunc​(int func, int ref, int mask)  
      void stencilFuncSeparate​(int face, int func, int ref, int mask)  
      void stencilMask​(int mask)  
      void stencilMaskSeparate​(int face, int mask)  
      void stencilOp​(int fail, int zfail, int zpass)  
      void stencilOpSeparate​(int face, int fail, int zfail, int zpass)  
      void texImage2D​(int target, int level, int internalFormat, int width, int height, int border, int format, int type, java.nio.Buffer pixels)  
      void texParameterf​(int target, int pname, float param)  
      void texParameterfv​(int target, int pname, java.nio.FloatBuffer params)  
      void texParameteri​(int target, int pname, int param)  
      void texParameteriv​(int target, int pname, java.nio.IntBuffer params)  
      void texSubImage2D​(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, java.nio.Buffer pixels)  
      void uniform1f​(int location, float x)  
      void uniform1fv​(int location, int count, float[] v, int offset)  
      void uniform1fv​(int location, int count, java.nio.FloatBuffer v)  
      void uniform1i​(int location, int x)  
      void uniform1iv​(int location, int count, int[] v, int offset)  
      void uniform1iv​(int location, int count, java.nio.IntBuffer v)  
      void uniform2f​(int location, float x, float y)  
      void uniform2fv​(int location, int count, float[] v, int offset)  
      void uniform2fv​(int location, int count, java.nio.FloatBuffer v)  
      void uniform2i​(int location, int x, int y)  
      void uniform2iv​(int location, int count, int[] v, int offset)  
      void uniform2iv​(int location, int count, java.nio.IntBuffer v)  
      void uniform3f​(int location, float x, float y, float z)  
      void uniform3fv​(int location, int count, float[] v, int offset)  
      void uniform3fv​(int location, int count, java.nio.FloatBuffer v)  
      void uniform3i​(int location, int x, int y, int z)  
      void uniform3iv​(int location, int count, int[] v, int offset)  
      void uniform3iv​(int location, int count, java.nio.IntBuffer v)  
      void uniform4f​(int location, float x, float y, float z, float w)  
      void uniform4fv​(int location, int count, float[] v, int offset)  
      void uniform4fv​(int location, int count, java.nio.FloatBuffer v)  
      void uniform4i​(int location, int x, int y, int z, int w)  
      void uniform4iv​(int location, int count, int[] v, int offset)  
      void uniform4iv​(int location, int count, java.nio.IntBuffer v)  
      void uniformMatrix2fv​(int location, int count, boolean transpose, float[] value, int offset)  
      void uniformMatrix2fv​(int location, int count, boolean transpose, java.nio.FloatBuffer value)  
      void uniformMatrix3fv​(int location, int count, boolean transpose, float[] value, int offset)  
      void uniformMatrix3fv​(int location, int count, boolean transpose, java.nio.FloatBuffer value)  
      void uniformMatrix4fv​(int location, int count, boolean transpose, float[] value, int offset)  
      void uniformMatrix4fv​(int location, int count, boolean transpose, java.nio.FloatBuffer value)  
      void useProgram​(int program)  
      void validateProgram​(int program)  
      void vertexAttrib1f​(int indx, float x)  
      void vertexAttrib1fv​(int indx, java.nio.FloatBuffer values)  
      void vertexAttrib2f​(int indx, float x, float y)  
      void vertexAttrib2fv​(int indx, java.nio.FloatBuffer values)  
      void vertexAttrib3f​(int indx, float x, float y, float z)  
      void vertexAttrib3fv​(int indx, java.nio.FloatBuffer values)  
      void vertexAttrib4f​(int indx, float x, float y, float z, float w)  
      void vertexAttrib4fv​(int indx, java.nio.FloatBuffer values)  
      void vertexAttribPointer​(int indx, int size, int type, boolean normalized, int stride, int ptr)  
      void vertexAttribPointer​(int indx, int size, int type, boolean normalized, int stride, java.nio.Buffer ptr)  
      void viewport​(int x, int y, int width, int height)  
      • Methods inherited from class com.badlogic.gdx.backends.gwt.GwtGL20

        copy, copy, copy, glActiveTexture, glAttachShader, glBindAttribLocation, glBindBuffer, glBindFramebuffer, glBindRenderbuffer, glBindTexture, glBlendColor, glBlendEquation, glBlendEquationSeparate, glBlendFunc, glBlendFuncSeparate, glBufferData, glBufferSubData, glCheckFramebufferStatus, glClear, glClearColor, glClearDepthf, glClearStencil, glColorMask, glCompileShader, glCompressedTexImage2D, glCompressedTexSubImage2D, glCopyTexImage2D, glCopyTexSubImage2D, glCreateProgram, glCreateShader, glCullFace, glDeleteBuffer, glDeleteBuffers, glDeleteFramebuffer, glDeleteFramebuffers, glDeleteProgram, glDeleteRenderbuffer, glDeleteRenderbuffers, glDeleteShader, glDeleteTexture, glDeleteTextures, glDepthFunc, glDepthMask, glDepthRangef, glDetachShader, glDisable, glDisableVertexAttribArray, glDrawArrays, glDrawElements, glDrawElements, glEnable, glEnableVertexAttribArray, glFinish, glFlush, glFramebufferRenderbuffer, glFramebufferTexture2D, glFrontFace, glGenBuffer, glGenBuffers, glGenerateMipmap, glGenFramebuffer, glGenFramebuffers, glGenRenderbuffer, glGenRenderbuffers, glGenTexture, glGenTextures, glGetActiveAttrib, glGetActiveUniform, glGetAttachedShaders, glGetAttribLocation, glGetBooleanv, glGetBufferParameteriv, glGetError, glGetFloatv, glGetFramebufferAttachmentParameteriv, glGetIntegerv, glGetProgramInfoLog, glGetProgramiv, glGetRenderbufferParameteriv, glGetShaderInfoLog, glGetShaderiv, glGetShaderPrecisionFormat, glGetString, glGetTexParameterfv, glGetTexParameteriv, glGetUniformfv, glGetUniformiv, glGetUniformLocation, glGetVertexAttribfv, glGetVertexAttribiv, glGetVertexAttribPointerv, glHint, glIsBuffer, glIsEnabled, glIsFramebuffer, glIsProgram, glIsRenderbuffer, glIsShader, glIsTexture, glLineWidth, glLinkProgram, glPixelStorei, glPolygonOffset, glReadPixels, glReleaseShaderCompiler, glRenderbufferStorage, glSampleCoverage, glScissor, glShaderBinary, glShaderSource, glStencilFunc, glStencilFuncSeparate, glStencilMask, glStencilMaskSeparate, glStencilOp, glStencilOpSeparate, glTexParameterf, glTexParameterfv, glTexParameteri, glTexParameteriv, glTexSubImage2D, glUniform1f, glUniform1fv, glUniform1fv, glUniform1i, glUniform1iv, glUniform1iv, glUniform2f, glUniform2fv, glUniform2fv, glUniform2i, glUniform2iv, glUniform2iv, glUniform3f, glUniform3fv, glUniform3fv, glUniform3i, glUniform3iv, glUniform3iv, glUniform4f, glUniform4fv, glUniform4fv, glUniform4i, glUniform4iv, glUniform4iv, glUniformMatrix2fv, glUniformMatrix2fv, glUniformMatrix3fv, glUniformMatrix3fv, glUniformMatrix4fv, glUniformMatrix4fv, glUseProgram, glValidateProgram, glVertexAttrib1f, glVertexAttrib1fv, glVertexAttrib2f, glVertexAttrib2fv, glVertexAttrib3f, glVertexAttrib3fv, glVertexAttrib4f, glVertexAttrib4fv, glVertexAttribPointer, glVertexAttribPointer, glViewport
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • gl

        protected final com.google.gwt.webgl.client.WebGLRenderingContext gl
    • Constructor Detail

      • GdxGL

        public GdxGL​(com.google.gwt.webgl.client.WebGLRenderingContext gl)
    • Method Detail

      • glTexImage2D

        public void glTexImage2D​(int target,
                                 int level,
                                 int internalformat,
                                 int width,
                                 int height,
                                 int border,
                                 int format,
                                 int type,
                                 java.nio.Buffer pixels)
        Specified by:
        glTexImage2D in interface com.badlogic.gdx.graphics.GL20
        Overrides:
        glTexImage2D in class com.badlogic.gdx.backends.gwt.GwtGL20
      • activeTexture

        public void activeTexture​(int texture)
        Specified by:
        activeTexture in interface org.oscim.backend.GL
      • bindTexture

        public void bindTexture​(int target,
                                int texture)
        Specified by:
        bindTexture in interface org.oscim.backend.GL
      • blendFunc

        public void blendFunc​(int sfactor,
                              int dfactor)
        Specified by:
        blendFunc in interface org.oscim.backend.GL
      • clear

        public void clear​(int mask)
        Specified by:
        clear in interface org.oscim.backend.GL
      • clearColor

        public void clearColor​(float red,
                               float green,
                               float blue,
                               float alpha)
        Specified by:
        clearColor in interface org.oscim.backend.GL
      • clearDepthf

        public void clearDepthf​(float depth)
        Specified by:
        clearDepthf in interface org.oscim.backend.GL
      • clearStencil

        public void clearStencil​(int s)
        Specified by:
        clearStencil in interface org.oscim.backend.GL
      • colorMask

        public void colorMask​(boolean red,
                              boolean green,
                              boolean blue,
                              boolean alpha)
        Specified by:
        colorMask in interface org.oscim.backend.GL
      • compressedTexImage2D

        public void compressedTexImage2D​(int target,
                                         int level,
                                         int internalformat,
                                         int width,
                                         int height,
                                         int border,
                                         int imageSize,
                                         java.nio.Buffer data)
        Specified by:
        compressedTexImage2D in interface org.oscim.backend.GL
      • compressedTexSubImage2D

        public void compressedTexSubImage2D​(int target,
                                            int level,
                                            int xoffset,
                                            int yoffset,
                                            int width,
                                            int height,
                                            int format,
                                            int imageSize,
                                            java.nio.Buffer data)
        Specified by:
        compressedTexSubImage2D in interface org.oscim.backend.GL
      • copyTexImage2D

        public void copyTexImage2D​(int target,
                                   int level,
                                   int internalformat,
                                   int x,
                                   int y,
                                   int width,
                                   int height,
                                   int border)
        Specified by:
        copyTexImage2D in interface org.oscim.backend.GL
      • copyTexSubImage2D

        public void copyTexSubImage2D​(int target,
                                      int level,
                                      int xoffset,
                                      int yoffset,
                                      int x,
                                      int y,
                                      int width,
                                      int height)
        Specified by:
        copyTexSubImage2D in interface org.oscim.backend.GL
      • cullFace

        public void cullFace​(int mode)
        Specified by:
        cullFace in interface org.oscim.backend.GL
      • deleteTextures

        public void deleteTextures​(int n,
                                   java.nio.IntBuffer textures)
        Specified by:
        deleteTextures in interface org.oscim.backend.GL
      • deleteTexture

        public void deleteTexture​(int texture)
        Specified by:
        deleteTexture in interface org.oscim.backend.GL
      • depthFunc

        public void depthFunc​(int func)
        Specified by:
        depthFunc in interface org.oscim.backend.GL
      • depthMask

        public void depthMask​(boolean flag)
        Specified by:
        depthMask in interface org.oscim.backend.GL
      • depthRangef

        public void depthRangef​(float zNear,
                                float zFar)
        Specified by:
        depthRangef in interface org.oscim.backend.GL
      • disable

        public void disable​(int cap)
        Specified by:
        disable in interface org.oscim.backend.GL
      • drawArrays

        public void drawArrays​(int mode,
                               int first,
                               int count)
        Specified by:
        drawArrays in interface org.oscim.backend.GL
      • drawElements

        public void drawElements​(int mode,
                                 int count,
                                 int type,
                                 java.nio.Buffer indices)
        Specified by:
        drawElements in interface org.oscim.backend.GL
      • enable

        public void enable​(int cap)
        Specified by:
        enable in interface org.oscim.backend.GL
      • finish

        public void finish()
        Specified by:
        finish in interface org.oscim.backend.GL
      • flush

        public void flush()
        Specified by:
        flush in interface org.oscim.backend.GL
      • frontFace

        public void frontFace​(int mode)
        Specified by:
        frontFace in interface org.oscim.backend.GL
      • genTextures

        public void genTextures​(int n,
                                java.nio.IntBuffer textures)
        Specified by:
        genTextures in interface org.oscim.backend.GL
      • genTexture

        public int genTexture()
        Specified by:
        genTexture in interface org.oscim.backend.GL
      • getError

        public int getError()
        Specified by:
        getError in interface org.oscim.backend.GL
      • getIntegerv

        public void getIntegerv​(int pname,
                                java.nio.IntBuffer params)
        Specified by:
        getIntegerv in interface org.oscim.backend.GL
      • getString

        public java.lang.String getString​(int name)
        Specified by:
        getString in interface org.oscim.backend.GL
      • hint

        public void hint​(int target,
                         int mode)
        Specified by:
        hint in interface org.oscim.backend.GL
      • lineWidth

        public void lineWidth​(float width)
        Specified by:
        lineWidth in interface org.oscim.backend.GL
      • pixelStorei

        public void pixelStorei​(int pname,
                                int param)
        Specified by:
        pixelStorei in interface org.oscim.backend.GL
      • polygonOffset

        public void polygonOffset​(float factor,
                                  float units)
        Specified by:
        polygonOffset in interface org.oscim.backend.GL
      • readPixels

        public void readPixels​(int x,
                               int y,
                               int width,
                               int height,
                               int format,
                               int type,
                               java.nio.Buffer pixels)
        Specified by:
        readPixels in interface org.oscim.backend.GL
      • scissor

        public void scissor​(int x,
                            int y,
                            int width,
                            int height)
        Specified by:
        scissor in interface org.oscim.backend.GL
      • stencilFunc

        public void stencilFunc​(int func,
                                int ref,
                                int mask)
        Specified by:
        stencilFunc in interface org.oscim.backend.GL
      • stencilMask

        public void stencilMask​(int mask)
        Specified by:
        stencilMask in interface org.oscim.backend.GL
      • stencilOp

        public void stencilOp​(int fail,
                              int zfail,
                              int zpass)
        Specified by:
        stencilOp in interface org.oscim.backend.GL
      • texImage2D

        public void texImage2D​(int target,
                               int level,
                               int internalFormat,
                               int width,
                               int height,
                               int border,
                               int format,
                               int type,
                               java.nio.Buffer pixels)
        Specified by:
        texImage2D in interface org.oscim.backend.GL
      • texParameterf

        public void texParameterf​(int target,
                                  int pname,
                                  float param)
        Specified by:
        texParameterf in interface org.oscim.backend.GL
      • texSubImage2D

        public void texSubImage2D​(int target,
                                  int level,
                                  int xoffset,
                                  int yoffset,
                                  int width,
                                  int height,
                                  int format,
                                  int type,
                                  java.nio.Buffer pixels)
        Specified by:
        texSubImage2D in interface org.oscim.backend.GL
      • viewport

        public void viewport​(int x,
                             int y,
                             int width,
                             int height)
        Specified by:
        viewport in interface org.oscim.backend.GL
      • getFloatv

        public void getFloatv​(int pname,
                              java.nio.FloatBuffer params)
        Specified by:
        getFloatv in interface org.oscim.backend.GL
      • getTexParameterfv

        public void getTexParameterfv​(int target,
                                      int pname,
                                      java.nio.FloatBuffer params)
        Specified by:
        getTexParameterfv in interface org.oscim.backend.GL
      • texParameterfv

        public void texParameterfv​(int target,
                                   int pname,
                                   java.nio.FloatBuffer params)
        Specified by:
        texParameterfv in interface org.oscim.backend.GL
      • bindBuffer

        public void bindBuffer​(int target,
                               int buffer)
        Specified by:
        bindBuffer in interface org.oscim.backend.GL
      • bufferData

        public void bufferData​(int target,
                               int size,
                               java.nio.Buffer data,
                               int usage)
        Specified by:
        bufferData in interface org.oscim.backend.GL
      • bufferSubData

        public void bufferSubData​(int target,
                                  int offset,
                                  int size,
                                  java.nio.Buffer data)
        Specified by:
        bufferSubData in interface org.oscim.backend.GL
      • deleteBuffers

        public void deleteBuffers​(int n,
                                  java.nio.IntBuffer buffers)
        Specified by:
        deleteBuffers in interface org.oscim.backend.GL
      • deleteFramebuffer

        public void deleteFramebuffer​(int framebuffer)
        Specified by:
        deleteFramebuffer in interface org.oscim.backend.GL
      • getBufferParameteriv

        public void getBufferParameteriv​(int target,
                                         int pname,
                                         java.nio.IntBuffer params)
        Specified by:
        getBufferParameteriv in interface org.oscim.backend.GL
      • genBuffers

        public void genBuffers​(int n,
                               java.nio.IntBuffer buffers)
        Specified by:
        genBuffers in interface org.oscim.backend.GL
      • getTexParameteriv

        public void getTexParameteriv​(int target,
                                      int pname,
                                      java.nio.IntBuffer params)
        Specified by:
        getTexParameteriv in interface org.oscim.backend.GL
      • isBuffer

        public boolean isBuffer​(int buffer)
        Specified by:
        isBuffer in interface org.oscim.backend.GL
      • isEnabled

        public boolean isEnabled​(int cap)
        Specified by:
        isEnabled in interface org.oscim.backend.GL
      • isTexture

        public boolean isTexture​(int texture)
        Specified by:
        isTexture in interface org.oscim.backend.GL
      • texParameteri

        public void texParameteri​(int target,
                                  int pname,
                                  int param)
        Specified by:
        texParameteri in interface org.oscim.backend.GL
      • texParameteriv

        public void texParameteriv​(int target,
                                   int pname,
                                   java.nio.IntBuffer params)
        Specified by:
        texParameteriv in interface org.oscim.backend.GL
      • drawElements

        public void drawElements​(int mode,
                                 int count,
                                 int type,
                                 int indices)
        Specified by:
        drawElements in interface org.oscim.backend.GL
      • attachShader

        public void attachShader​(int program,
                                 int shader)
        Specified by:
        attachShader in interface org.oscim.backend.GL
      • bindAttribLocation

        public void bindAttribLocation​(int program,
                                       int index,
                                       java.lang.String name)
        Specified by:
        bindAttribLocation in interface org.oscim.backend.GL
      • bindFramebuffer

        public void bindFramebuffer​(int target,
                                    int framebuffer)
        Specified by:
        bindFramebuffer in interface org.oscim.backend.GL
      • bindRenderbuffer

        public void bindRenderbuffer​(int target,
                                     int renderbuffer)
        Specified by:
        bindRenderbuffer in interface org.oscim.backend.GL
      • blendColor

        public void blendColor​(float red,
                               float green,
                               float blue,
                               float alpha)
        Specified by:
        blendColor in interface org.oscim.backend.GL
      • blendEquation

        public void blendEquation​(int mode)
        Specified by:
        blendEquation in interface org.oscim.backend.GL
      • blendEquationSeparate

        public void blendEquationSeparate​(int modeRGB,
                                          int modeAlpha)
        Specified by:
        blendEquationSeparate in interface org.oscim.backend.GL
      • blendFuncSeparate

        public void blendFuncSeparate​(int srcRGB,
                                      int dstRGB,
                                      int srcAlpha,
                                      int dstAlpha)
        Specified by:
        blendFuncSeparate in interface org.oscim.backend.GL
      • checkFramebufferStatus

        public int checkFramebufferStatus​(int target)
        Specified by:
        checkFramebufferStatus in interface org.oscim.backend.GL
      • compileShader

        public void compileShader​(int shader)
        Specified by:
        compileShader in interface org.oscim.backend.GL
      • createProgram

        public int createProgram()
        Specified by:
        createProgram in interface org.oscim.backend.GL
      • createShader

        public int createShader​(int type)
        Specified by:
        createShader in interface org.oscim.backend.GL
      • deleteBuffer

        public void deleteBuffer​(int buffer)
        Specified by:
        deleteBuffer in interface org.oscim.backend.GL
      • deleteFramebuffers

        public void deleteFramebuffers​(int n,
                                       java.nio.IntBuffer framebuffers)
        Specified by:
        deleteFramebuffers in interface org.oscim.backend.GL
      • deleteProgram

        public void deleteProgram​(int program)
        Specified by:
        deleteProgram in interface org.oscim.backend.GL
      • deleteRenderbuffer

        public void deleteRenderbuffer​(int renderbuffer)
        Specified by:
        deleteRenderbuffer in interface org.oscim.backend.GL
      • deleteRenderbuffers

        public void deleteRenderbuffers​(int n,
                                        java.nio.IntBuffer renderbuffers)
        Specified by:
        deleteRenderbuffers in interface org.oscim.backend.GL
      • deleteShader

        public void deleteShader​(int shader)
        Specified by:
        deleteShader in interface org.oscim.backend.GL
      • detachShader

        public void detachShader​(int program,
                                 int shader)
        Specified by:
        detachShader in interface org.oscim.backend.GL
      • disableVertexAttribArray

        public void disableVertexAttribArray​(int index)
        Specified by:
        disableVertexAttribArray in interface org.oscim.backend.GL
      • enableVertexAttribArray

        public void enableVertexAttribArray​(int index)
        Specified by:
        enableVertexAttribArray in interface org.oscim.backend.GL
      • framebufferRenderbuffer

        public void framebufferRenderbuffer​(int target,
                                            int attachment,
                                            int renderbuffertarget,
                                            int renderbuffer)
        Specified by:
        framebufferRenderbuffer in interface org.oscim.backend.GL
      • framebufferTexture2D

        public void framebufferTexture2D​(int target,
                                         int attachment,
                                         int textarget,
                                         int texture,
                                         int level)
        Specified by:
        framebufferTexture2D in interface org.oscim.backend.GL
      • genBuffer

        public int genBuffer()
        Specified by:
        genBuffer in interface org.oscim.backend.GL
      • generateMipmap

        public void generateMipmap​(int target)
        Specified by:
        generateMipmap in interface org.oscim.backend.GL
      • genFramebuffer

        public int genFramebuffer()
        Specified by:
        genFramebuffer in interface org.oscim.backend.GL
      • genFramebuffers

        public void genFramebuffers​(int n,
                                    java.nio.IntBuffer framebuffers)
        Specified by:
        genFramebuffers in interface org.oscim.backend.GL
      • genRenderbuffer

        public int genRenderbuffer()
        Specified by:
        genRenderbuffer in interface org.oscim.backend.GL
      • genRenderbuffers

        public void genRenderbuffers​(int n,
                                     java.nio.IntBuffer renderbuffers)
        Specified by:
        genRenderbuffers in interface org.oscim.backend.GL
      • getActiveAttrib

        public java.lang.String getActiveAttrib​(int program,
                                                int index,
                                                java.nio.IntBuffer size,
                                                java.nio.Buffer type)
        Specified by:
        getActiveAttrib in interface org.oscim.backend.GL
      • getActiveUniform

        public java.lang.String getActiveUniform​(int program,
                                                 int index,
                                                 java.nio.IntBuffer size,
                                                 java.nio.Buffer type)
        Specified by:
        getActiveUniform in interface org.oscim.backend.GL
      • getAttachedShaders

        public void getAttachedShaders​(int program,
                                       int maxcount,
                                       java.nio.Buffer count,
                                       java.nio.IntBuffer shaders)
        Specified by:
        getAttachedShaders in interface org.oscim.backend.GL
      • getAttribLocation

        public int getAttribLocation​(int program,
                                     java.lang.String name)
        Specified by:
        getAttribLocation in interface org.oscim.backend.GL
      • getBooleanv

        public void getBooleanv​(int pname,
                                java.nio.Buffer params)
        Specified by:
        getBooleanv in interface org.oscim.backend.GL
      • getFramebufferAttachmentParameteriv

        public void getFramebufferAttachmentParameteriv​(int target,
                                                        int attachment,
                                                        int pname,
                                                        java.nio.IntBuffer params)
        Specified by:
        getFramebufferAttachmentParameteriv in interface org.oscim.backend.GL
      • getProgramiv

        public void getProgramiv​(int program,
                                 int pname,
                                 java.nio.IntBuffer params)
        Specified by:
        getProgramiv in interface org.oscim.backend.GL
      • getProgramInfoLog

        public java.lang.String getProgramInfoLog​(int program)
        Specified by:
        getProgramInfoLog in interface org.oscim.backend.GL
      • getRenderbufferParameteriv

        public void getRenderbufferParameteriv​(int target,
                                               int pname,
                                               java.nio.IntBuffer params)
        Specified by:
        getRenderbufferParameteriv in interface org.oscim.backend.GL
      • getShaderiv

        public void getShaderiv​(int shader,
                                int pname,
                                java.nio.IntBuffer params)
        Specified by:
        getShaderiv in interface org.oscim.backend.GL
      • getShaderInfoLog

        public java.lang.String getShaderInfoLog​(int shader)
        Specified by:
        getShaderInfoLog in interface org.oscim.backend.GL
      • getShaderPrecisionFormat

        public void getShaderPrecisionFormat​(int shadertype,
                                             int precisiontype,
                                             java.nio.IntBuffer range,
                                             java.nio.IntBuffer precision)
        Specified by:
        getShaderPrecisionFormat in interface org.oscim.backend.GL
      • getUniformfv

        public void getUniformfv​(int program,
                                 int location,
                                 java.nio.FloatBuffer params)
        Specified by:
        getUniformfv in interface org.oscim.backend.GL
      • getUniformiv

        public void getUniformiv​(int program,
                                 int location,
                                 java.nio.IntBuffer params)
        Specified by:
        getUniformiv in interface org.oscim.backend.GL
      • getUniformLocation

        public int getUniformLocation​(int program,
                                      java.lang.String name)
        Specified by:
        getUniformLocation in interface org.oscim.backend.GL
      • getVertexAttribfv

        public void getVertexAttribfv​(int index,
                                      int pname,
                                      java.nio.FloatBuffer params)
        Specified by:
        getVertexAttribfv in interface org.oscim.backend.GL
      • getVertexAttribiv

        public void getVertexAttribiv​(int index,
                                      int pname,
                                      java.nio.IntBuffer params)
        Specified by:
        getVertexAttribiv in interface org.oscim.backend.GL
      • getVertexAttribPointerv

        public void getVertexAttribPointerv​(int index,
                                            int pname,
                                            java.nio.Buffer pointer)
        Specified by:
        getVertexAttribPointerv in interface org.oscim.backend.GL
      • isFramebuffer

        public boolean isFramebuffer​(int framebuffer)
        Specified by:
        isFramebuffer in interface org.oscim.backend.GL
      • isProgram

        public boolean isProgram​(int program)
        Specified by:
        isProgram in interface org.oscim.backend.GL
      • isRenderbuffer

        public boolean isRenderbuffer​(int renderbuffer)
        Specified by:
        isRenderbuffer in interface org.oscim.backend.GL
      • isShader

        public boolean isShader​(int shader)
        Specified by:
        isShader in interface org.oscim.backend.GL
      • linkProgram

        public void linkProgram​(int program)
        Specified by:
        linkProgram in interface org.oscim.backend.GL
      • releaseShaderCompiler

        public void releaseShaderCompiler()
        Specified by:
        releaseShaderCompiler in interface org.oscim.backend.GL
      • renderbufferStorage

        public void renderbufferStorage​(int target,
                                        int internalformat,
                                        int width,
                                        int height)
        Specified by:
        renderbufferStorage in interface org.oscim.backend.GL
      • sampleCoverage

        public void sampleCoverage​(float value,
                                   boolean invert)
        Specified by:
        sampleCoverage in interface org.oscim.backend.GL
      • shaderBinary

        public void shaderBinary​(int n,
                                 java.nio.IntBuffer shaders,
                                 int binaryformat,
                                 java.nio.Buffer binary,
                                 int length)
        Specified by:
        shaderBinary in interface org.oscim.backend.GL
      • shaderSource

        public void shaderSource​(int shader,
                                 java.lang.String string)
        Specified by:
        shaderSource in interface org.oscim.backend.GL
      • stencilFuncSeparate

        public void stencilFuncSeparate​(int face,
                                        int func,
                                        int ref,
                                        int mask)
        Specified by:
        stencilFuncSeparate in interface org.oscim.backend.GL
      • stencilMaskSeparate

        public void stencilMaskSeparate​(int face,
                                        int mask)
        Specified by:
        stencilMaskSeparate in interface org.oscim.backend.GL
      • stencilOpSeparate

        public void stencilOpSeparate​(int face,
                                      int fail,
                                      int zfail,
                                      int zpass)
        Specified by:
        stencilOpSeparate in interface org.oscim.backend.GL
      • uniform1f

        public void uniform1f​(int location,
                              float x)
        Specified by:
        uniform1f in interface org.oscim.backend.GL
      • uniform1fv

        public void uniform1fv​(int location,
                               int count,
                               java.nio.FloatBuffer v)
        Specified by:
        uniform1fv in interface org.oscim.backend.GL
      • uniform1fv

        public void uniform1fv​(int location,
                               int count,
                               float[] v,
                               int offset)
        Specified by:
        uniform1fv in interface org.oscim.backend.GL
      • uniform1i

        public void uniform1i​(int location,
                              int x)
        Specified by:
        uniform1i in interface org.oscim.backend.GL
      • uniform1iv

        public void uniform1iv​(int location,
                               int count,
                               java.nio.IntBuffer v)
        Specified by:
        uniform1iv in interface org.oscim.backend.GL
      • uniform1iv

        public void uniform1iv​(int location,
                               int count,
                               int[] v,
                               int offset)
        Specified by:
        uniform1iv in interface org.oscim.backend.GL
      • uniform2f

        public void uniform2f​(int location,
                              float x,
                              float y)
        Specified by:
        uniform2f in interface org.oscim.backend.GL
      • uniform2fv

        public void uniform2fv​(int location,
                               int count,
                               java.nio.FloatBuffer v)
        Specified by:
        uniform2fv in interface org.oscim.backend.GL
      • uniform2fv

        public void uniform2fv​(int location,
                               int count,
                               float[] v,
                               int offset)
        Specified by:
        uniform2fv in interface org.oscim.backend.GL
      • uniform2i

        public void uniform2i​(int location,
                              int x,
                              int y)
        Specified by:
        uniform2i in interface org.oscim.backend.GL
      • uniform2iv

        public void uniform2iv​(int location,
                               int count,
                               java.nio.IntBuffer v)
        Specified by:
        uniform2iv in interface org.oscim.backend.GL
      • uniform2iv

        public void uniform2iv​(int location,
                               int count,
                               int[] v,
                               int offset)
        Specified by:
        uniform2iv in interface org.oscim.backend.GL
      • uniform3f

        public void uniform3f​(int location,
                              float x,
                              float y,
                              float z)
        Specified by:
        uniform3f in interface org.oscim.backend.GL
      • uniform3fv

        public void uniform3fv​(int location,
                               int count,
                               java.nio.FloatBuffer v)
        Specified by:
        uniform3fv in interface org.oscim.backend.GL
      • uniform3fv

        public void uniform3fv​(int location,
                               int count,
                               float[] v,
                               int offset)
        Specified by:
        uniform3fv in interface org.oscim.backend.GL
      • uniform3i

        public void uniform3i​(int location,
                              int x,
                              int y,
                              int z)
        Specified by:
        uniform3i in interface org.oscim.backend.GL
      • uniform3iv

        public void uniform3iv​(int location,
                               int count,
                               java.nio.IntBuffer v)
        Specified by:
        uniform3iv in interface org.oscim.backend.GL
      • uniform3iv

        public void uniform3iv​(int location,
                               int count,
                               int[] v,
                               int offset)
        Specified by:
        uniform3iv in interface org.oscim.backend.GL
      • uniform4f

        public void uniform4f​(int location,
                              float x,
                              float y,
                              float z,
                              float w)
        Specified by:
        uniform4f in interface org.oscim.backend.GL
      • uniform4fv

        public void uniform4fv​(int location,
                               int count,
                               java.nio.FloatBuffer v)
        Specified by:
        uniform4fv in interface org.oscim.backend.GL
      • uniform4fv

        public void uniform4fv​(int location,
                               int count,
                               float[] v,
                               int offset)
        Specified by:
        uniform4fv in interface org.oscim.backend.GL
      • uniform4i

        public void uniform4i​(int location,
                              int x,
                              int y,
                              int z,
                              int w)
        Specified by:
        uniform4i in interface org.oscim.backend.GL
      • uniform4iv

        public void uniform4iv​(int location,
                               int count,
                               java.nio.IntBuffer v)
        Specified by:
        uniform4iv in interface org.oscim.backend.GL
      • uniform4iv

        public void uniform4iv​(int location,
                               int count,
                               int[] v,
                               int offset)
        Specified by:
        uniform4iv in interface org.oscim.backend.GL
      • uniformMatrix2fv

        public void uniformMatrix2fv​(int location,
                                     int count,
                                     boolean transpose,
                                     java.nio.FloatBuffer value)
        Specified by:
        uniformMatrix2fv in interface org.oscim.backend.GL
      • uniformMatrix2fv

        public void uniformMatrix2fv​(int location,
                                     int count,
                                     boolean transpose,
                                     float[] value,
                                     int offset)
        Specified by:
        uniformMatrix2fv in interface org.oscim.backend.GL
      • uniformMatrix3fv

        public void uniformMatrix3fv​(int location,
                                     int count,
                                     boolean transpose,
                                     java.nio.FloatBuffer value)
        Specified by:
        uniformMatrix3fv in interface org.oscim.backend.GL
      • uniformMatrix3fv

        public void uniformMatrix3fv​(int location,
                                     int count,
                                     boolean transpose,
                                     float[] value,
                                     int offset)
        Specified by:
        uniformMatrix3fv in interface org.oscim.backend.GL
      • uniformMatrix4fv

        public void uniformMatrix4fv​(int location,
                                     int count,
                                     boolean transpose,
                                     java.nio.FloatBuffer value)
        Specified by:
        uniformMatrix4fv in interface org.oscim.backend.GL
      • uniformMatrix4fv

        public void uniformMatrix4fv​(int location,
                                     int count,
                                     boolean transpose,
                                     float[] value,
                                     int offset)
        Specified by:
        uniformMatrix4fv in interface org.oscim.backend.GL
      • useProgram

        public void useProgram​(int program)
        Specified by:
        useProgram in interface org.oscim.backend.GL
      • validateProgram

        public void validateProgram​(int program)
        Specified by:
        validateProgram in interface org.oscim.backend.GL
      • vertexAttrib1f

        public void vertexAttrib1f​(int indx,
                                   float x)
        Specified by:
        vertexAttrib1f in interface org.oscim.backend.GL
      • vertexAttrib1fv

        public void vertexAttrib1fv​(int indx,
                                    java.nio.FloatBuffer values)
        Specified by:
        vertexAttrib1fv in interface org.oscim.backend.GL
      • vertexAttrib2f

        public void vertexAttrib2f​(int indx,
                                   float x,
                                   float y)
        Specified by:
        vertexAttrib2f in interface org.oscim.backend.GL
      • vertexAttrib2fv

        public void vertexAttrib2fv​(int indx,
                                    java.nio.FloatBuffer values)
        Specified by:
        vertexAttrib2fv in interface org.oscim.backend.GL
      • vertexAttrib3f

        public void vertexAttrib3f​(int indx,
                                   float x,
                                   float y,
                                   float z)
        Specified by:
        vertexAttrib3f in interface org.oscim.backend.GL
      • vertexAttrib3fv

        public void vertexAttrib3fv​(int indx,
                                    java.nio.FloatBuffer values)
        Specified by:
        vertexAttrib3fv in interface org.oscim.backend.GL
      • vertexAttrib4f

        public void vertexAttrib4f​(int indx,
                                   float x,
                                   float y,
                                   float z,
                                   float w)
        Specified by:
        vertexAttrib4f in interface org.oscim.backend.GL
      • vertexAttrib4fv

        public void vertexAttrib4fv​(int indx,
                                    java.nio.FloatBuffer values)
        Specified by:
        vertexAttrib4fv in interface org.oscim.backend.GL
      • vertexAttribPointer

        public void vertexAttribPointer​(int indx,
                                        int size,
                                        int type,
                                        boolean normalized,
                                        int stride,
                                        java.nio.Buffer ptr)
        Specified by:
        vertexAttribPointer in interface org.oscim.backend.GL
      • vertexAttribPointer

        public void vertexAttribPointer​(int indx,
                                        int size,
                                        int type,
                                        boolean normalized,
                                        int stride,
                                        int ptr)
        Specified by:
        vertexAttribPointer in interface org.oscim.backend.GL