GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Macros | Enumerations | Functions
gl-render.cc File Reference
#include <iostream>
#include <lo-mappers.h>
#include "oct-locbuf.h"
#include "oct-refcount.h"
#include "errwarn.h"
#include "gl-render.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  octave::opengl_tesselator
 
class  octave::opengl_texture
 
class  octave::opengl_renderer::patch_tesselator
 
class  octave::opengl_texture::texture_rep
 
class  octave::vertex_data
 
class  octave::vertex_data::vertex_data_rep
 

Namespaces

 octave
 Octave interface to the compression and uncompression libraries.
 

Macros

#define CALLBACK
 
#define LIGHT_MODE   GL_FRONT_AND_BACK
 

Enumerations

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

Functions

static int get_maxlights (void)
 
static std::string octave::gl_get_string (GLenum id)
 
static int next_power_of_2 (int n)
 

Macro Definition Documentation

#define CALLBACK

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

#define LIGHT_MODE   GL_FRONT_AND_BACK

Function Documentation

static int get_maxlights ( void  )
static

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

Referenced by octave::opengl_renderer::draw_axes_children().

static int next_power_of_2 ( int  n)
static

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

References m, and max().

Referenced by octave::opengl_texture::create().