Valkka  1.6.1
OpenSource Video Management
Namespaces | Functions
opengl.h File Reference

OpenGL calls for reserving PBOs and TEXtures, plus some auxiliary routines. More...

#include "frame.h"
#include "constant.h"
Include dependency graph for opengl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 glx_attr
 GLX parameter groups.
 

Functions

int is_glx_extension_supported (Display *dpy, const char *query)
 // ripped off from glxgears.c Determine whether or not a GLX extension is supported.
 
int readbytes (const char *fname, char *&buffer)
 
int readyuvbytes (const char *fname, GLubyte *&Y, GLubyte *&U, GLubyte *&V)
 Auxiliary routine for testing.
 
void zeroyuvbytes (int ysize, GLubyte *&Y, GLubyte *&U, GLubyte *&V)
 Auxiliary routine for testing.
 
void getPBO (GLuint &index, GLsizei size, GLubyte *&payload)
 Get PBO from the GPU. There are two versions of this function: other one can be enabled in source for valgrind debugging.
 
void releasePBO (GLuint *index, GLubyte *payload)
 
void getTEX (GLuint &index, GLint internal_format, GLint format, GLsizei w, GLsizei h)
 Get texture from the GPU.
 

Detailed Description

OpenGL calls for reserving PBOs and TEXtures, plus some auxiliary routines.

Author
Sampsa Riikonen
Date
2017
Version
1.6.1