GNU Radio's TEST Package
gl.h
Go to the documentation of this file.
1 /*
2  * gl.h
3  *
4  * OpenGL part of fosphor
5  *
6  * Copyright (C) 2013-2021 Sylvain Munaut
7  * SPDX-License-Identifier: GPL-3.0-or-later
8  */
9 
10 #pragma once
11 
12 /*! \defgroup gl
13  * @{
14  */
15 
16 /*! \file gl.h
17  * \brief OpenGL part of fosphor
18  */
19 
20 #include "gl_platform.h"
21 
22 struct fosphor;
23 struct fosphor_render;
24 
25 int fosphor_gl_init(struct fosphor *self);
26 void fosphor_gl_release(struct fosphor *self);
27 
28 
33 };
34 
35 GLuint fosphor_gl_get_shared_id(struct fosphor *self,
36  enum fosphor_gl_id id);
37 
38 void fosphor_gl_refresh(struct fosphor *self);
39 void fosphor_gl_draw(struct fosphor *self, struct fosphor_render *render);
40 
41 /*! @} */
Wrapper to select proper OpenGL headers for various platforms.
void fosphor_gl_release(struct fosphor *self)
fosphor_gl_id
Definition: gl.h:29
int fosphor_gl_init(struct fosphor *self)
void fosphor_gl_draw(struct fosphor *self, struct fosphor_render *render)
GLuint fosphor_gl_get_shared_id(struct fosphor *self, enum fosphor_gl_id id)
void fosphor_gl_refresh(struct fosphor *self)
@ GL_ID_VBO_SPECTRUM
Definition: gl.h:32
@ GL_ID_TEX_HISTOGRAM
Definition: gl.h:31
@ GL_ID_TEX_WATERFALL
Definition: gl.h:30
fosphor render options
Definition: fosphor.h:63
Definition: private.h:31