Add android.opengl.GLES30, hidden for now
Bug: 8566953 Change-Id: Ia5a01d5e857b4fce12a451e2dcab0359758ad648
This commit is contained in:
@@ -30,6 +30,7 @@ LOCAL_SRC_FILES:= \
|
||||
android_opengl_GLES11.cpp \
|
||||
android_opengl_GLES11Ext.cpp \
|
||||
android_opengl_GLES20.cpp \
|
||||
android_opengl_GLES30.cpp \
|
||||
android_database_CursorWindow.cpp \
|
||||
android_database_SQLiteCommon.cpp \
|
||||
android_database_SQLiteConnection.cpp \
|
||||
|
||||
5217
core/jni/android_opengl_GLES30.cpp
Normal file
5217
core/jni/android_opengl_GLES30.cpp
Normal file
File diff suppressed because it is too large
Load Diff
@@ -296,6 +296,9 @@ public class GLES20 {
|
||||
public static final int GL_RGB5_A1 = 0x8057;
|
||||
public static final int GL_RGB565 = 0x8D62;
|
||||
public static final int GL_DEPTH_COMPONENT16 = 0x81A5;
|
||||
// GL_STENCIL_INDEX does not appear in gl2.h or gl2ext.h, and there is no
|
||||
// token with value 0x1901.
|
||||
//
|
||||
public static final int GL_STENCIL_INDEX = 0x1901;
|
||||
public static final int GL_STENCIL_INDEX8 = 0x8D48;
|
||||
public static final int GL_RENDERBUFFER_WIDTH = 0x8D42;
|
||||
@@ -327,7 +330,7 @@ public class GLES20 {
|
||||
|
||||
native private static void _nativeClassInit();
|
||||
static {
|
||||
_nativeClassInit();
|
||||
_nativeClassInit();
|
||||
}
|
||||
// C function void glActiveTexture ( GLenum texture )
|
||||
|
||||
@@ -1025,7 +1028,7 @@ public class GLES20 {
|
||||
);
|
||||
|
||||
// C function void glGetProgramInfoLog( GLuint program, GLsizei maxLength, GLsizei * length,
|
||||
// GLchar * infoLog);
|
||||
// GLchar * infoLog);
|
||||
|
||||
public static native String glGetProgramInfoLog(
|
||||
int program
|
||||
@@ -1065,7 +1068,7 @@ public class GLES20 {
|
||||
);
|
||||
|
||||
// C function void glGetShaderInfoLog( GLuint shader, GLsizei maxLength, GLsizei * length,
|
||||
// GLchar * infoLog);
|
||||
// GLchar * infoLog);
|
||||
|
||||
public static native String glGetShaderInfoLog(
|
||||
int shader
|
||||
|
||||
1795
opengl/java/android/opengl/GLES30.java
Normal file
1795
opengl/java/android/opengl/GLES30.java
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user