Android APIs
public class

GLES10

extends Object
java.lang.Object
   ↳ android.opengl.GLES10
Known Direct Subclasses

Summary

Constants
int GL_ADD
int GL_ALIASED_LINE_WIDTH_RANGE
int GL_ALIASED_POINT_SIZE_RANGE
int GL_ALPHA
int GL_ALPHA_BITS
int GL_ALPHA_TEST
int GL_ALWAYS
int GL_AMBIENT
int GL_AMBIENT_AND_DIFFUSE
int GL_AND
int GL_AND_INVERTED
int GL_AND_REVERSE
int GL_BACK
int GL_BLEND
int GL_BLUE_BITS
int GL_BYTE
int GL_CCW
int GL_CLAMP_TO_EDGE
int GL_CLEAR
int GL_COLOR_ARRAY
int GL_COLOR_BUFFER_BIT
int GL_COLOR_LOGIC_OP
int GL_COLOR_MATERIAL
int GL_COMPRESSED_TEXTURE_FORMATS
int GL_CONSTANT_ATTENUATION
int GL_COPY
int GL_COPY_INVERTED
int GL_CULL_FACE
int GL_CW
int GL_DECAL
int GL_DECR
int GL_DEPTH_BITS
int GL_DEPTH_BUFFER_BIT
int GL_DEPTH_TEST
int GL_DIFFUSE
int GL_DITHER
int GL_DONT_CARE
int GL_DST_ALPHA
int GL_DST_COLOR
int GL_EMISSION
int GL_EQUAL
int GL_EQUIV
int GL_EXP
int GL_EXP2
int GL_EXTENSIONS
int GL_FALSE
int GL_FASTEST
int GL_FIXED
int GL_FLAT
int GL_FLOAT
int GL_FOG
int GL_FOG_COLOR
int GL_FOG_DENSITY
int GL_FOG_END
int GL_FOG_HINT
int GL_FOG_MODE
int GL_FOG_START
int GL_FRONT
int GL_FRONT_AND_BACK
int GL_GEQUAL
int GL_GREATER
int GL_GREEN_BITS
int GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES
int GL_IMPLEMENTATION_COLOR_READ_TYPE_OES
int GL_INCR
int GL_INVALID_ENUM
int GL_INVALID_OPERATION
int GL_INVALID_VALUE
int GL_INVERT
int GL_KEEP
int GL_LEQUAL
int GL_LESS
int GL_LIGHT0
int GL_LIGHT1
int GL_LIGHT2
int GL_LIGHT3
int GL_LIGHT4
int GL_LIGHT5
int GL_LIGHT6
int GL_LIGHT7
int GL_LIGHTING
int GL_LIGHT_MODEL_AMBIENT
int GL_LIGHT_MODEL_TWO_SIDE
int GL_LINEAR
int GL_LINEAR_ATTENUATION
int GL_LINEAR_MIPMAP_LINEAR
int GL_LINEAR_MIPMAP_NEAREST
int GL_LINES
int GL_LINE_LOOP
int GL_LINE_SMOOTH
int GL_LINE_SMOOTH_HINT
int GL_LINE_STRIP
int GL_LUMINANCE
int GL_LUMINANCE_ALPHA
int GL_MAX_ELEMENTS_INDICES
int GL_MAX_ELEMENTS_VERTICES
int GL_MAX_LIGHTS
int GL_MAX_MODELVIEW_STACK_DEPTH
int GL_MAX_PROJECTION_STACK_DEPTH
int GL_MAX_TEXTURE_SIZE
int GL_MAX_TEXTURE_STACK_DEPTH
int GL_MAX_TEXTURE_UNITS
int GL_MAX_VIEWPORT_DIMS
int GL_MODELVIEW
int GL_MODULATE
int GL_MULTISAMPLE
int GL_NAND
int GL_NEAREST
int GL_NEAREST_MIPMAP_LINEAR
int GL_NEAREST_MIPMAP_NEAREST
int GL_NEVER
int GL_NICEST
int GL_NOOP
int GL_NOR
int GL_NORMALIZE
int GL_NORMAL_ARRAY
int GL_NOTEQUAL
int GL_NO_ERROR
int GL_NUM_COMPRESSED_TEXTURE_FORMATS
int GL_ONE
int GL_ONE_MINUS_DST_ALPHA
int GL_ONE_MINUS_DST_COLOR
int GL_ONE_MINUS_SRC_ALPHA
int GL_ONE_MINUS_SRC_COLOR
int GL_OR
int GL_OR_INVERTED
int GL_OR_REVERSE
int GL_OUT_OF_MEMORY
int GL_PACK_ALIGNMENT
int GL_PALETTE4_R5_G6_B5_OES
int GL_PALETTE4_RGB5_A1_OES
int GL_PALETTE4_RGB8_OES
int GL_PALETTE4_RGBA4_OES
int GL_PALETTE4_RGBA8_OES
int GL_PALETTE8_R5_G6_B5_OES
int GL_PALETTE8_RGB5_A1_OES
int GL_PALETTE8_RGB8_OES
int GL_PALETTE8_RGBA4_OES
int GL_PALETTE8_RGBA8_OES
int GL_PERSPECTIVE_CORRECTION_HINT
int GL_POINTS
int GL_POINT_FADE_THRESHOLD_SIZE
int GL_POINT_SIZE
int GL_POINT_SMOOTH
int GL_POINT_SMOOTH_HINT
int GL_POLYGON_OFFSET_FILL
int GL_POLYGON_SMOOTH_HINT
int GL_POSITION
int GL_PROJECTION
int GL_QUADRATIC_ATTENUATION
int GL_RED_BITS
int GL_RENDERER
int GL_REPEAT
int GL_REPLACE
int GL_RESCALE_NORMAL
int GL_RGB
int GL_RGBA
int GL_SAMPLE_ALPHA_TO_COVERAGE
int GL_SAMPLE_ALPHA_TO_ONE
int GL_SAMPLE_COVERAGE
int GL_SCISSOR_TEST
int GL_SET
int GL_SHININESS
int GL_SHORT
int GL_SMOOTH
int GL_SMOOTH_LINE_WIDTH_RANGE
int GL_SMOOTH_POINT_SIZE_RANGE
int GL_SPECULAR
int GL_SPOT_CUTOFF
int GL_SPOT_DIRECTION
int GL_SPOT_EXPONENT
int GL_SRC_ALPHA
int GL_SRC_ALPHA_SATURATE
int GL_SRC_COLOR
int GL_STACK_OVERFLOW
int GL_STACK_UNDERFLOW
int GL_STENCIL_BITS
int GL_STENCIL_BUFFER_BIT
int GL_STENCIL_TEST
int GL_SUBPIXEL_BITS
int GL_TEXTURE
int GL_TEXTURE0
int GL_TEXTURE1
int GL_TEXTURE10
int GL_TEXTURE11
int GL_TEXTURE12
int GL_TEXTURE13
int GL_TEXTURE14
int GL_TEXTURE15
int GL_TEXTURE16
int GL_TEXTURE17
int GL_TEXTURE18
int GL_TEXTURE19
int GL_TEXTURE2
int GL_TEXTURE20
int GL_TEXTURE21
int GL_TEXTURE22
int GL_TEXTURE23
int GL_TEXTURE24
int GL_TEXTURE25
int GL_TEXTURE26
int GL_TEXTURE27
int GL_TEXTURE28
int GL_TEXTURE29
int GL_TEXTURE3
int GL_TEXTURE30
int GL_TEXTURE31
int GL_TEXTURE4
int GL_TEXTURE5
int GL_TEXTURE6
int GL_TEXTURE7
int GL_TEXTURE8
int GL_TEXTURE9
int GL_TEXTURE_2D
int GL_TEXTURE_COORD_ARRAY
int GL_TEXTURE_ENV
int GL_TEXTURE_ENV_COLOR
int GL_TEXTURE_ENV_MODE
int GL_TEXTURE_MAG_FILTER
int GL_TEXTURE_MIN_FILTER
int GL_TEXTURE_WRAP_S
int GL_TEXTURE_WRAP_T
int GL_TRIANGLES
int GL_TRIANGLE_FAN
int GL_TRIANGLE_STRIP
int GL_TRUE
int GL_UNPACK_ALIGNMENT
int GL_UNSIGNED_BYTE
int GL_UNSIGNED_SHORT
int GL_UNSIGNED_SHORT_4_4_4_4
int GL_UNSIGNED_SHORT_5_5_5_1
int GL_UNSIGNED_SHORT_5_6_5
int GL_VENDOR
int GL_VERSION
int GL_VERTEX_ARRAY
int GL_XOR
int GL_ZERO
Public Constructors
GLES10()
Public Methods
static void glActiveTexture(int texture)
static void glAlphaFunc(int func, float ref)
static void glAlphaFuncx(int func, int ref)
static void glBindTexture(int target, int texture)
static void glBlendFunc(int sfactor, int dfactor)
static void glClear(int mask)
static void glClearColor(float red, float green, float blue, float alpha)
static void glClearColorx(int red, int green, int blue, int alpha)
static void glClearDepthf(float depth)
static void glClearDepthx(int depth)
static void glClearStencil(int s)
static void glClientActiveTexture(int texture)
static void glColor4f(float red, float green, float blue, float alpha)
static void glColor4x(int red, int green, int blue, int alpha)
static void glColorMask(boolean red, boolean green, boolean blue, boolean alpha)
static void glColorPointer(int size, int type, int stride, Buffer pointer)
static void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data)
static void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data)
static void glCopyTexImage2D(int target, int level, int internalformat, int x, int y, int width, int height, int border)
static void glCopyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)
static void glCullFace(int mode)
static void glDeleteTextures(int n, int[] textures, int offset)
static void glDeleteTextures(int n, IntBuffer textures)
static void glDepthFunc(int func)
static void glDepthMask(boolean flag)
static void glDepthRangef(float zNear, float zFar)
static void glDepthRangex(int zNear, int zFar)
static void glDisable(int cap)
static void glDisableClientState(int array)
static void glDrawArrays(int mode, int first, int count)
static void glDrawElements(int mode, int count, int type, Buffer indices)
static void glEnable(int cap)
static void glEnableClientState(int array)
static void glFinish()
static void glFlush()
static void glFogf(int pname, float param)
static void glFogfv(int pname, FloatBuffer params)
static void glFogfv(int pname, float[] params, int offset)
static void glFogx(int pname, int param)
static void glFogxv(int pname, int[] params, int offset)
static void glFogxv(int pname, IntBuffer params)
static void glFrontFace(int mode)
static void glFrustumf(float left, float right, float bottom, float top, float zNear, float zFar)
static void glFrustumx(int left, int right, int bottom, int top, int zNear, int zFar)
static void glGenTextures(int n, IntBuffer textures)
static void glGenTextures(int n, int[] textures, int offset)
static int glGetError()
static void glGetIntegerv(int pname, IntBuffer params)
static void glGetIntegerv(int pname, int[] params, int offset)
static String glGetString(int name)
static void glHint(int target, int mode)
static void glLightModelf(int pname, float param)
static void glLightModelfv(int pname, FloatBuffer params)
static void glLightModelfv(int pname, float[] params, int offset)
static void glLightModelx(int pname, int param)
static void glLightModelxv(int pname, int[] params, int offset)
static void glLightModelxv(int pname, IntBuffer params)
static void glLightf(int light, int pname, float param)
static void glLightfv(int light, int pname, float[] params, int offset)
static void glLightfv(int light, int pname, FloatBuffer params)
static void glLightx(int light, int pname, int param)
static void glLightxv(int light, int pname, int[] params, int offset)
static void glLightxv(int light, int pname, IntBuffer params)
static void glLineWidth(float width)
static void glLineWidthx(int width)
static void glLoadIdentity()
static void glLoadMatrixf(float[] m, int offset)
static void glLoadMatrixf(FloatBuffer m)
static void glLoadMatrixx(IntBuffer m)
static void glLoadMatrixx(int[] m, int offset)
static void glLogicOp(int opcode)
static void glMaterialf(int face, int pname, float param)
static void glMaterialfv(int face, int pname, float[] params, int offset)
static void glMaterialfv(int face, int pname, FloatBuffer params)
static void glMaterialx(int face, int pname, int param)
static void glMaterialxv(int face, int pname, IntBuffer params)
static void glMaterialxv(int face, int pname, int[] params, int offset)
static void glMatrixMode(int mode)
static void glMultMatrixf(float[] m, int offset)
static void glMultMatrixf(FloatBuffer m)
static void glMultMatrixx(IntBuffer m)
static void glMultMatrixx(int[] m, int offset)
static void glMultiTexCoord4f(int target, float s, float t, float r, float q)
static void glMultiTexCoord4x(int target, int s, int t, int r, int q)
static void glNormal3f(float nx, float ny, float nz)
static void glNormal3x(int nx, int ny, int nz)
static void glNormalPointer(int type, int stride, Buffer pointer)
static void glOrthof(float left, float right, float bottom, float top, float zNear, float zFar)
static void glOrthox(int left, int right, int bottom, int top, int zNear, int zFar)
static void glPixelStorei(int pname, int param)
static void glPointSize(float size)
static void glPointSizex(int size)
static void glPolygonOffset(float factor, float units)
static void glPolygonOffsetx(int factor, int units)
static void glPopMatrix()
static void glPushMatrix()
static void glReadPixels(int x, int y, int width, int height, int format, int type, Buffer pixels)
static void glRotatef(float angle, float x, float y, float z)
static void glRotatex(int angle, int x, int y, int z)
static void glSampleCoverage(float value, boolean invert)
static void glSampleCoveragex(int value, boolean invert)
static void glScalef(float x, float y, float z)
static void glScalex(int x, int y, int z)
static void glScissor(int x, int y, int width, int height)
static void glShadeModel(int mode)
static void glStencilFunc(int func, int ref, int mask)
static void glStencilMask(int mask)
static void glStencilOp(int fail, int zfail, int zpass)
static void glTexCoordPointer(int size, int type, int stride, Buffer pointer)
static void glTexEnvf(int target, int pname, float param)
static void glTexEnvfv(int target, int pname, FloatBuffer params)
static void glTexEnvfv(int target, int pname, float[] params, int offset)
static void glTexEnvx(int target, int pname, int param)
static void glTexEnvxv(int target, int pname, int[] params, int offset)
static void glTexEnvxv(int target, int pname, IntBuffer params)
static void glTexImage2D(int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels)
static void glTexParameterf(int target, int pname, float param)
static void glTexParameterx(int target, int pname, int param)
static void glTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels)
static void glTranslatef(float x, float y, float z)
static void glTranslatex(int x, int y, int z)
static void glVertexPointer(int size, int type, int stride, Buffer pointer)
static void glViewport(int x, int y, int width, int height)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int GL_ADD

Added in API level 4

Constant Value: 260 (0x00000104)

public static final int GL_ALIASED_LINE_WIDTH_RANGE

Added in API level 4

Constant Value: 33902 (0x0000846e)

public static final int GL_ALIASED_POINT_SIZE_RANGE

Added in API level 4

Constant Value: 33901 (0x0000846d)

public static final int GL_ALPHA

Added in API level 4

Constant Value: 6406 (0x00001906)

public static final int GL_ALPHA_BITS

Added in API level 4

Constant Value: 3413 (0x00000d55)

public static final int GL_ALPHA_TEST

Added in API level 4

Constant Value: 3008 (0x00000bc0)

public static final int GL_ALWAYS

Added in API level 4

Constant Value: 519 (0x00000207)

public static final int GL_AMBIENT

Added in API level 4

Constant Value: 4608 (0x00001200)

public static final int GL_AMBIENT_AND_DIFFUSE

Added in API level 4

Constant Value: 5634 (0x00001602)

public static final int GL_AND

Added in API level 4

Constant Value: 5377 (0x00001501)

public static final int GL_AND_INVERTED

Added in API level 4

Constant Value: 5380 (0x00001504)

public static final int GL_AND_REVERSE

Added in API level 4

Constant Value: 5378 (0x00001502)

public static final int GL_BACK

Added in API level 4

Constant Value: 1029 (0x00000405)

public static final int GL_BLEND

Added in API level 4

Constant Value: 3042 (0x00000be2)

public static final int GL_BLUE_BITS

Added in API level 4

Constant Value: 3412 (0x00000d54)

public static final int GL_BYTE

Added in API level 4

Constant Value: 5120 (0x00001400)

public static final int GL_CCW

Added in API level 4

Constant Value: 2305 (0x00000901)

public static final int GL_CLAMP_TO_EDGE

Added in API level 4

Constant Value: 33071 (0x0000812f)

public static final int GL_CLEAR

Added in API level 4

Constant Value: 5376 (0x00001500)

public static final int GL_COLOR_ARRAY

Added in API level 4

Constant Value: 32886 (0x00008076)

public static final int GL_COLOR_BUFFER_BIT

Added in API level 4

Constant Value: 16384 (0x00004000)

public static final int GL_COLOR_LOGIC_OP

Added in API level 4

Constant Value: 3058 (0x00000bf2)

public static final int GL_COLOR_MATERIAL

Added in API level 4

Constant Value: 2903 (0x00000b57)

public static final int GL_COMPRESSED_TEXTURE_FORMATS

Added in API level 4

Constant Value: 34467 (0x000086a3)

public static final int GL_CONSTANT_ATTENUATION

Added in API level 4

Constant Value: 4615 (0x00001207)

public static final int GL_COPY

Added in API level 4

Constant Value: 5379 (0x00001503)

public static final int GL_COPY_INVERTED

Added in API level 4

Constant Value: 5388 (0x0000150c)

public static final int GL_CULL_FACE

Added in API level 4

Constant Value: 2884 (0x00000b44)

public static final int GL_CW

Added in API level 4

Constant Value: 2304 (0x00000900)

public static final int GL_DECAL

Added in API level 4

Constant Value: 8449 (0x00002101)

public static final int GL_DECR

Added in API level 4

Constant Value: 7683 (0x00001e03)

public static final int GL_DEPTH_BITS

Added in API level 4

Constant Value: 3414 (0x00000d56)

public static final int GL_DEPTH_BUFFER_BIT

Added in API level 4

Constant Value: 256 (0x00000100)

public static final int GL_DEPTH_TEST

Added in API level 4

Constant Value: 2929 (0x00000b71)

public static final int GL_DIFFUSE

Added in API level 4

Constant Value: 4609 (0x00001201)

public static final int GL_DITHER

Added in API level 4

Constant Value: 3024 (0x00000bd0)

public static final int GL_DONT_CARE

Added in API level 4

Constant Value: 4352 (0x00001100)

public static final int GL_DST_ALPHA

Added in API level 4

Constant Value: 772 (0x00000304)

public static final int GL_DST_COLOR

Added in API level 4

Constant Value: 774 (0x00000306)

public static final int GL_EMISSION

Added in API level 4

Constant Value: 5632 (0x00001600)

public static final int GL_EQUAL

Added in API level 4

Constant Value: 514 (0x00000202)

public static final int GL_EQUIV

Added in API level 4

Constant Value: 5385 (0x00001509)

public static final int GL_EXP

Added in API level 4

Constant Value: 2048 (0x00000800)

public static final int GL_EXP2

Added in API level 4

Constant Value: 2049 (0x00000801)

public static final int GL_EXTENSIONS

Added in API level 4

Constant Value: 7939 (0x00001f03)

public static final int GL_FALSE

Added in API level 4

Constant Value: 0 (0x00000000)

public static final int GL_FASTEST

Added in API level 4

Constant Value: 4353 (0x00001101)

public static final int GL_FIXED

Added in API level 4

Constant Value: 5132 (0x0000140c)

public static final int GL_FLAT

Added in API level 4

Constant Value: 7424 (0x00001d00)

public static final int GL_FLOAT

Added in API level 4

Constant Value: 5126 (0x00001406)

public static final int GL_FOG

Added in API level 4

Constant Value: 2912 (0x00000b60)

public static final int GL_FOG_COLOR

Added in API level 4

Constant Value: 2918 (0x00000b66)

public static final int GL_FOG_DENSITY

Added in API level 4

Constant Value: 2914 (0x00000b62)

public static final int GL_FOG_END

Added in API level 4

Constant Value: 2916 (0x00000b64)

public static final int GL_FOG_HINT

Added in API level 4

Constant Value: 3156 (0x00000c54)

public static final int GL_FOG_MODE

Added in API level 4

Constant Value: 2917 (0x00000b65)

public static final int GL_FOG_START

Added in API level 4

Constant Value: 2915 (0x00000b63)

public static final int GL_FRONT

Added in API level 4

Constant Value: 1028 (0x00000404)

public static final int GL_FRONT_AND_BACK

Added in API level 4

Constant Value: 1032 (0x00000408)

public static final int GL_GEQUAL

Added in API level 4

Constant Value: 518 (0x00000206)

public static final int GL_GREATER

Added in API level 4

Constant Value: 516 (0x00000204)

public static final int GL_GREEN_BITS

Added in API level 4

Constant Value: 3411 (0x00000d53)

public static final int GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES

Added in API level 4

Constant Value: 35739 (0x00008b9b)

public static final int GL_IMPLEMENTATION_COLOR_READ_TYPE_OES

Added in API level 4

Constant Value: 35738 (0x00008b9a)

public static final int GL_INCR

Added in API level 4

Constant Value: 7682 (0x00001e02)

public static final int GL_INVALID_ENUM

Added in API level 4

Constant Value: 1280 (0x00000500)

public static final int GL_INVALID_OPERATION

Added in API level 4

Constant Value: 1282 (0x00000502)

public static final int GL_INVALID_VALUE

Added in API level 4

Constant Value: 1281 (0x00000501)

public static final int GL_INVERT

Added in API level 4

Constant Value: 5386 (0x0000150a)

public static final int GL_KEEP

Added in API level 4

Constant Value: 7680 (0x00001e00)

public static final int GL_LEQUAL

Added in API level 4

Constant Value: 515 (0x00000203)

public static final int GL_LESS

Added in API level 4

Constant Value: 513 (0x00000201)

public static final int GL_LIGHT0

Added in API level 4

Constant Value: 16384 (0x00004000)

public static final int GL_LIGHT1

Added in API level 4

Constant Value: 16385 (0x00004001)

public static final int GL_LIGHT2

Added in API level 4

Constant Value: 16386 (0x00004002)

public static final int GL_LIGHT3

Added in API level 4

Constant Value: 16387 (0x00004003)

public static final int GL_LIGHT4

Added in API level 4

Constant Value: 16388 (0x00004004)

public static final int GL_LIGHT5

Added in API level 4

Constant Value: 16389 (0x00004005)

public static final int GL_LIGHT6

Added in API level 4

Constant Value: 16390 (0x00004006)

public static final int GL_LIGHT7

Added in API level 4

Constant Value: 16391 (0x00004007)

public static final int GL_LIGHTING

Added in API level 4

Constant Value: 2896 (0x00000b50)

public static final int GL_LIGHT_MODEL_AMBIENT

Added in API level 4

Constant Value: 2899 (0x00000b53)

public static final int GL_LIGHT_MODEL_TWO_SIDE

Added in API level 4

Constant Value: 2898 (0x00000b52)

public static final int GL_LINEAR

Added in API level 4

Constant Value: 9729 (0x00002601)

public static final int GL_LINEAR_ATTENUATION

Added in API level 4

Constant Value: 4616 (0x00001208)

public static final int GL_LINEAR_MIPMAP_LINEAR

Added in API level 4

Constant Value: 9987 (0x00002703)

public static final int GL_LINEAR_MIPMAP_NEAREST

Added in API level 4

Constant Value: 9985 (0x00002701)

public static final int GL_LINES

Added in API level 4

Constant Value: 1 (0x00000001)

public static final int GL_LINE_LOOP

Added in API level 4

Constant Value: 2 (0x00000002)

public static final int GL_LINE_SMOOTH

Added in API level 4

Constant Value: 2848 (0x00000b20)

public static final int GL_LINE_SMOOTH_HINT

Added in API level 4

Constant Value: 3154 (0x00000c52)

public static final int GL_LINE_STRIP

Added in API level 4

Constant Value: 3 (0x00000003)

public static final int GL_LUMINANCE

Added in API level 4

Constant Value: 6409 (0x00001909)

public static final int GL_LUMINANCE_ALPHA

Added in API level 4

Constant Value: 6410 (0x0000190a)

public static final int GL_MAX_ELEMENTS_INDICES

Added in API level 4

Constant Value: 33001 (0x000080e9)

public static final int GL_MAX_ELEMENTS_VERTICES

Added in API level 4

Constant Value: 33000 (0x000080e8)

public static final int GL_MAX_LIGHTS

Added in API level 4

Constant Value: 3377 (0x00000d31)

public static final int GL_MAX_MODELVIEW_STACK_DEPTH

Added in API level 4

Constant Value: 3382 (0x00000d36)

public static final int GL_MAX_PROJECTION_STACK_DEPTH

Added in API level 4

Constant Value: 3384 (0x00000d38)

public static final int GL_MAX_TEXTURE_SIZE

Added in API level 4

Constant Value: 3379 (0x00000d33)

public static final int GL_MAX_TEXTURE_STACK_DEPTH

Added in API level 4

Constant Value: 3385 (0x00000d39)

public static final int GL_MAX_TEXTURE_UNITS

Added in API level 4

Constant Value: 34018 (0x000084e2)

public static final int GL_MAX_VIEWPORT_DIMS

Added in API level 4

Constant Value: 3386 (0x00000d3a)

public static final int GL_MODELVIEW

Added in API level 4

Constant Value: 5888 (0x00001700)

public static final int GL_MODULATE

Added in API level 4

Constant Value: 8448 (0x00002100)

public static final int GL_MULTISAMPLE

Added in API level 4

Constant Value: 32925 (0x0000809d)

public static final int GL_NAND

Added in API level 4

Constant Value: 5390 (0x0000150e)

public static final int GL_NEAREST

Added in API level 4

Constant Value: 9728 (0x00002600)

public static final int GL_NEAREST_MIPMAP_LINEAR

Added in API level 4

Constant Value: 9986 (0x00002702)

public static final int GL_NEAREST_MIPMAP_NEAREST

Added in API level 4

Constant Value: 9984 (0x00002700)

public static final int GL_NEVER

Added in API level 4

Constant Value: 512 (0x00000200)

public static final int GL_NICEST

Added in API level 4

Constant Value: 4354 (0x00001102)

public static final int GL_NOOP

Added in API level 4

Constant Value: 5381 (0x00001505)

public static final int GL_NOR

Added in API level 4

Constant Value: 5384 (0x00001508)

public static final int GL_NORMALIZE

Added in API level 4

Constant Value: 2977 (0x00000ba1)

public static final int GL_NORMAL_ARRAY

Added in API level 4

Constant Value: 32885 (0x00008075)

public static final int GL_NOTEQUAL

Added in API level 4

Constant Value: 517 (0x00000205)

public static final int GL_NO_ERROR

Added in API level 4

Constant Value: 0 (0x00000000)

public static final int GL_NUM_COMPRESSED_TEXTURE_FORMATS

Added in API level 4

Constant Value: 34466 (0x000086a2)

public static final int GL_ONE

Added in API level 4

Constant Value: 1 (0x00000001)

public static final int GL_ONE_MINUS_DST_ALPHA

Added in API level 4

Constant Value: 773 (0x00000305)

public static final int GL_ONE_MINUS_DST_COLOR

Added in API level 4

Constant Value: 775 (0x00000307)

public static final int GL_ONE_MINUS_SRC_ALPHA

Added in API level 4

Constant Value: 771 (0x00000303)

public static final int GL_ONE_MINUS_SRC_COLOR

Added in API level 4

Constant Value: 769 (0x00000301)

public static final int GL_OR

Added in API level 4

Constant Value: 5383 (0x00001507)

public static final int GL_OR_INVERTED

Added in API level 4

Constant Value: 5389 (0x0000150d)

public static final int GL_OR_REVERSE

Added in API level 4

Constant Value: 5387 (0x0000150b)

public static final int GL_OUT_OF_MEMORY

Added in API level 4

Constant Value: 1285 (0x00000505)

public static final int GL_PACK_ALIGNMENT

Added in API level 4

Constant Value: 3333 (0x00000d05)

public static final int GL_PALETTE4_R5_G6_B5_OES

Added in API level 4

Constant Value: 35730 (0x00008b92)

public static final int GL_PALETTE4_RGB5_A1_OES

Added in API level 4

Constant Value: 35732 (0x00008b94)

public static final int GL_PALETTE4_RGB8_OES

Added in API level 4

Constant Value: 35728 (0x00008b90)

public static final int GL_PALETTE4_RGBA4_OES

Added in API level 4

Constant Value: 35731 (0x00008b93)

public static final int GL_PALETTE4_RGBA8_OES

Added in API level 4

Constant Value: 35729 (0x00008b91)

public static final int GL_PALETTE8_R5_G6_B5_OES

Added in API level 4

Constant Value: 35735 (0x00008b97)

public static final int GL_PALETTE8_RGB5_A1_OES

Added in API level 4

Constant Value: 35737 (0x00008b99)

public static final int GL_PALETTE8_RGB8_OES

Added in API level 4

Constant Value: 35733 (0x00008b95)

public static final int GL_PALETTE8_RGBA4_OES

Added in API level 4

Constant Value: 35736 (0x00008b98)

public static final int GL_PALETTE8_RGBA8_OES

Added in API level 4

Constant Value: 35734 (0x00008b96)

public static final int GL_PERSPECTIVE_CORRECTION_HINT

Added in API level 4

Constant Value: 3152 (0x00000c50)

public static final int GL_POINTS

Added in API level 4

Constant Value: 0 (0x00000000)

public static final int GL_POINT_FADE_THRESHOLD_SIZE

Added in API level 4

Constant Value: 33064 (0x00008128)

public static final int GL_POINT_SIZE

Added in API level 4

Constant Value: 2833 (0x00000b11)

public static final int GL_POINT_SMOOTH

Added in API level 4

Constant Value: 2832 (0x00000b10)

public static final int GL_POINT_SMOOTH_HINT

Added in API level 4

Constant Value: 3153 (0x00000c51)

public static final int GL_POLYGON_OFFSET_FILL

Added in API level 4

Constant Value: 32823 (0x00008037)

public static final int GL_POLYGON_SMOOTH_HINT

Added in API level 4

Constant Value: 3155 (0x00000c53)

public static final int GL_POSITION

Added in API level 4

Constant Value: 4611 (0x00001203)

public static final int GL_PROJECTION

Added in API level 4

Constant Value: 5889 (0x00001701)

public static final int GL_QUADRATIC_ATTENUATION

Added in API level 4

Constant Value: 4617 (0x00001209)

public static final int GL_RED_BITS

Added in API level 4

Constant Value: 3410 (0x00000d52)

public static final int GL_RENDERER

Added in API level 4

Constant Value: 7937 (0x00001f01)

public static final int GL_REPEAT

Added in API level 4

Constant Value: 10497 (0x00002901)

public static final int GL_REPLACE

Added in API level 4

Constant Value: 7681 (0x00001e01)

public static final int GL_RESCALE_NORMAL

Added in API level 4

Constant Value: 32826 (0x0000803a)

public static final int GL_RGB

Added in API level 4

Constant Value: 6407 (0x00001907)

public static final int GL_RGBA

Added in API level 4

Constant Value: 6408 (0x00001908)

public static final int GL_SAMPLE_ALPHA_TO_COVERAGE

Added in API level 4

Constant Value: 32926 (0x0000809e)

public static final int GL_SAMPLE_ALPHA_TO_ONE

Added in API level 4

Constant Value: 32927 (0x0000809f)

public static final int GL_SAMPLE_COVERAGE

Added in API level 4

Constant Value: 32928 (0x000080a0)

public static final int GL_SCISSOR_TEST

Added in API level 4

Constant Value: 3089 (0x00000c11)

public static final int GL_SET

Added in API level 4

Constant Value: 5391 (0x0000150f)

public static final int GL_SHININESS

Added in API level 4

Constant Value: 5633 (0x00001601)

public static final int GL_SHORT

Added in API level 4

Constant Value: 5122 (0x00001402)

public static final int GL_SMOOTH

Added in API level 4

Constant Value: 7425 (0x00001d01)

public static final int GL_SMOOTH_LINE_WIDTH_RANGE

Added in API level 4

Constant Value: 2850 (0x00000b22)

public static final int GL_SMOOTH_POINT_SIZE_RANGE

Added in API level 4

Constant Value: 2834 (0x00000b12)

public static final int GL_SPECULAR

Added in API level 4

Constant Value: 4610 (0x00001202)

public static final int GL_SPOT_CUTOFF

Added in API level 4

Constant Value: 4614 (0x00001206)

public static final int GL_SPOT_DIRECTION

Added in API level 4

Constant Value: 4612 (0x00001204)

public static final int GL_SPOT_EXPONENT

Added in API level 4

Constant Value: 4613 (0x00001205)

public static final int GL_SRC_ALPHA

Added in API level 4

Constant Value: 770 (0x00000302)

public static final int GL_SRC_ALPHA_SATURATE

Added in API level 4

Constant Value: 776 (0x00000308)

public static final int GL_SRC_COLOR

Added in API level 4

Constant Value: 768 (0x00000300)

public static final int GL_STACK_OVERFLOW

Added in API level 4

Constant Value: 1283 (0x00000503)

public static final int GL_STACK_UNDERFLOW

Added in API level 4

Constant Value: 1284 (0x00000504)

public static final int GL_STENCIL_BITS

Added in API level 4

Constant Value: 3415 (0x00000d57)

public static final int GL_STENCIL_BUFFER_BIT

Added in API level 4

Constant Value: 1024 (0x00000400)

public static final int GL_STENCIL_TEST

Added in API level 4

Constant Value: 2960 (0x00000b90)

public static final int GL_SUBPIXEL_BITS

Added in API level 4

Constant Value: 3408 (0x00000d50)

public static final int GL_TEXTURE

Added in API level 4

Constant Value: 5890 (0x00001702)

public static final int GL_TEXTURE0

Added in API level 4

Constant Value: 33984 (0x000084c0)

public static final int GL_TEXTURE1

Added in API level 4

Constant Value: 33985 (0x000084c1)

public static final int GL_TEXTURE10

Added in API level 4

Constant Value: 33994 (0x000084ca)

public static final int GL_TEXTURE11

Added in API level 4

Constant Value: 33995 (0x000084cb)

public static final int GL_TEXTURE12

Added in API level 4

Constant Value: 33996 (0x000084cc)

public static final int GL_TEXTURE13

Added in API level 4

Constant Value: 33997 (0x000084cd)

public static final int GL_TEXTURE14

Added in API level 4

Constant Value: 33998 (0x000084ce)

public static final int GL_TEXTURE15

Added in API level 4

Constant Value: 33999 (0x000084cf)

public static final int GL_TEXTURE16

Added in API level 4

Constant Value: 34000 (0x000084d0)

public static final int GL_TEXTURE17

Added in API level 4

Constant Value: 34001 (0x000084d1)

public static final int GL_TEXTURE18

Added in API level 4

Constant Value: 34002 (0x000084d2)

public static final int GL_TEXTURE19

Added in API level 4

Constant Value: 34003 (0x000084d3)

public static final int GL_TEXTURE2

Added in API level 4

Constant Value: 33986 (0x000084c2)

public static final int GL_TEXTURE20

Added in API level 4

Constant Value: 34004 (0x000084d4)

public static final int GL_TEXTURE21

Added in API level 4

Constant Value: 34005 (0x000084d5)

public static final int GL_TEXTURE22

Added in API level 4

Constant Value: 34006 (0x000084d6)

public static final int GL_TEXTURE23

Added in API level 4

Constant Value: 34007 (0x000084d7)

public static final int GL_TEXTURE24

Added in API level 4

Constant Value: 34008 (0x000084d8)

public static final int GL_TEXTURE25

Added in API level 4

Constant Value: 34009 (0x000084d9)

public static final int GL_TEXTURE26

Added in API level 4

Constant Value: 34010 (0x000084da)

public static final int GL_TEXTURE27

Added in API level 4

Constant Value: 34011 (0x000084db)

public static final int GL_TEXTURE28

Added in API level 4

Constant Value: 34012 (0x000084dc)

public static final int GL_TEXTURE29

Added in API level 4

Constant Value: 34013 (0x000084dd)

public static final int GL_TEXTURE3

Added in API level 4

Constant Value: 33987 (0x000084c3)

public static final int GL_TEXTURE30

Added in API level 4

Constant Value: 34014 (0x000084de)

public static final int GL_TEXTURE31

Added in API level 4

Constant Value: 34015 (0x000084df)

public static final int GL_TEXTURE4

Added in API level 4

Constant Value: 33988 (0x000084c4)

public static final int GL_TEXTURE5

Added in API level 4

Constant Value: 33989 (0x000084c5)

public static final int GL_TEXTURE6

Added in API level 4

Constant Value: 33990 (0x000084c6)

public static final int GL_TEXTURE7

Added in API level 4

Constant Value: 33991 (0x000084c7)

public static final int GL_TEXTURE8

Added in API level 4

Constant Value: 33992 (0x000084c8)

public static final int GL_TEXTURE9

Added in API level 4

Constant Value: 33993 (0x000084c9)

public static final int GL_TEXTURE_2D

Added in API level 4

Constant Value: 3553 (0x00000de1)

public static final int GL_TEXTURE_COORD_ARRAY

Added in API level 4

Constant Value: 32888 (0x00008078)

public static final int GL_TEXTURE_ENV

Added in API level 4

Constant Value: 8960 (0x00002300)

public static final int GL_TEXTURE_ENV_COLOR

Added in API level 4

Constant Value: 8705 (0x00002201)

public static final int GL_TEXTURE_ENV_MODE

Added in API level 4

Constant Value: 8704 (0x00002200)

public static final int GL_TEXTURE_MAG_FILTER

Added in API level 4

Constant Value: 10240 (0x00002800)

public static final int GL_TEXTURE_MIN_FILTER

Added in API level 4

Constant Value: 10241 (0x00002801)

public static final int GL_TEXTURE_WRAP_S

Added in API level 4

Constant Value: 10242 (0x00002802)

public static final int GL_TEXTURE_WRAP_T

Added in API level 4

Constant Value: 10243 (0x00002803)

public static final int GL_TRIANGLES

Added in API level 4

Constant Value: 4 (0x00000004)

public static final int GL_TRIANGLE_FAN

Added in API level 4

Constant Value: 6 (0x00000006)

public static final int GL_TRIANGLE_STRIP

Added in API level 4

Constant Value: 5 (0x00000005)

public static final int GL_TRUE

Added in API level 4

Constant Value: 1 (0x00000001)

public static final int GL_UNPACK_ALIGNMENT

Added in API level 4

Constant Value: 3317 (0x00000cf5)

public static final int GL_UNSIGNED_BYTE

Added in API level 4

Constant Value: 5121 (0x00001401)

public static final int GL_UNSIGNED_SHORT

Added in API level 4

Constant Value: 5123 (0x00001403)

public static final int GL_UNSIGNED_SHORT_4_4_4_4

Added in API level 4

Constant Value: 32819 (0x00008033)

public static final int GL_UNSIGNED_SHORT_5_5_5_1

Added in API level 4

Constant Value: 32820 (0x00008034)

public static final int GL_UNSIGNED_SHORT_5_6_5

Added in API level 4

Constant Value: 33635 (0x00008363)

public static final int GL_VENDOR

Added in API level 4

Constant Value: 7936 (0x00001f00)

public static final int GL_VERSION

Added in API level 4

Constant Value: 7938 (0x00001f02)

public static final int GL_VERTEX_ARRAY

Added in API level 4

Constant Value: 32884 (0x00008074)

public static final int GL_XOR

Added in API level 4

Constant Value: 5382 (0x00001506)

public static final int GL_ZERO

Added in API level 4

Constant Value: 0 (0x00000000)

Public Constructors

public GLES10 ()

Added in API level 4

Public Methods

public static void glActiveTexture (int texture)

Added in API level 4

public static void glAlphaFunc (int func, float ref)

Added in API level 4

public static void glAlphaFuncx (int func, int ref)

Added in API level 4

public static void glBindTexture (int target, int texture)

Added in API level 4

public static void glBlendFunc (int sfactor, int dfactor)

Added in API level 4

public static void glClear (int mask)

Added in API level 4

public static void glClearColor (float red, float green, float blue, float alpha)

Added in API level 4

public static void glClearColorx (int red, int green, int blue, int alpha)

Added in API level 4

public static void glClearDepthf (float depth)

Added in API level 4

public static void glClearDepthx (int depth)

Added in API level 4

public static void glClearStencil (int s)

Added in API level 4

public static void glClientActiveTexture (int texture)

Added in API level 4

public static void glColor4f (float red, float green, float blue, float alpha)

Added in API level 4

public static void glColor4x (int red, int green, int blue, int alpha)

Added in API level 4

public static void glColorMask (boolean red, boolean green, boolean blue, boolean alpha)

Added in API level 4

public static void glColorPointer (int size, int type, int stride, Buffer pointer)

Added in API level 4

public static void glCompressedTexImage2D (int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data)

Added in API level 4

public static void glCompressedTexSubImage2D (int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, Buffer data)

Added in API level 4

public static void glCopyTexImage2D (int target, int level, int internalformat, int x, int y, int width, int height, int border)

Added in API level 4

public static void glCopyTexSubImage2D (int target, int level, int xoffset, int yoffset, int x, int y, int width, int height)

Added in API level 4

public static void glCullFace (int mode)

Added in API level 4

public static void glDeleteTextures (int n, int[] textures, int offset)

Added in API level 4

public static void glDeleteTextures (int n, IntBuffer textures)

Added in API level 4

public static void glDepthFunc (int func)

Added in API level 4

public static void glDepthMask (boolean flag)

Added in API level 4

public static void glDepthRangef (float zNear, float zFar)

Added in API level 4

public static void glDepthRangex (int zNear, int zFar)

Added in API level 4

public static void glDisable (int cap)

Added in API level 4

public static void glDisableClientState (int array)

Added in API level 4

public static void glDrawArrays (int mode, int first, int count)

Added in API level 4

public static void glDrawElements (int mode, int count, int type, Buffer indices)

Added in API level 4

public static void glEnable (int cap)

Added in API level 4

public static void glEnableClientState (int array)

Added in API level 4

public static void glFinish ()

Added in API level 4

public static void glFlush ()

Added in API level 4

public static void glFogf (int pname, float param)

Added in API level 4

public static void glFogfv (int pname, FloatBuffer params)

Added in API level 4

public static void glFogfv (int pname, float[] params, int offset)

Added in API level 4

public static void glFogx (int pname, int param)

Added in API level 4

public static void glFogxv (int pname, int[] params, int offset)

Added in API level 4

public static void glFogxv (int pname, IntBuffer params)

Added in API level 4

public static void glFrontFace (int mode)

Added in API level 4

public static void glFrustumf (float left, float right, float bottom, float top, float zNear, float zFar)

Added in API level 4

public static void glFrustumx (int left, int right, int bottom, int top, int zNear, int zFar)

Added in API level 4

public static void glGenTextures (int n, IntBuffer textures)

Added in API level 4

public static void glGenTextures (int n, int[] textures, int offset)

Added in API level 4

public static int glGetError ()

Added in API level 4

public static void glGetIntegerv (int pname, IntBuffer params)

Added in API level 4

public static void glGetIntegerv (int pname, int[] params, int offset)

Added in API level 4

public static String glGetString (int name)

Added in API level 4

public static void glHint (int target, int mode)

Added in API level 4

public static void glLightModelf (int pname, float param)

Added in API level 4

public static void glLightModelfv (int pname, FloatBuffer params)

Added in API level 4

public static void glLightModelfv (int pname, float[] params, int offset)

Added in API level 4

public static void glLightModelx (int pname, int param)

Added in API level 4

public static void glLightModelxv (int pname, int[] params, int offset)

Added in API level 4

public static void glLightModelxv (int pname, IntBuffer params)

Added in API level 4

public static void glLightf (int light, int pname, float param)

Added in API level 4

public static void glLightfv (int light, int pname, float[] params, int offset)

Added in API level 4

public static void glLightfv (int light, int pname, FloatBuffer params)

Added in API level 4

public static void glLightx (int light, int pname, int param)

Added in API level 4

public static void glLightxv (int light, int pname, int[] params, int offset)

Added in API level 4

public static void glLightxv (int light, int pname, IntBuffer params)

Added in API level 4

public static void glLineWidth (float width)

Added in API level 4

public static void glLineWidthx (int width)

Added in API level 4

public static void glLoadIdentity ()

Added in API level 4

public static void glLoadMatrixf (float[] m, int offset)

Added in API level 4

public static void glLoadMatrixf (FloatBuffer m)

Added in API level 4

public static void glLoadMatrixx (IntBuffer m)

Added in API level 4

public static void glLoadMatrixx (int[] m, int offset)

Added in API level 4

public static void glLogicOp (int opcode)

Added in API level 4

public static void glMaterialf (int face, int pname, float param)

Added in API level 4

public static void glMaterialfv (int face, int pname, float[] params, int offset)

Added in API level 4

public static void glMaterialfv (int face, int pname, FloatBuffer params)

Added in API level 4

public static void glMaterialx (int face, int pname, int param)

Added in API level 4

public static void glMaterialxv (int face, int pname, IntBuffer params)

Added in API level 4

public static void glMaterialxv (int face, int pname, int[] params, int offset)

Added in API level 4

public static void glMatrixMode (int mode)

Added in API level 4

public static void glMultMatrixf (float[] m, int offset)

Added in API level 4

public static void glMultMatrixf (FloatBuffer m)

Added in API level 4

public static void glMultMatrixx (IntBuffer m)

Added in API level 4

public static void glMultMatrixx (int[] m, int offset)

Added in API level 4

public static void glMultiTexCoord4f (int target, float s, float t, float r, float q)

Added in API level 4

public static void glMultiTexCoord4x (int target, int s, int t, int r, int q)

Added in API level 4

public static void glNormal3f (float nx, float ny, float nz)

Added in API level 4

public static void glNormal3x (int nx, int ny, int nz)

Added in API level 4

public static void glNormalPointer (int type, int stride, Buffer pointer)

Added in API level 4

public static void glOrthof (float left, float right, float bottom, float top, float zNear, float zFar)

Added in API level 4

public static void glOrthox (int left, int right, int bottom, int top, int zNear, int zFar)

Added in API level 4

public static void glPixelStorei (int pname, int param)

Added in API level 4

public static void glPointSize (float size)

Added in API level 4

public static void glPointSizex (int size)

Added in API level 4

public static void glPolygonOffset (float factor, float units)

Added in API level 4

public static void glPolygonOffsetx (int factor, int units)

Added in API level 4

public static void glPopMatrix ()

Added in API level 4

public static void glPushMatrix ()

Added in API level 4

public static void glReadPixels (int x, int y, int width, int height, int format, int type, Buffer pixels)

Added in API level 4

public static void glRotatef (float angle, float x, float y, float z)

Added in API level 4

public static void glRotatex (int angle, int x, int y, int z)

Added in API level 4

public static void glSampleCoverage (float value, boolean invert)

Added in API level 4

public static void glSampleCoveragex (int value, boolean invert)

Added in API level 4

public static void glScalef (float x, float y, float z)

Added in API level 4

public static void glScalex (int x, int y, int z)

Added in API level 4

public static void glScissor (int x, int y, int width, int height)

Added in API level 4

public static void glShadeModel (int mode)

Added in API level 4

public static void glStencilFunc (int func, int ref, int mask)

Added in API level 4

public static void glStencilMask (int mask)

Added in API level 4

public static void glStencilOp (int fail, int zfail, int zpass)

Added in API level 4

public static void glTexCoordPointer (int size, int type, int stride, Buffer pointer)

Added in API level 4

public static void glTexEnvf (int target, int pname, float param)

Added in API level 4

public static void glTexEnvfv (int target, int pname, FloatBuffer params)

Added in API level 4

public static void glTexEnvfv (int target, int pname, float[] params, int offset)

Added in API level 4

public static void glTexEnvx (int target, int pname, int param)

Added in API level 4

public static void glTexEnvxv (int target, int pname, int[] params, int offset)

Added in API level 4

public static void glTexEnvxv (int target, int pname, IntBuffer params)

Added in API level 4

public static void glTexImage2D (int target, int level, int internalformat, int width, int height, int border, int format, int type, Buffer pixels)

Added in API level 4

public static void glTexParameterf (int target, int pname, float param)

Added in API level 4

public static void glTexParameterx (int target, int pname, int param)

Added in API level 4

public static void glTexSubImage2D (int target, int level, int xoffset, int yoffset, int width, int height, int format, int type, Buffer pixels)

Added in API level 4

public static void glTranslatef (float x, float y, float z)

Added in API level 4

public static void glTranslatex (int x, int y, int z)

Added in API level 4

public static void glVertexPointer (int size, int type, int stride, Buffer pointer)

Added in API level 4

public static void glViewport (int x, int y, int width, int height)

Added in API level 4