![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include <vector>#include <string>#include <stdexcept>#include <cassert>#include "opengl_utils.hpp"#include "opengl_conversions.hpp"#include "video_frame.h"#include "video_codec.h"#include "color.h"#include "debug.h"#include "host.h"#include "utils/profile_timer.hpp"
Go to the source code of this file.
Macros | |
| #define | MOD_NAME "[Opengl utils] " |
Functions | |
| bool | check_gl_extension_present (const char *ext) |
| static void | compileShader (GLuint shaderId) |
| static std::vector< unsigned > | gen_sphere_indices (int latitude_n, int longtitude_n) |
| static std::vector< float > | gen_sphere_vertices (int r, int latitude_n, int longtitude_n) |
Variables | |
| static const float | PI_F =3.14159265358979f |
| static unsigned char | pixels [] |
| static const GLfloat | rectangle [] |
Definition in file opengl_utils.cpp.
| #define MOD_NAME "[Opengl utils] " |
Definition at line 52 of file opengl_utils.cpp.
| bool check_gl_extension_present | ( | const char * | ext | ) |
Definition at line 91 of file opengl_utils.cpp.
References count.
|
static |
Definition at line 73 of file opengl_utils.cpp.
References len.
|
static |
Definition at line 470 of file opengl_utils.cpp.
Referenced by Model::get_sphere().
|
static |
Definition at line 440 of file opengl_utils.cpp.
References PI_F.
Referenced by Model::get_sphere().
|
static |
Definition at line 54 of file opengl_utils.cpp.
Referenced by gen_sphere_vertices().
|
static |
Definition at line 66 of file opengl_utils.cpp.
|
static |
Definition at line 56 of file opengl_utils.cpp.