Home
last modified time | relevance | path

Searched refs:ProgramVar (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/media/mca/filterfw/native/core/
Dshader_program.h40 typedef GLint ProgramVar; typedef
116 static bool IsVarValid(ProgramVar var);
175 ProgramVar GetUniform(const std::string& name) const;
179 bool SetUniformValue(ProgramVar var, int value);
183 bool SetUniformValue(ProgramVar var, float value);
187 bool SetUniformValue(ProgramVar var, const int* values, int count);
191 bool SetUniformValue(ProgramVar var, const float* values, int count);
195 bool SetUniformValue(ProgramVar var, const std::vector<int>& values);
199 bool SetUniformValue(ProgramVar var, const std::vector<float>& values);
232 ProgramVar GetAttribute(const std::string& name) const;
[all …]
Dshader_program.cpp169 bool ShaderProgram::IsVarValid(ProgramVar var) { in IsVarValid()
285 ProgramVar tex_coord_attr = glGetAttribLocation(program_, TexCoordAttributeName().c_str()); in CompileAndLink()
286 ProgramVar pos_coord_attr = glGetAttribLocation(program_, PositionAttributeName().c_str()); in CompileAndLink()
385 ProgramVar uniform_id = glGetUniformLocation(program_, &name[0]); in ScanUniforms()
390 bool ShaderProgram::PushCoords(ProgramVar attr, float* coords) { in PushCoords()
404 ProgramVar tex_coord_attr = glGetAttribLocation(program_, TexCoordAttributeName().c_str()); in PushSourceCoords()
409 ProgramVar pos_coord_attr = glGetAttribLocation(program_, PositionAttributeName().c_str()); in PushTargetCoords()
434 ProgramVar tex_var = GetUniform(InputTextureUniformName(i)); in BindInputTextures()
637 bool ShaderProgram::CheckVarValid(ProgramVar var) { in CheckVarValid()
646 bool ShaderProgram::CheckUniformValid(ProgramVar var) { in CheckUniformValid()
[all …]
/frameworks/base/media/mca/filterfw/jni/
Djni_shader_program.cpp33 using android::filterfw::ProgramVar;
272 ProgramVar program_var = program->GetAttribute(attr_string); in Java_android_filterfw_core_ShaderProgram_setShaderAttributeValues()
304 ProgramVar program_var = program->GetAttribute(attr_string); in Java_android_filterfw_core_ShaderProgram_setShaderAttributeVertexFrame()