Use PBO for Texture Upload and fix Frame Stride

This commit is contained in:
Florian Märkl 2019-08-08 21:29:13 +02:00
commit 0b86d62925
No known key found for this signature in database
GPG key ID: 125BC8A5A6A1E857
2 changed files with 28 additions and 3 deletions

View file

@ -33,6 +33,7 @@ class AVOpenGLFrameUploader;
struct AVOpenGLFrame
{
GLuint pbo[3];
GLuint tex[3];
unsigned int width;
unsigned int height;