Searched refs:program (Results 26 - 50 of 54) sorted by relevance

123

/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java189 int program = buildProgram(sSimpleVS, sSimpleFS);
191 int attribPosition = glGetAttribLocation(program, "position");
194 int attribTexCoords = glGetAttribLocation(program, "texCoords");
197 int uniformTexture = glGetUniformLocation(program, "texture");
203 glUseProgram(program);
287 int program = glCreateProgram();
288 glAttachShader(program, vertexShader);
291 glAttachShader(program, fragmentShader);
294 glLinkProgram(program);
298 glGetProgramiv(program, GL_LINK_STATU
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES20.java338 // C function void glAttachShader ( GLuint program, GLuint shader )
341 int program,
345 // C function void glBindAttribLocation ( GLuint program, GLuint index, const char *name )
348 int program,
585 // C function void glDeleteProgram ( GLuint program )
588 int program
646 // C function void glDetachShader ( GLuint program, GLuint shader )
649 int program,
804 // C function void glGetActiveAttrib ( GLuint program, GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, char *name )
807 int program,
340 glAttachShader( int program, int shader ) argument
347 glBindAttribLocation( int program, int index, String name ) argument
648 glDetachShader( int program, int shader ) argument
806 glGetActiveAttrib( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
822 glGetActiveAttrib( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
834 glGetActiveAttrib( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument
845 glGetActiveAttrib( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
853 glGetActiveUniform( int program, int index, int bufsize, int[] length, int lengthOffset, int[] size, int sizeOffset, int[] type, int typeOffset, byte[] name, int nameOffset ) argument
869 glGetActiveUniform( int program, int index, int bufsize, java.nio.IntBuffer length, java.nio.IntBuffer size, java.nio.IntBuffer type, byte name ) argument
880 glGetActiveUniform( int program, int index, int[] size, int sizeOffset, int[] type, int typeOffset ) argument
891 glGetActiveUniform( int program, int index, java.nio.IntBuffer size, java.nio.IntBuffer type ) argument
899 glGetAttachedShaders( int program, int maxcount, int[] count, int countOffset, int[] shaders, int shadersOffset ) argument
910 glGetAttachedShaders( int program, int maxcount, java.nio.IntBuffer count, java.nio.IntBuffer shaders ) argument
919 glGetAttribLocation( int program, String name ) argument
1012 glGetProgramiv( int program, int pname, int[] params, int offset ) argument
1021 glGetProgramiv( int program, int pname, java.nio.IntBuffer params ) argument
1207 glGetUniformfv( int program, int location, float[] params, int offset ) argument
1216 glGetUniformfv( int program, int location, java.nio.FloatBuffer params ) argument
1224 glGetUniformiv( int program, int location, int[] params, int offset ) argument
1233 glGetUniformiv( int program, int location, java.nio.IntBuffer params ) argument
1241 glGetUniformLocation( int program, String name ) argument
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.h25 void GLTrace_glAttachShader(GLuint program, GLuint shader);
26 void GLTrace_glBindAttribLocation(GLuint program, GLuint index, const GLchar* name);
54 void GLTrace_glDeleteProgram(GLuint program);
61 void GLTrace_glDetachShader(GLuint program, GLuint shader);
78 void GLTrace_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
79 void GLTrace_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
80 void GLTrace_glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
81 int GLTrace_glGetAttribLocation(GLuint program, const GLchar* name);
88 void GLTrace_glGetProgramiv(GLuint program, GLenum pname, GLint* params);
89 void GLTrace_glGetProgramInfoLog(GLuint program, GLsize
[all...]
H A Dgltrace_fixup.cpp306 /* void glLinkProgram(GLuint program); */
307 GLuint program = glmsg->args(0).intvalue(0); local
309 /* We don't have to fixup this call, but as soon as a program is linked,
321 GLTrace_glGetProgramiv(program, GL_ACTIVE_ATTRIBUTES, &n);
322 GLTrace_glGetProgramiv(program, GL_ACTIVE_ATTRIBUTE_MAX_LENGTH, &maxNameLength);
326 GLTrace_glGetActiveAttrib(program, i, maxNameLength, NULL, &size, &type, name);
331 GLTrace_glGetProgramiv(program, GL_ACTIVE_UNIFORMS, &n);
332 GLTrace_glGetProgramiv(program, GL_ACTIVE_UNIFORM_MAX_LENGTH, &maxNameLength);
336 GLTrace_glGetActiveUniform(program, i, maxNameLength, NULL, &size, &type, name);
350 int program local
[all...]
H A Dgltrace_api.cpp61 void GLTrace_glAttachShader(GLuint program, GLuint shader) { argument
67 // copy argument program
71 arg_program->add_intvalue(program);
82 glContext->hooks->gl.glAttachShader(program, shader);
95 void GLTrace_glBindAttribLocation(GLuint program, GLuint index, const GLchar* name) { argument
101 // copy argument program
105 arg_program->add_intvalue(program);
122 glContext->hooks->gl.glBindAttribLocation(program, index, name);
1246 void GLTrace_glDeleteProgram(GLuint program) { argument
1252 // copy argument program
1462 GLTrace_glDetachShader(GLuint program, GLuint shader) argument
2033 GLTrace_glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) argument
2101 GLTrace_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name) argument
2169 GLTrace_glGetAttachedShaders(GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders) argument
2217 GLTrace_glGetAttribLocation(GLuint program, const GLchar* name) argument
2483 GLTrace_glGetProgramiv(GLuint program, GLenum pname, GLint* params) argument
2524 GLTrace_glGetProgramInfoLog(GLuint program, GLsizei bufsize, GLsizei* length, GLchar* infolog) argument
2917 GLTrace_glGetUniformfv(GLuint program, GLint location, GLfloat* params) argument
2958 GLTrace_glGetUniformiv(GLuint program, GLint location, GLint* params) argument
2999 GLTrace_glGetUniformLocation(GLuint program, const GLchar* name) argument
3307 GLTrace_glIsProgram(GLuint program) argument
3479 GLTrace_glLinkProgram(GLuint program) argument
5253 GLTrace_glUseProgram(GLuint program) argument
5281 GLTrace_glValidateProgram(GLuint program) argument
5799 GLTrace_glGetProgramBinaryOES(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary) argument
5854 GLTrace_glProgramBinaryOES(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLint length) argument
8111 GLTrace_glGetnUniformfvEXT(GLuint program, GLint location, GLsizei bufSize, float *params) argument
8158 GLTrace_glGetnUniformivEXT(GLuint program, GLint location, GLsizei bufSize, GLint *params) argument
8205 GLTrace_glUseProgramStagesEXT(GLuint pipeline, GLbitfield stages, GLuint program) argument
8245 GLTrace_glActiveShaderProgramEXT(GLuint pipeline, GLuint program) argument
8462 GLTrace_glProgramParameteriEXT(GLuint program, GLenum pname, GLint value) argument
8543 GLTrace_glProgramUniform1iEXT(GLuint program, GLint location, GLint x) argument
8583 GLTrace_glProgramUniform2iEXT(GLuint program, GLint location, GLint x, GLint y) argument
8629 GLTrace_glProgramUniform3iEXT(GLuint program, GLint location, GLint x, GLint y, GLint z) argument
8681 GLTrace_glProgramUniform4iEXT(GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w) argument
8739 GLTrace_glProgramUniform1fEXT(GLuint program, GLint location, GLfloat x) argument
8779 GLTrace_glProgramUniform2fEXT(GLuint program, GLint location, GLfloat x, GLfloat y) argument
8825 GLTrace_glProgramUniform3fEXT(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z) argument
8877 GLTrace_glProgramUniform4fEXT(GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w) argument
8935 GLTrace_glProgramUniform1ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value) argument
8982 GLTrace_glProgramUniform2ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value) argument
9029 GLTrace_glProgramUniform3ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value) argument
9076 GLTrace_glProgramUniform4ivEXT(GLuint program, GLint location, GLsizei count, const GLint *value) argument
9123 GLTrace_glProgramUniform1fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value) argument
9170 GLTrace_glProgramUniform2fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value) argument
9217 GLTrace_glProgramUniform3fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value) argument
9264 GLTrace_glProgramUniform4fvEXT(GLuint program, GLint location, GLsizei count, const GLfloat *value) argument
9311 GLTrace_glProgramUniformMatrix2fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) argument
9364 GLTrace_glProgramUniformMatrix3fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) argument
9417 GLTrace_glProgramUniformMatrix4fvEXT(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) argument
10999 GLTrace_glExtIsProgramBinaryQCOM(GLuint program) argument
11035 GLTrace_glExtGetProgramBinarySourceQCOM(GLuint program, GLenum shadertype, GLchar *source, GLint *length) argument
[all...]
/frameworks/native/opengl/tests/gl2_copyTexImage/
H A Dgl2_copyTexImage.cpp113 GLuint program = glCreateProgram(); local
114 if (program) {
115 glAttachShader(program, vertexShader);
117 glAttachShader(program, pixelShader);
119 glLinkProgram(program);
121 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus);
124 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
128 glGetProgramInfoLog(program, bufLength, NULL, buf);
129 fprintf(stderr, "Could not link program:\n%s\n", buf);
133 glDeleteProgram(program);
[all...]
/frameworks/native/opengl/tests/gl2_yuvtex/
H A Dgl2_yuvtex.cpp129 GLuint program = glCreateProgram(); local
130 if (program) {
131 glAttachShader(program, vertexShader);
133 glAttachShader(program, pixelShader);
135 glLinkProgram(program);
137 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus);
140 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
144 glGetProgramInfoLog(program, bufLength, NULL, buf);
145 fprintf(stderr, "Could not link program:\n%s\n", buf);
149 glDeleteProgram(program);
[all...]
/frameworks/rs/driver/
H A DrsdShaderCache.cpp123 //ALOGV("SC using program %i", mEntries[ct]->program);
124 glUseProgram(mEntries[ct]->program);
139 e->program = glCreateProgram();
140 if (e->program) {
141 GLuint pgm = e->program;
224 //ALOGV("SC made program %i", e->program);
225 glUseProgram(e->program);
247 glDeleteProgram(mEntries[ct]->program);
[all...]
H A DrsdShaderCache.h100 uint32_t numFragUnis) : vtx(0), frag(0), program(0), vtxAttrCount(0),
135 uint32_t program; member in struct:RsdShaderCache::ProgramEntry
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp251 GLuint program = glCreateProgram(); local
254 glAttachShader(program, vertexShader);
257 glAttachShader(program, fragmentShader);
260 glLinkProgram(program);
264 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus);
267 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &infoLen);
271 glGetProgramInfoLog(program, infoLen, NULL, buf);
276 glDeleteProgram(program);
277 program = 0;
280 *outPgm = program;
[all...]
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
H A DGL2CameraEye.java409 int program = GLES20.glCreateProgram();
410 if (program != 0) {
411 GLES20.glAttachShader(program, vertexShader);
413 GLES20.glAttachShader(program, pixelShader);
415 GLES20.glLinkProgram(program);
417 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, 0);
419 Log.e(TAG, "Could not link program: ");
420 Log.e(TAG, GLES20.glGetProgramInfoLog(program));
421 GLES20.glDeleteProgram(program);
422 program
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DImageWallpaper.java465 final int program = buildProgram(sSimpleVS, sSimpleFS);
467 final int attribPosition = glGetAttribLocation(program, "position");
468 final int attribTexCoords = glGetAttribLocation(program, "texCoords");
469 final int uniformTexture = glGetUniformLocation(program, "texture");
470 final int uniformProjection = glGetUniformLocation(program, "projection");
477 glUseProgram(program);
557 int program = glCreateProgram();
558 glAttachShader(program, vertexShader);
561 glAttachShader(program, fragmentShader);
564 glLinkProgram(program);
[all...]
/frameworks/base/libs/hwui/
H A DSkiaShader.h42 * program to recreate the original effect.
65 virtual void setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot,
145 void setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot,
168 void setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot,
192 void setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot,
235 void setupProgram(Program* program, const mat4& modelView, const Snapshot& snapshot,
H A DGammaFontRenderer.cpp126 Program* program) const {
128 glUniform1f(program->getUniform("gamma"), description.gamma);
H A DProgramCache.cpp430 PROGRAM_LOGD("Clearing program cache");
442 Program* program = NULL; local
444 description.log("Could not find program");
445 program = generateProgram(description, key);
446 mCache.add(key, program);
448 program = mCache.valueAt(index);
450 return program;
/frameworks/native/opengl/include/GLES2/
H A Dgl2.h475 GL_APICALL void GL_APIENTRY glAttachShader (GLuint program, GLuint shader);
476 GL_APICALL void GL_APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar* name);
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 bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
529 GL_APICALL void GL_APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufsize, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
530 GL_APICALL void GL_APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxcount, GLsizei* count, GLuint* shaders);
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, GLsize
[all...]
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpView.java385 // Load the program, which is the basics rules to draw the vertexes and textures.
624 int program = GLES20.glCreateProgram();
625 if (program != 0) {
626 GLES20.glAttachShader(program, vertexShader);
628 GLES20.glAttachShader(program, pixelShader);
630 GLES20.glLinkProgram(program);
632 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, 0);
634 Log.e(TAG, "Could not link program: ");
635 Log.e(TAG, GLES20.glGetProgramInfoLog(program));
636 GLES20.glDeleteProgram(program);
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp186 // Abort if program did not successfully compile and link
188 ALOGE("ShaderProgram: unexecutable program!");
287 // Scan for all uniforms in the program
296 ALOGE("Could not link shader program!");
349 GLuint program = glCreateProgram(); local
350 if (program) {
353 glAttachShader(program, shaders[i]);
358 glLinkProgram(program);
362 glGetProgramiv(program, GL_LINK_STATUS, &linked);
366 glGetProgramiv(program, GL_INFO_LOG_LENGT
488 int fbo, program, buffer; local
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DVertexShader.java95 item.program = mProgram;
H A DFragmentShader.java151 item.program = mProgram;
/frameworks/av/media/libstagefright/tests/
H A DSurfaceMediaSource_test.cpp254 GLuint program = glCreateProgram(); local
256 if (program) {
257 glAttachShader(program, vertexShader);
259 glAttachShader(program, fragmentShader);
261 glLinkProgram(program);
263 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus);
266 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
270 glGetProgramInfoLog(program, bufLength, NULL, buf);
276 glDeleteProgram(program);
277 program
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java73 ShaderProgram program = nativeCreateIdentity(getGLEnvironment(context));
74 program.setTimer();
75 return program;
234 throw new RuntimeException("Could not prepare shader-program for drawing!");
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES20.cpp136 /* void glAttachShader ( GLuint program, GLuint shader ) */
139 (JNIEnv *_env, jobject _this, jint program, jint shader) {
141 (GLuint)program,
146 /* void glBindAttribLocation ( GLuint program, GLuint index, const char *name ) */
149 (JNIEnv *_env, jobject _this, jint program, jint index, jstring name) {
163 (GLuint)program,
694 /* void glDeleteProgram ( GLuint program ) */
697 (JNIEnv *_env, jobject _this, jint program) {
699 (GLuint)program
892 /* void glDetachShader ( GLuint program, GLuin
138 android_glAttachShader__II(JNIEnv *_env, jobject _this, jint program, jint shader) argument
148 android_glBindAttribLocation__IILjava_lang_String_2(JNIEnv *_env, jobject _this, jint program, jint index, jstring name) argument
696 android_glDeleteProgram__I(JNIEnv *_env, jobject _this, jint program) argument
894 android_glDetachShader__II(JNIEnv *_env, jobject _this, jint program, jint shader) argument
1369 android_glGetActiveAttrib__III_3II_3II_3II_3BI(JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jintArray length_ref, jint lengthOffset, jintArray size_ref, jint sizeOffset, jintArray type_ref, jint typeOffset, jbyteArray name_ref, jint nameOffset) argument
1489 android_glGetActiveAttrib__IIILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2B(JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jobject length_buf, jobject size_buf, jobject type_buf, jbyte name) argument
1541 android_glGetActiveAttrib1(JNIEnv *_env, jobject _this, jint program, jint index, jintArray size_ref, jint sizeOffset, jintArray type_ref, jint typeOffset) argument
1636 android_glGetActiveAttrib2(JNIEnv *_env, jobject _this, jint program, jint index, jobject size_buf, jobject type_buf) argument
1697 android_glGetActiveUniform__III_3II_3II_3II_3BI(JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jintArray length_ref, jint lengthOffset, jintArray size_ref, jint sizeOffset, jintArray type_ref, jint typeOffset, jbyteArray name_ref, jint nameOffset) argument
1817 android_glGetActiveUniform__IIILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2B(JNIEnv *_env, jobject _this, jint program, jint index, jint bufsize, jobject length_buf, jobject size_buf, jobject type_buf, jbyte name) argument
1869 android_glGetActiveUniform1(JNIEnv *_env, jobject _this, jint program, jint index, jintArray size_ref, jint sizeOffset, jintArray type_ref, jint typeOffset) argument
1967 android_glGetActiveUniform2(JNIEnv *_env, jobject _this, jint program, jint index, jobject size_buf, jobject type_buf) argument
2026 android_glGetAttachedShaders__II_3II_3II(JNIEnv *_env, jobject _this, jint program, jint maxcount, jintArray count_ref, jint countOffset, jintArray shaders_ref, jint shadersOffset) argument
2095 android_glGetAttachedShaders__IILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint program, jint maxcount, jobject count_buf, jobject shaders_buf) argument
2132 android_glGetAttribLocation__ILjava_lang_String_2(JNIEnv *_env, jobject _this, jint program, jstring name) argument
3212 android_glGetProgramiv__II_3II(JNIEnv *_env, jobject _this, jint program, jint pname, jintArray params_ref, jint offset) argument
3256 android_glGetProgramiv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint program, jint pname, jobject params_buf) argument
3852 android_glGetUniformfv__II_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jfloatArray params_ref, jint offset) argument
3896 android_glGetUniformfv__IILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jobject params_buf) argument
3920 android_glGetUniformiv__II_3II(JNIEnv *_env, jobject _this, jint program, jint location, jintArray params_ref, jint offset) argument
3964 android_glGetUniformiv__IILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jobject params_buf) argument
3988 android_glGetUniformLocation__ILjava_lang_String_2(JNIEnv *_env, jobject _this, jint program, jstring name) argument
4200 android_glIsProgram__I(JNIEnv *_env, jobject _this, jint program) argument
4253 android_glLinkProgram__I(JNIEnv *_env, jobject _this, jint program) argument
5637 android_glUseProgram__I(JNIEnv *_env, jobject _this, jint program) argument
5646 android_glValidateProgram__I(JNIEnv *_env, jobject _this, jint program) argument
[all...]
/frameworks/av/media/libstagefright/mpeg2ts/
H A DATSParser.cpp99 Stream(Program *program,
183 ALOGV("new program number %u", programNumber);
453 Program *program,
457 : mProgram(program),
995 const sp<Program> &program = mPrograms.itemAt(index); local
997 if (program->number() == program_number) {
998 program->updateProgramMapPID(programMapPID);
1197 const sp<Program> &program = mPrograms.editItemAt(i); local
1199 if (which >= 0 && (int)program->number() != which) {
1203 sp<MediaSource> source = program
452 Stream( Program *program, unsigned elementaryPID, unsigned streamType, unsigned PCR_PID) argument
[all...]
/frameworks/native/libs/gui/tests/
H A DSurfaceTexture_test.cpp342 GLuint program = glCreateProgram(); local
344 if (program) {
345 glAttachShader(program, vertexShader);
347 glAttachShader(program, fragmentShader);
349 glLinkProgram(program);
351 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus);
354 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength);
358 glGetProgramInfoLog(program, bufLength, NULL, buf);
364 glDeleteProgram(program);
365 program
[all...]

Completed in 417 milliseconds

123