diff options
-rw-r--r-- | api/current.txt | 472 | ||||
-rw-r--r-- | opengl/java/android/opengl/GLES20.java | 1 | ||||
-rw-r--r-- | opengl/java/android/opengl/GLES30.java | 1 |
3 files changed, 472 insertions, 2 deletions
diff --git a/api/current.txt b/api/current.txt index d1be295..5a33193 100644 --- a/api/current.txt +++ b/api/current.txt @@ -15876,7 +15876,7 @@ package android.opengl { field public static final int GL_STENCIL_CLEAR_VALUE = 2961; // 0xb91 field public static final int GL_STENCIL_FAIL = 2964; // 0xb94 field public static final int GL_STENCIL_FUNC = 2962; // 0xb92 - field public static final int GL_STENCIL_INDEX = 6401; // 0x1901 + field public static final deprecated int GL_STENCIL_INDEX = 6401; // 0x1901 field public static final int GL_STENCIL_INDEX8 = 36168; // 0x8d48 field public static final int GL_STENCIL_PASS_DEPTH_FAIL = 2965; // 0xb95 field public static final int GL_STENCIL_PASS_DEPTH_PASS = 2966; // 0xb96 @@ -15959,6 +15959,476 @@ package android.opengl { field public static final int GL_ZERO = 0; // 0x0 } + public class GLES30 extends android.opengl.GLES20 { + ctor public GLES30(); + method public static void glBeginQuery(int, int); + method public static void glBeginTransformFeedback(int); + method public static void glBindBufferBase(int, int, int); + method public static void glBindBufferRange(int, int, int, int, int); + method public static void glBindSampler(int, int); + method public static void glBindTransformFeedback(int, int); + method public static void glBindVertexArray(int); + method public static void glBlitFramebuffer(int, int, int, int, int, int, int, int, int, int); + method public static void glClearBufferfi(int, int, float, int); + method public static void glClearBufferfv(int, int, float[], int); + method public static void glClearBufferfv(int, int, java.nio.FloatBuffer); + method public static void glClearBufferiv(int, int, int[], int); + method public static void glClearBufferiv(int, int, java.nio.IntBuffer); + method public static void glClearBufferuiv(int, int, int[], int); + method public static void glClearBufferuiv(int, int, java.nio.IntBuffer); + method public static int glClientWaitSync(long, int, long); + method public static void glCompressedTexImage3D(int, int, int, int, int, int, int, int, java.nio.Buffer); + method public static void glCompressedTexImage3D(int, int, int, int, int, int, int, int, int); + method public static void glCompressedTexSubImage3D(int, int, int, int, int, int, int, int, int, int, java.nio.Buffer); + method public static void glCompressedTexSubImage3D(int, int, int, int, int, int, int, int, int, int, int); + method public static void glCopyBufferSubData(int, int, int, int, int); + method public static void glCopyTexSubImage3D(int, int, int, int, int, int, int, int, int); + method public static void glDeleteQueries(int, int[], int); + method public static void glDeleteQueries(int, java.nio.IntBuffer); + method public static void glDeleteSamplers(int, int[], int); + method public static void glDeleteSamplers(int, java.nio.IntBuffer); + method public static void glDeleteSync(long); + method public static void glDeleteTransformFeedbacks(int, int[], int); + method public static void glDeleteTransformFeedbacks(int, java.nio.IntBuffer); + method public static void glDeleteVertexArrays(int, int[], int); + method public static void glDeleteVertexArrays(int, java.nio.IntBuffer); + method public static void glDrawArraysInstanced(int, int, int, int); + method public static void glDrawBuffers(int, int[], int); + method public static void glDrawBuffers(int, java.nio.IntBuffer); + method public static void glDrawElementsInstanced(int, int, int, java.nio.Buffer, int); + method public static void glDrawElementsInstanced(int, int, int, int, int); + method public static void glDrawRangeElements(int, int, int, int, int, java.nio.Buffer); + method public static void glDrawRangeElements(int, int, int, int, int, int); + method public static void glEndQuery(int); + method public static void glEndTransformFeedback(); + method public static long glFenceSync(int, int); + method public static void glFlushMappedBufferRange(int, int, int); + method public static void glFramebufferTextureLayer(int, int, int, int, int); + method public static void glGenQueries(int, int[], int); + method public static void glGenQueries(int, java.nio.IntBuffer); + method public static void glGenSamplers(int, int[], int); + method public static void glGenSamplers(int, java.nio.IntBuffer); + method public static void glGenTransformFeedbacks(int, int[], int); + method public static void glGenTransformFeedbacks(int, java.nio.IntBuffer); + method public static void glGenVertexArrays(int, int[], int); + method public static void glGenVertexArrays(int, java.nio.IntBuffer); + method public static void glGetActiveUniformBlockName(int, int, int, int[], int, byte[], int); + method public static void glGetActiveUniformBlockName(int, int, java.nio.Buffer, java.nio.Buffer); + method public static java.lang.String glGetActiveUniformBlockName(int, int); + method public static void glGetActiveUniformBlockiv(int, int, int, int[], int); + method public static void glGetActiveUniformBlockiv(int, int, int, java.nio.IntBuffer); + method public static void glGetActiveUniformsiv(int, int, int[], int, int, int[], int); + method public static void glGetActiveUniformsiv(int, int, java.nio.IntBuffer, int, java.nio.IntBuffer); + method public static void glGetBufferParameteri64v(int, int, long[], int); + method public static void glGetBufferParameteri64v(int, int, java.nio.LongBuffer); + method public static java.nio.Buffer glGetBufferPointerv(int, int); + method public static int glGetFragDataLocation(int, java.lang.String); + method public static void glGetInteger64i_v(int, int, long[], int); + method public static void glGetInteger64i_v(int, int, java.nio.LongBuffer); + method public static void glGetInteger64v(int, long[], int); + method public static void glGetInteger64v(int, java.nio.LongBuffer); + method public static void glGetIntegeri_v(int, int, int[], int); + method public static void glGetIntegeri_v(int, int, java.nio.IntBuffer); + method public static void glGetInternalformativ(int, int, int, int, int[], int); + method public static void glGetInternalformativ(int, int, int, int, java.nio.IntBuffer); + method public static void glGetProgramBinary(int, int, int[], int, int[], int, java.nio.Buffer); + method public static void glGetProgramBinary(int, int, java.nio.IntBuffer, java.nio.IntBuffer, java.nio.Buffer); + method public static void glGetQueryObjectuiv(int, int, int[], int); + method public static void glGetQueryObjectuiv(int, int, java.nio.IntBuffer); + method public static void glGetQueryiv(int, int, int[], int); + method public static void glGetQueryiv(int, int, java.nio.IntBuffer); + method public static void glGetSamplerParameterfv(int, int, float[], int); + method public static void glGetSamplerParameterfv(int, int, java.nio.FloatBuffer); + method public static void glGetSamplerParameteriv(int, int, int[], int); + method public static void glGetSamplerParameteriv(int, int, java.nio.IntBuffer); + method public static java.lang.String glGetStringi(int, int); + method public static void glGetSynciv(long, int, int, int[], int, int[], int); + method public static void glGetSynciv(long, int, int, java.nio.IntBuffer, java.nio.IntBuffer); + method public static void glGetTransformFeedbackVarying(int, int, int, int[], int, int[], int, int[], int, byte[], int); + method public static void glGetTransformFeedbackVarying(int, int, int, java.nio.IntBuffer, java.nio.IntBuffer, java.nio.IntBuffer, byte); + method public static java.lang.String glGetTransformFeedbackVarying(int, int, int[], int, int[], int); + method public static java.lang.String glGetTransformFeedbackVarying(int, int, java.nio.IntBuffer, java.nio.IntBuffer); + method public static int glGetUniformBlockIndex(int, java.lang.String); + method public static void glGetUniformIndices(int, java.lang.String[], int[], int); + method public static void glGetUniformIndices(int, java.lang.String[], java.nio.IntBuffer); + method public static void glGetUniformuiv(int, int, int[], int); + method public static void glGetUniformuiv(int, int, java.nio.IntBuffer); + method public static void glGetVertexAttribIiv(int, int, int[], int); + method public static void glGetVertexAttribIiv(int, int, java.nio.IntBuffer); + method public static void glGetVertexAttribIuiv(int, int, int[], int); + method public static void glGetVertexAttribIuiv(int, int, java.nio.IntBuffer); + method public static void glInvalidateFramebuffer(int, int, int[], int); + method public static void glInvalidateFramebuffer(int, int, java.nio.IntBuffer); + method public static void glInvalidateSubFramebuffer(int, int, int[], int, int, int, int, int); + method public static void glInvalidateSubFramebuffer(int, int, java.nio.IntBuffer, int, int, int, int); + method public static boolean glIsQuery(int); + method public static boolean glIsSampler(int); + method public static boolean glIsSync(long); + method public static boolean glIsTransformFeedback(int); + method public static boolean glIsVertexArray(int); + method public static java.nio.Buffer glMapBufferRange(int, int, int, int); + method public static void glPauseTransformFeedback(); + method public static void glProgramBinary(int, int, java.nio.Buffer, int); + method public static void glProgramParameteri(int, int, int); + method public static void glReadBuffer(int); + method public static void glRenderbufferStorageMultisample(int, int, int, int, int); + method public static void glResumeTransformFeedback(); + method public static void glSamplerParameterf(int, int, float); + method public static void glSamplerParameterfv(int, int, float[], int); + method public static void glSamplerParameterfv(int, int, java.nio.FloatBuffer); + method public static void glSamplerParameteri(int, int, int); + method public static void glSamplerParameteriv(int, int, int[], int); + method public static void glSamplerParameteriv(int, int, java.nio.IntBuffer); + method public static void glTexImage3D(int, int, int, int, int, int, int, int, int, java.nio.Buffer); + method public static void glTexImage3D(int, int, int, int, int, int, int, int, int, int); + method public static void glTexStorage2D(int, int, int, int, int); + method public static void glTexStorage3D(int, int, int, int, int, int); + method public static void glTexSubImage3D(int, int, int, int, int, int, int, int, int, int, java.nio.Buffer); + method public static void glTexSubImage3D(int, int, int, int, int, int, int, int, int, int, int); + method public static void glTransformFeedbackVaryings(int, java.lang.String[], int); + method public static void glUniform1ui(int, int); + method public static void glUniform1uiv(int, int, int[], int); + method public static void glUniform1uiv(int, int, java.nio.IntBuffer); + method public static void glUniform2ui(int, int, int); + method public static void glUniform2uiv(int, int, int[], int); + method public static void glUniform2uiv(int, int, java.nio.IntBuffer); + method public static void glUniform3ui(int, int, int, int); + method public static void glUniform3uiv(int, int, int[], int); + method public static void glUniform3uiv(int, int, java.nio.IntBuffer); + method public static void glUniform4ui(int, int, int, int, int); + method public static void glUniform4uiv(int, int, int[], int); + method public static void glUniform4uiv(int, int, java.nio.IntBuffer); + method public static void glUniformBlockBinding(int, int, int); + method public static void glUniformMatrix2x3fv(int, int, boolean, float[], int); + method public static void glUniformMatrix2x3fv(int, int, boolean, java.nio.FloatBuffer); + method public static void glUniformMatrix2x4fv(int, int, boolean, float[], int); + method public static void glUniformMatrix2x4fv(int, int, boolean, java.nio.FloatBuffer); + method public static void glUniformMatrix3x2fv(int, int, boolean, float[], int); + method public static void glUniformMatrix3x2fv(int, int, boolean, java.nio.FloatBuffer); + method public static void glUniformMatrix3x4fv(int, int, boolean, float[], int); + method public static void glUniformMatrix3x4fv(int, int, boolean, java.nio.FloatBuffer); + method public static void glUniformMatrix4x2fv(int, int, boolean, float[], int); + method public static void glUniformMatrix4x2fv(int, int, boolean, java.nio.FloatBuffer); + method public static void glUniformMatrix4x3fv(int, int, boolean, float[], int); + method public static void glUniformMatrix4x3fv(int, int, boolean, java.nio.FloatBuffer); + method public static boolean glUnmapBuffer(int); + method public static void glVertexAttribDivisor(int, int); + method public static void glVertexAttribI4i(int, int, int, int, int); + method public static void glVertexAttribI4iv(int, int[], int); + method public static void glVertexAttribI4iv(int, java.nio.IntBuffer); + method public static void glVertexAttribI4ui(int, int, int, int, int); + method public static void glVertexAttribI4uiv(int, int[], int); + method public static void glVertexAttribI4uiv(int, java.nio.IntBuffer); + method public static void glVertexAttribIPointer(int, int, int, int, java.nio.Buffer); + method public static void glVertexAttribIPointer(int, int, int, int, int); + method public static void glWaitSync(long, int, long); + field public static final int GL_ACTIVE_UNIFORM_BLOCKS = 35382; // 0x8a36 + field public static final int GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH = 35381; // 0x8a35 + field public static final int GL_ALREADY_SIGNALED = 37146; // 0x911a + field public static final int GL_ANY_SAMPLES_PASSED = 35887; // 0x8c2f + field public static final int GL_ANY_SAMPLES_PASSED_CONSERVATIVE = 36202; // 0x8d6a + field public static final int GL_BLUE = 6405; // 0x1905 + field public static final int GL_BUFFER_ACCESS_FLAGS = 37151; // 0x911f + field public static final int GL_BUFFER_MAPPED = 35004; // 0x88bc + field public static final int GL_BUFFER_MAP_LENGTH = 37152; // 0x9120 + field public static final int GL_BUFFER_MAP_OFFSET = 37153; // 0x9121 + field public static final int GL_BUFFER_MAP_POINTER = 35005; // 0x88bd + field public static final int GL_COLOR = 6144; // 0x1800 + field public static final int GL_COLOR_ATTACHMENT1 = 36065; // 0x8ce1 + field public static final int GL_COLOR_ATTACHMENT10 = 36074; // 0x8cea + field public static final int GL_COLOR_ATTACHMENT11 = 36075; // 0x8ceb + field public static final int GL_COLOR_ATTACHMENT12 = 36076; // 0x8cec + field public static final int GL_COLOR_ATTACHMENT13 = 36077; // 0x8ced + field public static final int GL_COLOR_ATTACHMENT14 = 36078; // 0x8cee + field public static final int GL_COLOR_ATTACHMENT15 = 36079; // 0x8cef + field public static final int GL_COLOR_ATTACHMENT2 = 36066; // 0x8ce2 + field public static final int GL_COLOR_ATTACHMENT3 = 36067; // 0x8ce3 + field public static final int GL_COLOR_ATTACHMENT4 = 36068; // 0x8ce4 + field public static final int GL_COLOR_ATTACHMENT5 = 36069; // 0x8ce5 + field public static final int GL_COLOR_ATTACHMENT6 = 36070; // 0x8ce6 + field public static final int GL_COLOR_ATTACHMENT7 = 36071; // 0x8ce7 + field public static final int GL_COLOR_ATTACHMENT8 = 36072; // 0x8ce8 + field public static final int GL_COLOR_ATTACHMENT9 = 36073; // 0x8ce9 + field public static final int GL_COMPARE_REF_TO_TEXTURE = 34894; // 0x884e + field public static final int GL_COMPRESSED_R11_EAC = 37488; // 0x9270 + field public static final int GL_COMPRESSED_RG11_EAC = 37490; // 0x9272 + field public static final int GL_COMPRESSED_RGB8_ETC2 = 37492; // 0x9274 + field public static final int GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 37494; // 0x9276 + field public static final int GL_COMPRESSED_RGBA8_ETC2_EAC = 37496; // 0x9278 + field public static final int GL_COMPRESSED_SIGNED_R11_EAC = 37489; // 0x9271 + field public static final int GL_COMPRESSED_SIGNED_RG11_EAC = 37491; // 0x9273 + field public static final int GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC = 37497; // 0x9279 + field public static final int GL_COMPRESSED_SRGB8_ETC2 = 37493; // 0x9275 + field public static final int GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 = 37495; // 0x9277 + field public static final int GL_CONDITION_SATISFIED = 37148; // 0x911c + field public static final int GL_COPY_READ_BUFFER = 36662; // 0x8f36 + field public static final int GL_COPY_READ_BUFFER_BINDING = 36662; // 0x8f36 + field public static final int GL_COPY_WRITE_BUFFER = 36663; // 0x8f37 + field public static final int GL_COPY_WRITE_BUFFER_BINDING = 36663; // 0x8f37 + field public static final int GL_CURRENT_QUERY = 34917; // 0x8865 + field public static final int GL_DEPTH = 6145; // 0x1801 + field public static final int GL_DEPTH24_STENCIL8 = 35056; // 0x88f0 + field public static final int GL_DEPTH32F_STENCIL8 = 36013; // 0x8cad + field public static final int GL_DEPTH_COMPONENT24 = 33190; // 0x81a6 + field public static final int GL_DEPTH_COMPONENT32F = 36012; // 0x8cac + field public static final int GL_DEPTH_STENCIL = 34041; // 0x84f9 + field public static final int GL_DEPTH_STENCIL_ATTACHMENT = 33306; // 0x821a + field public static final int GL_DRAW_BUFFER0 = 34853; // 0x8825 + field public static final int GL_DRAW_BUFFER1 = 34854; // 0x8826 + field public static final int GL_DRAW_BUFFER10 = 34863; // 0x882f + field public static final int GL_DRAW_BUFFER11 = 34864; // 0x8830 + field public static final int GL_DRAW_BUFFER12 = 34865; // 0x8831 + field public static final int GL_DRAW_BUFFER13 = 34866; // 0x8832 + field public static final int GL_DRAW_BUFFER14 = 34867; // 0x8833 + field public static final int GL_DRAW_BUFFER15 = 34868; // 0x8834 + field public static final int GL_DRAW_BUFFER2 = 34855; // 0x8827 + field public static final int GL_DRAW_BUFFER3 = 34856; // 0x8828 + field public static final int GL_DRAW_BUFFER4 = 34857; // 0x8829 + field public static final int GL_DRAW_BUFFER5 = 34858; // 0x882a + field public static final int GL_DRAW_BUFFER6 = 34859; // 0x882b + field public static final int GL_DRAW_BUFFER7 = 34860; // 0x882c + field public static final int GL_DRAW_BUFFER8 = 34861; // 0x882d + field public static final int GL_DRAW_BUFFER9 = 34862; // 0x882e + field public static final int GL_DRAW_FRAMEBUFFER = 36009; // 0x8ca9 + field public static final int GL_DRAW_FRAMEBUFFER_BINDING = 36006; // 0x8ca6 + field public static final int GL_DYNAMIC_COPY = 35050; // 0x88ea + field public static final int GL_DYNAMIC_READ = 35049; // 0x88e9 + field public static final int GL_FLOAT_32_UNSIGNED_INT_24_8_REV = 36269; // 0x8dad + field public static final int GL_FLOAT_MAT2x3 = 35685; // 0x8b65 + field public static final int GL_FLOAT_MAT2x4 = 35686; // 0x8b66 + field public static final int GL_FLOAT_MAT3x2 = 35687; // 0x8b67 + field public static final int GL_FLOAT_MAT3x4 = 35688; // 0x8b68 + field public static final int GL_FLOAT_MAT4x2 = 35689; // 0x8b69 + field public static final int GL_FLOAT_MAT4x3 = 35690; // 0x8b6a + field public static final int GL_FRAGMENT_SHADER_DERIVATIVE_HINT = 35723; // 0x8b8b + field public static final int GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE = 33301; // 0x8215 + field public static final int GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE = 33300; // 0x8214 + field public static final int GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING = 33296; // 0x8210 + field public static final int GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE = 33297; // 0x8211 + field public static final int GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE = 33302; // 0x8216 + field public static final int GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE = 33299; // 0x8213 + field public static final int GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE = 33298; // 0x8212 + field public static final int GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE = 33303; // 0x8217 + field public static final int GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER = 36052; // 0x8cd4 + field public static final int GL_FRAMEBUFFER_DEFAULT = 33304; // 0x8218 + field public static final int GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE = 36182; // 0x8d56 + field public static final int GL_FRAMEBUFFER_UNDEFINED = 33305; // 0x8219 + field public static final int GL_GREEN = 6404; // 0x1904 + field public static final int GL_HALF_FLOAT = 5131; // 0x140b + field public static final int GL_INTERLEAVED_ATTRIBS = 35980; // 0x8c8c + field public static final int GL_INT_2_10_10_10_REV = 36255; // 0x8d9f + field public static final int GL_INT_SAMPLER_2D = 36298; // 0x8dca + field public static final int GL_INT_SAMPLER_2D_ARRAY = 36303; // 0x8dcf + field public static final int GL_INT_SAMPLER_3D = 36299; // 0x8dcb + field public static final int GL_INT_SAMPLER_CUBE = 36300; // 0x8dcc + field public static final int GL_INVALID_INDEX = -1; // 0xffffffff + field public static final int GL_MAJOR_VERSION = 33307; // 0x821b + field public static final int GL_MAP_FLUSH_EXPLICIT_BIT = 16; // 0x10 + field public static final int GL_MAP_INVALIDATE_BUFFER_BIT = 8; // 0x8 + field public static final int GL_MAP_INVALIDATE_RANGE_BIT = 4; // 0x4 + field public static final int GL_MAP_READ_BIT = 1; // 0x1 + field public static final int GL_MAP_UNSYNCHRONIZED_BIT = 32; // 0x20 + field public static final int GL_MAP_WRITE_BIT = 2; // 0x2 + field public static final int GL_MAX = 32776; // 0x8008 + field public static final int GL_MAX_3D_TEXTURE_SIZE = 32883; // 0x8073 + field public static final int GL_MAX_ARRAY_TEXTURE_LAYERS = 35071; // 0x88ff + field public static final int GL_MAX_COLOR_ATTACHMENTS = 36063; // 0x8cdf + field public static final int GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS = 35379; // 0x8a33 + field public static final int GL_MAX_COMBINED_UNIFORM_BLOCKS = 35374; // 0x8a2e + field public static final int GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS = 35377; // 0x8a31 + field public static final int GL_MAX_DRAW_BUFFERS = 34852; // 0x8824 + field public static final int GL_MAX_ELEMENTS_INDICES = 33001; // 0x80e9 + field public static final int GL_MAX_ELEMENTS_VERTICES = 33000; // 0x80e8 + field public static final int GL_MAX_ELEMENT_INDEX = 36203; // 0x8d6b + field public static final int GL_MAX_FRAGMENT_INPUT_COMPONENTS = 37157; // 0x9125 + field public static final int GL_MAX_FRAGMENT_UNIFORM_BLOCKS = 35373; // 0x8a2d + field public static final int GL_MAX_FRAGMENT_UNIFORM_COMPONENTS = 35657; // 0x8b49 + field public static final int GL_MAX_PROGRAM_TEXEL_OFFSET = 35077; // 0x8905 + field public static final int GL_MAX_SAMPLES = 36183; // 0x8d57 + field public static final int GL_MAX_SERVER_WAIT_TIMEOUT = 37137; // 0x9111 + field public static final int GL_MAX_TEXTURE_LOD_BIAS = 34045; // 0x84fd + field public static final int GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS = 35978; // 0x8c8a + field public static final int GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS = 35979; // 0x8c8b + field public static final int GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS = 35968; // 0x8c80 + field public static final int GL_MAX_UNIFORM_BLOCK_SIZE = 35376; // 0x8a30 + field public static final int GL_MAX_UNIFORM_BUFFER_BINDINGS = 35375; // 0x8a2f + field public static final int GL_MAX_VARYING_COMPONENTS = 35659; // 0x8b4b + field public static final int GL_MAX_VERTEX_OUTPUT_COMPONENTS = 37154; // 0x9122 + field public static final int GL_MAX_VERTEX_UNIFORM_BLOCKS = 35371; // 0x8a2b + field public static final int GL_MAX_VERTEX_UNIFORM_COMPONENTS = 35658; // 0x8b4a + field public static final int GL_MIN = 32775; // 0x8007 + field public static final int GL_MINOR_VERSION = 33308; // 0x821c + field public static final int GL_MIN_PROGRAM_TEXEL_OFFSET = 35076; // 0x8904 + field public static final int GL_NUM_EXTENSIONS = 33309; // 0x821d + field public static final int GL_NUM_PROGRAM_BINARY_FORMATS = 34814; // 0x87fe + field public static final int GL_NUM_SAMPLE_COUNTS = 37760; // 0x9380 + field public static final int GL_OBJECT_TYPE = 37138; // 0x9112 + field public static final int GL_PACK_ROW_LENGTH = 3330; // 0xd02 + field public static final int GL_PACK_SKIP_PIXELS = 3332; // 0xd04 + field public static final int GL_PACK_SKIP_ROWS = 3331; // 0xd03 + field public static final int GL_PIXEL_PACK_BUFFER = 35051; // 0x88eb + field public static final int GL_PIXEL_PACK_BUFFER_BINDING = 35053; // 0x88ed + field public static final int GL_PIXEL_UNPACK_BUFFER = 35052; // 0x88ec + field public static final int GL_PIXEL_UNPACK_BUFFER_BINDING = 35055; // 0x88ef + field public static final int GL_PRIMITIVE_RESTART_FIXED_INDEX = 36201; // 0x8d69 + field public static final int GL_PROGRAM_BINARY_FORMATS = 34815; // 0x87ff + field public static final int GL_PROGRAM_BINARY_LENGTH = 34625; // 0x8741 + field public static final int GL_PROGRAM_BINARY_RETRIEVABLE_HINT = 33367; // 0x8257 + field public static final int GL_QUERY_RESULT = 34918; // 0x8866 + field public static final int GL_QUERY_RESULT_AVAILABLE = 34919; // 0x8867 + field public static final int GL_R11F_G11F_B10F = 35898; // 0x8c3a + field public static final int GL_R16F = 33325; // 0x822d + field public static final int GL_R16I = 33331; // 0x8233 + field public static final int GL_R16UI = 33332; // 0x8234 + field public static final int GL_R32F = 33326; // 0x822e + field public static final int GL_R32I = 33333; // 0x8235 + field public static final int GL_R32UI = 33334; // 0x8236 + field public static final int GL_R8 = 33321; // 0x8229 + field public static final int GL_R8I = 33329; // 0x8231 + field public static final int GL_R8UI = 33330; // 0x8232 + field public static final int GL_R8_SNORM = 36756; // 0x8f94 + field public static final int GL_RASTERIZER_DISCARD = 35977; // 0x8c89 + field public static final int GL_READ_BUFFER = 3074; // 0xc02 + field public static final int GL_READ_FRAMEBUFFER = 36008; // 0x8ca8 + field public static final int GL_READ_FRAMEBUFFER_BINDING = 36010; // 0x8caa + field public static final int GL_RED = 6403; // 0x1903 + field public static final int GL_RED_INTEGER = 36244; // 0x8d94 + field public static final int GL_RENDERBUFFER_SAMPLES = 36011; // 0x8cab + field public static final int GL_RG = 33319; // 0x8227 + field public static final int GL_RG16F = 33327; // 0x822f + field public static final int GL_RG16I = 33337; // 0x8239 + field public static final int GL_RG16UI = 33338; // 0x823a + field public static final int GL_RG32F = 33328; // 0x8230 + field public static final int GL_RG32I = 33339; // 0x823b + field public static final int GL_RG32UI = 33340; // 0x823c + field public static final int GL_RG8 = 33323; // 0x822b + field public static final int GL_RG8I = 33335; // 0x8237 + field public static final int GL_RG8UI = 33336; // 0x8238 + field public static final int GL_RG8_SNORM = 36757; // 0x8f95 + field public static final int GL_RGB10_A2 = 32857; // 0x8059 + field public static final int GL_RGB10_A2UI = 36975; // 0x906f + field public static final int GL_RGB16F = 34843; // 0x881b + field public static final int GL_RGB16I = 36233; // 0x8d89 + field public static final int GL_RGB16UI = 36215; // 0x8d77 + field public static final int GL_RGB32F = 34837; // 0x8815 + field public static final int GL_RGB32I = 36227; // 0x8d83 + field public static final int GL_RGB32UI = 36209; // 0x8d71 + field public static final int GL_RGB8 = 32849; // 0x8051 + field public static final int GL_RGB8I = 36239; // 0x8d8f + field public static final int GL_RGB8UI = 36221; // 0x8d7d + field public static final int GL_RGB8_SNORM = 36758; // 0x8f96 + field public static final int GL_RGB9_E5 = 35901; // 0x8c3d + field public static final int GL_RGBA16F = 34842; // 0x881a + field public static final int GL_RGBA16I = 36232; // 0x8d88 + field public static final int GL_RGBA16UI = 36214; // 0x8d76 + field public static final int GL_RGBA32F = 34836; // 0x8814 + field public static final int GL_RGBA32I = 36226; // 0x8d82 + field public static final int GL_RGBA32UI = 36208; // 0x8d70 + field public static final int GL_RGBA8 = 32856; // 0x8058 + field public static final int GL_RGBA8I = 36238; // 0x8d8e + field public static final int GL_RGBA8UI = 36220; // 0x8d7c + field public static final int GL_RGBA8_SNORM = 36759; // 0x8f97 + field public static final int GL_RGBA_INTEGER = 36249; // 0x8d99 + field public static final int GL_RGB_INTEGER = 36248; // 0x8d98 + field public static final int GL_RG_INTEGER = 33320; // 0x8228 + field public static final int GL_SAMPLER_2D_ARRAY = 36289; // 0x8dc1 + field public static final int GL_SAMPLER_2D_ARRAY_SHADOW = 36292; // 0x8dc4 + field public static final int GL_SAMPLER_2D_SHADOW = 35682; // 0x8b62 + field public static final int GL_SAMPLER_3D = 35679; // 0x8b5f + field public static final int GL_SAMPLER_BINDING = 35097; // 0x8919 + field public static final int GL_SAMPLER_CUBE_SHADOW = 36293; // 0x8dc5 + field public static final int GL_SEPARATE_ATTRIBS = 35981; // 0x8c8d + field public static final int GL_SIGNALED = 37145; // 0x9119 + field public static final int GL_SIGNED_NORMALIZED = 36764; // 0x8f9c + field public static final int GL_SRGB = 35904; // 0x8c40 + field public static final int GL_SRGB8 = 35905; // 0x8c41 + field public static final int GL_SRGB8_ALPHA8 = 35907; // 0x8c43 + field public static final int GL_STATIC_COPY = 35046; // 0x88e6 + field public static final int GL_STATIC_READ = 35045; // 0x88e5 + field public static final int GL_STENCIL = 6146; // 0x1802 + field public static final int GL_STREAM_COPY = 35042; // 0x88e2 + field public static final int GL_STREAM_READ = 35041; // 0x88e1 + field public static final int GL_SYNC_CONDITION = 37139; // 0x9113 + field public static final int GL_SYNC_FENCE = 37142; // 0x9116 + field public static final int GL_SYNC_FLAGS = 37141; // 0x9115 + field public static final int GL_SYNC_FLUSH_COMMANDS_BIT = 1; // 0x1 + field public static final int GL_SYNC_GPU_COMMANDS_COMPLETE = 37143; // 0x9117 + field public static final int GL_SYNC_STATUS = 37140; // 0x9114 + field public static final int GL_TEXTURE_2D_ARRAY = 35866; // 0x8c1a + field public static final int GL_TEXTURE_3D = 32879; // 0x806f + field public static final int GL_TEXTURE_BASE_LEVEL = 33084; // 0x813c + field public static final int GL_TEXTURE_BINDING_2D_ARRAY = 35869; // 0x8c1d + field public static final int GL_TEXTURE_BINDING_3D = 32874; // 0x806a + field public static final int GL_TEXTURE_COMPARE_FUNC = 34893; // 0x884d + field public static final int GL_TEXTURE_COMPARE_MODE = 34892; // 0x884c + field public static final int GL_TEXTURE_IMMUTABLE_FORMAT = 37167; // 0x912f + field public static final int GL_TEXTURE_IMMUTABLE_LEVELS = 33503; // 0x82df + field public static final int GL_TEXTURE_MAX_LEVEL = 33085; // 0x813d + field public static final int GL_TEXTURE_MAX_LOD = 33083; // 0x813b + field public static final int GL_TEXTURE_MIN_LOD = 33082; // 0x813a + field public static final int GL_TEXTURE_SWIZZLE_A = 36421; // 0x8e45 + field public static final int GL_TEXTURE_SWIZZLE_B = 36420; // 0x8e44 + field public static final int GL_TEXTURE_SWIZZLE_G = 36419; // 0x8e43 + field public static final int GL_TEXTURE_SWIZZLE_R = 36418; // 0x8e42 + field public static final int GL_TEXTURE_WRAP_R = 32882; // 0x8072 + field public static final int GL_TIMEOUT_EXPIRED = 37147; // 0x911b + field public static final long GL_TIMEOUT_IGNORED = -1L; // 0xffffffffffffffffL + field public static final int GL_TRANSFORM_FEEDBACK = 36386; // 0x8e22 + field public static final int GL_TRANSFORM_FEEDBACK_ACTIVE = 36388; // 0x8e24 + field public static final int GL_TRANSFORM_FEEDBACK_BINDING = 36389; // 0x8e25 + field public static final int GL_TRANSFORM_FEEDBACK_BUFFER = 35982; // 0x8c8e + field public static final int GL_TRANSFORM_FEEDBACK_BUFFER_BINDING = 35983; // 0x8c8f + field public static final int GL_TRANSFORM_FEEDBACK_BUFFER_MODE = 35967; // 0x8c7f + field public static final int GL_TRANSFORM_FEEDBACK_BUFFER_SIZE = 35973; // 0x8c85 + field public static final int GL_TRANSFORM_FEEDBACK_BUFFER_START = 35972; // 0x8c84 + field public static final int GL_TRANSFORM_FEEDBACK_PAUSED = 36387; // 0x8e23 + field public static final int GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN = 35976; // 0x8c88 + field public static final int GL_TRANSFORM_FEEDBACK_VARYINGS = 35971; // 0x8c83 + field public static final int GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH = 35958; // 0x8c76 + field public static final int GL_UNIFORM_ARRAY_STRIDE = 35388; // 0x8a3c + field public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS = 35394; // 0x8a42 + field public static final int GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES = 35395; // 0x8a43 + field public static final int GL_UNIFORM_BLOCK_BINDING = 35391; // 0x8a3f + field public static final int GL_UNIFORM_BLOCK_DATA_SIZE = 35392; // 0x8a40 + field public static final int GL_UNIFORM_BLOCK_INDEX = 35386; // 0x8a3a + field public static final int GL_UNIFORM_BLOCK_NAME_LENGTH = 35393; // 0x8a41 + field public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER = 35398; // 0x8a46 + field public static final int GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER = 35396; // 0x8a44 + field public static final int GL_UNIFORM_BUFFER = 35345; // 0x8a11 + field public static final int GL_UNIFORM_BUFFER_BINDING = 35368; // 0x8a28 + field public static final int GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT = 35380; // 0x8a34 + field public static final int GL_UNIFORM_BUFFER_SIZE = 35370; // 0x8a2a + field public static final int GL_UNIFORM_BUFFER_START = 35369; // 0x8a29 + field public static final int GL_UNIFORM_IS_ROW_MAJOR = 35390; // 0x8a3e + field public static final int GL_UNIFORM_MATRIX_STRIDE = 35389; // 0x8a3d + field public static final int GL_UNIFORM_NAME_LENGTH = 35385; // 0x8a39 + field public static final int GL_UNIFORM_OFFSET = 35387; // 0x8a3b + field public static final int GL_UNIFORM_SIZE = 35384; // 0x8a38 + field public static final int GL_UNIFORM_TYPE = 35383; // 0x8a37 + field public static final int GL_UNPACK_IMAGE_HEIGHT = 32878; // 0x806e + field public static final int GL_UNPACK_ROW_LENGTH = 3314; // 0xcf2 + field public static final int GL_UNPACK_SKIP_IMAGES = 32877; // 0x806d + field public static final int GL_UNPACK_SKIP_PIXELS = 3316; // 0xcf4 + field public static final int GL_UNPACK_SKIP_ROWS = 3315; // 0xcf3 + field public static final int GL_UNSIGNALED = 37144; // 0x9118 + field public static final int GL_UNSIGNED_INT_10F_11F_11F_REV = 35899; // 0x8c3b + field public static final int GL_UNSIGNED_INT_24_8 = 34042; // 0x84fa + field public static final int GL_UNSIGNED_INT_2_10_10_10_REV = 33640; // 0x8368 + field public static final int GL_UNSIGNED_INT_5_9_9_9_REV = 35902; // 0x8c3e + field public static final int GL_UNSIGNED_INT_SAMPLER_2D = 36306; // 0x8dd2 + field public static final int GL_UNSIGNED_INT_SAMPLER_2D_ARRAY = 36311; // 0x8dd7 + field public static final int GL_UNSIGNED_INT_SAMPLER_3D = 36307; // 0x8dd3 + field public static final int GL_UNSIGNED_INT_SAMPLER_CUBE = 36308; // 0x8dd4 + field public static final int GL_UNSIGNED_INT_VEC2 = 36294; // 0x8dc6 + field public static final int GL_UNSIGNED_INT_VEC3 = 36295; // 0x8dc7 + field public static final int GL_UNSIGNED_INT_VEC4 = 36296; // 0x8dc8 + field public static final int GL_UNSIGNED_NORMALIZED = 35863; // 0x8c17 + field public static final int GL_VERTEX_ARRAY_BINDING = 34229; // 0x85b5 + field public static final int GL_VERTEX_ATTRIB_ARRAY_DIVISOR = 35070; // 0x88fe + field public static final int GL_VERTEX_ATTRIB_ARRAY_INTEGER = 35069; // 0x88fd + field public static final int GL_WAIT_FAILED = 37149; // 0x911d + } + public class GLException extends java.lang.RuntimeException { ctor public GLException(int); ctor public GLException(int, java.lang.String); diff --git a/opengl/java/android/opengl/GLES20.java b/opengl/java/android/opengl/GLES20.java index 14abb87..8261474 100644 --- a/opengl/java/android/opengl/GLES20.java +++ b/opengl/java/android/opengl/GLES20.java @@ -299,6 +299,7 @@ public class GLES20 { // GL_STENCIL_INDEX does not appear in gl2.h or gl2ext.h, and there is no // token with value 0x1901. // + @Deprecated public static final int GL_STENCIL_INDEX = 0x1901; public static final int GL_STENCIL_INDEX8 = 0x8D48; public static final int GL_RENDERBUFFER_WIDTH = 0x8D42; diff --git a/opengl/java/android/opengl/GLES30.java b/opengl/java/android/opengl/GLES30.java index ecc96af..9164849 100644 --- a/opengl/java/android/opengl/GLES30.java +++ b/opengl/java/android/opengl/GLES30.java @@ -20,7 +20,6 @@ package android.opengl; /** OpenGL ES 3.0 - * @hide */ public class GLES30 extends GLES20 { public static final int GL_READ_BUFFER = 0x0C02; |