/development/samples/HelloEffects/src/com/example/android/mediafx/ |
D | GLToolbox.java | 52 int program = GLES20.glCreateProgram(); in createProgram() local 53 if (program != 0) { in createProgram() 54 GLES20.glAttachShader(program, vertexShader); in createProgram() 56 GLES20.glAttachShader(program, pixelShader); in createProgram() 58 GLES20.glLinkProgram(program); in createProgram() 60 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, in createProgram() 63 String info = GLES20.glGetProgramInfoLog(program); in createProgram() 64 GLES20.glDeleteProgram(program); in createProgram() 65 program = 0; in createProgram() 69 return program; in createProgram()
|
/development/tools/emulator/opengl/shared/OpenglCodecCommon/ |
D | GLSharedGroup.h | 119 bool isProgram(GLuint program); 120 bool isProgramInitialized(GLuint program); 121 void addProgramData(GLuint program); 122 void initProgramData(GLuint program, GLuint numIndexes); 123 void attachShader(GLuint program, GLuint shader); 124 void detachShader(GLuint program, GLuint shader); 125 void deleteProgramData(GLuint program); 126 …void setProgramIndexInfo(GLuint program, GLuint index, GLint base, GLint size, GLenum type, con… 127 GLenum getProgramUniformType(GLuint program, GLint location); 128 void setupLocationShiftWAR(GLuint program); [all …]
|
D | GLSharedGroup.cpp | 266 void GLSharedGroup::addProgramData(GLuint program) in addProgramData() argument 269 ProgramData *pData = m_programs.valueFor(program); in addProgramData() 272 m_programs.removeItem(program); in addProgramData() 276 m_programs.add(program,new ProgramData()); in addProgramData() 279 void GLSharedGroup::initProgramData(GLuint program, GLuint numIndexes) in initProgramData() argument 282 ProgramData *pData = m_programs.valueFor(program); in initProgramData() 289 bool GLSharedGroup::isProgramInitialized(GLuint program) in isProgramInitialized() argument 292 ProgramData* pData = m_programs.valueFor(program); in isProgramInitialized() 300 void GLSharedGroup::deleteProgramData(GLuint program) in deleteProgramData() argument 303 ProgramData *pData = m_programs.valueFor(program); in deleteProgramData() [all …]
|
D | GLClientState.h | 127 void setCurrentProgram(GLint program) { m_currentProgram = program; } in setCurrentProgram() argument
|
/development/ndk/platforms/android-5/samples/hello-gl2/jni/ |
D | gl_code.cpp | 94 GLuint program = glCreateProgram(); in createProgram() local 95 if (program) { in createProgram() 96 glAttachShader(program, vertexShader); in createProgram() 98 glAttachShader(program, pixelShader); in createProgram() 100 glLinkProgram(program); in createProgram() 102 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); in createProgram() 105 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in createProgram() 109 glGetProgramInfoLog(program, bufLength, NULL, buf); in createProgram() 114 glDeleteProgram(program); in createProgram() 115 program = 0; in createProgram() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | GLES20TriangleRenderer.java | 185 int program = GLES20.glCreateProgram(); in createProgram() local 186 if (program != 0) { in createProgram() 187 GLES20.glAttachShader(program, vertexShader); in createProgram() 189 GLES20.glAttachShader(program, pixelShader); in createProgram() 191 GLES20.glLinkProgram(program); in createProgram() 193 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, 0); in createProgram() 196 Log.e(TAG, GLES20.glGetProgramInfoLog(program)); in createProgram() 197 GLES20.glDeleteProgram(program); in createProgram() 198 program = 0; in createProgram() 201 return program; in createProgram()
|
/development/samples/BasicGLSurfaceView/src/com/example/android/basicglsurfaceview/ |
D | GLES20TriangleRenderer.java | 183 int program = GLES20.glCreateProgram(); in createProgram() local 184 if (program != 0) { in createProgram() 185 GLES20.glAttachShader(program, vertexShader); in createProgram() 187 GLES20.glAttachShader(program, pixelShader); in createProgram() 189 GLES20.glLinkProgram(program); in createProgram() 191 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, 0); in createProgram() 194 Log.e(TAG, GLES20.glGetProgramInfoLog(program)); in createProgram() 195 GLES20.glDeleteProgram(program); in createProgram() 196 program = 0; in createProgram() 199 return program; in createProgram()
|
/development/ndk/platforms/android-3/include/linux/sunrpc/ |
D | stats.h | 18 struct rpc_program * program; member 32 struct svc_program * program; member
|
/development/ndk/platforms/android-14/samples/native-media/src/com/example/nativemedia/ |
D | MyGLSurfaceView.java | 250 int program = GLES20.glCreateProgram(); in createProgram() local 251 if (program != 0) { in createProgram() 252 GLES20.glAttachShader(program, vertexShader); in createProgram() 254 GLES20.glAttachShader(program, pixelShader); in createProgram() 256 GLES20.glLinkProgram(program); in createProgram() 258 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, 0); in createProgram() 261 Log.e(TAG, GLES20.glGetProgramInfoLog(program)); in createProgram() 262 GLES20.glDeleteProgram(program); in createProgram() 263 program = 0; in createProgram() 266 return program; in createProgram()
|
/development/tools/emulator/opengl/system/GLESv2_enc/ |
D | GL2Encoder.cpp | 665 void GL2Encoder::s_glLinkProgram(void * self, GLuint program) in s_glLinkProgram() argument 668 ctx->m_glLinkProgram_enc(self, program); in s_glLinkProgram() 671 ctx->glGetProgramiv(self,program,GL_LINK_STATUS,&linkStatus); in s_glLinkProgram() 677 ctx->glGetProgramiv(self, program, GL_ACTIVE_UNIFORMS, &numUniforms); in s_glLinkProgram() 678 ctx->m_shared->initProgramData(program,numUniforms); in s_glLinkProgram() 682 ctx->glGetProgramiv(self, program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxLength); in s_glLinkProgram() 691 ctx->glGetActiveUniform(self, program, i, maxLength, NULL, &size, &type, name); in s_glLinkProgram() 692 location = ctx->m_glGetUniformLocation_enc(self, program, name); in s_glLinkProgram() 693 ctx->m_shared->setProgramIndexInfo(program, i, location, size, type, name); in s_glLinkProgram() 695 ctx->m_shared->setupLocationShiftWAR(program); in s_glLinkProgram() [all …]
|
D | gl2_entry.cpp | 10 void glAttachShader(GLuint program, GLuint shader); 11 void glBindAttribLocation(GLuint program, GLuint index, const GLchar* name); 39 void glDeleteProgram(GLuint program); 46 void glDetachShader(GLuint program, GLuint shader); 63 …void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size… 64 …void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* siz… 65 void glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders); 66 int glGetAttribLocation(GLuint program, const GLchar* name); 73 void glGetProgramiv(GLuint program, GLenum pname, GLint* params); 74 void glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog); [all …]
|
D | GL2EncoderUtils.cpp | 34 GLenum uniformType(void * self, GLuint program, GLint location) in uniformType() argument 38 return ctx->shared()->getProgramUniformType(program, location); in uniformType()
|
D | GL2Encoder.h | 125 static void s_glLinkProgram(void *self, GLuint program); 128 static void s_glDeleteProgram(void * self, GLuint program); 131 static void s_glGetUniformiv(void *self, GLuint program, GLint location , GLint *params); 134 static void s_glGetUniformfv(void *self, GLuint program, GLint location , GLfloat *params); 146 static void s_glAttachShader(void *self, GLuint program, GLuint shader); 149 static void s_glDetachShader(void *self, GLuint program, GLuint shader); 152 static int s_glGetUniformLocation(void *self, GLuint program, const GLchar *name); 175 static void s_glUseProgram(void *self, GLuint program);
|
D | gl2_enc.h | 26 void glAttachShader_enc(void *self , GLuint program, GLuint shader); 27 void glBindAttribLocation_enc(void *self , GLuint program, GLuint index, const GLchar* name); 55 void glDeleteProgram_enc(void *self , GLuint program); 62 void glDetachShader_enc(void *self , GLuint program, GLuint shader); 79 …void glGetActiveAttrib_enc(void *self , GLuint program, GLuint index, GLsizei bufsize, GLsizei* le… 80 …void glGetActiveUniform_enc(void *self , GLuint program, GLuint index, GLsizei bufsize, GLsizei* l… 81 …void glGetAttachedShaders_enc(void *self , GLuint program, GLsizei maxcount, GLsizei* count, GLuin… 82 int glGetAttribLocation_enc(void *self , GLuint program, const GLchar* name); 89 void glGetProgramiv_enc(void *self , GLuint program, GLenum pname, GLint* params); 90 …void glGetProgramInfoLog_enc(void *self , GLuint program, GLsizei bufsize, GLsizei* length, GLchar… [all …]
|
D | GL2EncoderUtils.h | 22 GLenum uniformType(void * self, GLuint program, GLint location);
|
D | gl2_enc.cpp | 32 void glAttachShader_enc(void *self , GLuint program, GLuint shader) in glAttachShader_enc() argument 44 memcpy(ptr, &program, 4); ptr += 4; in glAttachShader_enc() 48 void glBindAttribLocation_enc(void *self , GLuint program, GLuint index, const GLchar* name) in glBindAttribLocation_enc() argument 61 memcpy(ptr, &program, 4); ptr += 4; in glBindAttribLocation_enc() 555 void glDeleteProgram_enc(void *self , GLuint program) in glDeleteProgram_enc() argument 567 memcpy(ptr, &program, 4); ptr += 4; in glDeleteProgram_enc() 667 void glDetachShader_enc(void *self , GLuint program, GLuint shader) in glDetachShader_enc() argument 679 memcpy(ptr, &program, 4); ptr += 4; in glDetachShader_enc() 927 void glGetActiveAttrib_enc(void *self , GLuint program, GLuint index, GLsizei bufsize, GLsizei* len… in glGetActiveAttrib_enc() argument 943 memcpy(ptr, &program, 4); ptr += 4; in glGetActiveAttrib_enc() [all …]
|
/development/samples/USB/MissileLauncher/ |
D | README.txt | 1 MissileLauncher is a simple program that controls Dream Cheeky USB missile launchers. 6 This program serves as an example of the following USB host features:
|
/development/samples/USB/AdbTest/ |
D | README.txt | 1 AdbTest is a sample program that implements a subset of the adb USB protocol. 7 This program serves as an example of the following USB host features:
|
/development/ndk/platforms/android-5/include/GLES2/ |
D | gl2.h | 475 GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); 476 GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLcha… 504 GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); 511 GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); 528 GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufsiz… 529 GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsi… 530 GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei… 531 GL_APICALL int GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar* name); 538 GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint* params); 539 GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufsize, GLsizei* … [all …]
|
D | gl2ext.h | 438 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length… 439 GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const GLvoid *… 441 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei … 442 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const G… 782 GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); 783 GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLc… 787 typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); 788 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shaderty…
|
/development/ndk/platforms/android-4/samples/san-angeles/jni/ |
D | license-LGPL.txt | 60 any free program. We wish to make sure that a company cannot 61 effectively restrict the users of a free program by obtaining a 73 When a program is linked with a library, whether statically or using 105 users' freedom, it does ensure that the user of a program that is 107 that program using a modified version of the Library. 119 program which contains a notice placed by the copyright holder or 144 running a program using the Library is not restricted, and output from 145 such a program is covered only if its contents constitute a work based 148 and what the program that uses the Library does. 176 table of data to be supplied by an application program that uses [all …]
|
/development/ndk/platforms/ |
D | README.CRT.TXT | 115 unloaded (i.e. either through 'dlclose' or at program exit). 127 The Posix standard doesn't mandate the program behaviour's when a shared 132 the program will crash when it calls exit() or returns from main().
|
/development/ndk/platforms/android-4/include/GLES/ |
D | glext.h | 979 GL_API GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program); 980 GL_API void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar … 984 typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program); 985 typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shaderty…
|
/development/tools/emulator/opengl/tests/gles_android_wrapper/ |
D | gles.cpp | 1391 GLboolean glExtIsProgramBinaryQCOM(GLuint program) in glExtIsProgramBinaryQCOM() argument 1393 return getDispatch()->glExtIsProgramBinaryQCOM(program); in glExtIsProgramBinaryQCOM() 1396 void glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar *source, GLint *leng… in glExtGetProgramBinarySourceQCOM() argument 1398 getDispatch()->glExtGetProgramBinarySourceQCOM(program, shadertype, source, length); in glExtGetProgramBinarySourceQCOM()
|
/development/tools/emulator/opengl/system/GLESv1_enc/ |
D | gl_entry.cpp | 296 GLboolean glExtIsProgramBinaryQCOM(GLuint program); 297 …void glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar* source, GLint* len… 2043 GLboolean glExtIsProgramBinaryQCOM(GLuint program) in glExtIsProgramBinaryQCOM() argument 2046 return ctx->glExtIsProgramBinaryQCOM(ctx, program); in glExtIsProgramBinaryQCOM() 2049 void glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar* source, GLint* leng… in glExtGetProgramBinarySourceQCOM() argument 2052 ctx->glExtGetProgramBinarySourceQCOM(ctx, program, shadertype, source, length); in glExtGetProgramBinarySourceQCOM()
|