openglosd integrated

This commit is contained in:
jojo61
2018-09-05 20:39:12 +02:00
parent cbdc46effe
commit d5d680216e
6 changed files with 2877 additions and 93 deletions

12
video.h
View File

@@ -23,6 +23,9 @@
/// @addtogroup Video
/// @{
#include <GL/gl.h>
#include <GL/glx.h>
//----------------------------------------------------------------------------
// Typedefs
//----------------------------------------------------------------------------
@@ -75,6 +78,11 @@ extern void *VideoGetHwAccelContext(VideoHwDecoder *);
extern void VideoDrawRenderState(VideoHwDecoder *,
struct vdpau_render_state *);
#endif
#endif
#ifdef USE_OPENGLOSD
/// Set callback funktion to notify VDR about VideoEvents
extern void VideoSetVideoEventCallback(void (*)(void));
#endif
/// Poll video events.
@@ -227,7 +235,9 @@ extern void SetDPMSatBlackScreen(int);
/// Raise the frontend window
extern int VideoRaiseWindow(void);
#ifdef USE_OPENGLOSD
extern void ActivateOsd(GLuint,int,int,int,int);
#endif
#if 0
long int gettid()
{