HomeSort by relevance Sort by last modified time
    Searched full:glenv (Results 1 - 24 of 24) sorted by null

  /frameworks/base/media/mca/filterfw/jni/
jni_gl_environment.cpp 32 using android::filterfw::GLEnv;
66 std::unique_ptr<GLEnv> glEnv(new GLEnv());
67 return ToJBool(WrapOwnedObjectInJava(std::move(glEnv), env, thiz, true));
71 return ToJBool(DeleteNativeObject<GLEnv>(env, thiz));
76 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz);
82 GLEnv* gl_env = ConvertFromJava<GLEnv>(env, thiz)
    [all...]
jni_gl_frame.cpp 26 using android::filterfw::GLEnv;
49 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env);
64 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env);
79 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env);
91 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env);
jni_shader_program.cpp 30 using android::filterfw::GLEnv;
43 // Get the GLEnv pointer
44 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env);
131 GLEnv* gl_env_ptr = ConvertFromJava<GLEnv>(env, gl_env);
jni_init.cpp 39 ObjectPool<GLEnv>::Setup("android/filterfw/core/GLEnvironment", "glEnvId");
  /frameworks/base/media/mca/filterfw/native/core/
gl_env.cpp 37 GLEnv::GLEnv()
47 GLEnv::~GLEnv() {
79 ALOGE("GLEnv: Error tearing down GL Environment!");
82 bool GLEnv::IsInitialized() const {
88 bool GLEnv::Deactivate() {
93 bool GLEnv::Activate() {
111 bool GLEnv::SwapBuffers() {
116 bool GLEnv::InitWithCurrentContext()
    [all...]
vertex_frame.cpp 39 return !GLEnv::CheckGLError("Generating VBO");
52 if (GLEnv::CheckGLError("VBO Bind Buffer"))
66 if (GLEnv::CheckGLError("VBO Data Upload"))
gl_env.h 59 // The GLEnv class provides functionality related to the EGL environment, which
65 class GLEnv {
68 // Constructs a new GLEnv object. This does not create a GL context.
69 GLEnv();
73 ~GLEnv();
92 // thread. In this case, deactivate the GLEnv in the old thread, and
104 // owned) by the GLEnv instance. Returns the id of the surface.
109 // This surface will now be managed (and owned) by the GLEnv instance.
140 // owned) by the GLEnv instance. Returns the id of the context.
173 // This need not be a context created by a GLEnv instance
    [all...]
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::CheckGLError("Texture Allocation"))
    [all...]
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::CheckGLError("Use Program")
    [all...]
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 explicit GLFrame(GLEnv* gl_env);
183 GLEnv* gl_env_;
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_;
  /frameworks/base/media/mca/filterfw/java/android/filterfw/core/
GraphRunner.java 65 GLEnvironment glEnv = mFilterContext.getGLEnvironment();
66 if (glEnv != null && !glEnv.isActive()) {
67 glEnv.activate();
77 GLEnvironment glEnv = mFilterContext.getGLEnvironment();
78 if (glEnv != null) {
79 glEnv.deactivate();
FilterFunction.java 60 GLEnvironment glEnv = mFilterContext.getGLEnvironment();
61 if (glEnv != null && !glEnv.isActive()) {
62 glEnv.activate();
90 glEnv.deactivate();
FilterSurfaceView.java 52 public synchronized void bindToListener(SurfaceHolder.Callback listener, GLEnvironment glEnv) {
65 // Set GLEnv
66 if (mGLEnv != null && mGLEnv != glEnv) {
69 mGLEnv = glEnv;
73 // Register with env (double registration will be ignored by GLEnv, so we can simply
ShaderProgram.java 251 private native boolean allocate(GLEnvironment glEnv,
271 private static native ShaderProgram nativeCreateIdentity(GLEnvironment glEnv);
GLFrame.java 78 void init(GLEnvironment glEnv) {
80 mGLEnvironment = glEnv;
  /frameworks/base/media/mca/filterfw/java/android/filterfw/
MffEnvironment.java 85 GLEnvironment glEnv = mContext.getGLEnvironment();
86 if (glEnv != null) {
99 GLEnvironment glEnv = mContext.getGLEnvironment();
100 if (glEnv != null) {
  /frameworks/base/media/mca/effect/java/android/media/effect/
EffectContext.java 106 GLEnvironment glEnv = mFilterContext.getGLEnvironment();
107 if (glEnv == null || !glEnv.isContextActive()) {
  /cts/tests/tests/effect/src/android/effect/cts/
EffectTest.java 33 private GLEnv mEnv;
43 mEnv = new GLEnv();
GLEnv.java 26 public class GLEnv {
36 public GLEnv() {
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
SurfaceRenderFilter.java 148 GLEnvironment glEnv = mSurfaceView.getGLEnv();
149 if (glEnv != context.getGLEnvironment()) {
178 glEnv.activateSurfaceWithId(mSurfaceView.getSurfaceId());
184 glEnv.swapBuffers();
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
MediaEncoderFilter.java 378 GLEnvironment glEnv = context.getGLEnvironment();
402 glEnv.activateSurfaceWithId(mSurfaceId);
408 glEnv.setSurfaceTimestamp(mTimestampNs);
410 glEnv.swapBuffers();
419 GLEnvironment glEnv = context.getGLEnvironment();
426 glEnv.unregisterSurfaceId(mSurfaceId);
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
SurfaceTextureTarget.java 209 GLEnvironment glEnv = context.getGLEnvironment();
238 glEnv.activateSurfaceWithId(mSurfaceId);
243 glEnv.setSurfaceTimestamp(input.getTimestamp());
246 glEnv.swapBuffers();
  /packages/apps/LegacyCamera/src/com/android/camera/
EffectsRecorder.java 816 GLEnvironment glEnv = mGraphEnv.getContext().getGLEnvironment();
817 if (glEnv != null && !glEnv.isActive()) {
818 glEnv.activate();
821 if (glEnv != null && glEnv.isActive()) {
822 glEnv.deactivate();
    [all...]

Completed in 277 milliseconds