Searched defs:ShaderProgram (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.h42 // A ShaderProgram is a Program object that holds a GLSL shader implementation.
46 // By default a ShaderProgram provides its own vertex shader. However, a custom
67 class ShaderProgram { class in namespace:android::filterfw
77 // Note, that the ShaderProgram does NOT take ownership of the GLEnv. The
80 explicit ShaderProgram(GLEnv* gl_env, const std::string& fragment_shader);
85 // Note, that the ShaderProgram does NOT take ownership of the GLEnv. The
88 ShaderProgram(GLEnv* gl_env,
93 ~ShaderProgram();
123 static ShaderProgram* CreateIdentity(GLEnv* env);
H A Dshader_program.cpp56 ShaderProgram::VertexAttrib::VertexAttrib()
69 // ShaderProgram implementation ////////////////////////////////////////////////
70 ShaderProgram::ShaderProgram(GLEnv* gl_env, const std::string& fragment_shader) function in class:android::filterfw::ShaderProgram
92 ShaderProgram::ShaderProgram(GLEnv* gl_env, function in class:android::filterfw::ShaderProgram
116 ShaderProgram::~ShaderProgram() {
130 void ShaderProgram::SetDefaultCoords() {
156 ShaderProgram* ShaderProgra
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java31 public class ShaderProgram extends Program { class in inherits:Program
48 private ShaderProgram() { method in class:ShaderProgram
51 private ShaderProgram(NativeAllocatorTag tag) { method in class:ShaderProgram
54 public ShaderProgram(FilterContext context, String fragmentShader) { method in class:ShaderProgram
63 public ShaderProgram(FilterContext context, String vertexShader, String fragmentShader) { method in class:ShaderProgram
72 public static ShaderProgram createIdentity(FilterContext context) {
73 ShaderProgram program = nativeCreateIdentity(getGLEnvironment(context));
102 throw new RuntimeException("ShaderProgram got non-GL frame as input " + i + "!");
111 throw new RuntimeException("ShaderProgram got non-GL output frame!");
123 throw new RuntimeException("Error executing ShaderProgram!");
[all...]

Completed in 842 milliseconds