Valkka  1.6.1
OpenSource Video Management
Functions
opengl.cpp File Reference

X11, GLX, OpenGL calls for initialization and texture dumping, plus some auxiliary routines. More...

#include "opengl.h"
#include "logging.h"
#include "tools.h"
Include dependency graph for opengl.cpp:

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

X11, GLX, OpenGL calls for initialization and texture dumping, plus some auxiliary routines.

Author
Sampsa Riikonen
Date
2017
Version
1.6.1

DESCRIPTION