Home
last modified time | relevance | path

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

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DGraphRunner.java68 GLEnvironment glEnv = mFilterContext.getGLEnvironment(); in activateGlContext() local
69 if (glEnv != null && !glEnv.isActive()) { in activateGlContext()
70 glEnv.activate(); in activateGlContext()
80 GLEnvironment glEnv = mFilterContext.getGLEnvironment(); in deactivateGlContext() local
81 if (glEnv != null) { in deactivateGlContext()
82 glEnv.deactivate(); in deactivateGlContext()
DFilterFunction.java60 GLEnvironment glEnv = mFilterContext.getGLEnvironment(); in execute() local
61 if (glEnv != null && !glEnv.isActive()) { in execute()
62 glEnv.activate(); in execute()
90 glEnv.deactivate(); in execute()
DFilterSurfaceView.java52 public synchronized void bindToListener(SurfaceHolder.Callback listener, GLEnvironment glEnv) { in bindToListener() argument
66 if (mGLEnv != null && mGLEnv != glEnv) { in bindToListener()
69 mGLEnv = glEnv; in bindToListener()
DShaderProgram.java254 private native boolean allocate(GLEnvironment glEnv, in allocate() argument
274 private static native ShaderProgram nativeCreateIdentity(GLEnvironment glEnv); in nativeCreateIdentity() argument
DGLFrame.java74 void init(GLEnvironment glEnv) { in init() argument
76 mGLEnvironment = glEnv; in init()
/frameworks/base/media/mca/filterfw/java/android/filterfw/
DMffEnvironment.java85 GLEnvironment glEnv = mContext.getGLEnvironment(); in activateGLEnvironment() local
86 if (glEnv != null) { in activateGLEnvironment()
99 GLEnvironment glEnv = mContext.getGLEnvironment(); in deactivateGLEnvironment() local
100 if (glEnv != null) { in deactivateGLEnvironment()
/frameworks/base/media/mca/effect/java/android/media/effect/
DEffectContext.java106 GLEnvironment glEnv = mFilterContext.getGLEnvironment(); in assertValidGLState() local
107 if (glEnv == null || !glEnv.isContextActive()) { in assertValidGLState()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
DMediaEncoderFilter.java378 GLEnvironment glEnv = context.getGLEnvironment(); in process() local
402 glEnv.activateSurfaceWithId(mSurfaceId); in process()
408 glEnv.setSurfaceTimestamp(mTimestampNs); in process()
410 glEnv.swapBuffers(); in process()
419 GLEnvironment glEnv = context.getGLEnvironment(); in stopRecording() local
426 glEnv.unregisterSurfaceId(mSurfaceId); in stopRecording()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/ui/
DSurfaceRenderFilter.java148 GLEnvironment glEnv = mSurfaceView.getGLEnv(); in process() local
149 if (glEnv != context.getGLEnvironment()) { in process()
178 glEnv.activateSurfaceWithId(mSurfaceView.getSurfaceId()); in process()
184 glEnv.swapBuffers(); in process()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureTarget.java209 GLEnvironment glEnv = context.getGLEnvironment(); in process() local
238 glEnv.activateSurfaceWithId(mSurfaceId); in process()
243 glEnv.setSurfaceTimestamp(input.getTimestamp()); in process()
246 glEnv.swapBuffers(); in process()
/frameworks/base/media/mca/filterfw/jni/
Djni_gl_environment.cpp66 std::unique_ptr<GLEnv> glEnv(new GLEnv()); in Java_android_filterfw_core_GLEnvironment_nativeAllocate() local
67 return ToJBool(WrapOwnedObjectInJava(std::move(glEnv), env, thiz, true)); in Java_android_filterfw_core_GLEnvironment_nativeAllocate()