GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
gl-render.cc File Reference
#include <limits>
#include <memory>
#include <sstream>
#include "lo-mappers.h"
#include "oct-locbuf.h"
#include "errwarn.h"
#include "gl-render.h"
#include "interpreter-private.h"
#include "oct-opengl.h"
#include "text-renderer.h"
Include dependency graph for gl-render.cc:

Go to the source code of this file.

Classes

class  opengl_tessellator
 
class  opengl_texture
 
class  opengl_renderer::patch_tessellator
 
class  opengl_texture::texture_rep
 
class  vertex_data
 
class  vertex_data::vertex_data_rep
 

Macros

#define CALLBACK
 
#define LIGHT_MODE   GL_FRONT_AND_BACK
 

Enumerations

enum  { UNIFORM , FLAT , INTERP , TEXTURE }
 
enum  { NONE , GOURAUD = 2 }
 
enum  { X_AXIS , Y_AXIS , Z_AXIS }
 

Functions

static int next_power_of_2 (int n)
 

Macro Definition Documentation

◆ CALLBACK

#define CALLBACK

Definition at line 94 of file gl-render.cc.

◆ LIGHT_MODE

#define LIGHT_MODE   GL_FRONT_AND_BACK

Definition at line 63 of file gl-render.cc.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
UNIFORM 
FLAT 
INTERP 
TEXTURE 

Definition at line 74 of file gl-render.cc.

◆ anonymous enum

anonymous enum
Enumerator
NONE 
GOURAUD 

Definition at line 83 of file gl-render.cc.

◆ anonymous enum

anonymous enum
Enumerator
X_AXIS 
Y_AXIS 
Z_AXIS 

Definition at line 66 of file gl-render.cc.

Function Documentation

◆ next_power_of_2()

static int next_power_of_2 ( int  n)
static

Definition at line 53 of file gl-render.cc.

References m, max(), and n.

Referenced by opengl_texture::create().