Searched refs:GLEnv (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/media/mca/filterfw/jni/ |
D | jni_gl_environment.cpp | 32 using android::filterfw::GLEnv; 66 std::unique_ptr<GLEnv> glEnv(new GLEnv()); in Java_android_filterfw_core_GLEnvironment_nativeAllocate() 71 return ToJBool(DeleteNativeObject<GLEnv>(env, thiz)); in Java_android_filterfw_core_GLEnvironment_nativeDeallocate() 76 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); in Java_android_filterfw_core_GLEnvironment_nativeInitWithNewContext() 82 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); in Java_android_filterfw_core_GLEnvironment_nativeInitWithCurrentContext() 87 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); in Java_android_filterfw_core_GLEnvironment_nativeIsActive() 92 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); in Java_android_filterfw_core_GLEnvironment_nativeIsContextActive() 98 return ToJBool(GLEnv::IsAnyContextActive()); in Java_android_filterfw_core_GLEnvironment_nativeIsAnyContextActive() 102 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); in Java_android_filterfw_core_GLEnvironment_nativeActivate() 107 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz); in Java_android_filterfw_core_GLEnvironment_nativeDeactivate() [all …]
|
D | jni_gl_frame.cpp | 26 using android::filterfw::GLEnv; 49 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env); in Java_android_filterfw_core_GLFrame_nativeAllocate() 64 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env); in Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture() 79 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env); in Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo() 91 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env); in Java_android_filterfw_core_GLFrame_nativeAllocateExternal()
|
D | jni_shader_program.cpp | 30 using android::filterfw::GLEnv; 44 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env); in Java_android_filterfw_core_ShaderProgram_allocate() 131 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env); in Java_android_filterfw_core_ShaderProgram_nativeCreateIdentity()
|
D | jni_init.cpp | 39 ObjectPool<GLEnv>::Setup("android/filterfw/core/GLEnvironment", "glEnvId"); in JNI_OnLoad()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | gl_env.cpp | 37 GLEnv::GLEnv() in GLEnv() function in android::filterfw::GLEnv 47 GLEnv::~GLEnv() { in ~GLEnv() 82 bool GLEnv::IsInitialized() const { in IsInitialized() 88 bool GLEnv::Deactivate() { in Deactivate() 93 bool GLEnv::Activate() { in Activate() 111 bool GLEnv::SwapBuffers() { in SwapBuffers() 116 bool GLEnv::InitWithCurrentContext() { in InitWithCurrentContext() 129 bool GLEnv::InitWithNewContext() { in InitWithNewContext() 191 bool GLEnv::IsActive() const { in IsActive() 198 bool GLEnv::IsContextActive() const { in IsContextActive() [all …]
|
D | gl_frame.cpp | 38 GLFrame::GLFrame(GLEnv* gl_env) in GLFrame() 113 return !GLEnv::CheckGLError("Generating MipMap!"); in GenerateMipMap() 122 if (!GLEnv::CheckGLError("Setting texture parameter!")) { in SetTextureParameter() 138 return !GLEnv::CheckGLError("Resetting texture parameters!"); in UpdateTexParameters() 230 if (GLEnv::CheckGLError("FBO Binding")) return false; in BindFrameBuffer() 234 if (GLEnv::CheckGLError("ViewPort Setup")) return false; in BindFrameBuffer() 258 return !GLEnv::CheckGLError("Texture Binding"); in BindTexture() 280 return !GLEnv::CheckGLError("Texture Binding"); in FocusTexture() 293 if (GLEnv::CheckGLError("Texture Generation")) in GenerateTextureName() 316 if (!GLEnv::CheckGLError("Texture Allocation")) { in AllocateTexture() [all …]
|
D | gl_env.h | 65 class GLEnv { 69 GLEnv(); 73 ~GLEnv(); 259 GLEnv(const GLEnv&) = delete; 260 GLEnv& operator=(const GLEnv&) = delete;
|
D | shader_program.cpp | 70 ShaderProgram::ShaderProgram(GLEnv* gl_env, const std::string& fragment_shader) in ShaderProgram() 92 ShaderProgram::ShaderProgram(GLEnv* gl_env, in ShaderProgram() 156 ShaderProgram* ShaderProgram::CreateIdentity(GLEnv* gl_env) { in CreateIdentity() 347 if (GLEnv::CheckGLError("glAttachShader")) return 0; in LinkProgram() 398 return !GLEnv::CheckGLError("Pushing vertex coordinates"); in PushCoords() 424 if (GLEnv::CheckGLError("Activating Texture Unit")) in BindInputTextures() 430 if (GLEnv::CheckGLError("Binding Texture")) in BindInputTextures() 443 if (GLEnv::CheckGLError("Texture Variable Binding")) in BindInputTextures() 451 if (GLEnv::GetCurrentProgram() != program_) { in UseProgram() 454 return !GLEnv::CheckGLError("Use Program"); in UseProgram() [all …]
|
D | vertex_frame.cpp | 39 return !GLEnv::CheckGLError("Generating VBO"); in CreateBuffer() 52 if (GLEnv::CheckGLError("VBO Bind Buffer")) in WriteData() 66 if (GLEnv::CheckGLError("VBO Data Upload")) in WriteData()
|
D | gl_frame.h | 29 class GLEnv; variable 41 explicit GLFrame(GLEnv* gl_env); 183 GLEnv* gl_env_;
|
D | shader_program.h | 80 explicit ShaderProgram(GLEnv* gl_env, const std::string& fragment_shader); 88 ShaderProgram(GLEnv* gl_env, 123 static ShaderProgram* CreateIdentity(GLEnv* env); 510 GLEnv* gl_env_;
|