Home
last modified time | relevance | path

Searched refs:program (Results 1 – 25 of 46) sorted by relevance

12

/development/ndk/platforms/android-17/samples/Teapot/jni/
DTeapotRenderer.cpp203 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/
DGLToolbox.java52 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/
DMoreTeapotsRenderer.cpp383 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/
DGLToolbox.java49 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/
DRenderer.cpp78 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/
Dutils.py44 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/
Dgl_code.cpp94 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/
Dgl31.h386 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 …]
Dgl32.h386 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 …]
Dgl3.h386 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/
Dgles3jni.cpp75 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/
DGLES20TriangleRenderer.java183 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/
DGLES20TriangleRenderer.java185 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/
Dgl31.h378 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/
DMyGLSurfaceView.java250 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/
DMyGLSurfaceView.java266 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/
Dgl2ext.h255 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 …]
Dgl2.h378 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/
Dstats.h18 struct rpc_program * program; member
32 struct svc_program * program; member
/development/ndk/platforms/android-24/include/GLES2/
Dgl2ext.h180 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 …]
Dgl2.h386 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/
DREADME.txt3 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/
DREADME.txt1 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/
DREADME.txt1 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/
Dgl2.h475 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 …]

12