Searched refs:egl_context_ (Results 1 – 2 of 2) sorted by relevance
241 jobject egl_context_; member in webrtc_jni::MediaCodecVideoEncoder267 egl_context_(egl_context) { in MediaCodecVideoEncoder()459 RTC_CHECK(!use_surface || egl_context_ != nullptr) << "EGL context not set."; in InitEncodeOnCodecThread()507 (use_surface ? egl_context_ : nullptr)); in InitEncodeOnCodecThread()1081 : egl_context_(nullptr) { in MediaCodecVideoEncoderFactory()1123 if (egl_context_) { in SetEGLContext()1124 jni->DeleteGlobalRef(egl_context_); in SetEGLContext()1125 egl_context_ = NULL; in SetEGLContext()1128 egl_context_ = jni->NewGlobalRef(render_egl_context); in SetEGLContext()1131 egl_context_ = NULL; in SetEGLContext()[all …]
55 jobject egl_context_;