Searched refs:GLEnv (Results 1 - 11 of 11) sorted by relevance
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_gl_environment.cpp | 32 using android::filterfw::GLEnv; 66 return ToJBool(WrapObjectInJava(new GLEnv(), env, thiz, true)); 70 return ToJBool(DeleteNativeObject<GLEnv>(env, thiz)); 75 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); 81 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); 86 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); 91 GLEnv* gl_en [all...] |
H A D | jni_init.cpp | 39 ObjectPool<GLEnv>::Setup("android/filterfw/core/GLEnvironment", "glEnvId");
|
H A D | jni_gl_frame.cpp | 26 using android::filterfw::GLEnv; 49 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env); 66 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env); 83 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env); 97 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env);
|
H A D | jni_shader_program.cpp | 30 using android::filterfw::GLEnv; 43 // Get the GLEnv pointer 44 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env); 138 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_env.cpp | 34 GLEnv::GLEnv() function in class:android::filterfw::GLEnv 44 GLEnv::~GLEnv() { 76 ALOGE("GLEnv: Error tearing down GL Environment!"); 79 bool GLEnv::IsInitialized() const { 85 bool GLEnv::Deactivate() { 90 bool GLEnv::Activate() { 108 bool GLEnv::SwapBuffers() { 113 bool GLEnv [all...] |
H A D | vertex_frame.cpp | 39 return !GLEnv::CheckGLError("Generating VBO"); 52 if (GLEnv::CheckGLError("VBO Bind Buffer")) 66 if (GLEnv::CheckGLError("VBO Data Upload"))
|
H A D | gl_frame.cpp | 38 GLFrame::GLFrame(GLEnv* gl_env) 113 return !GLEnv::CheckGLError("Generating MipMap!"); 122 if (!GLEnv::CheckGLError("Setting texture parameter!")) { 138 return !GLEnv::CheckGLError("Resetting texture parameters!"); 230 if (GLEnv::CheckGLError("FBO Binding")) return false; 234 if (GLEnv::CheckGLError("ViewPort Setup")) return false; 258 return !GLEnv::CheckGLError("Texture Binding"); 280 return !GLEnv::CheckGLError("Texture Binding"); 293 if (GLEnv::CheckGLError("Texture Generation")) 316 if (!GLEnv [all...] |
H A D | gl_frame.h | 29 class GLEnv; 39 // take ownership. The caller must make sure the GLEnv stays valid as long as the GLFrame is 41 GLFrame(GLEnv* gl_env); 183 GLEnv* gl_env_;
|
H A D | gl_env.h | 58 // The GLEnv class provides functionality related to the EGL environment, which 64 class GLEnv { class in namespace:android::filterfw 67 // Constructs a new GLEnv object. This does not create a GL context. 68 GLEnv(); 72 ~GLEnv(); 91 // thread. In this case, deactivate the GLEnv in the old thread, and 103 // owned) by the GLEnv instance. Returns the id of the surface. 108 // This surface will now be managed (and owned) by the GLEnv instance. 139 // owned) by the GLEnv instance. Returns the id of the context. 172 // This need not be a context created by a GLEnv instanc [all...] |
H A D | shader_program.cpp | 70 ShaderProgram::ShaderProgram(GLEnv* gl_env, const std::string& fragment_shader) 92 ShaderProgram::ShaderProgram(GLEnv* gl_env, 156 ShaderProgram* ShaderProgram::CreateIdentity(GLEnv* gl_env) { 347 if (GLEnv::CheckGLError("glAttachShader")) return 0; 398 return !GLEnv::CheckGLError("Pushing vertex coordinates"); 424 if (GLEnv::CheckGLError("Activating Texture Unit")) 430 if (GLEnv::CheckGLError("Binding Texture")) 443 if (GLEnv::CheckGLError("Texture Variable Binding")) 451 if (GLEnv::GetCurrentProgram() != program_) { 454 return !GLEnv [all...] |
H A D | shader_program.h | 77 // Note, that the ShaderProgram does NOT take ownership of the GLEnv. The 78 // caller must make sure the GLEnv stays valid as long as the GLFrame is 80 explicit ShaderProgram(GLEnv* gl_env, const std::string& fragment_shader); 85 // Note, that the ShaderProgram does NOT take ownership of the GLEnv. The 86 // caller must make sure the GLEnv stays valid as long as the GLFrame is 88 ShaderProgram(GLEnv* gl_env, 123 static ShaderProgram* CreateIdentity(GLEnv* env); 510 GLEnv* gl_env_;
|
Completed in 1190 milliseconds