Home
last modified time | relevance | path

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

123456

/frameworks/base/media/mca/filterfw/jni/
Djni_native_program.cpp39 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); in Java_android_filterfw_core_NativeProgram_nativeInit() local
40 return ToJBool(program && program->CallInit()); in Java_android_filterfw_core_NativeProgram_nativeInit()
46 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); in Java_android_filterfw_core_NativeProgram_openNativeLibrary() local
47 return ToJBool(program && lib_name && program->OpenLibrary(ToCppString(env, lib_name))); in Java_android_filterfw_core_NativeProgram_openNativeLibrary()
53 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); in Java_android_filterfw_core_NativeProgram_bindInitFunction() local
54 return ToJBool(program && func_name && program->BindInitFunction(ToCppString(env, func_name))); in Java_android_filterfw_core_NativeProgram_bindInitFunction()
60 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); in Java_android_filterfw_core_NativeProgram_bindSetValueFunction() local
61 return ToJBool(program && in Java_android_filterfw_core_NativeProgram_bindSetValueFunction()
63 program->BindSetValueFunction(ToCppString(env, func_name))); in Java_android_filterfw_core_NativeProgram_bindSetValueFunction()
69 NativeProgram* program = ConvertFromJava<NativeProgram>(env, thiz); in Java_android_filterfw_core_NativeProgram_bindGetValueFunction() local
[all …]
Djni_shader_program.cpp71 ShaderProgram* program = ConvertFromJava<ShaderProgram>(env, thiz); in Java_android_filterfw_core_ShaderProgram_compileAndLink() local
72 return program ? ToJBool(program->CompileAndLink()) : JNI_FALSE; in Java_android_filterfw_core_ShaderProgram_compileAndLink()
79 ShaderProgram* program = ConvertFromJava<ShaderProgram>(env, thiz); in Java_android_filterfw_core_ShaderProgram_setUniformValue() local
83 return ToJBool(program && program->SetUniformValue(c_key, c_value)); in Java_android_filterfw_core_ShaderProgram_setUniformValue()
93 ShaderProgram* program = ConvertFromJava<ShaderProgram>(env, thiz); in Java_android_filterfw_core_ShaderProgram_getUniformValue() local
95 return program ? ToJObject(env, program->GetUniformValue(c_key)) : JNI_NULL; in Java_android_filterfw_core_ShaderProgram_getUniformValue()
102 ShaderProgram* program = ConvertFromJava<ShaderProgram>(env, thiz); in Java_android_filterfw_core_ShaderProgram_shaderProcess() local
104 if (program && inputs && output) { in Java_android_filterfw_core_ShaderProgram_shaderProcess()
125 if (!program->Process(input_frames, output_frame)) { in Java_android_filterfw_core_ShaderProgram_shaderProcess()
139 ShaderProgram* program = gl_env_ptr ? ShaderProgram::CreateIdentity(gl_env_ptr) : NULL; in Java_android_filterfw_core_ShaderProgram_nativeCreateIdentity() local
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLES31.java250 int program, in glGetProgramInterfaceiv() argument
260 int program, in glGetProgramInterfaceiv() argument
269 int program, in glGetProgramResourceIndex() argument
277 int program, in glGetProgramResourceName() argument
285 int program, in glGetProgramResourceiv() argument
301 int program, in glGetProgramResourceiv() argument
314 int program, in glGetProgramResourceLocation() argument
324 int program in glUseProgramStages() argument
331 int program in glActiveShaderProgram() argument
403 int program, in glProgramUniform1i() argument
[all …]
DGLES20.java345 int program, in glAttachShader() argument
352 int program, in glBindAttribLocation() argument
592 int program in glDeleteProgram() argument
653 int program, in glDetachShader() argument
811 int program, in glGetActiveAttrib() argument
828 int program, in glGetActiveAttrib() argument
840 int program, in glGetActiveAttrib() argument
851 int program, in glGetActiveAttrib() argument
859 int program, in glGetActiveUniform() argument
876 int program, in glGetActiveUniform() argument
[all …]
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES31.spec7 void glGetProgramInterfaceiv ( GLuint program, GLenum programInterface, GLenum pname, GLint *params…
8 GLuint glGetProgramResourceIndex ( GLuint program, GLenum programInterface, const GLchar *name )
9 void glGetProgramResourceName ( GLuint program, GLenum programInterface, GLuint index, GLsizei bufS…
10 void glGetProgramResourceiv ( GLuint program, GLenum programInterface, GLuint index, GLsizei propCo…
11 GLint glGetProgramResourceLocation ( GLuint program, GLenum programInterface, const GLchar *name )
12 void glUseProgramStages ( GLuint pipeline, GLbitfield stages, GLuint program )
13 void glActiveShaderProgram ( GLuint pipeline, GLuint program )
20 void glProgramUniform1i ( GLuint program, GLint location, GLint v0 )
21 void glProgramUniform2i ( GLuint program, GLint location, GLint v0, GLint v1 )
22 void glProgramUniform3i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2 )
[all …]
/frameworks/rs/scriptc/
Drs_program.rsh29 * Get program store depth function
31 * @param ps program store to query
37 * Get program store depth mask
39 * @param ps program store to query
44 * Get program store red component color mask
46 * @param ps program store to query
52 * Get program store green component color mask
54 * @param ps program store to query
60 * Get program store blur component color mask
62 * @param ps program store to query
[all …]
/frameworks/av/cmds/screenrecord/
DProgram.cpp77 GLuint program; in setup() local
79 err = createProgram(&program, kVertexShader, kFragmentShader); in setup()
81 err = createProgram(&program, kVertexShader, kExtFragmentShader); in setup()
86 assert(program != 0); in setup()
88 maPositionLoc = glGetAttribLocation(program, "aPosition"); in setup()
89 maTextureCoordLoc = glGetAttribLocation(program, "aTextureCoord"); in setup()
90 muMVPMatrixLoc = glGetUniformLocation(program, "uMVPMatrix"); in setup()
91 muGLCMatrixLoc = glGetUniformLocation(program, "uGLCMatrix"); in setup()
92 muTextureLoc = glGetUniformLocation(program, "uTexture"); in setup()
96 glDeleteProgram(program); in setup()
[all …]
/frameworks/native/opengl/libs/GLES2/
Dgl2_api.in4 void API_ENTRY(glAttachShader)(GLuint program, GLuint shader) {
5 CALL_GL_API(glAttachShader, program, shader);
7 void API_ENTRY(glBindAttribLocation)(GLuint program, GLuint index, const GLchar * name) {
8 CALL_GL_API(glBindAttribLocation, program, index, name);
91 void API_ENTRY(glDeleteProgram)(GLuint program) {
92 CALL_GL_API(glDeleteProgram, program);
112 void API_ENTRY(glDetachShader)(GLuint program, GLuint shader) {
113 CALL_GL_API(glDetachShader, program, shader);
163 void API_ENTRY(glGetActiveAttrib)(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, …
164 CALL_GL_API(glGetActiveAttrib, program, index, bufSize, length, size, type, name);
[all …]
Dgl2ext_api.in43 void API_ENTRY(glGetProgramBinaryOES)(GLuint program, GLsizei bufSize, GLsizei * length, GLenum * b…
44 CALL_GL_API(glGetProgramBinaryOES, program, bufSize, length, binaryFormat, binary);
46 void API_ENTRY(glProgramBinaryOES)(GLuint program, GLenum binaryFormat, const void * binary, GLint …
47 CALL_GL_API(glProgramBinaryOES, program, binaryFormat, binary, length);
304 void API_ENTRY(glGetnUniformfvEXT)(GLuint program, GLint location, GLsizei bufSize, GLfloat * param…
305 CALL_GL_API(glGetnUniformfvEXT, program, location, bufSize, params);
307 void API_ENTRY(glGetnUniformivEXT)(GLuint program, GLint location, GLsizei bufSize, GLint * params)…
308 CALL_GL_API(glGetnUniformivEXT, program, location, bufSize, params);
310 void API_ENTRY(glActiveShaderProgramEXT)(GLuint pipeline, GLuint program) {
311 CALL_GL_API(glActiveShaderProgramEXT, pipeline, program);
[all …]
/frameworks/native/opengl/tests/gl2_jni/jni/
Dgl_code.cpp74 GLuint program = glCreateProgram(); in createProgram() local
75 if (program) { in createProgram()
76 glAttachShader(program, vertexShader); in createProgram()
78 glAttachShader(program, pixelShader); in createProgram()
80 glLinkProgram(program); in createProgram()
82 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); in createProgram()
85 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in createProgram()
89 glGetProgramInfoLog(program, bufLength, NULL, buf); in createProgram()
94 glDeleteProgram(program); in createProgram()
95 program = 0; in createProgram()
[all …]
/frameworks/native/opengl/tests/gldual/jni/
Dgl_code.cpp74 GLuint program = glCreateProgram(); in createProgram() local
75 if (program) { in createProgram()
76 glAttachShader(program, vertexShader); in createProgram()
78 glAttachShader(program, pixelShader); in createProgram()
80 glLinkProgram(program); in createProgram()
82 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); in createProgram()
85 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in createProgram()
89 glGetProgramInfoLog(program, bufLength, NULL, buf); in createProgram()
94 glDeleteProgram(program); in createProgram()
95 program = 0; in createProgram()
[all …]
/frameworks/native/opengl/tests/gl_perf/
Dfill_common.cpp76 GLuint program = glCreateProgram(); in createProgram() local
77 if (program) { in createProgram()
78 glAttachShader(program, vertexShader); in createProgram()
80 glAttachShader(program, pixelShader); in createProgram()
83 glBindAttribLocation(program, A_POS, "a_pos"); in createProgram()
84 glBindAttribLocation(program, A_COLOR, "a_color"); in createProgram()
85 glBindAttribLocation(program, A_TEX0, "a_tex0"); in createProgram()
86 glBindAttribLocation(program, A_TEX1, "a_tex1"); in createProgram()
87 glLinkProgram(program); in createProgram()
89 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); in createProgram()
[all …]
/frameworks/native/services/surfaceflinger/RenderEngine/
DProgramCache.cpp106 Program* program = mCache.valueFor(shaderKey); in primeCache() local
107 if (program == NULL) { in primeCache()
108 program = generateProgram(shaderKey); in primeCache()
109 mCache.add(shaderKey, program); in primeCache()
223 Program* program = new Program(needs, vs.string(), fs.string()); in generateProgram() local
224 return program; in generateProgram()
233 Program* program = mCache.valueFor(needs); in useProgram() local
234 if (program == NULL) { in useProgram()
237 program = generateProgram(needs); in useProgram()
238 mCache.add(needs, program); in useProgram()
[all …]
/frameworks/native/opengl/libs/
Dtrace.in1 …eShaderProgram, (GLuint pipeline, GLuint program), (pipeline, program), 2, "GLuint", pipeline, "GL…
2 …aderProgramEXT, (GLuint pipeline, GLuint program), (pipeline, program), 2, "GLuint", pipeline, "GL…
8 TRACE_GL_VOID(glAttachShader, (GLuint program, GLuint shader), (program, shader), 2, "GLuint", prog…
14 …D(glBindAttribLocation, (GLuint program, GLuint index, const GLchar * name), (program, index, name…
115 TRACE_GL_VOID(glDeleteProgram, (GLuint program), (program), 1, "GLuint", program)
136 TRACE_GL_VOID(glDetachShader, (GLuint program, GLuint shader), (program, shader), 2, "GLuint", prog…
186 …ceQCOM, (GLuint program, GLenum shadertype, GLchar * source, GLint * length), (program, shadertype…
193 TRACE_GL(GLboolean, glExtIsProgramBinaryQCOM, (GLuint program), (program), 1, "GLuint", program)
241program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * na…
242program, GLuint index, GLsizei bufSize, GLsizei * length, GLint * size, GLenum * type, GLchar * na…
[all …]
Dentries.in1 GL_ENTRY(void, glActiveShaderProgram, GLuint pipeline, GLuint program)
2 GL_ENTRY(void, glActiveShaderProgramEXT, GLuint pipeline, GLuint program)
8 GL_ENTRY(void, glAttachShader, GLuint program, GLuint shader)
14 GL_ENTRY(void, glBindAttribLocation, GLuint program, GLuint index, const GLchar * name)
115 GL_ENTRY(void, glDeleteProgram, GLuint program)
136 GL_ENTRY(void, glDetachShader, GLuint program, GLuint shader)
186 GL_ENTRY(void, glExtGetProgramBinarySourceQCOM, GLuint program, GLenum shadertype, GLchar * source,…
193 GL_ENTRY(GLboolean, glExtIsProgramBinaryQCOM, GLuint program)
241 GL_ENTRY(void, glGetActiveAttrib, GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, …
242 GL_ENTRY(void, glGetActiveUniform, GLuint program, GLuint index, GLsizei bufSize, GLsizei * length,…
[all …]
/frameworks/native/opengl/tests/gl2_java/src/com/android/gl2java/
DGL2JavaView.java123 int program = GLES20.glCreateProgram(); in createProgram() local
124 if (program != 0) { in createProgram()
125 GLES20.glAttachShader(program, vertexShader); in createProgram()
127 GLES20.glAttachShader(program, pixelShader); in createProgram()
129 GLES20.glLinkProgram(program); in createProgram()
131 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, 0); in createProgram()
134 Log.e(TAG, GLES20.glGetProgramInfoLog(program)); in createProgram()
135 GLES20.glDeleteProgram(program); in createProgram()
136 program = 0; in createProgram()
139 return program; in createProgram()
/frameworks/base/core/jni/
Dandroid_opengl_GLES31.cpp455 …(JNIEnv *_env, jobject _this, jint program, jint programInterface, jint pname, jintArray params_re… in android_glGetProgramInterfaceiv__III_3II() argument
481 (GLuint)program, in android_glGetProgramInterfaceiv__III_3II()
500 …(JNIEnv *_env, jobject _this, jint program, jint programInterface, jint pname, jobject params_buf)… in android_glGetProgramInterfaceiv__IIILjava_nio_IntBuffer_2() argument
512 (GLuint)program, in android_glGetProgramInterfaceiv__IIILjava_nio_IntBuffer_2()
525 (JNIEnv *_env, jobject _this, jint program, jint programInterface, jstring name) { in android_glGetProgramResourceIndex__IILjava_lang_String_2() argument
541 (GLuint)program, in android_glGetProgramResourceIndex__IILjava_lang_String_2()
560 (JNIEnv *_env, jobject _this, jint program, jint programInterface, jint index) { in android_glGetProgramResourceName() argument
568 …(JNIEnv *_env, jobject _this, jint program, jint programInterface, jint index, jint propCount, jin… in android_glGetProgramResourceiv__IIII_3III_3II_3II() argument
634 (GLuint)program, in android_glGetProgramResourceiv__IIII_3III_3II_3II()
665 …(JNIEnv *_env, jobject _this, jint program, jint programInterface, jint index, jint propCount, job… in android_glGetProgramResourceiv__IIIILjava_nio_IntBuffer_2ILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2() argument
[all …]
/frameworks/native/opengl/libs/GLES_trace/src/
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, GLi…
79 void GLTrace_glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei * length, GL…
80 void GLTrace_glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei * count, GLuint * shade…
81 GLint GLTrace_glGetAttribLocation(GLuint program, const GLchar * name);
88 void GLTrace_glGetProgramiv(GLuint program, GLenum pname, GLint * params);
89 void GLTrace_glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei * length, GLchar * infoLo…
[all …]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DglGetTransformFeedbackVarying.java4 int program, in glGetTransformFeedbackVarying() argument
20 int program, in glGetTransformFeedbackVarying() argument
32 int program, in glGetTransformFeedbackVarying() argument
43 int program, in glGetTransformFeedbackVarying() argument
DglGetActiveAttrib.java4 int program, in glGetActiveAttrib() argument
21 int program, in glGetActiveAttrib() argument
33 int program, in glGetActiveAttrib() argument
44 int program, in glGetActiveAttrib() argument
DglGetActiveUniform.java4 int program, in glGetActiveUniform() argument
21 int program, in glGetActiveUniform() argument
32 int program, in glGetActiveUniform() argument
43 int program, in glGetActiveUniform() argument
DglGetActiveUniformBlockName.cpp4 …(JNIEnv* _env, jobject _this, jint program, jint uniformBlockIndex, int bufSize, jintArray length_… in android_glGetActiveUniformBlockName_III_3II_3BI() argument
50 (GLuint)program, in android_glGetActiveUniformBlockName_III_3II_3BI()
74 …(JNIEnv* _env, jobject _this, jint program, jint uniformBlockIndex, jobject length_buf, jobject un… in android_glGetActiveUniformBlockName_IILjava_nio_Buffer_2Ljava_nio_Buffer_2() argument
100 (GLuint)program, in android_glGetActiveUniformBlockName_IILjava_nio_Buffer_2Ljava_nio_Buffer_2()
116 (JNIEnv *_env, jobject _this, jint program, jint uniformBlockIndex) { in android_glGetActiveUniformBlockName_II() argument
118 glGetActiveUniformBlockiv((GLuint)program, (GLuint)uniformBlockIndex, in android_glGetActiveUniformBlockName_II()
121 glGetActiveUniformBlockName((GLuint)program, (GLuint)uniformBlockIndex, in android_glGetActiveUniformBlockName_II()
/frameworks/native/opengl/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 …]
/frameworks/native/opengl/tests/testLatency/src/com/android/testlatency/
DTestLatencyView.java197 int program = GLES20.glCreateProgram(); in createProgram() local
198 if (program != 0) { in createProgram()
199 GLES20.glAttachShader(program, vertexShader); in createProgram()
201 GLES20.glAttachShader(program, pixelShader); in createProgram()
203 GLES20.glLinkProgram(program); in createProgram()
205 GLES20.glGetProgramiv(program, GLES20.GL_LINK_STATUS, linkStatus, 0); in createProgram()
208 Log.e(TAG, GLES20.glGetProgramInfoLog(program)); in createProgram()
209 GLES20.glDeleteProgram(program); in createProgram()
210 program = 0; in createProgram()
213 return program; in createProgram()
/frameworks/native/opengl/tests/gl2_basic/
Dgl2_basic.cpp113 GLuint program = glCreateProgram(); in createProgram() local
114 if (program) { in createProgram()
115 glAttachShader(program, vertexShader); in createProgram()
117 glAttachShader(program, pixelShader); in createProgram()
119 glLinkProgram(program); in createProgram()
121 glGetProgramiv(program, GL_LINK_STATUS, &linkStatus); in createProgram()
124 glGetProgramiv(program, GL_INFO_LOG_LENGTH, &bufLength); in createProgram()
128 glGetProgramInfoLog(program, bufLength, NULL, buf); in createProgram()
133 glDeleteProgram(program); in createProgram()
134 program = 0; in createProgram()
[all …]

123456