Home
last modified time | relevance | path

Searched refs:GLEnv (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/media/mca/filterfw/jni/
Djni_gl_environment.cpp32 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 …]
Djni_gl_frame.cpp26 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()
Djni_shader_program.cpp30 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()
Djni_init.cpp39 ObjectPool<GLEnv>::Setup("android/filterfw/core/GLEnvironment", "glEnvId"); in JNI_OnLoad()
/frameworks/base/media/mca/filterfw/native/core/
Dgl_env.cpp37 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 …]
Dgl_frame.cpp38 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 …]
Dgl_env.h65 class GLEnv {
69 GLEnv();
73 ~GLEnv();
259 GLEnv(const GLEnv&) = delete;
260 GLEnv& operator=(const GLEnv&) = delete;
Dshader_program.cpp70 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 …]
Dvertex_frame.cpp39 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()
Dgl_frame.h29 class GLEnv; variable
41 explicit GLFrame(GLEnv* gl_env);
183 GLEnv* gl_env_;
Dshader_program.h80 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_;