iOS render: Handle frame rotation in OpenGL
This CL handles frame rotation by updating the OpenGL vertex data in RTCOpenGLVideoRenderer, instead of calling the expensive libyuv::I420Rotate that will rotate the actual memory. Also, we can handle rotated native frames instead of falling back to NativeToI420Buffer. Review-Url: https://codereview.webrtc.org/2176623002 Cr-Commit-Position: refs/heads/master@{#13715}
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
#import <GLKit/GLKit.h>
|
||||
|
||||
#import "RTCOpenGLVideoRenderer.h"
|
||||
#import "WebRTC//RTCVideoFrame.h"
|
||||
#import "WebRTC/RTCVideoFrame.h"
|
||||
|
||||
// RTCDisplayLinkTimer wraps a CADisplayLink and is set to fire every two screen
|
||||
// refreshes, which should be 30fps. We wrap the display link in order to avoid
|
||||
|
||||
Reference in New Issue
Block a user