Searched refs:internalformat (Results 1 - 25 of 43) sorted by relevance

12

/frameworks/base/opengl/java/android/opengl/
H A DGLUtils.java49 throw new IllegalArgumentException("Unknown internalformat");
94 * @param internalformat
98 public static void texImage2D(int target, int level, int internalformat, argument
106 if (native_texImage2D(target, level, internalformat, bitmap, -1, border)!=0) {
114 * internalformat of the bitmap must be compatible with the specified
115 * type and internalformat parameters.
119 * @param internalformat
124 public static void texImage2D(int target, int level, int internalformat, argument
132 if (native_texImage2D(target, level, internalformat, bitmap, type, border)!=0) {
266 native private static int native_texImage2D(int target, int level, int internalformat, argument
[all...]
H A DGLES30.java366 // C function void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
371 int internalformat,
381 // C function void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei offset )
386 int internalformat,
442 // C function void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data )
447 int internalformat,
456 // C function void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLsizei offset )
461 int internalformat,
742 // C function void glRenderbufferStorageMultisample ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height )
747 int internalformat,
368 glTexImage3D( int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, java.nio.Buffer pixels ) argument
383 glTexImage3D( int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, int offset ) argument
444 glCompressedTexImage3D( int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, java.nio.Buffer data ) argument
458 glCompressedTexImage3D( int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, int offset ) argument
744 glRenderbufferStorageMultisample( int target, int samples, int internalformat, int width, int height ) argument
1769 glTexStorage2D( int target, int levels, int internalformat, int width, int height ) argument
1779 glTexStorage3D( int target, int levels, int internalformat, int width, int height, int depth ) argument
1790 glGetInternalformativ( int target, int internalformat, int pname, int bufSize, int[] params, int offset ) argument
1801 glGetInternalformativ( int target, int internalformat, int pname, int bufSize, java.nio.IntBuffer params ) argument
[all...]
H A DGLES31Ext.java399 // C function void glTexStorage3DMultisampleOES ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations )
404 int internalformat,
660 // C function void glTexBufferEXT ( GLenum target, GLenum internalformat, GLuint buffer )
664 int internalformat,
668 // C function void glTexBufferRangeEXT ( GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size )
672 int internalformat,
401 glTexStorage3DMultisampleOES( int target, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations ) argument
662 glTexBufferEXT( int target, int internalformat, int buffer ) argument
670 glTexBufferRangeEXT( int target, int internalformat, int buffer, int offset, int size ) argument
H A DGLES32.java755 // C function void glTexBuffer ( GLenum target, GLenum internalformat, GLuint buffer )
759 int internalformat,
763 // C function void glTexBufferRange ( GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size )
767 int internalformat,
773 // C function void glTexStorage3DMultisample ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations )
778 int internalformat,
757 glTexBuffer( int target, int internalformat, int buffer ) argument
765 glTexBufferRange( int target, int internalformat, int buffer, int offset, int size ) argument
775 glTexStorage3DMultisample( int target, int samples, int internalformat, int width, int height, int depth, boolean fixedsamplelocations ) argument
H A DGLES10.java414 // C function void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data )
419 int internalformat,
441 // C function void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border )
446 int internalformat,
1221 // C function void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
1226 int internalformat,
416 glCompressedTexImage2D( int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data ) argument
443 glCopyTexImage2D( int target, int level, int internalformat, int x, int y, int width, int height, int border ) argument
1223 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument
H A DGLErrorWrapper.java168 int internalformat, int width, int height, int border,
171 mgl.glCompressedTexImage2D(target, level, internalformat, width,
185 public void glCopyTexImage2D(int target, int level, int internalformat, argument
188 mgl.glCopyTexImage2D(target, level, internalformat, x, y, width,
779 public void glTexImage2D(int target, int level, int internalformat, argument
783 mgl.glTexImage2D(target, level, internalformat, width, height, border,
1594 public void glRenderbufferStorageOES(int target, int internalformat, argument
1597 mgl11ExtensionPack.glRenderbufferStorageOES(target, internalformat, width, height);
167 glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data) argument
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES31Ext.spec14 void glTexStorage3DMultisampleOES ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations )
35 void glTexBufferEXT ( GLenum target, GLenum internalformat, GLuint buffer )
36 void glTexBufferRangeEXT ( GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size )
H A DGLES30.spec4 void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
5 void glTexImage3D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei offset )
9 void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data )
10 void glCompressedTexImage3D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLsizei offset )
30 void glRenderbufferStorageMultisample ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height )
108 void glTexStorage2D ( GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height )
109 void glTexStorage3D ( GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth )
110 void glGetInternalformativ ( GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params )
H A DGLES32.spec42 void glTexBuffer ( GLenum target, GLenum internalformat, GLuint buffer )
43 void glTexBufferRange ( GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size )
44 void glTexStorage3DMultisample ( GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations )
H A DGLES20.spec22 void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data )
24 void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border )
96 void glRenderbufferStorage ( GLenum target, GLenum internalformat, GLsizei width, GLsizei height )
107 void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
H A DGLES10.spec17 void glCompressedTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data )
19 void glCopyTexImage2D ( GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border )
99 void glTexImage2D ( GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels )
/frameworks/native/opengl/libagl/
H A DTextureObjectManager.h79 GLenum internalformat; member in class:android::EGLTextureObject
H A Dtexture.cpp402 tex->internalformat = format;
1057 GLenum target, GLint level, GLenum internalformat,
1075 switch (internalformat) {
1121 if (internalformat == GL_ETC1_RGB8_OES) {
1161 surface->data, surface->stride, internalformat);
1167 GLenum target, GLint level, GLint internalformat,
1180 if (format != (GLenum)internalformat) {
1258 if (!tex->internalformat || tex->direct) {
1263 if (format != tex->internalformat) {
1314 GLenum target, GLint level, GLenum internalformat,
1056 glCompressedTexImage2D( GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) argument
[all...]
H A DTextureObjectManager.cpp52 internalformat = 0;
126 internalformat = 0;
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11ExtensionPack.java148 int internalformat,
159 int internalformat,
322 int internalformat,
145 glCompressedTexImage2D( int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data ) argument
156 glCopyTexImage2D( int target, int level, int internalformat, int x, int y, int width, int height, int border ) argument
320 glRenderbufferStorageOES( int target, int internalformat, int width, int height ) argument
H A DGL10.java350 int internalformat,
373 int internalformat,
913 int internalformat,
347 glCompressedTexImage2D( int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data ) argument
370 glCopyTexImage2D( int target, int level, int internalformat, int x, int y, int width, int height, int border ) argument
910 glTexImage2D( int target, int level, int internalformat, int width, int height, int border, int format, int type, java.nio.Buffer pixels ) argument
/frameworks/native/opengl/include/GLES/
H A Dglext.h756 GL_API void GL_APIENTRY glRenderbufferStorageOES (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
772 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
965 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1050 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
1114 GL_API void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
1115 GL_API void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
1116 GL_API void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
1117 GL_API void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
1118 GL_API void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
1119 GL_API void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsize
[all...]
/frameworks/base/libs/hwui/
H A DTexture.h88 void upload(GLint internalformat, uint32_t width, uint32_t height,
H A DTexture.cpp104 void Texture::upload(GLint internalformat, uint32_t width, uint32_t height, argument
107 bool needsAlloc = updateSize(width, height, internalformat);
/frameworks/native/opengl/include/GLES2/
H A Dgl2ext.h576 typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
579 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
583 GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
586 GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
632 typedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer);
633 typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
635 GL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer);
636 GL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
711 typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
713 GL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum internalformat, GLsize
[all...]
/frameworks/base/core/jni/android/opengl/
H A Dutil.cpp727 jint target, jint level, jint internalformat,
733 if (internalformat < 0) {
734 internalformat = getInternalFormat(colorType);
739 int err = checkFormat(colorType, internalformat, type);
746 if (internalformat == GL_PALETTE8_RGBA8_OES) {
760 glCompressedTexImage2D(target, level, internalformat, w, h, border, imageSize, data);
766 glTexImage2D(target, level, internalformat, w, h, border, internalformat, type, p);
726 util_texImage2D(JNIEnv *env, jclass clazz, jint target, jint level, jint internalformat, jobject jbitmap, jint type, jint border) argument
/frameworks/base/libs/hwui/debug/
H A Dnullgles.cpp185 void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data) {} argument
187 void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) {} argument
220 void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) {} argument
231 void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels) {} argument
/frameworks/native/opengl/include/GLES3/
H A Dgl31.h406 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
408 typedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
479 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
490 typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
549 GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
551 GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
622 GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
633 GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
999 typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
1002 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsize
[all...]
H A Dgl32.h406 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
408 typedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
479 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
490 typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
549 GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
551 GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
622 GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
633 GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
999 typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
1002 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsize
[all...]
H A Dgl3.h406 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
408 typedef void (GL_APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
479 typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
490 typedef void (GL_APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
549 GL_APICALL void GL_APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
551 GL_APICALL void GL_APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
622 GL_APICALL void GL_APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
633 GL_APICALL void GL_APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
999 typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
1002 typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsize
[all...]

Completed in 424 milliseconds

12