Classes | |
class | texture_rep |
Public Member Functions | |
opengl_texture (const opengl_texture &tx) | |
opengl_texture (opengl_functions &glfcns) | |
~opengl_texture (void) | |
void | bind (int mode=GL_TEXTURE_2D) const |
bool | is_valid (void) const |
opengl_texture & | operator= (const opengl_texture &tx) |
void | tex_coord (double q, double r) const |
Static Public Member Functions | |
static opengl_texture | create (opengl_functions &glfcns, const octave_value &data) |
Protected Attributes | |
texture_rep * | rep |
Private Member Functions | |
opengl_texture (texture_rep *_rep) | |
Definition at line 96 of file gl-render.cc.
|
inlineprivate |
Definition at line 139 of file gl-render.cc.
Referenced by create().
|
inline |
Definition at line 142 of file gl-render.cc.
|
inline |
Definition at line 145 of file gl-render.cc.
References octave::opengl_texture::texture_rep::count.
|
inline |
Definition at line 151 of file gl-render.cc.
References octave::opengl_texture::texture_rep::count.
|
inline |
Definition at line 174 of file gl-render.cc.
References octave::opengl_texture::texture_rep::bind().
|
static |
Definition at line 185 of file gl-render.cc.
References opengl_texture(), octave_value::array_value(), octave_value::dims(), octave_value::float_array_value(), octave::opengl_functions::glBindTexture(), octave::opengl_functions::glGenTextures(), octave::opengl_functions::glGetError(), octave::opengl_functions::glTexImage2D(), octave::opengl_functions::glTexParameteri(), octave_value::is_double_type(), octave_value::is_single_type(), octave_value::is_uint16_type(), octave_value::is_uint8_type(), dim_vector::ndims(), octave::next_power_of_2(), OCTAVE_LOCAL_BUFFER, retval, octave_value::uint16_array_value(), octave_value::uint8_array_value(), Faddeeva::w(), and warning().
Referenced by octave::opengl_renderer::draw_image(), and octave::opengl_renderer::draw_surface().
|
inline |
Definition at line 180 of file gl-render.cc.
References octave::opengl_texture::texture_rep::valid.
Referenced by octave::opengl_renderer::draw_image().
|
inline |
Definition at line 157 of file gl-render.cc.
References octave::opengl_texture::texture_rep::count, and rep.
|
inline |
Definition at line 177 of file gl-render.cc.
References r, and octave::opengl_texture::texture_rep::tex_coord().
Referenced by octave::opengl_renderer::draw_image(), and octave::opengl_renderer::draw_surface().
|
protected |
Definition at line 136 of file gl-render.cc.
Referenced by operator=().