DescriptionAndroid HW encoder: Add support for textures when using EGL 1.0
This CL is a follow-up to https://codereview.webrtc.org/1829923002. After that CL, the EGL context passed to PeerConnectionFactory nativeSetVideoHwAccelerationOptions is an EGL 1.0 context, not an EGL 1.4 context. If it's not an EGL 1.4 context, we don't call SetEGLContext on the encoder, which means that the encoder won't encode from the texture directly, but will call ConvertNativeToI420Frame instead and encode from byte buffers.
This CL encodes directly from textures for EGL 1.0 as well, but ignores the call to eglPresentationTimeANDROID.
BUG=webrtc:5702
Patch Set 1 : #
Total comments: 2
Patch Set 2 : Add comment in encoder that explains why eglBase might be EGL10 #
Total comments: 2
Patch Set 3 : Rebase, add full url to bug, and log a warning when using EGL10 in encoder. #
Messages
Total messages: 15 (10 generated)
|