From 274e71ee8b774d6c9c69929a548a83c343202be1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 12 Sep 2016 15:08:38 +0200 Subject: vo_opengl: add hw overlay support and use it for RPI This overlay support specifically skips the OpenGL rendering chain, and uses GL rendering only for OSD/subtitles. This is for devices which don't have performant GL support. hwdec_rpi.c contains code ported from vo_rpi.c. vo_rpi.c is going to be deprecated. I left in the code for uploading sw surfaces (as it might be slightly more efficient for rendering sw decoded video), although it's dead code for now. --- video/out/opengl/common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'video/out/opengl/common.h') diff --git a/video/out/opengl/common.h b/video/out/opengl/common.h index e3ebd66c41..5abe839b8d 100644 --- a/video/out/opengl/common.h +++ b/video/out/opengl/common.h @@ -120,6 +120,7 @@ struct GL { void (GLAPIENTRY *DrawArrays)(GLenum, GLint, GLsizei); GLenum (GLAPIENTRY *GetError)(void); void (GLAPIENTRY *GetTexLevelParameteriv)(GLenum, GLint, GLenum, GLint *); + void (GLAPIENTRY *Scissor)(GLint, GLint, GLsizei, GLsizei); void (GLAPIENTRY *GenBuffers)(GLsizei, GLuint *); void (GLAPIENTRY *DeleteBuffers)(GLsizei, const GLuint *); -- cgit v1.2.3