/development/ndk/platforms/android-17/samples/Teapot/jni/ |
D | TeapotRenderer.cpp | 203 GLuint program; in LoadShaders() local 208 program = glCreateProgram(); in LoadShaders() 209 LOGI( "Created Shader %d", program ); in LoadShaders() 215 glDeleteProgram( program ); in LoadShaders() 223 glDeleteProgram( program ); in LoadShaders() 228 glAttachShader( program, vert_shader ); in LoadShaders() 231 glAttachShader( program, frag_shader ); in LoadShaders() 235 glBindAttribLocation( program, ATTRIB_VERTEX, "myVertex" ); in LoadShaders() 236 glBindAttribLocation( program, ATTRIB_NORMAL, "myNormal" ); in LoadShaders() 237 glBindAttribLocation( program, ATTRIB_UV, "myUV" ); in LoadShaders() [all …]
|
/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/ndk/platforms/android-18/samples/MoreTeapots/jni/ |
D | MoreTeapotsRenderer.cpp | 383 GLuint program; in LoadShaders() local 388 program = glCreateProgram(); in LoadShaders() 389 LOGI( "Created Shader %d", program ); in LoadShaders() 395 glDeleteProgram( program ); in LoadShaders() 403 glDeleteProgram( program ); in LoadShaders() 408 glAttachShader( program, vertShader ); in LoadShaders() 411 glAttachShader( program, fragShader ); in LoadShaders() 415 glBindAttribLocation( program, ATTRIB_VERTEX, "myVertex" ); in LoadShaders() 416 glBindAttribLocation( program, ATTRIB_NORMAL, "myNormal" ); in LoadShaders() 419 if( !ndk_helper::shader::LinkProgram( program ) ) in LoadShaders() [all …]
|
/development/samples/browseable/MediaEffects/src/com.example.android.mediaeffects/ |
D | GLToolbox.java | 49 int program = GLES20.glCreateProgram(); in createProgram() local 50 if (program != 0) { in createProgram() 51 GLES20.glAttachShader(program, vertexShader); in createProgram() 53 GLES20.glAttachShader(program, pixelShader); in createProgram() 55 GLES20.glLinkProgram(program); in createProgram() 57 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, in createProgram() 60 String info = GLES20.glGetProgramInfoLog(program); in createProgram() 61 GLES20.glDeleteProgram(program); in createProgram() 65 return program; in createProgram()
|
/development/perftests/panorama/feature_mos/src/mosaic_renderer/ |
D | Renderer.cpp | 78 GLuint program = glCreateProgram(); in createProgram() local 79 if (program) in createProgram() 81 glAttachShader(program, vertexShader); in createProgram() 83 glAttachShader(program, pixelShader); in createProgram() 86 glLinkProgram(program); in createProgram() 88 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); in createProgram() 90 LOGI("Program Linked (%d)!", program); in createProgram() 95 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in createProgram() 101 glGetProgramInfoLog(program, bufLength, NULL, buf); in createProgram() 106 glDeleteProgram(program); in createProgram() [all …]
|
/development/tools/checkstyle/gitlint/ |
D | utils.py | 44 def which(program): argument 46 if (os.path.isabs(program) and os.path.isfile(program) and 47 os.access(program, os.X_OK)): 48 return [program] 53 candidate = os.path.join(location, program) 61 return [program for program in programs if not which(program)]
|
/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/ndk/platforms/android-24/include/GLES3/ |
D | gl31.h | 386 typedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); 387 typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar… 415 typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); 422 typedef void (GL_APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); 439 typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize… 440 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSiz… 441 typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei … 442 typedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); 449 typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); 450 typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *l… [all …]
|
D | gl32.h | 386 typedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); 387 typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar… 415 typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); 422 typedef void (GL_APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); 439 typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize… 440 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSiz… 441 typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei … 442 typedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); 449 typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); 450 typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *l… [all …]
|
D | gl3.h | 386 typedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); 387 typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar… 415 typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); 422 typedef void (GL_APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); 439 typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize… 440 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSiz… 441 typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei … 442 typedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); 449 typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); 450 typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *l… [all …]
|
/development/ndk/platforms/android-18/samples/gles3jni/jni/ |
D | gles3jni.cpp | 75 GLuint program = 0; in createProgram() local 86 program = glCreateProgram(); in createProgram() 87 if (!program) { in createProgram() 91 glAttachShader(program, vtxShader); in createProgram() 92 glAttachShader(program, fragShader); in createProgram() 94 glLinkProgram(program); in createProgram() 95 glGetProgramiv(program, GL_LINK_STATUS, &linked); in createProgram() 99 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLogLen); in createProgram() 103 glGetProgramInfoLog(program, infoLogLen, NULL, infoLog); in createProgram() 108 glDeleteProgram(program); in createProgram() [all …]
|
/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/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/ndk/platforms/android-21/include/GLES3/ |
D | gl31.h | 378 GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); 379 GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); 407 GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); 414 GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); 431 GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsiz… 432 GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsi… 433 GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count,… 434 GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); 441 GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); 442 GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, … [all …]
|
/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/ndk/platforms/android-21/samples/native-codec/src/com/example/nativecodec/ |
D | MyGLSurfaceView.java | 266 int program = GLES20.glCreateProgram(); in createProgram() local 267 if (program != 0) { in createProgram() 268 GLES20.glAttachShader(program, vertexShader); in createProgram() 270 GLES20.glAttachShader(program, pixelShader); in createProgram() 272 GLES20.glLinkProgram(program); in createProgram() 274 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, 0); in createProgram() 277 Log.e(TAG, GLES20.glGetProgramInfoLog(program)); in createProgram() 278 GLES20.glDeleteProgram(program); in createProgram() 279 program = 0; in createProgram() 282 return program; in createProgram()
|
/development/ndk/platforms/android-21/include/GLES2/ |
D | gl2ext.h | 255 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei … 256 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const v… 258 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length… 259 GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *bi… 1029 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufS… 1030 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufS… 1034 GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GL… 1035 GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GL… 1060 typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program); 1068 typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint valu… [all …]
|
D | gl2.h | 378 GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader); 379 GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name); 407 GL_APICALL void GL_APIENTRY glDeleteProgram (GLuint program); 414 GL_APICALL void GL_APIENTRY glDetachShader (GLuint program, GLuint shader); 431 GL_APICALL void GL_APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsiz… 432 GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsi… 433 GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count,… 434 GL_APICALL GLint GL_APIENTRY glGetAttribLocation (GLuint program, const GLchar *name); 441 GL_APICALL void GL_APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params); 442 GL_APICALL void GL_APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, … [all …]
|
/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-24/include/GLES2/ |
D | gl2ext.h | 180 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) (GLuint program, GLint location, GLsizei bufS… 181 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) (GLuint program, GLint location, GLsizei bufS… 182 typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) (GLuint program, GLint location, GLsizei buf… 186 GL_APICALL void GL_APIENTRY glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GL… 187 GL_APICALL void GL_APIENTRY glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GL… 188 GL_APICALL void GL_APIENTRY glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, G… 400 typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei … 401 typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const v… 403 GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length… 404 GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *bi… [all …]
|
D | gl2.h | 386 typedef void (GL_APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader); 387 typedef void (GL_APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar… 415 typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program); 422 typedef void (GL_APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader); 439 typedef void (GL_APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize… 440 typedef void (GL_APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSiz… 441 typedef void (GL_APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei … 442 typedef GLint (GL_APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name); 449 typedef void (GL_APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params); 450 typedef void (GL_APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *l… [all …]
|
/development/tutorials/ReverseDebug/ |
D | README.txt | 3 until a later stage of the program, then return to the previously recorded 8 on the stack next to the "values" variable, and the program will crash at 41 The test program can be built/installed on the device by doing: 48 program: 70 Now set a breakpoint on line 41 and set flag to 1 so that the program can 92 Now the program crashes as expected as "p" has been clobbered. The 93 "reverse-continue" command will bring the program back to line 41 and let you 133 program in ARM mode. To do that you have to add the ".arm" suffix to the
|
/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 GLint 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 …]
|