RenderStack GL wrapper

Defines

#define RS_LOG_GL_FUNCTION(A)

Functions

RS_BEGIN_EXTERN_C void rs_check_error (void)
const char * rs_gl_enum_string (GLenum e)
void rs_gl_array_element (GLint i)
void rs_gl_bind_texture (GLenum target, GLuint texture)
void rs_gl_blend_func (GLenum sfactor, GLenum dfactor)
void rs_gl_clear (GLbitfield mask)
void rs_gl_clear_color (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
void rs_gl_clear_depth (GLclampd depth)
void rs_gl_clear_stencil (GLint s)
void rs_gl_color_mask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
void rs_gl_copy_tex_image_1d (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border)
void rs_gl_copy_tex_image_2d (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
void rs_gl_copy_tex_sub_image_1d (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
void rs_gl_copy_tex_sub_image_2d (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
void rs_gl_cull_face (GLenum mode)
void rs_gl_delete_textures (GLsizei n, const GLuint *textures)
void rs_gl_depth_func (GLenum func)
void rs_gl_depth_mask (GLboolean flag)
void rs_gl_depth_range (GLclampd zNear, GLclampd zFar)
void rs_gl_disable (GLenum cap)
void rs_gl_draw_arrays (GLenum mode, GLint first, GLsizei count)
void rs_gl_draw_buffer (GLenum mode)
void rs_gl_draw_elements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
void rs_gl_enable (GLenum cap)
void rs_gl_finish (void)
void rs_gl_flush (void)
void rs_gl_front_face (GLenum mode)
void rs_gl_gen_textures (GLsizei n, GLuint *textures)
void rs_gl_get_boolean_v (GLenum pname, GLboolean *params)
void rs_gl_get_double_v (GLenum pname, GLdouble *params)
GLenum rs_gl_get_error (void)
void rs_gl_get_float_v (GLenum pname, GLfloat *params)
void rs_gl_get_integer_v (GLenum pname, GLint *params)
void rs_gl_get_pointer_v (GLenum pname, GLvoid **params)
const GLubyte * rs_gl_get_string (GLenum name)
void rs_gl_get_tex_env_fv (GLenum target, GLenum pname, GLfloat *params)
void rs_gl_get_tex_env_iv (GLenum target, GLenum pname, GLint *params)
void rs_gl_get_tex_image (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
void rs_gl_get_tex_level_parameter_fv (GLenum target, GLint level, GLenum pname, GLfloat *params)
void rs_gl_get_tex_level_parameter_iv (GLenum target, GLint level, GLenum pname, GLint *params)
void rs_gl_get_tex_parameter_fv (GLenum target, GLenum pname, GLfloat *params)
void rs_gl_get_tex_parameter_iv (GLenum target, GLenum pname, GLint *params)
void rs_gl_hint (GLenum target, GLenum mode)
GLboolean rs_gl_is_enabled (GLenum cap)
GLboolean rs_gl_is_texture (GLuint texture)
void rs_gl_line_width (GLfloat width)
void rs_gl_logic_op (GLenum opcode)
void rs_gl_pixel_store_f (GLenum pname, GLfloat param)
void rs_gl_pixel_store_i (GLenum pname, GLint param)
void rs_gl_pixel_transfer_f (GLenum pname, GLfloat param)
void rs_gl_pixel_transfer_i (GLenum pname, GLint param)
void rs_gl_point_size (GLfloat size)
void rs_gl_polygon_mode (GLenum face, GLenum mode)
void rs_gl_polygon_offset (GLfloat factor, GLfloat units)
void rs_gl_read_buffer (GLenum mode)
void rs_gl_read_pixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
void rs_gl_scissor (GLint x, GLint y, GLsizei width, GLsizei height)
void rs_gl_stencil_func (GLenum func, GLint ref, GLuint mask)
void rs_gl_stencil_mask (GLuint mask)
void rs_gl_stencil_op (GLenum fail, GLenum zfail, GLenum zpass)
void rs_gl_tex_env_f (GLenum target, GLenum pname, GLfloat param)
void rs_gl_tex_env_fv (GLenum target, GLenum pname, const GLfloat *params)
void rs_gl_tex_env_i (GLenum target, GLenum pname, GLint param)
void rs_gl_tex_env_iv (GLenum target, GLenum pname, const GLint *params)
void rs_gl_tex_image_1d (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
void rs_gl_tex_image_2d (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
void rs_gl_tex_parameter_f (GLenum target, GLenum pname, GLfloat param)
void rs_gl_tex_parameter_fv (GLenum target, GLenum pname, const GLfloat *params)
void rs_gl_tex_parameter_i (GLenum target, GLenum pname, GLint param)
void rs_gl_tex_parameter_iv (GLenum target, GLenum pname, const GLint *params)
void rs_gl_tex_sub_image_1d (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
void rs_gl_tex_sub_image_2d (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
void rs_gl_viewport (GLint x, GLint y, GLsizei width, GLsizei height)
void rs_gl_blend_color (GLclampf a, GLclampf b, GLclampf c, GLclampf d)
void rs_gl_blend_equation (GLenum a)
void rs_gl_draw_range_elements (GLenum a, GLuint b, GLuint c, GLsizei d, GLenum e, const GLvoid *f)
void rs_gl_tex_image_3d (GLenum a, GLint b, GLint c, GLsizei d, GLsizei e, GLsizei f, GLint g, GLenum h, GLenum i, const GLvoid *j)
void rs_gl_tex_sub_image_3d (GLenum a, GLint b, GLint c, GLint d, GLint e, GLsizei f, GLsizei g, GLsizei h, GLenum i, GLenum j, const GLvoid *k)
void rs_gl_copy_tex_sub_image_3d (GLenum a, GLint b, GLint c, GLint d, GLint e, GLint f, GLint g, GLsizei h, GLsizei i)
void rs_gl_active_texture (GLenum a)
void rs_gl_sample_coverage (GLclampf a, GLboolean b)
void rs_gl_compressed_tex_image_3d (GLenum a, GLint b, GLenum c, GLsizei d, GLsizei e, GLsizei f, GLint g, GLsizei h, const GLvoid *i)
void rs_gl_compressed_tex_image_2d (GLenum a, GLint b, GLenum c, GLsizei d, GLsizei e, GLint f, GLsizei g, const GLvoid *h)
void rs_gl_compressed_tex_image_1d (GLenum a, GLint b, GLenum c, GLsizei d, GLint e, GLsizei f, const GLvoid *g)
void rs_gl_compressed_tex_sub_image_3d (GLenum a, GLint b, GLint c, GLint d, GLint e, GLsizei f, GLsizei g, GLsizei h, GLenum i, GLsizei j, const GLvoid *k)
void rs_gl_compressed_tex_sub_image_2d (GLenum a, GLint b, GLint c, GLint d, GLsizei e, GLsizei f, GLenum g, GLsizei h, const GLvoid *i)
void rs_gl_compressed_tex_sub_image_1d (GLenum a, GLint b, GLint c, GLsizei d, GLenum e, GLsizei f, const GLvoid *g)
void rs_gl_get_compressed_tex_image (GLenum a, GLint b, GLvoid *c)
void rs_gl_blend_func_separate (GLenum a, GLenum b, GLenum c, GLenum d)
void rs_gl_multi_draw_arrays (GLenum a, GLint *b, GLsizei *c, GLsizei d)
void rs_gl_multi_draw_elements (GLenum a, const GLsizei *b, GLenum c, const GLvoid **d, GLsizei e)
void rs_gl_point_parameter_f (GLenum a, GLfloat b)
void rs_gl_point_parameter_fv (GLenum a, const GLfloat *b)
void rs_gl_point_parameter_i (GLenum a, GLint b)
void rs_gl_point_parameter_iv (GLenum a, const GLint *b)
void rs_gl_gen_queries (GLsizei a, GLuint *b)
void rs_gl_delete_queries (GLsizei a, const GLuint *b)
GLboolean rs_gl_is_query (GLuint a)
void rs_gl_begin_query (GLenum a, GLuint b)
void rs_gl_end_query (GLenum a)
void rs_gl_get_query_iv (GLenum a, GLenum b, GLint *c)
void rs_gl_get_query_object_iv (GLuint a, GLenum b, GLint *c)
void rs_gl_get_query_object_uiv (GLuint a, GLenum b, GLuint *c)
void rs_gl_bind_buffer (GLenum a, GLuint b)
void rs_gl_delete_buffers (GLsizei a, const GLuint *b)
void rs_gl_gen_buffers (GLsizei a, GLuint *b)
GLboolean rs_gl_is_buffer (GLuint a)
void rs_gl_buffer_data (GLenum a, GLsizeiptr b, const GLvoid *c, GLenum d)
void rs_gl_buffer_sub_data (GLenum a, GLintptr b, GLsizeiptr c, const GLvoid *d)
void rs_gl_get_buffer_sub_data (GLenum a, GLintptr b, GLsizeiptr c, GLvoid *d)
GLvoid * rs_gl_map_buffer (GLenum a, GLenum b)
GLboolean rs_gl_unmap_buffer (GLenum)
void rs_gl_get_buffer_parameter_iv (GLenum a, GLenum b, GLint *c)
void rs_gl_get_buffer_pointer_v (GLenum a, GLenum b, GLvoid **c)
void rs_gl_blend_equation_separate (GLenum a, GLenum b)
void rs_gl_draw_buffers (GLsizei a, const GLenum *b)
void rs_gl_stencil_op_separate (GLenum a, GLenum b, GLenum c, GLenum d)
void rs_gl_stencil_func_Separate (GLenum a, GLenum b, GLint c, GLuint d)
void rs_gl_stencil_mask_separate (GLenum a, GLuint b)
void rs_gl_attach_shader (GLuint a, GLuint b)
void rs_gl_bind_attrib_location (GLuint a, GLuint b, const GLchar *c)
void rs_gl_compile_shader (GLuint a)
GLuint rs_gl_create_program (void)
GLuint rs_gl_create_shader (GLenum a)
void rs_gl_delete_program (GLuint a)
void rs_gl_delete_shader (GLuint a)
void rs_gl_detach_shader (GLuint a, GLuint b)
void rs_gl_disable_vertex_attrib_array (GLuint a)
void rs_gl_enable_vertex_attrib_array (GLuint a)
void rs_gl_get_active_attrib (GLuint a, GLuint b, GLsizei c, GLsizei *d, GLint *e, GLenum *f, GLchar *g)
void rs_gl_get_active_uniform (GLuint a, GLuint b, GLsizei c, GLsizei *d, GLint *e, GLenum *f, GLchar *g)
void rs_gl_get_attached_shaders (GLuint a, GLsizei b, GLsizei *c, GLuint *d)
GLint rs_gl_get_attrib_location (GLuint a, const GLchar *b)
void rs_gl_get_program_iv (GLuint a, GLenum b, GLint *c)
void rs_gl_get_program_info_log (GLuint a, GLsizei b, GLsizei *c, GLchar *d)
void rs_gl_get_shader_iv (GLuint a, GLenum b, GLint *c)
void rs_gl_get_shader_info_log (GLuint a, GLsizei b, GLsizei *c, GLchar *d)
void rs_gl_get_shader_source (GLuint a, GLsizei b, GLsizei *c, GLchar *d)
GLint rs_gl_get_uniform_location (GLuint a, const GLchar *b)
void rs_gl_get_uniform_fv (GLuint a, GLint b, GLfloat *c)
void rs_gl_get_uniform_iv (GLuint a, GLint b, GLint *c)
void rs_gl_get_vertex_attrib_dv (GLuint a, GLenum b, GLdouble *c)
void rs_gl_get_vertex_attrib_fv (GLuint a, GLenum b, GLfloat *c)
void rs_gl_get_vertex_attrib_iv (GLuint a, GLenum b, GLint *c)
void rs_gl_get_vertex_attrib_pointer_v (GLuint a, GLenum b, GLvoid **c)
GLboolean rs_gl_is_program (GLuint a)
GLboolean rs_gl_is_shader (GLuint a)
void rs_gl_link_program (GLuint a)
void rs_gl_shader_source (GLuint a, GLsizei b, const GLchar **c, const GLint *d)
void rs_gl_use_program (GLuint a)
void rs_gl_uniform_1f (GLint a, GLfloat b)
void rs_gl_uniform_2f (GLint a, GLfloat b, GLfloat c)
void rs_gl_uniform_3f (GLint a, GLfloat b, GLfloat c, GLfloat d)
void rs_gl_uniform_4f (GLint a, GLfloat b, GLfloat c, GLfloat d, GLfloat e)
void rs_gl_uniform_1i (GLint a, GLint b)
void rs_gl_uniform_2i (GLint a, GLint b, GLint c)
void rs_gl_uniform_3i (GLint a, GLint b, GLint c, GLint d)
void rs_gl_uniform_4i (GLint a, GLint b, GLint c, GLint d, GLint e)
void rs_gl_uniform_1fv (GLint a, GLsizei b, const GLfloat *c)
void rs_gl_uniform_2fv (GLint a, GLsizei b, const GLfloat *c)
void rs_gl_uniform_3fv (GLint a, GLsizei b, const GLfloat *c)
void rs_gl_uniform_4fv (GLint a, GLsizei b, const GLfloat *c)
void rs_gl_uniform_1iv (GLint a, GLsizei b, const GLint *c)
void rs_gl_uniform_2iv (GLint a, GLsizei b, const GLint *c)
void rs_gl_uniform_3iv (GLint a, GLsizei b, const GLint *c)
void rs_gl_uniform_4iv (GLint a, GLsizei b, const GLint *c)
void rs_gl_uniform_matrix_2fv (GLint a, GLsizei b, GLboolean c, const GLfloat *d)
void rs_gl_uniform_matrix_3fv (GLint a, GLsizei b, GLboolean c, const GLfloat *d)
void rs_gl_uniform_matrix_4fv (GLint a, GLsizei b, GLboolean c, const GLfloat *d)
void rs_gl_validate_program (GLuint a)
void rs_gl_vertex_attrib_1d (GLuint a, GLdouble b)
void rs_gl_vertex_attrib_1dv (GLuint a, const GLdouble *b)
void rs_gl_vertex_attrib_1f (GLuint a, GLfloat b)
void rs_gl_vertex_attrib_1fv (GLuint a, const GLfloat *b)
void rs_gl_vertex_attrib_1s (GLuint a, GLshort b)
void rs_gl_vertex_attrib_1sv (GLuint a, const GLshort *b)
void rs_gl_vertex_attrib_2d (GLuint a, GLdouble b, GLdouble c)
void rs_gl_vertex_attrib_2dv (GLuint a, const GLdouble *b)
void rs_gl_vertex_attrib_2f (GLuint a, GLfloat b, GLfloat c)
void rs_gl_vertex_attrib_2fv (GLuint a, const GLfloat *b)
void rs_gl_vertex_attrib_2s (GLuint a, GLshort b, GLshort c)
void rs_gl_vertex_attrib_2sv (GLuint a, const GLshort *b)
void rs_gl_vertex_attrib_3d (GLuint a, GLdouble b, GLdouble c, GLdouble d)
void rs_gl_vertex_attrib_3dv (GLuint a, const GLdouble *b)
void rs_gl_vertex_attrib_3f (GLuint a, GLfloat b, GLfloat c, GLfloat d)
void rs_gl_vertex_attrib_3fv (GLuint a, const GLfloat *b)
void rs_gl_vertex_attrib_3s (GLuint a, GLshort b, GLshort c, GLshort d)
void rs_gl_vertex_attrib_3sv (GLuint a, const GLshort *b)
void rs_gl_vertex_attrib_4Nbv (GLuint a, const GLbyte *b)
void rs_gl_vertex_attrib_4Niv (GLuint a, const GLint *b)
void rs_gl_vertex_attrib_4Nsv (GLuint a, const GLshort *b)
void rs_gl_vertex_attrib_4Nub (GLuint a, GLubyte b, GLubyte c, GLubyte d, GLubyte e)
void rs_gl_vertex_attrib_4Nubv (GLuint a, const GLubyte *b)
void rs_gl_vertex_attrib_4Nuiv (GLuint a, const GLuint *b)
void rs_gl_vertex_attrib_4Nusv (GLuint a, const GLushort *b)
void rs_gl_vertex_attrib_4bv (GLuint a, const GLbyte *b)
void rs_gl_vertex_attrib_4d (GLuint a, GLdouble b, GLdouble c, GLdouble d, GLdouble e)
void rs_gl_vertex_attrib_4dv (GLuint a, const GLdouble *b)
void rs_gl_vertex_attrib_4f (GLuint a, GLfloat b, GLfloat c, GLfloat d, GLfloat e)
void rs_gl_vertex_attrib_4fv (GLuint a, const GLfloat *b)
void rs_gl_vertex_attrib_4iv (GLuint a, const GLint *b)
void rs_gl_vertex_attrib_4s (GLuint a, GLshort b, GLshort c, GLshort d, GLshort e)
void rs_gl_vertex_attrib_4sv (GLuint a, const GLshort *b)
void rs_gl_vertex_attrib_4ubv (GLuint a, const GLubyte *b)
void rs_gl_vertex_attrib_4uiv (GLuint a, const GLuint *b)
void rs_gl_vertex_attrib_4usv (GLuint a, const GLushort *b)
void rs_gl_vertex_attrib_pointer (GLuint a, GLint b, GLenum c, GLboolean d, GLsizei e, const GLvoid *f)
void rs_gl_uniform_matrix_2x3fv (GLint a, GLsizei b, GLboolean c, const GLfloat *d)
void rs_gl_uniform_matrix_3x2fv (GLint a, GLsizei b, GLboolean c, const GLfloat *d)
void rs_gl_niform_matrix_2x4fv (GLint a, GLsizei b, GLboolean c, const GLfloat *d)
void rs_gl_uniform_matrix_4x2fv (GLint a, GLsizei b, GLboolean c, const GLfloat *d)
void rs_gl_uniform_matrix_fv (GLint a, GLsizei b, GLboolean c, const GLfloat *d)
void rs_gl_color_mask_i (GLuint a, GLboolean b, GLboolean c, GLboolean d, GLboolean e)
void rs_gl_get_boolean_i_v (GLenum a, GLuint b, GLboolean *c)
void rs_gl_get_integer_i_v (GLenum a, GLuint b, GLint *c)
void rs_gl_enable_i (GLenum a, GLuint b)
void rs_gl_disable_i (GLenum a, GLuint b)
GLboolean rs_gl_is_enabled_i (GLenum a, GLuint b)
void rs_gl_begin_transform_feedback (GLenum a)
void rs_gl_end_transform_feedback (void)
void rs_gl_bind_buffer_range (GLenum a, GLuint b, GLuint c, GLintptr d, GLsizeiptr e)
void rs_gl_bind_buffer_base (GLenum a, GLuint b, GLuint c)
void rs_gl_transform_feedback_varyings (GLuint a, GLsizei b, const GLchar **c, GLenum d)
void rs_gl_get_transform_feedback_varying (GLuint a, GLuint b, GLsizei c, GLsizei *d, GLsizei *e, GLenum *f, GLchar *g)
void rs_gl_clamp_color (GLenum a, GLenum b)
void rs_gl_begin_conditional_render (GLuint a, GLenum b)
void rs_gl_end_conditional_render (void)
void rs_gl_vertex_attrib_i_pointer (GLuint a, GLint b, GLenum c, GLsizei d, const GLvoid *e)
void rs_gl_get_vertex_attrib_iiv (GLuint a, GLenum b, GLint *c)
void rs_gl_get_vertex_attrib_iuiv (GLuint a, GLenum b, GLuint *c)
void rs_gl_vertex_attrib_i1i (GLuint a, GLint b)
void rs_gl_vertex_attrib_i2i (GLuint a, GLint b, GLint c)
void rs_gl_vertex_attrib_i3i (GLuint a, GLint b, GLint c, GLint d)
void rs_gl_vertex_attrib_i4i (GLuint a, GLint b, GLint c, GLint d, GLint e)
void rs_gl_vertex_attrib_i1ui (GLuint a, GLuint b)
void rs_gl_vertex_attrib_i2ui (GLuint a, GLuint b, GLuint c)
void rs_gl_vertex_attrib_i3ui (GLuint a, GLuint b, GLuint c, GLuint d)
void rs_gl_vertex_attrib_i4ui (GLuint a, GLuint b, GLuint c, GLuint d, GLuint e)
void rs_gl_vertex_attrib_i1iv (GLuint a, const GLint *b)
void rs_gl_vertex_attrib_i2iv (GLuint a, const GLint *b)
void rs_gl_vertex_attrib_i3iv (GLuint a, const GLint *b)
void rs_gl_vertex_attrib_i4iv (GLuint a, const GLint *b)
void rs_gl_vertex_attrib_i1uiv (GLuint a, const GLuint *b)
void rs_gl_vertex_attrib_i2uiv (GLuint a, const GLuint *b)
void rs_gl_vertex_attrib_i3uiv (GLuint a, const GLuint *b)
void rs_gl_vertex_attrib_i4uiv (GLuint a, const GLuint *b)
void rs_gl_vertex_attrib_i4bv (GLuint a, const GLbyte *b)
void rs_gl_vertex_attrib_i4sv (GLuint a, const GLshort *b)
void rs_gl_vertex_attrib_i4ubv (GLuint a, const GLubyte *b)
void rs_gl_vertex_attrib_i4usv (GLuint a, const GLushort *b)
void rs_gl_get_uniform_uiv (GLuint a, GLint b, GLuint *c)
void rs_gl_bind_frag_data_location (GLuint a, GLuint b, const GLchar *c)
GLint rs_gl_get_frag_data_location (GLuint a, const GLchar *b)
void rs_gl_uniform_1ui (GLint a, GLuint b)
void rs_gl_uniform_2ui (GLint a, GLuint b, GLuint c)
void rs_gl_uniform_3ui (GLint a, GLuint b, GLuint c, GLuint d)
void rs_gl_uniform_4ui (GLint a, GLuint b, GLuint c, GLuint d, GLuint e)
void rs_gl_uniform_1uiv (GLint a, GLsizei b, const GLuint *c)
void rs_gl_uniform_2uiv (GLint a, GLsizei b, const GLuint *c)
void rs_gl_uniform_3uiv (GLint a, GLsizei b, const GLuint *c)
void rs_gl_uniform_4uiv (GLint a, GLsizei b, const GLuint *c)
void rs_gl_tex_parameter_iiv (GLenum a, GLenum b, const GLint *c)
void rs_gl_tex_parameter_iuiv (GLenum a, GLenum b, const GLuint *c)
void rs_gl_get_tex_parameter_iiv (GLenum a, GLenum b, GLint *c)
void rs_gl_get_tex_parameter_iuiv (GLenum a, GLenum b, GLuint *c)
void rs_gl_clear_buffer_iv (GLenum a, GLint b, const GLint *c)
void rs_gl_clear_buffer_uiv (GLenum a, GLint b, const GLuint *c)
void rs_gl_clear_buffer_fv (GLenum a, GLint b, const GLfloat *c)
void rs_gl_clear_buffer_fi (GLenum a, GLint b, GLfloat c, GLint d)
const GLubyte * rs_gl_get_string_i (GLenum a, GLuint b)
void rs_gl_draw_arrays_instanced (GLenum a, GLint b, GLsizei c, GLsizei d)
void rs_gl_draw_elements_instanced (GLenum a, GLsizei b, GLenum c, const GLvoid *d, GLsizei e)
void rs_gl_tex_buffer (GLenum a, GLenum b, GLuint c)
void rs_gl_primitive_restart_index (GLuint a)
void rs_gl_get_integer_64i_v (GLenum a, GLuint b, GLint64 *c)
void rs_gl_get_buffer_parameter_i64v (GLenum a, GLenum b, GLint64 *c)
void rs_gl_program_parameter_i (GLuint a, GLenum b, GLint c)
void rs_gl_framebuffer_texture (GLenum a, GLenum b, GLuint c, GLint d)
void rs_gl_framebuffer_texture_face (GLenum a, GLenum b, GLuint c, GLint d, GLenum e)
GLboolean rs_gl_is_renderbuffer (GLuint a)
void rs_gl_bind_renderbuffer (GLenum a, GLuint b)
void rs_gl_delete_renderbuffers (GLsizei a, const GLuint *b)
void rs_gl_gen_renderbuffers (GLsizei a, GLuint *b)
void rs_gl_renderbuffer_storage (GLenum a, GLenum b, GLsizei c, GLsizei d)
void rs_gl_get_renderbuffer_parameter_iv (GLenum a, GLenum b, GLint *c)
GLboolean rs_gl_is_framebuffer (GLuint a)
void rs_gl_bind_framebuffer (GLenum a, GLuint b)
void rs_gl_delete_framebuffers (GLsizei a, const GLuint *b)
void rs_gl_gen_framebuffers (GLsizei, GLuint *)
GLenum rs_gl_check_framebuffer_status (GLenum a)
void rs_gl_framebuffer_rexture_1d (GLenum a, GLenum b, GLenum c, GLuint d, GLint e)
void rs_gl_framebuffer_texture_2d (GLenum a, GLenum b, GLenum c, GLuint d, GLint e)
void rs_gl_framebuffer_texture_3d (GLenum a, GLenum b, GLenum c, GLuint d, GLint e, GLint f)
void rs_gl_framebuffer_renderbuffer (GLenum a, GLenum b, GLenum c, GLuint d)
void rs_gl_get_framebuffer_attachment_parameter_iv (GLenum a, GLenum b, GLenum c, GLint *d)
void rs_gl_generate_mipmap (GLenum a)
void rs_gl_blit_framebuffer (GLint a, GLint b, GLint c, GLint d, GLint e, GLint f, GLint g, GLint h, GLbitfield i, GLenum j)
void rs_gl_renderbuffer_storage_multisample (GLenum a, GLsizei b, GLenum c, GLsizei d, GLsizei e)
void rs_gl_framebuffer_texture_layer (GLenum a, GLenum b, GLuint c, GLint d, GLint e)
GLvoid * rs_gl_map_buffer_range (GLenum a, GLintptr b, GLsizeiptr c, GLbitfield d)
void rs_gl_flush_mapped_buffer_range (GLenum a, GLintptr b, GLsizeiptr c)
void rs_gl_bind_vertex_array (GLuint a)
void rs_gl_delete_vertex_arrays (GLsizei a, const GLuint *b)
void rs_gl_gen_vertex_arrays (GLsizei a, GLuint *b)
GLboolean rs_gl_is_vertex_array (GLuint a)
void rs_gl_copy_buffer_sub_data (GLenum a, GLenum b, GLintptr c, GLintptr d, GLsizeiptr e)
void rs_gl_draw_elements_base_vertex (GLenum a, GLsizei b, GLenum c, const GLvoid *d, GLint e)
void rs_gl_draw_range_elements_base_vertex (GLenum a, GLuint b, GLuint c, GLsizei d, GLenum e, const GLvoid *f, GLint g)
void rs_gl_draw_elements_instanced_base_vertex (GLenum a, GLsizei b, GLenum c, const GLvoid *d, GLsizei e, GLint f)
void rs_gl_multi_draw_elements_base_vertex (GLenum a, const GLsizei *b, GLenum c, const GLvoid **d, GLsizei e, const GLint *f)
void rs_gl_provoking_vertex (GLenum a)
GLsync rs_gl_fence_sync (GLenum a, GLbitfield b)
GLboolean rs_gl_is_sync (GLsync a)
void rs_gl_delete_sync (GLsync a)
GLenum rs_gl_client_wait_sync (GLsync a, GLbitfield b, GLuint64 c)
void rs_gl_wait_sync (GLsync a, GLbitfield b, GLuint64 c)
void rs_gl_get_integer_64v (GLenum a, GLint64 *b)
void rs_gl_get_sync_iv (GLsync a, GLenum b, GLsizei c, GLsizei *d, GLint *e)
void rs_gl_tex_image_2d_multisample (GLenum a, GLsizei b, GLint c, GLsizei d, GLsizei e, GLboolean f)
void rs_gl_tex_image_3d_multisample (GLenum a, GLsizei b, GLint c, GLsizei d, GLsizei e, GLsizei f, GLboolean g)
void rs_gl_get_multisample_fv (GLenum a, GLuint b, GLfloat *c)
void rs_gl_sample_mask_i (GLuint a, GLbitfield b)
void rs_log_gl_function (char const *a)
void rs_gl_uniform_matrix_3x4fv (GLint a, GLsizei b, GLboolean c, const GLfloat *d)
void rs_gl_uniform_matrix_4x3fv (GLint a, GLsizei b, GLboolean c, const GLfloat *d)

Define Documentation

#define RS_LOG_GL_FUNCTION (  ) 

Definition at line 35 of file rs_gl.cpp.


Function Documentation

void rs_check_error ( void   ) 

Definition at line 45 of file rs_gl.cpp.

00046 {
00047     GLint status = glGetError();
00048     if(status != GL_NO_ERROR)
00049     {
00050         rs_log("%s\n ", rs_gl_enum_string(status));
00051         rs_log("");
00052     }
00053 }

const char * rs_gl_enum_string ( GLenum  e  ) 

Definition at line 55 of file rs_gl.cpp.

00056 {
00057     switch(e)
00058     {
00059         case GL_INVALID_ENUM      : return "GL_INVALID_ENUM";
00060         case GL_INVALID_VALUE     : return "GL_INVALID_VALUE";
00061         case GL_INVALID_OPERATION : return "GL_INVALID_OPERATION";
00062         case GL_STACK_OVERFLOW    : return "GL_STACK_OVERFLOW";
00063         case GL_STACK_UNDERFLOW   : return "GL_STACK_UNDERFLOW";
00064         case GL_OUT_OF_MEMORY     : return "GL_OUT_OF_MEMORY";
00065 
00066         case GL_BYTE              : return "GL_BYTE";
00067         case GL_UNSIGNED_BYTE     : return "GL_UNSIGNED_BYTE";
00068         case GL_SHORT             : return "GL_SHORT";
00069         case GL_UNSIGNED_SHORT    : return "GL_UNSIGNED_SHORT";
00070         case GL_INT               : return "GL_INT";
00071         case GL_UNSIGNED_INT      : return "GL_UNSIGNED_INT";
00072         case GL_FLOAT             : return "GL_FLOAT";
00073         case GL_2_BYTES           : return "GL_2_BYTES";
00074         case GL_3_BYTES           : return "GL_3_BYTES";
00075         case GL_4_BYTES           : return "GL_4_BYTES";
00076         case GL_DOUBLE            : return "GL_DOUBLE";
00077         case GL_FLOAT_VEC2        : return "GL_FLOAT_VEC2";
00078         case GL_FLOAT_VEC3        : return "GL_FLOAT_VEC3";
00079         case GL_FLOAT_VEC4        : return "GL_FLOAT_VEC4";
00080         case GL_INT_VEC2          : return "GL_INT_VEC2";
00081         case GL_INT_VEC3          : return "GL_INT_VEC3";
00082         case GL_INT_VEC4          : return "GL_INT_VEC4";
00083         case GL_BOOL              : return "GL_BOOL";
00084         case GL_BOOL_VEC2         : return "GL_BOOL_VEC2";
00085         case GL_BOOL_VEC3         : return "GL_BOOL_VEC3";
00086         case GL_BOOL_VEC4         : return "GL_BOOL_VEC4";
00087         case GL_FLOAT_MAT2        : return "GL_FLOAT_MAT2";
00088         case GL_FLOAT_MAT3        : return "GL_FLOAT_MAT3";
00089         case GL_FLOAT_MAT4        : return "GL_FLOAT_MAT4";
00090         case GL_SAMPLER_1D        : return "GL_SAMPLER_1D";
00091         case GL_SAMPLER_2D        : return "GL_SAMPLER_2D";
00092         case GL_SAMPLER_3D        : return "GL_SAMPLER_3D";
00093         case GL_SAMPLER_CUBE      : return "GL_SAMPLER_CUBE";
00094         case GL_SAMPLER_1D_SHADOW : return "GL_SAMPLER_1D_SHADOW";
00095         case GL_SAMPLER_2D_SHADOW : return "GL_SAMPLER_2D_SHADOW";
00096 
00097         case GL_FRAMEBUFFER_COMPLETE                     : return "GL_FRAMEBUFFER_COMPLETE";
00098         case GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT        : return "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT";
00099         case GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT: return "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT";
00100         case GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER       : return "GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER";
00101         case GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER       : return "GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER";
00102         case GL_FRAMEBUFFER_UNSUPPORTED                  : return "GL_FRAMEBUFFER_UNSUPPORTED";
00103 
00104         case GL_NONE:                   return "GL_NONE";
00105         case GL_FRAMEBUFFER_DEFAULT:    return "GL_FRAMEBUFFER_DEFAULT";
00106         case GL_TEXTURE:                return "GL_TEXTURE";
00107         case GL_RENDERBUFFER:           return "GL_RENDERBUFFER";
00108 
00109         case GL_SIGNED_NORMALIZED       : return "GL_SIGNED_NORMALIZED";
00110         case GL_UNSIGNED_NORMALIZED     : return "GL_UNSIGNED_NORMALIZED";
00111 
00112         case GL_LINEAR                  : return "GL_LINEAR";
00113         case GL_SRGB                    : return "GL_SRGB";
00114 
00115         default: return "?"; 
00116     }
00117 }

void rs_gl_array_element ( GLint  i  ) 

Definition at line 130 of file rs_gl.cpp.

00131 {
00132     RS_LOG_GL_FUNCTION(__FUNCTION__);
00133     glArrayElement(i);
00134     rs_check_error();
00135 }

void rs_gl_bind_texture ( GLenum  target,
GLuint  texture 
)

Definition at line 136 of file rs_gl.cpp.

00137 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00138     glBindTexture(target, texture);
00139     rs_check_error();
00140 }

void rs_gl_blend_func ( GLenum  sfactor,
GLenum  dfactor 
)

Definition at line 141 of file rs_gl.cpp.

00142 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00143     glBlendFunc(sfactor, dfactor);
00144     rs_check_error();
00145 }

void rs_gl_clear ( GLbitfield  mask  ) 

Definition at line 146 of file rs_gl.cpp.

00147 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00148     glClear(mask);
00149     rs_check_error();
00150 }

void rs_gl_clear_color ( GLclampf  red,
GLclampf  green,
GLclampf  blue,
GLclampf  alpha 
)

Definition at line 151 of file rs_gl.cpp.

00152 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00153     glClearColor(red, green, blue, alpha);
00154     rs_check_error();
00155 }

void rs_gl_clear_depth ( GLclampd  depth  ) 

Definition at line 156 of file rs_gl.cpp.

00157 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00158     glClearDepth(depth);
00159     rs_check_error();
00160 }

void rs_gl_clear_stencil ( GLint  s  ) 

Definition at line 161 of file rs_gl.cpp.

00162 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00163     glClearStencil(s);
00164     rs_check_error();
00165 }

void rs_gl_color_mask ( GLboolean  red,
GLboolean  green,
GLboolean  blue,
GLboolean  alpha 
)

Definition at line 166 of file rs_gl.cpp.

00167 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00168     glColorMask(red, green, blue, alpha);
00169     rs_check_error();
00170 }

void rs_gl_copy_tex_image_1d ( GLenum  target,
GLint  level,
GLenum  internalFormat,
GLint  x,
GLint  y,
GLsizei  width,
GLint  border 
)

Definition at line 171 of file rs_gl.cpp.

00172 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00173     glCopyTexImage1D(target, level, internalFormat, x, y, width, border);
00174     rs_check_error();
00175 }

void rs_gl_copy_tex_image_2d ( GLenum  target,
GLint  level,
GLenum  internalFormat,
GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height,
GLint  border 
)

Definition at line 176 of file rs_gl.cpp.

00177 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00178     glCopyTexImage2D(target, level, internalFormat, x, y, width, height, border);
00179     rs_check_error();
00180 }

void rs_gl_copy_tex_sub_image_1d ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  x,
GLint  y,
GLsizei  width 
)

Definition at line 181 of file rs_gl.cpp.

00182 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00183     glCopyTexSubImage1D(target, level, xoffset, x, y, width);
00184     rs_check_error();
00185 }

void rs_gl_copy_tex_sub_image_2d ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height 
)

Definition at line 186 of file rs_gl.cpp.

00187 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00188     glCopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
00189     rs_check_error();
00190 }

void rs_gl_cull_face ( GLenum  mode  ) 

Definition at line 191 of file rs_gl.cpp.

00192 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00193     glCullFace(mode);
00194     rs_check_error();
00195 }

void rs_gl_delete_textures ( GLsizei  n,
const GLuint *  textures 
)

Definition at line 196 of file rs_gl.cpp.

00197 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00198     glDeleteTextures(n, textures);
00199     rs_check_error();
00200 }

void rs_gl_depth_func ( GLenum  func  ) 

Definition at line 201 of file rs_gl.cpp.

00202 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00203     glDepthFunc(func);
00204     rs_check_error();
00205 }

void rs_gl_depth_mask ( GLboolean  flag  ) 

Definition at line 206 of file rs_gl.cpp.

00207 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00208     glDepthMask(flag);
00209     rs_check_error();
00210 }

void rs_gl_depth_range ( GLclampd  zNear,
GLclampd  zFar 
)

Definition at line 211 of file rs_gl.cpp.

00212 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00213     glDepthRange(zNear, zFar);
00214     rs_check_error();
00215 }

void rs_gl_disable ( GLenum  cap  ) 

Definition at line 216 of file rs_gl.cpp.

00217 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00218     glDisable(cap);
00219     rs_check_error();
00220 }

void rs_gl_draw_arrays ( GLenum  mode,
GLint  first,
GLsizei  count 
)

Definition at line 221 of file rs_gl.cpp.

00222 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00223     glDrawArrays(mode, first, count);
00224     rs_check_error();
00225 }

void rs_gl_draw_buffer ( GLenum  mode  ) 

Definition at line 226 of file rs_gl.cpp.

00227 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00228     glDrawBuffer(mode);
00229     rs_check_error();
00230 }

void rs_gl_draw_elements ( GLenum  mode,
GLsizei  count,
GLenum  type,
const GLvoid *  indices 
)

Definition at line 231 of file rs_gl.cpp.

00232 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00233     glDrawElements(mode, count, type, indices);
00234     rs_check_error();
00235 }

void rs_gl_enable ( GLenum  cap  ) 

Definition at line 236 of file rs_gl.cpp.

00237 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00238     glEnable(cap);
00239     rs_check_error();
00240 }

void rs_gl_finish ( void   ) 

Definition at line 241 of file rs_gl.cpp.

00242 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00243     rs_check_error();
00244 }

void rs_gl_flush ( void   ) 

Definition at line 245 of file rs_gl.cpp.

00246 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00247     glFlush();
00248     rs_check_error();
00249 }

void rs_gl_front_face ( GLenum  mode  ) 

Definition at line 250 of file rs_gl.cpp.

00251 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00252     glFrontFace(mode);
00253     rs_check_error();
00254 }

void rs_gl_gen_textures ( GLsizei  n,
GLuint *  textures 
)

Definition at line 255 of file rs_gl.cpp.

00256 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00257     glGenTextures(n, textures);
00258     rs_check_error();
00259 }

void rs_gl_get_boolean_v ( GLenum  pname,
GLboolean *  params 
)

Definition at line 260 of file rs_gl.cpp.

00261 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00262     glGetBooleanv(pname, params);
00263     rs_check_error();
00264 }

void rs_gl_get_double_v ( GLenum  pname,
GLdouble *  params 
)

Definition at line 265 of file rs_gl.cpp.

00266 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00267     glGetDoublev(pname, params);
00268     rs_check_error();
00269 }

GLenum rs_gl_get_error ( void   ) 

Definition at line 270 of file rs_gl.cpp.

00271 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00272     return glGetError();
00273 }

void rs_gl_get_float_v ( GLenum  pname,
GLfloat *  params 
)

Definition at line 274 of file rs_gl.cpp.

00275 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00276     glGetFloatv(pname, params);
00277     rs_check_error();
00278 }

void rs_gl_get_integer_v ( GLenum  pname,
GLint *  params 
)

Definition at line 279 of file rs_gl.cpp.

00280 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00281     glGetIntegerv(pname, params);
00282     rs_check_error();
00283 }

void rs_gl_get_pointer_v ( GLenum  pname,
GLvoid **  params 
)

Definition at line 284 of file rs_gl.cpp.

00285 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00286     glGetPointerv(pname, params);
00287     rs_check_error();
00288 }

const GLubyte * rs_gl_get_string ( GLenum  name  ) 

Definition at line 289 of file rs_gl.cpp.

00290 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00291     const GLubyte *res = glGetString(name);
00292     rs_check_error();
00293     return res;
00294 }

void rs_gl_get_tex_env_fv ( GLenum  target,
GLenum  pname,
GLfloat *  params 
)

Definition at line 295 of file rs_gl.cpp.

00296 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00297     glGetTexEnvfv(target, pname, params);
00298     rs_check_error();
00299 }

void rs_gl_get_tex_env_iv ( GLenum  target,
GLenum  pname,
GLint *  params 
)

Definition at line 300 of file rs_gl.cpp.

00301 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00302     glGetTexEnviv(target, pname, params);
00303     rs_check_error();
00304 }

void rs_gl_get_tex_image ( GLenum  target,
GLint  level,
GLenum  format,
GLenum  type,
GLvoid *  pixels 
)

Definition at line 305 of file rs_gl.cpp.

00306 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00307     glGetTexImage(target, level, format, type, pixels);
00308     rs_check_error();
00309 }

void rs_gl_get_tex_level_parameter_fv ( GLenum  target,
GLint  level,
GLenum  pname,
GLfloat *  params 
)

Definition at line 310 of file rs_gl.cpp.

00311 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00312     glGetTexLevelParameterfv(target, level, pname, params);
00313     rs_check_error();
00314 }

void rs_gl_get_tex_level_parameter_iv ( GLenum  target,
GLint  level,
GLenum  pname,
GLint *  params 
)

Definition at line 315 of file rs_gl.cpp.

00316 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00317     glGetTexLevelParameteriv(target, level, pname, params);
00318     rs_check_error();
00319 }

void rs_gl_get_tex_parameter_fv ( GLenum  target,
GLenum  pname,
GLfloat *  params 
)

Definition at line 320 of file rs_gl.cpp.

00321 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00322     glGetTexParameterfv(target, pname, params);
00323     rs_check_error();
00324 }

void rs_gl_get_tex_parameter_iv ( GLenum  target,
GLenum  pname,
GLint *  params 
)

Definition at line 325 of file rs_gl.cpp.

00326 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00327     glGetTexParameteriv(target, pname, params);
00328     rs_check_error();
00329 }

void rs_gl_hint ( GLenum  target,
GLenum  mode 
)

Definition at line 330 of file rs_gl.cpp.

00331 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00332     glHint(target, mode);
00333     rs_check_error();
00334 }

GLboolean rs_gl_is_enabled ( GLenum  cap  ) 

Definition at line 335 of file rs_gl.cpp.

00336 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00337     GLboolean res = glIsEnabled(cap);
00338     rs_check_error();
00339     return res;
00340 }

GLboolean rs_gl_is_texture ( GLuint  texture  ) 

Definition at line 341 of file rs_gl.cpp.

00342 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00343     GLboolean res = glIsTexture(texture);
00344     rs_check_error();
00345     return res;
00346 }

void rs_gl_line_width ( GLfloat  width  ) 

Definition at line 347 of file rs_gl.cpp.

00348 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00349     glLineWidth(width);
00350     rs_check_error();
00351 }

void rs_gl_logic_op ( GLenum  opcode  ) 

Definition at line 352 of file rs_gl.cpp.

00353 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00354     glLogicOp(opcode);
00355     rs_check_error();
00356 }

void rs_gl_pixel_store_f ( GLenum  pname,
GLfloat  param 
)

Definition at line 357 of file rs_gl.cpp.

00358 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00359     glPixelStoref(pname, param);
00360     rs_check_error();
00361 }

void rs_gl_pixel_store_i ( GLenum  pname,
GLint  param 
)

Definition at line 362 of file rs_gl.cpp.

00363 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00364     glPixelStorei(pname, param);
00365     rs_check_error();
00366 }

void rs_gl_pixel_transfer_f ( GLenum  pname,
GLfloat  param 
)

Definition at line 367 of file rs_gl.cpp.

00368 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00369     glPixelTransferf(pname, param);
00370     rs_check_error();
00371 }

void rs_gl_pixel_transfer_i ( GLenum  pname,
GLint  param 
)

Definition at line 372 of file rs_gl.cpp.

00373 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00374     glPixelTransferi(pname, param);
00375     rs_check_error();
00376 }

void rs_gl_point_size ( GLfloat  size  ) 

Definition at line 377 of file rs_gl.cpp.

00378 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00379     glPointSize(size);
00380     rs_check_error();
00381 }

void rs_gl_polygon_mode ( GLenum  face,
GLenum  mode 
)

Definition at line 382 of file rs_gl.cpp.

00383 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00384     glPolygonMode(face, mode);
00385     rs_check_error();
00386 }

void rs_gl_polygon_offset ( GLfloat  factor,
GLfloat  units 
)

Definition at line 387 of file rs_gl.cpp.

00388 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00389     glPolygonOffset(factor, units);
00390     rs_check_error();
00391 }

void rs_gl_read_buffer ( GLenum  mode  ) 

Definition at line 392 of file rs_gl.cpp.

00393 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00394     glReadBuffer(mode);
00395     rs_check_error();
00396 }

void rs_gl_read_pixels ( GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
GLvoid *  pixels 
)

Definition at line 397 of file rs_gl.cpp.

00398 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00399     glReadPixels(x, y, width, height, format, type, pixels);
00400     rs_check_error();
00401 }

void rs_gl_scissor ( GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height 
)

Definition at line 402 of file rs_gl.cpp.

00403 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00404     glScissor(x, y, width, height);
00405     rs_check_error();
00406 }

void rs_gl_stencil_func ( GLenum  func,
GLint  ref,
GLuint  mask 
)

Definition at line 407 of file rs_gl.cpp.

00408 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00409     glStencilFunc(func, ref, mask);
00410     rs_check_error();
00411 }

void rs_gl_stencil_mask ( GLuint  mask  ) 

Definition at line 412 of file rs_gl.cpp.

00413 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00414     glStencilMask(mask);
00415     rs_check_error();
00416 }

void rs_gl_stencil_op ( GLenum  fail,
GLenum  zfail,
GLenum  zpass 
)

Definition at line 417 of file rs_gl.cpp.

00418 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00419     glStencilOp(fail, zfail, zpass);
00420     rs_check_error();
00421 }

void rs_gl_tex_env_f ( GLenum  target,
GLenum  pname,
GLfloat  param 
)

Definition at line 422 of file rs_gl.cpp.

00423 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00424     glTexEnvf(target, pname, param);
00425     rs_check_error();
00426 }

void rs_gl_tex_env_fv ( GLenum  target,
GLenum  pname,
const GLfloat *  params 
)

Definition at line 427 of file rs_gl.cpp.

00428 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00429     glTexEnvfv(target, pname, params);
00430     rs_check_error();
00431 }

void rs_gl_tex_env_i ( GLenum  target,
GLenum  pname,
GLint  param 
)

Definition at line 432 of file rs_gl.cpp.

00433 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00434     glTexEnvi(target, pname, param);
00435     rs_check_error();
00436 }

void rs_gl_tex_env_iv ( GLenum  target,
GLenum  pname,
const GLint *  params 
)

Definition at line 437 of file rs_gl.cpp.

00438 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00439     glTexEnviv(target, pname, params);
00440     rs_check_error();
00441 }

void rs_gl_tex_image_1d ( GLenum  target,
GLint  level,
GLint  internalformat,
GLsizei  width,
GLint  border,
GLenum  format,
GLenum  type,
const GLvoid *  pixels 
)

Definition at line 442 of file rs_gl.cpp.

00443 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00444     glTexImage1D(target, level, internalformat, width, border, format, type, pixels);
00445     rs_check_error();
00446 }

void rs_gl_tex_image_2d ( GLenum  target,
GLint  level,
GLint  internalformat,
GLsizei  width,
GLsizei  height,
GLint  border,
GLenum  format,
GLenum  type,
const GLvoid *  pixels 
)

Definition at line 447 of file rs_gl.cpp.

00448 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00449     glTexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
00450     rs_check_error();
00451 }

void rs_gl_tex_parameter_f ( GLenum  target,
GLenum  pname,
GLfloat  param 
)

Definition at line 452 of file rs_gl.cpp.

00453 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00454     glTexParameterf(target, pname, param);
00455     rs_check_error();
00456 }

void rs_gl_tex_parameter_fv ( GLenum  target,
GLenum  pname,
const GLfloat *  params 
)

Definition at line 457 of file rs_gl.cpp.

00458 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00459     glTexParameterfv(target, pname, params);
00460     rs_check_error();
00461 }

void rs_gl_tex_parameter_i ( GLenum  target,
GLenum  pname,
GLint  param 
)

Definition at line 462 of file rs_gl.cpp.

00463 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00464     glTexParameteri(target, pname, param);
00465     rs_check_error();
00466 }

void rs_gl_tex_parameter_iv ( GLenum  target,
GLenum  pname,
const GLint *  params 
)

Definition at line 467 of file rs_gl.cpp.

00468 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00469     glTexParameteriv(target, pname, params);
00470     rs_check_error();
00471 }

void rs_gl_tex_sub_image_1d ( GLenum  target,
GLint  level,
GLint  xoffset,
GLsizei  width,
GLenum  format,
GLenum  type,
const GLvoid *  pixels 
)

Definition at line 472 of file rs_gl.cpp.

00473 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00474     glTexSubImage1D(target, level, xoffset, width, format, type, pixels);
00475     rs_check_error();
00476 }

void rs_gl_tex_sub_image_2d ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
const GLvoid *  pixels 
)

Definition at line 477 of file rs_gl.cpp.

00478 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00479     glTexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
00480     rs_check_error();
00481 }

void rs_gl_viewport ( GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height 
)

Definition at line 482 of file rs_gl.cpp.

00483 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00484     glViewport(x, y, width, height);
00485     rs_check_error();
00486 }

void rs_gl_blend_color ( GLclampf  a,
GLclampf  b,
GLclampf  c,
GLclampf  d 
)

Definition at line 489 of file rs_gl.cpp.

00490 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00491     glBlendColor(a, b, c, d);
00492     rs_check_error();
00493 }

void rs_gl_blend_equation ( GLenum  a  ) 

Definition at line 495 of file rs_gl.cpp.

00496 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00497     glBlendEquation(a);
00498     rs_check_error();
00499 }

void rs_gl_draw_range_elements ( GLenum  a,
GLuint  b,
GLuint  c,
GLsizei  d,
GLenum  e,
const GLvoid *  f 
)

Definition at line 501 of file rs_gl.cpp.

00502 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00503     glDrawRangeElements(a, b, c, d, e, f);
00504     rs_check_error();
00505 }

void rs_gl_tex_image_3d ( GLenum  a,
GLint  b,
GLint  c,
GLsizei  d,
GLsizei  e,
GLsizei  f,
GLint  g,
GLenum  h,
GLenum  i,
const GLvoid *  j 
)

Definition at line 507 of file rs_gl.cpp.

00508 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00509     glTexImage3D(a, b, c, d, e, f, g, h, i, j);
00510     rs_check_error();
00511 }

void rs_gl_tex_sub_image_3d ( GLenum  a,
GLint  b,
GLint  c,
GLint  d,
GLint  e,
GLsizei  f,
GLsizei  g,
GLsizei  h,
GLenum  i,
GLenum  j,
const GLvoid *  k 
)

Definition at line 513 of file rs_gl.cpp.

00514 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00515     glTexSubImage3D(a, b, c, d, e, f, g, h, i, j, k);
00516     rs_check_error();
00517 }

void rs_gl_copy_tex_sub_image_3d ( GLenum  a,
GLint  b,
GLint  c,
GLint  d,
GLint  e,
GLint  f,
GLint  g,
GLsizei  h,
GLsizei  i 
)

Definition at line 519 of file rs_gl.cpp.

00520 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00521     glCopyTexSubImage3D(a, b, c, d, e, f, g, h, i);
00522     rs_check_error();
00523 }

void rs_gl_active_texture ( GLenum  a  ) 

Definition at line 527 of file rs_gl.cpp.

00528 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00529     glActiveTexture(a);
00530     rs_check_error();
00531 }

void rs_gl_sample_coverage ( GLclampf  a,
GLboolean  b 
)

Definition at line 533 of file rs_gl.cpp.

00534 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00535     glSampleCoverage(a, b);
00536     rs_check_error();
00537 }

void rs_gl_compressed_tex_image_3d ( GLenum  a,
GLint  b,
GLenum  c,
GLsizei  d,
GLsizei  e,
GLsizei  f,
GLint  g,
GLsizei  h,
const GLvoid *  i 
)

Definition at line 539 of file rs_gl.cpp.

00540 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00541     glCompressedTexImage3D(a, b, c, d, e, f, g, h, i);
00542     rs_check_error();
00543 }

void rs_gl_compressed_tex_image_2d ( GLenum  a,
GLint  b,
GLenum  c,
GLsizei  d,
GLsizei  e,
GLint  f,
GLsizei  g,
const GLvoid *  h 
)

Definition at line 545 of file rs_gl.cpp.

00546 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00547     glCompressedTexImage2D(a, b, c, d, e, f, g, h);
00548     rs_check_error();
00549 }

void rs_gl_compressed_tex_image_1d ( GLenum  a,
GLint  b,
GLenum  c,
GLsizei  d,
GLint  e,
GLsizei  f,
const GLvoid *  g 
)

Definition at line 551 of file rs_gl.cpp.

00552 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00553     glCompressedTexImage1D(a, b, c, d, e, f, g);
00554     rs_check_error();
00555 }

void rs_gl_compressed_tex_sub_image_3d ( GLenum  a,
GLint  b,
GLint  c,
GLint  d,
GLint  e,
GLsizei  f,
GLsizei  g,
GLsizei  h,
GLenum  i,
GLsizei  j,
const GLvoid *  k 
)

Definition at line 557 of file rs_gl.cpp.

00558 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00559     glCompressedTexSubImage3D(a, b, c, d, e, f, g, h, i, j, k);
00560     rs_check_error();
00561 }

void rs_gl_compressed_tex_sub_image_2d ( GLenum  a,
GLint  b,
GLint  c,
GLint  d,
GLsizei  e,
GLsizei  f,
GLenum  g,
GLsizei  h,
const GLvoid *  i 
)

Definition at line 563 of file rs_gl.cpp.

00564 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00565     glCompressedTexSubImage2D(a, b, c, d, e, f, g, h, i);
00566     rs_check_error();
00567 }

void rs_gl_compressed_tex_sub_image_1d ( GLenum  a,
GLint  b,
GLint  c,
GLsizei  d,
GLenum  e,
GLsizei  f,
const GLvoid *  g 
)

Definition at line 569 of file rs_gl.cpp.

00570 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00571     glCompressedTexSubImage1D(a, b, c, d, e, f, g);
00572     rs_check_error();
00573 }

void rs_gl_get_compressed_tex_image ( GLenum  a,
GLint  b,
GLvoid *  c 
)

Definition at line 575 of file rs_gl.cpp.

00576 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00577     glGetCompressedTexImage(a, b, c);
00578     rs_check_error();
00579 }

void rs_gl_blend_func_separate ( GLenum  a,
GLenum  b,
GLenum  c,
GLenum  d 
)

Definition at line 583 of file rs_gl.cpp.

00584 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00585     glBlendFuncSeparate(a, b, c, d);
00586     rs_check_error();
00587 }

void rs_gl_multi_draw_arrays ( GLenum  a,
GLint *  b,
GLsizei *  c,
GLsizei  d 
)

Definition at line 589 of file rs_gl.cpp.

00590 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00591     glMultiDrawArrays(a, b, c, d);
00592     rs_check_error();
00593 }

void rs_gl_multi_draw_elements ( GLenum  a,
const GLsizei *  b,
GLenum  c,
const GLvoid **  d,
GLsizei  e 
)

Definition at line 595 of file rs_gl.cpp.

00596 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00597     glMultiDrawElements(a, b, c, d, e);
00598     rs_check_error();
00599 }

void rs_gl_point_parameter_f ( GLenum  a,
GLfloat  b 
)

Definition at line 601 of file rs_gl.cpp.

00602 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00603     glPointParameterf(a, b);
00604     rs_check_error();
00605 }

void rs_gl_point_parameter_fv ( GLenum  a,
const GLfloat *  b 
)

Definition at line 607 of file rs_gl.cpp.

00608 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00609     glPointParameterfv(a, b);
00610     rs_check_error();
00611 }

void rs_gl_point_parameter_i ( GLenum  a,
GLint  b 
)

Definition at line 613 of file rs_gl.cpp.

00614 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00615     glPointParameteri(a, b);
00616     rs_check_error();
00617 }

void rs_gl_point_parameter_iv ( GLenum  a,
const GLint *  b 
)

Definition at line 619 of file rs_gl.cpp.

00620 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00621     glPointParameteriv(a, b);
00622     rs_check_error();
00623 }

void rs_gl_gen_queries ( GLsizei  a,
GLuint *  b 
)

Definition at line 627 of file rs_gl.cpp.

00628 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00629     glGenQueries(a, b);
00630     rs_check_error();
00631 }

void rs_gl_delete_queries ( GLsizei  a,
const GLuint *  b 
)

Definition at line 633 of file rs_gl.cpp.

00634 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00635     glDeleteQueries(a, b);
00636     rs_check_error();
00637 }

GLboolean rs_gl_is_query ( GLuint  a  ) 

Definition at line 639 of file rs_gl.cpp.

00640 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00641     GLboolean res = glIsQuery(a);
00642     rs_check_error();
00643     return res;
00644 }

void rs_gl_begin_query ( GLenum  a,
GLuint  b 
)

Definition at line 646 of file rs_gl.cpp.

00647 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00648     glBeginQuery(a, b);
00649     rs_check_error();
00650 }

void rs_gl_end_query ( GLenum  a  ) 

Definition at line 652 of file rs_gl.cpp.

00653 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00654     glEndQuery(a);
00655     rs_check_error();
00656 }

void rs_gl_get_query_iv ( GLenum  a,
GLenum  b,
GLint *  c 
)

Definition at line 658 of file rs_gl.cpp.

00659 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00660     glGetQueryiv(a, b, c);
00661     rs_check_error();
00662 }

void rs_gl_get_query_object_iv ( GLuint  a,
GLenum  b,
GLint *  c 
)

Definition at line 664 of file rs_gl.cpp.

00665 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00666     glGetQueryObjectiv(a, b, c);
00667     rs_check_error();
00668 }

void rs_gl_get_query_object_uiv ( GLuint  a,
GLenum  b,
GLuint *  c 
)

Definition at line 670 of file rs_gl.cpp.

00671 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00672     glGetQueryObjectuiv(a, b, c);
00673     rs_check_error();
00674 }

void rs_gl_bind_buffer ( GLenum  a,
GLuint  b 
)

Definition at line 676 of file rs_gl.cpp.

00677 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00678     glBindBuffer(a, b);
00679     rs_check_error();
00680 }

void rs_gl_delete_buffers ( GLsizei  a,
const GLuint *  b 
)

Definition at line 682 of file rs_gl.cpp.

00683 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00684     glDeleteBuffers(a, b);
00685     rs_check_error();
00686 }

void rs_gl_gen_buffers ( GLsizei  a,
GLuint *  b 
)

Definition at line 688 of file rs_gl.cpp.

00689 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00690     glGenBuffers(a, b);
00691     rs_check_error();
00692 }

GLboolean rs_gl_is_buffer ( GLuint  a  ) 

Definition at line 694 of file rs_gl.cpp.

00695 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00696     GLboolean res = glIsBuffer(a);
00697     rs_check_error();
00698     return res;
00699 }

void rs_gl_buffer_data ( GLenum  a,
GLsizeiptr  b,
const GLvoid *  c,
GLenum  d 
)

Definition at line 701 of file rs_gl.cpp.

00702 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00703     glBufferData(a, b, c, d);
00704     rs_check_error();
00705 }

void rs_gl_buffer_sub_data ( GLenum  a,
GLintptr  b,
GLsizeiptr  c,
const GLvoid *  d 
)

Definition at line 707 of file rs_gl.cpp.

00708 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00709     glBufferSubData(a, b, c, d);
00710     rs_check_error();
00711 }

void rs_gl_get_buffer_sub_data ( GLenum  a,
GLintptr  b,
GLsizeiptr  c,
GLvoid *  d 
)

Definition at line 713 of file rs_gl.cpp.

00714 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00715     glGetBufferSubData(a, b, c, d);
00716     rs_check_error();
00717 }

GLvoid * rs_gl_map_buffer ( GLenum  a,
GLenum  b 
)

Definition at line 719 of file rs_gl.cpp.

00720 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00721     GLvoid* res = glMapBuffer(a, b);
00722     rs_check_error();
00723     return res;
00724 }

GLboolean rs_gl_unmap_buffer ( GLenum  a  ) 

Definition at line 726 of file rs_gl.cpp.

00727 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00728     GLboolean res = glUnmapBuffer(a);
00729     rs_check_error();
00730     return res;
00731 }

void rs_gl_get_buffer_parameter_iv ( GLenum  a,
GLenum  b,
GLint *  c 
)

Definition at line 733 of file rs_gl.cpp.

00734 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00735     glGetBufferParameteriv(a, b, c);
00736     rs_check_error();
00737 }

void rs_gl_get_buffer_pointer_v ( GLenum  a,
GLenum  b,
GLvoid **  c 
)

Definition at line 739 of file rs_gl.cpp.

00740 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00741     glGetBufferPointerv(a, b, c);
00742     rs_check_error();
00743 }

void rs_gl_blend_equation_separate ( GLenum  a,
GLenum  b 
)

Definition at line 747 of file rs_gl.cpp.

00748 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00749     glBlendEquationSeparate(a, b);
00750     rs_check_error();
00751 }

void rs_gl_draw_buffers ( GLsizei  a,
const GLenum *  b 
)

Definition at line 753 of file rs_gl.cpp.

00754 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00755     glDrawBuffers(a, b);
00756     rs_check_error();
00757 }

void rs_gl_stencil_op_separate ( GLenum  a,
GLenum  b,
GLenum  c,
GLenum  d 
)

Definition at line 759 of file rs_gl.cpp.

00760 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00761     glStencilOpSeparate(a, b, c, d);
00762     rs_check_error();
00763 }

void rs_gl_stencil_func_Separate ( GLenum  a,
GLenum  b,
GLint  c,
GLuint  d 
)

Definition at line 765 of file rs_gl.cpp.

00766 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00767     glStencilFuncSeparate(a, b, c, d);
00768     rs_check_error();
00769 }

void rs_gl_stencil_mask_separate ( GLenum  a,
GLuint  b 
)

Definition at line 771 of file rs_gl.cpp.

00772 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00773     glStencilMaskSeparate(a, b);
00774     rs_check_error();
00775 }

void rs_gl_attach_shader ( GLuint  a,
GLuint  b 
)

Definition at line 777 of file rs_gl.cpp.

00778 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00779     glAttachShader(a, b);
00780     rs_check_error();
00781 }

void rs_gl_bind_attrib_location ( GLuint  a,
GLuint  b,
const GLchar *  c 
)

Definition at line 783 of file rs_gl.cpp.

00784 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00785     glBindAttribLocation(a, b, c);
00786     rs_check_error();
00787 }

void rs_gl_compile_shader ( GLuint  a  ) 

Definition at line 789 of file rs_gl.cpp.

00790 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00791     glCompileShader(a);
00792     rs_check_error();
00793 }

GLuint rs_gl_create_program ( void   ) 

Definition at line 795 of file rs_gl.cpp.

00796 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00797     GLuint res = glCreateProgram();
00798     rs_check_error();
00799     return res;
00800 }

GLuint rs_gl_create_shader ( GLenum  a  ) 

Definition at line 802 of file rs_gl.cpp.

00803 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00804     GLuint res = glCreateShader(a);
00805     rs_check_error();
00806     return res;
00807 }

void rs_gl_delete_program ( GLuint  a  ) 

Definition at line 809 of file rs_gl.cpp.

00810 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00811     glDeleteProgram(a);
00812     rs_check_error();
00813 }

void rs_gl_delete_shader ( GLuint  a  ) 

Definition at line 815 of file rs_gl.cpp.

00816 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00817     glDeleteShader(a);
00818     rs_check_error();
00819 }

void rs_gl_detach_shader ( GLuint  a,
GLuint  b 
)

Definition at line 821 of file rs_gl.cpp.

00822 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00823     glDetachShader(a, b);
00824     rs_check_error();
00825 }

void rs_gl_disable_vertex_attrib_array ( GLuint  a  ) 

Definition at line 827 of file rs_gl.cpp.

00828 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00829     glDisableVertexAttribArray(a);
00830     rs_check_error();
00831 }

void rs_gl_enable_vertex_attrib_array ( GLuint  a  ) 

Definition at line 833 of file rs_gl.cpp.

00834 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00835     glEnableVertexAttribArray(a);
00836     rs_check_error();
00837 }

void rs_gl_get_active_attrib ( GLuint  a,
GLuint  b,
GLsizei  c,
GLsizei *  d,
GLint *  e,
GLenum *  f,
GLchar *  g 
)

Definition at line 839 of file rs_gl.cpp.

00840 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00841     glGetActiveAttrib(a, b, c, d, e, f, g);
00842     rs_check_error();
00843 }

void rs_gl_get_active_uniform ( GLuint  a,
GLuint  b,
GLsizei  c,
GLsizei *  d,
GLint *  e,
GLenum *  f,
GLchar *  g 
)

Definition at line 845 of file rs_gl.cpp.

00846 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00847     glGetActiveUniform(a, b, c, d, e, f, g);
00848     rs_check_error();
00849 }

void rs_gl_get_attached_shaders ( GLuint  a,
GLsizei  b,
GLsizei *  c,
GLuint *  d 
)

Definition at line 851 of file rs_gl.cpp.

00852 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00853     glGetAttachedShaders(a, b, c, d);
00854     rs_check_error();
00855 }

GLint rs_gl_get_attrib_location ( GLuint  a,
const GLchar *  b 
)

Definition at line 857 of file rs_gl.cpp.

00858 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00859     GLint res = glGetAttribLocation(a, b);
00860     rs_check_error();
00861     return res;
00862 }

void rs_gl_get_program_iv ( GLuint  a,
GLenum  b,
GLint *  c 
)

Definition at line 864 of file rs_gl.cpp.

00865 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00866     glGetProgramiv(a, b, c);
00867     rs_check_error();
00868 }

void rs_gl_get_program_info_log ( GLuint  a,
GLsizei  b,
GLsizei *  c,
GLchar *  d 
)

Definition at line 870 of file rs_gl.cpp.

00871 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00872     glGetProgramInfoLog(a, b, c, d);
00873     rs_check_error();
00874 }

void rs_gl_get_shader_iv ( GLuint  a,
GLenum  b,
GLint *  c 
)

Definition at line 876 of file rs_gl.cpp.

00877 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00878     glGetShaderiv(a, b, c);
00879     rs_check_error();
00880 }

void rs_gl_get_shader_info_log ( GLuint  a,
GLsizei  b,
GLsizei *  c,
GLchar *  d 
)

Definition at line 882 of file rs_gl.cpp.

00883 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00884     glGetShaderInfoLog(a, b, c, d);
00885     rs_check_error();
00886 }

void rs_gl_get_shader_source ( GLuint  a,
GLsizei  b,
GLsizei *  c,
GLchar *  d 
)

Definition at line 888 of file rs_gl.cpp.

00889 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00890     glGetShaderSource(a, b, c, d);
00891     rs_check_error();
00892 }

GLint rs_gl_get_uniform_location ( GLuint  a,
const GLchar *  b 
)

Definition at line 894 of file rs_gl.cpp.

00895 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00896     GLint res = glGetUniformLocation(a, b);
00897     rs_check_error();
00898     return res;
00899 }

void rs_gl_get_uniform_fv ( GLuint  a,
GLint  b,
GLfloat *  c 
)

Definition at line 901 of file rs_gl.cpp.

00902 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00903     glGetUniformfv(a, b, c);
00904     rs_check_error();
00905 }

void rs_gl_get_uniform_iv ( GLuint  a,
GLint  b,
GLint *  c 
)

Definition at line 908 of file rs_gl.cpp.

00909 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00910     glGetUniformiv(a, b, c);
00911     rs_check_error();
00912 }

void rs_gl_get_vertex_attrib_dv ( GLuint  a,
GLenum  b,
GLdouble *  c 
)

Definition at line 914 of file rs_gl.cpp.

00915 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00916     glGetVertexAttribdv(a, b, c);
00917     rs_check_error();
00918 }

void rs_gl_get_vertex_attrib_fv ( GLuint  a,
GLenum  b,
GLfloat *  c 
)

Definition at line 920 of file rs_gl.cpp.

00921 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00922     glGetVertexAttribfv(a, b, c);
00923     rs_check_error();
00924 }

void rs_gl_get_vertex_attrib_iv ( GLuint  a,
GLenum  b,
GLint *  c 
)

Definition at line 926 of file rs_gl.cpp.

00927 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00928     glGetVertexAttribiv(a, b, c);
00929     rs_check_error();
00930 }

void rs_gl_get_vertex_attrib_pointer_v ( GLuint  a,
GLenum  b,
GLvoid **  c 
)

Definition at line 932 of file rs_gl.cpp.

00933 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00934     glGetVertexAttribPointerv(a, b, c);
00935     rs_check_error();
00936 }

GLboolean rs_gl_is_program ( GLuint  a  ) 

Definition at line 938 of file rs_gl.cpp.

00939 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00940     GLboolean res = glIsProgram(a);
00941     rs_check_error();
00942     return res;
00943 }

GLboolean rs_gl_is_shader ( GLuint  a  ) 

Definition at line 945 of file rs_gl.cpp.

00946 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00947     GLboolean res = glIsShader(a);
00948     rs_check_error();
00949     return res;
00950 }

void rs_gl_link_program ( GLuint  a  ) 

Definition at line 952 of file rs_gl.cpp.

00953 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00954     glLinkProgram(a);
00955     rs_check_error();
00956 }

void rs_gl_shader_source ( GLuint  a,
GLsizei  b,
const GLchar **  c,
const GLint *  d 
)

Definition at line 958 of file rs_gl.cpp.

00959 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00960     glShaderSource(a, b, c, d);
00961     rs_check_error();
00962 }

void rs_gl_use_program ( GLuint  a  ) 

Definition at line 964 of file rs_gl.cpp.

00965 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00966     glUseProgram(a);
00967     rs_check_error();
00968 }

void rs_gl_uniform_1f ( GLint  a,
GLfloat  b 
)

Definition at line 970 of file rs_gl.cpp.

00971 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00972     glUniform1f(a, b);
00973     rs_check_error();
00974 }

void rs_gl_uniform_2f ( GLint  a,
GLfloat  b,
GLfloat  c 
)

Definition at line 975 of file rs_gl.cpp.

00976 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00977     glUniform2f(a, b, c);
00978     rs_check_error();
00979 }

void rs_gl_uniform_3f ( GLint  a,
GLfloat  b,
GLfloat  c,
GLfloat  d 
)

Definition at line 981 of file rs_gl.cpp.

00982 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00983     glUniform3f(a, b, c, d);
00984     rs_check_error();
00985 }

void rs_gl_uniform_4f ( GLint  a,
GLfloat  b,
GLfloat  c,
GLfloat  d,
GLfloat  e 
)

Definition at line 987 of file rs_gl.cpp.

00988 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00989     glUniform4f(a, b, c, d, e);
00990     rs_check_error();
00991 }

void rs_gl_uniform_1i ( GLint  a,
GLint  b 
)

Definition at line 993 of file rs_gl.cpp.

00994 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
00995     glUniform1i(a, b);
00996     rs_check_error();
00997 }

void rs_gl_uniform_2i ( GLint  a,
GLint  b,
GLint  c 
)

Definition at line 999 of file rs_gl.cpp.

01000 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01001     glUniform2i(a, b, c);
01002     rs_check_error();
01003 }

void rs_gl_uniform_3i ( GLint  a,
GLint  b,
GLint  c,
GLint  d 
)

Definition at line 1005 of file rs_gl.cpp.

01006 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01007     glUniform3i(a, b, c, d);
01008     rs_check_error();
01009 }

void rs_gl_uniform_4i ( GLint  a,
GLint  b,
GLint  c,
GLint  d,
GLint  e 
)

Definition at line 1011 of file rs_gl.cpp.

01012 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01013     glUniform4i(a, b, c, d, e);
01014     rs_check_error();
01015 }

void rs_gl_uniform_1fv ( GLint  a,
GLsizei  b,
const GLfloat *  c 
)

Definition at line 1017 of file rs_gl.cpp.

01018 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01019     glUniform1fv(a, b, c);
01020     rs_check_error();
01021 }

void rs_gl_uniform_2fv ( GLint  a,
GLsizei  b,
const GLfloat *  c 
)

Definition at line 1023 of file rs_gl.cpp.

01024 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01025     glUniform2fv(a, b, c);
01026     rs_check_error();
01027 }

void rs_gl_uniform_3fv ( GLint  a,
GLsizei  b,
const GLfloat *  c 
)

Definition at line 1029 of file rs_gl.cpp.

01030 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01031     glUniform3fv(a, b, c);
01032     rs_check_error();
01033 }

void rs_gl_uniform_4fv ( GLint  a,
GLsizei  b,
const GLfloat *  c 
)

Definition at line 1035 of file rs_gl.cpp.

01036 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01037     glUniform4fv(a, b, c);
01038     rs_check_error();
01039 }

void rs_gl_uniform_1iv ( GLint  a,
GLsizei  b,
const GLint *  c 
)

Definition at line 1041 of file rs_gl.cpp.

01042 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01043     glUniform1iv(a, b, c);
01044     rs_check_error();
01045 }

void rs_gl_uniform_2iv ( GLint  a,
GLsizei  b,
const GLint *  c 
)

Definition at line 1047 of file rs_gl.cpp.

01048 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01049     glUniform2iv(a, b, c);
01050     rs_check_error();
01051 }

void rs_gl_uniform_3iv ( GLint  a,
GLsizei  b,
const GLint *  c 
)

Definition at line 1053 of file rs_gl.cpp.

01054 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01055     glUniform3iv(a, b, c);
01056     rs_check_error();
01057 }

void rs_gl_uniform_4iv ( GLint  a,
GLsizei  b,
const GLint *  c 
)

Definition at line 1059 of file rs_gl.cpp.

01060 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01061     glUniform4iv(a, b, c);
01062     rs_check_error();
01063 }

void rs_gl_uniform_matrix_2fv ( GLint  a,
GLsizei  b,
GLboolean  c,
const GLfloat *  d 
)

Definition at line 1065 of file rs_gl.cpp.

01066 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01067     glUniformMatrix2fv(a, b, c, d);
01068     rs_check_error();
01069 }

void rs_gl_uniform_matrix_3fv ( GLint  a,
GLsizei  b,
GLboolean  c,
const GLfloat *  d 
)

Definition at line 1071 of file rs_gl.cpp.

01072 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01073     glUniformMatrix3fv(a, b, c, d);
01074     rs_check_error();
01075 }

void rs_gl_uniform_matrix_4fv ( GLint  a,
GLsizei  b,
GLboolean  c,
const GLfloat *  d 
)

Definition at line 1077 of file rs_gl.cpp.

01078 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01079     glUniformMatrix4fv(a, b, c, d);
01080     rs_check_error();
01081 }

void rs_gl_validate_program ( GLuint  a  ) 

Definition at line 1083 of file rs_gl.cpp.

01084 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01085     glValidateProgram(a);
01086     rs_check_error();
01087 }

void rs_gl_vertex_attrib_1d ( GLuint  a,
GLdouble  b 
)

Definition at line 1089 of file rs_gl.cpp.

01090 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01091     glVertexAttrib1d(a, b);
01092     rs_check_error();
01093 }

void rs_gl_vertex_attrib_1dv ( GLuint  a,
const GLdouble *  b 
)

Definition at line 1095 of file rs_gl.cpp.

01096 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01097     glVertexAttrib1dv(a, b);
01098     rs_check_error();
01099 }

void rs_gl_vertex_attrib_1f ( GLuint  a,
GLfloat  b 
)

Definition at line 1101 of file rs_gl.cpp.

01102 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01103     glVertexAttrib1f(a, b);
01104     rs_check_error();
01105 }

void rs_gl_vertex_attrib_1fv ( GLuint  a,
const GLfloat *  b 
)

Definition at line 1107 of file rs_gl.cpp.

01108 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01109     glVertexAttrib1fv(a, b);
01110     rs_check_error();
01111 }

void rs_gl_vertex_attrib_1s ( GLuint  a,
GLshort  b 
)

Definition at line 1113 of file rs_gl.cpp.

01114 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01115     glVertexAttrib1s(a, b);
01116     rs_check_error();
01117 }

void rs_gl_vertex_attrib_1sv ( GLuint  a,
const GLshort *  b 
)

Definition at line 1119 of file rs_gl.cpp.

01120 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01121     glVertexAttrib1sv(a, b);
01122     rs_check_error();
01123 }

void rs_gl_vertex_attrib_2d ( GLuint  a,
GLdouble  b,
GLdouble  c 
)

Definition at line 1125 of file rs_gl.cpp.

01126 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01127     glVertexAttrib2d(a, b, c);
01128     rs_check_error();
01129 }

void rs_gl_vertex_attrib_2dv ( GLuint  a,
const GLdouble *  b 
)

Definition at line 1131 of file rs_gl.cpp.

01132 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01133     glVertexAttrib2dv(a, b);
01134     rs_check_error();
01135 }

void rs_gl_vertex_attrib_2f ( GLuint  a,
GLfloat  b,
GLfloat  c 
)

Definition at line 1137 of file rs_gl.cpp.

01138 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01139     glVertexAttrib2f(a, b, c);
01140     rs_check_error();
01141 }

void rs_gl_vertex_attrib_2fv ( GLuint  a,
const GLfloat *  b 
)

Definition at line 1143 of file rs_gl.cpp.

01144 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01145     glVertexAttrib2fv(a, b);
01146     rs_check_error();
01147 }

void rs_gl_vertex_attrib_2s ( GLuint  a,
GLshort  b,
GLshort  c 
)

Definition at line 1149 of file rs_gl.cpp.

01150 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01151     glVertexAttrib2s(a, b, c);
01152     rs_check_error();
01153 }

void rs_gl_vertex_attrib_2sv ( GLuint  a,
const GLshort *  b 
)

Definition at line 1155 of file rs_gl.cpp.

01156 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01157     glVertexAttrib2sv(a, b);
01158     rs_check_error();
01159 }

void rs_gl_vertex_attrib_3d ( GLuint  a,
GLdouble  b,
GLdouble  c,
GLdouble  d 
)

Definition at line 1161 of file rs_gl.cpp.

01162 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01163     glVertexAttrib3d(a, b, c, d);
01164     rs_check_error();
01165 }

void rs_gl_vertex_attrib_3dv ( GLuint  a,
const GLdouble *  b 
)

Definition at line 1167 of file rs_gl.cpp.

01168 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01169     glVertexAttrib3dv(a, b);
01170     rs_check_error();
01171 }

void rs_gl_vertex_attrib_3f ( GLuint  a,
GLfloat  b,
GLfloat  c,
GLfloat  d 
)

Definition at line 1173 of file rs_gl.cpp.

01174 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01175     glVertexAttrib3f(a, b, c, d);
01176     rs_check_error();
01177 }

void rs_gl_vertex_attrib_3fv ( GLuint  a,
const GLfloat *  b 
)

Definition at line 1179 of file rs_gl.cpp.

01180 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01181     glVertexAttrib3fv(a, b);
01182     rs_check_error();
01183 }

void rs_gl_vertex_attrib_3s ( GLuint  a,
GLshort  b,
GLshort  c,
GLshort  d 
)

Definition at line 1185 of file rs_gl.cpp.

01186 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01187     glVertexAttrib3s(a, b, c, d);
01188     rs_check_error();
01189 }

void rs_gl_vertex_attrib_3sv ( GLuint  a,
const GLshort *  b 
)

Definition at line 1191 of file rs_gl.cpp.

01192 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01193     glVertexAttrib3sv(a, b);
01194     rs_check_error();
01195 }

void rs_gl_vertex_attrib_4Nbv ( GLuint  a,
const GLbyte *  b 
)

Definition at line 1197 of file rs_gl.cpp.

01198 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01199     glVertexAttrib4Nbv(a, b);
01200     rs_check_error();
01201 }

void rs_gl_vertex_attrib_4Niv ( GLuint  a,
const GLint *  b 
)

Definition at line 1203 of file rs_gl.cpp.

01204 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01205     glVertexAttrib4Niv(a, b);
01206     rs_check_error();
01207 }

void rs_gl_vertex_attrib_4Nsv ( GLuint  a,
const GLshort *  b 
)

Definition at line 1209 of file rs_gl.cpp.

01210 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01211     glVertexAttrib4Nsv(a, b);
01212     rs_check_error();
01213 }

void rs_gl_vertex_attrib_4Nub ( GLuint  a,
GLubyte  b,
GLubyte  c,
GLubyte  d,
GLubyte  e 
)

Definition at line 1215 of file rs_gl.cpp.

01216 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01217     glVertexAttrib4Nub(a, b, c, d, e);
01218     rs_check_error();
01219 }

void rs_gl_vertex_attrib_4Nubv ( GLuint  a,
const GLubyte *  b 
)

Definition at line 1221 of file rs_gl.cpp.

01222 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01223     glVertexAttrib4Nubv(a, b);
01224     rs_check_error();
01225 }

void rs_gl_vertex_attrib_4Nuiv ( GLuint  a,
const GLuint *  b 
)

Definition at line 1227 of file rs_gl.cpp.

01228 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01229     glVertexAttrib4Nuiv(a, b);
01230     rs_check_error();
01231 }

void rs_gl_vertex_attrib_4Nusv ( GLuint  a,
const GLushort *  b 
)

Definition at line 1233 of file rs_gl.cpp.

01234 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01235     glVertexAttrib4Nusv(a, b);
01236     rs_check_error();
01237 }

void rs_gl_vertex_attrib_4bv ( GLuint  a,
const GLbyte *  b 
)

Definition at line 1239 of file rs_gl.cpp.

01240 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01241     glVertexAttrib4bv(a, b);
01242     rs_check_error();
01243 }

void rs_gl_vertex_attrib_4d ( GLuint  a,
GLdouble  b,
GLdouble  c,
GLdouble  d,
GLdouble  e 
)

Definition at line 1245 of file rs_gl.cpp.

01246 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01247     glVertexAttrib4d(a, b, c, d, e);
01248     rs_check_error();
01249 }

void rs_gl_vertex_attrib_4dv ( GLuint  a,
const GLdouble *  b 
)

Definition at line 1251 of file rs_gl.cpp.

01252 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01253     glVertexAttrib4dv(a, b);
01254     rs_check_error();
01255 }

void rs_gl_vertex_attrib_4f ( GLuint  a,
GLfloat  b,
GLfloat  c,
GLfloat  d,
GLfloat  e 
)

Definition at line 1257 of file rs_gl.cpp.

01258 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01259     glVertexAttrib4f(a, b, c, d, e);
01260     rs_check_error();
01261 }

void rs_gl_vertex_attrib_4fv ( GLuint  a,
const GLfloat *  b 
)

Definition at line 1263 of file rs_gl.cpp.

01264 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01265     glVertexAttrib4fv(a, b);
01266     rs_check_error();
01267 }

void rs_gl_vertex_attrib_4iv ( GLuint  a,
const GLint *  b 
)

Definition at line 1269 of file rs_gl.cpp.

01270 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01271     glVertexAttrib4iv(a, b);
01272     rs_check_error();
01273 }

void rs_gl_vertex_attrib_4s ( GLuint  a,
GLshort  b,
GLshort  c,
GLshort  d,
GLshort  e 
)

Definition at line 1275 of file rs_gl.cpp.

01276 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01277     glVertexAttrib4s(a, b, c, d, e);
01278     rs_check_error();
01279 }

void rs_gl_vertex_attrib_4sv ( GLuint  a,
const GLshort *  b 
)

Definition at line 1281 of file rs_gl.cpp.

01282 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01283     glVertexAttrib4sv(a, b);
01284     rs_check_error();
01285 }

void rs_gl_vertex_attrib_4ubv ( GLuint  a,
const GLubyte *  b 
)

Definition at line 1287 of file rs_gl.cpp.

01288 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01289     glVertexAttrib4ubv(a, b);
01290     rs_check_error();
01291 }

void rs_gl_vertex_attrib_4uiv ( GLuint  a,
const GLuint *  b 
)

Definition at line 1293 of file rs_gl.cpp.

01294 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01295     glVertexAttrib4uiv(a, b);
01296     rs_check_error();
01297 }

void rs_gl_vertex_attrib_4usv ( GLuint  a,
const GLushort *  b 
)

Definition at line 1299 of file rs_gl.cpp.

01300 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01301     glVertexAttrib4usv(a, b);
01302     rs_check_error();
01303 }

void rs_gl_vertex_attrib_pointer ( GLuint  a,
GLint  b,
GLenum  c,
GLboolean  d,
GLsizei  e,
const GLvoid *  f 
)

Definition at line 1305 of file rs_gl.cpp.

01306 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01307     glVertexAttribPointer(a, b, c, d, e, f);
01308     rs_check_error();
01309 }

void rs_gl_uniform_matrix_2x3fv ( GLint  a,
GLsizei  b,
GLboolean  c,
const GLfloat *  d 
)

Definition at line 1312 of file rs_gl.cpp.

01313 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01314     glUniformMatrix2x3fv(a, b, c, d);
01315     rs_check_error();
01316 }

void rs_gl_uniform_matrix_3x2fv ( GLint  a,
GLsizei  b,
GLboolean  c,
const GLfloat *  d 
)

Definition at line 1318 of file rs_gl.cpp.

01319 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01320     glUniformMatrix3x2fv(a, b, c, d);
01321     rs_check_error();
01322 }

void rs_gl_niform_matrix_2x4fv ( GLint  a,
GLsizei  b,
GLboolean  c,
const GLfloat *  d 
)

Definition at line 1324 of file rs_gl.cpp.

01325 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01326     glUniformMatrix2x4fv(a, b, c, d);
01327     rs_check_error();
01328 }

void rs_gl_uniform_matrix_4x2fv ( GLint  a,
GLsizei  b,
GLboolean  c,
const GLfloat *  d 
)

Definition at line 1330 of file rs_gl.cpp.

01331 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01332     glUniformMatrix4x2fv(a, b, c, d);
01333     rs_check_error();
01334 }

void rs_gl_uniform_matrix_fv ( GLint  a,
GLsizei  b,
GLboolean  c,
const GLfloat *  d 
)
void rs_gl_color_mask_i ( GLuint  a,
GLboolean  b,
GLboolean  c,
GLboolean  d,
GLboolean  e 
)

Definition at line 1350 of file rs_gl.cpp.

01351 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01352     glColorMaski(a, b, c, d, e);
01353     rs_check_error();
01354 }

void rs_gl_get_boolean_i_v ( GLenum  a,
GLuint  b,
GLboolean *  c 
)

Definition at line 1356 of file rs_gl.cpp.

01357 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01358     glGetBooleani_v(a, b, c);
01359     rs_check_error();
01360 }

void rs_gl_get_integer_i_v ( GLenum  a,
GLuint  b,
GLint *  c 
)

Definition at line 1362 of file rs_gl.cpp.

01363 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01364     glGetIntegeri_v(a, b, c);
01365     rs_check_error();
01366 }

void rs_gl_enable_i ( GLenum  a,
GLuint  b 
)

Definition at line 1368 of file rs_gl.cpp.

01369 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01370     glEnablei(a, b);
01371     rs_check_error();
01372 }

void rs_gl_disable_i ( GLenum  a,
GLuint  b 
)

Definition at line 1374 of file rs_gl.cpp.

01375 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01376     glDisablei(a, b);
01377     rs_check_error();
01378 }

GLboolean rs_gl_is_enabled_i ( GLenum  a,
GLuint  b 
)

Definition at line 1380 of file rs_gl.cpp.

01381 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01382     GLboolean res = glIsEnabledi(a, b);
01383     rs_check_error();
01384     return res;
01385 }

void rs_gl_begin_transform_feedback ( GLenum  a  ) 

Definition at line 1387 of file rs_gl.cpp.

01388 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01389     glBeginTransformFeedback(a);
01390     rs_check_error();
01391 }

void rs_gl_end_transform_feedback ( void   ) 

Definition at line 1393 of file rs_gl.cpp.

01394 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01395     glEndTransformFeedback();
01396     rs_check_error();
01397 }

void rs_gl_bind_buffer_range ( GLenum  a,
GLuint  b,
GLuint  c,
GLintptr  d,
GLsizeiptr  e 
)

Definition at line 1399 of file rs_gl.cpp.

01400 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01401     glBindBufferRange(a, b, c, d, e);
01402     rs_check_error();
01403 }

void rs_gl_bind_buffer_base ( GLenum  a,
GLuint  b,
GLuint  c 
)

Definition at line 1405 of file rs_gl.cpp.

01406 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01407     glBindBufferBase(a, b, c);
01408     rs_check_error();
01409 }

void rs_gl_transform_feedback_varyings ( GLuint  a,
GLsizei  b,
const GLchar **  c,
GLenum  d 
)

Definition at line 1411 of file rs_gl.cpp.

01412 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01413     glTransformFeedbackVaryings(a, b, c, d);
01414     rs_check_error();
01415 }

void rs_gl_get_transform_feedback_varying ( GLuint  a,
GLuint  b,
GLsizei  c,
GLsizei *  d,
GLsizei *  e,
GLenum *  f,
GLchar *  g 
)

Definition at line 1417 of file rs_gl.cpp.

01418 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01419     glGetTransformFeedbackVarying(a, b, c, d, e, f, g);
01420     rs_check_error();
01421 }

void rs_gl_clamp_color ( GLenum  a,
GLenum  b 
)

Definition at line 1423 of file rs_gl.cpp.

01424 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01425     glClampColor(a, b);
01426     rs_check_error();
01427 }

void rs_gl_begin_conditional_render ( GLuint  a,
GLenum  b 
)

Definition at line 1429 of file rs_gl.cpp.

01430 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01431     glBeginConditionalRender(a, b);
01432     rs_check_error();
01433 }

void rs_gl_end_conditional_render ( void   ) 

Definition at line 1435 of file rs_gl.cpp.

01436 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01437     glEndConditionalRender();
01438     rs_check_error();
01439 }

void rs_gl_vertex_attrib_i_pointer ( GLuint  a,
GLint  b,
GLenum  c,
GLsizei  d,
const GLvoid *  e 
)

Definition at line 1441 of file rs_gl.cpp.

01442 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01443     glVertexAttribIPointer(a, b, c, d, e);
01444     rs_check_error();
01445 }

void rs_gl_get_vertex_attrib_iiv ( GLuint  a,
GLenum  b,
GLint *  c 
)

Definition at line 1447 of file rs_gl.cpp.

01448 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01449     glGetVertexAttribIiv(a, b, c);
01450     rs_check_error();
01451 }

void rs_gl_get_vertex_attrib_iuiv ( GLuint  a,
GLenum  b,
GLuint *  c 
)

Definition at line 1453 of file rs_gl.cpp.

01454 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01455     glGetVertexAttribIuiv(a, b, c);
01456     rs_check_error();
01457 }

void rs_gl_vertex_attrib_i1i ( GLuint  a,
GLint  b 
)

Definition at line 1459 of file rs_gl.cpp.

01460 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01461     glVertexAttribI1i(a, b);
01462     rs_check_error();
01463 }

void rs_gl_vertex_attrib_i2i ( GLuint  a,
GLint  b,
GLint  c 
)

Definition at line 1465 of file rs_gl.cpp.

01466 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01467     glVertexAttribI2i(a, b, c);
01468     rs_check_error();
01469 }

void rs_gl_vertex_attrib_i3i ( GLuint  a,
GLint  b,
GLint  c,
GLint  d 
)

Definition at line 1471 of file rs_gl.cpp.

01472 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01473     glVertexAttribI3i(a, b, c, d);
01474     rs_check_error();
01475 }

void rs_gl_vertex_attrib_i4i ( GLuint  a,
GLint  b,
GLint  c,
GLint  d,
GLint  e 
)

Definition at line 1477 of file rs_gl.cpp.

01478 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01479     glVertexAttribI4i(a, b, c, d, e);
01480     rs_check_error();
01481 }

void rs_gl_vertex_attrib_i1ui ( GLuint  a,
GLuint  b 
)

Definition at line 1483 of file rs_gl.cpp.

01484 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01485     glVertexAttribI1ui(a, b);
01486     rs_check_error();
01487 }

void rs_gl_vertex_attrib_i2ui ( GLuint  a,
GLuint  b,
GLuint  c 
)

Definition at line 1489 of file rs_gl.cpp.

01490 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01491     glVertexAttribI2ui(a, b, c);
01492     rs_check_error();
01493 }

void rs_gl_vertex_attrib_i3ui ( GLuint  a,
GLuint  b,
GLuint  c,
GLuint  d 
)

Definition at line 1495 of file rs_gl.cpp.

01496 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01497     glVertexAttribI3ui(a, b, c, d);
01498     rs_check_error();
01499 }

void rs_gl_vertex_attrib_i4ui ( GLuint  a,
GLuint  b,
GLuint  c,
GLuint  d,
GLuint  e 
)

Definition at line 1501 of file rs_gl.cpp.

01502 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01503     glVertexAttribI4ui(a, b, c, d, e);
01504     rs_check_error();
01505 }

void rs_gl_vertex_attrib_i1iv ( GLuint  a,
const GLint *  b 
)

Definition at line 1507 of file rs_gl.cpp.

01508 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01509     glVertexAttribI1iv(a, b);
01510     rs_check_error();
01511 }

void rs_gl_vertex_attrib_i2iv ( GLuint  a,
const GLint *  b 
)

Definition at line 1513 of file rs_gl.cpp.

01514 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01515     glVertexAttribI2iv(a, b);
01516     rs_check_error();
01517 }

void rs_gl_vertex_attrib_i3iv ( GLuint  a,
const GLint *  b 
)

Definition at line 1519 of file rs_gl.cpp.

01520 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01521     glVertexAttribI3iv(a, b);
01522     rs_check_error();
01523 }

void rs_gl_vertex_attrib_i4iv ( GLuint  a,
const GLint *  b 
)

Definition at line 1525 of file rs_gl.cpp.

01526 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01527     glVertexAttribI4iv(a, b);
01528     rs_check_error();
01529 }

void rs_gl_vertex_attrib_i1uiv ( GLuint  a,
const GLuint *  b 
)

Definition at line 1531 of file rs_gl.cpp.

01532 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01533     glVertexAttribI1uiv(a, b);
01534     rs_check_error();
01535 }

void rs_gl_vertex_attrib_i2uiv ( GLuint  a,
const GLuint *  b 
)

Definition at line 1537 of file rs_gl.cpp.

01538 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01539     glVertexAttribI2uiv(a, b);
01540     rs_check_error();
01541 }

void rs_gl_vertex_attrib_i3uiv ( GLuint  a,
const GLuint *  b 
)

Definition at line 1543 of file rs_gl.cpp.

01544 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01545     glVertexAttribI3uiv(a, b);
01546     rs_check_error();
01547 }

void rs_gl_vertex_attrib_i4uiv ( GLuint  a,
const GLuint *  b 
)

Definition at line 1549 of file rs_gl.cpp.

01550 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01551     glVertexAttribI4uiv(a, b);
01552     rs_check_error();
01553 }

void rs_gl_vertex_attrib_i4bv ( GLuint  a,
const GLbyte *  b 
)

Definition at line 1555 of file rs_gl.cpp.

01556 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01557     glVertexAttribI4bv(a, b);
01558     rs_check_error();
01559 }

void rs_gl_vertex_attrib_i4sv ( GLuint  a,
const GLshort *  b 
)

Definition at line 1561 of file rs_gl.cpp.

01562 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01563     glVertexAttribI4sv(a, b);
01564     rs_check_error();
01565 }

void rs_gl_vertex_attrib_i4ubv ( GLuint  a,
const GLubyte *  b 
)

Definition at line 1567 of file rs_gl.cpp.

01568 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01569     glVertexAttribI4ubv(a, b);
01570     rs_check_error();
01571 }

void rs_gl_vertex_attrib_i4usv ( GLuint  a,
const GLushort *  b 
)

Definition at line 1573 of file rs_gl.cpp.

01574 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01575     glVertexAttribI4usv(a, b);
01576     rs_check_error();
01577 }

void rs_gl_get_uniform_uiv ( GLuint  a,
GLint  b,
GLuint *  c 
)

Definition at line 1579 of file rs_gl.cpp.

01580 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01581     glGetUniformuiv(a, b, c);
01582     rs_check_error();
01583 }

void rs_gl_bind_frag_data_location ( GLuint  a,
GLuint  b,
const GLchar *  c 
)

Definition at line 1585 of file rs_gl.cpp.

01586 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01587     glBindFragDataLocation(a, b, c);
01588     rs_check_error();
01589 }

GLint rs_gl_get_frag_data_location ( GLuint  a,
const GLchar *  b 
)

Definition at line 1591 of file rs_gl.cpp.

01592 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01593     GLint res = glGetFragDataLocation(a, b);
01594     rs_check_error();
01595     return res;
01596 }

void rs_gl_uniform_1ui ( GLint  a,
GLuint  b 
)

Definition at line 1598 of file rs_gl.cpp.

01599 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01600     glUniform1ui(a, b);
01601     rs_check_error();
01602 }

void rs_gl_uniform_2ui ( GLint  a,
GLuint  b,
GLuint  c 
)

Definition at line 1604 of file rs_gl.cpp.

01605 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01606     glUniform2ui(a, b, c);
01607     rs_check_error();
01608 }

void rs_gl_uniform_3ui ( GLint  a,
GLuint  b,
GLuint  c,
GLuint  d 
)

Definition at line 1610 of file rs_gl.cpp.

01611 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01612     glUniform3ui(a, b, c, d);
01613     rs_check_error();
01614 }

void rs_gl_uniform_4ui ( GLint  a,
GLuint  b,
GLuint  c,
GLuint  d,
GLuint  e 
)

Definition at line 1616 of file rs_gl.cpp.

01617 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01618     glUniform4ui(a, b, c, d, e);
01619     rs_check_error();
01620 }

void rs_gl_uniform_1uiv ( GLint  a,
GLsizei  b,
const GLuint *  c 
)

Definition at line 1622 of file rs_gl.cpp.

01623 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01624     glUniform1uiv(a, b, c);
01625     rs_check_error();
01626 }

void rs_gl_uniform_2uiv ( GLint  a,
GLsizei  b,
const GLuint *  c 
)

Definition at line 1628 of file rs_gl.cpp.

01629 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01630     glUniform2uiv(a, b, c);
01631     rs_check_error();
01632 }

void rs_gl_uniform_3uiv ( GLint  a,
GLsizei  b,
const GLuint *  c 
)

Definition at line 1634 of file rs_gl.cpp.

01635 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01636     glUniform3uiv(a, b, c);
01637     rs_check_error();
01638 }

void rs_gl_uniform_4uiv ( GLint  a,
GLsizei  b,
const GLuint *  c 
)

Definition at line 1640 of file rs_gl.cpp.

01641 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01642     glUniform4uiv(a, b, c);
01643     rs_check_error();
01644 }

void rs_gl_tex_parameter_iiv ( GLenum  a,
GLenum  b,
const GLint *  c 
)

Definition at line 1646 of file rs_gl.cpp.

01647 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01648     glTexParameterIiv(a, b, c);
01649     rs_check_error();
01650 }

void rs_gl_tex_parameter_iuiv ( GLenum  a,
GLenum  b,
const GLuint *  c 
)

Definition at line 1652 of file rs_gl.cpp.

01653 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01654     glTexParameterIuiv(a, b, c);
01655     rs_check_error();
01656 }

void rs_gl_get_tex_parameter_iiv ( GLenum  a,
GLenum  b,
GLint *  c 
)

Definition at line 1658 of file rs_gl.cpp.

01659 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01660     glGetTexParameterIiv(a, b, c);
01661     rs_check_error();
01662 }

void rs_gl_get_tex_parameter_iuiv ( GLenum  a,
GLenum  b,
GLuint *  c 
)

Definition at line 1664 of file rs_gl.cpp.

01665 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01666     glGetTexParameterIuiv(a, b, c);
01667     rs_check_error();
01668 }

void rs_gl_clear_buffer_iv ( GLenum  a,
GLint  b,
const GLint *  c 
)

Definition at line 1670 of file rs_gl.cpp.

01671 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01672     glClearBufferiv(a, b, c);
01673     rs_check_error();
01674 }

void rs_gl_clear_buffer_uiv ( GLenum  a,
GLint  b,
const GLuint *  c 
)

Definition at line 1676 of file rs_gl.cpp.

01677 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01678     glClearBufferuiv(a, b, c);
01679     rs_check_error();
01680 }

void rs_gl_clear_buffer_fv ( GLenum  a,
GLint  b,
const GLfloat *  c 
)

Definition at line 1682 of file rs_gl.cpp.

01683 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01684     glClearBufferfv(a, b, c);
01685     rs_check_error();
01686 }

void rs_gl_clear_buffer_fi ( GLenum  a,
GLint  b,
GLfloat  c,
GLint  d 
)

Definition at line 1688 of file rs_gl.cpp.

01689 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01690     glClearBufferfi(a, b, c, d);
01691     rs_check_error();
01692 }

const GLubyte * rs_gl_get_string_i ( GLenum  a,
GLuint  b 
)

Definition at line 1694 of file rs_gl.cpp.

01695 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01696     const GLubyte * res = glGetStringi(a, b);
01697     rs_check_error();
01698     return res;
01699 }

void rs_gl_draw_arrays_instanced ( GLenum  a,
GLint  b,
GLsizei  c,
GLsizei  d 
)

Definition at line 1703 of file rs_gl.cpp.

01704 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01705     glDrawArraysInstanced(a, b, c, d);
01706     rs_check_error();
01707 }

void rs_gl_draw_elements_instanced ( GLenum  a,
GLsizei  b,
GLenum  c,
const GLvoid *  d,
GLsizei  e 
)

Definition at line 1709 of file rs_gl.cpp.

01710 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01711     glDrawElementsInstanced(a, b, c, d, e);
01712     rs_check_error();
01713 }

void rs_gl_tex_buffer ( GLenum  a,
GLenum  b,
GLuint  c 
)

Definition at line 1715 of file rs_gl.cpp.

01716 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01717     glTexBuffer(a, b, c);
01718     rs_check_error();
01719 }

void rs_gl_primitive_restart_index ( GLuint  a  ) 

Definition at line 1721 of file rs_gl.cpp.

01722 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01723     glPrimitiveRestartIndex(a);
01724     rs_check_error();
01725 }

void rs_gl_get_integer_64i_v ( GLenum  a,
GLuint  b,
GLint64 *  c 
)

Definition at line 1729 of file rs_gl.cpp.

01730 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01731     glGetInteger64i_v(a, b, c);
01732     rs_check_error();
01733 }

void rs_gl_get_buffer_parameter_i64v ( GLenum  a,
GLenum  b,
GLint64 *  c 
)

Definition at line 1735 of file rs_gl.cpp.

01736 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01737     glGetBufferParameteri64v(a, b, c);
01738     rs_check_error();
01739 }

void rs_gl_program_parameter_i ( GLuint  a,
GLenum  b,
GLint  c 
)

Definition at line 1741 of file rs_gl.cpp.

01742 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01743     glProgramParameteri(a, b, c);
01744     rs_check_error();
01745 }

void rs_gl_framebuffer_texture ( GLenum  a,
GLenum  b,
GLuint  c,
GLint  d 
)

Definition at line 1747 of file rs_gl.cpp.

01748 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01749     glFramebufferTexture(a, b, c, d);
01750     rs_check_error();
01751 }

void rs_gl_framebuffer_texture_face ( GLenum  a,
GLenum  b,
GLuint  c,
GLint  d,
GLenum  e 
)

Definition at line 1753 of file rs_gl.cpp.

01754 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01755     glFramebufferTextureFace(a, b, c, d, e);
01756     rs_check_error();
01757 }

GLboolean rs_gl_is_renderbuffer ( GLuint  a  ) 

Definition at line 1761 of file rs_gl.cpp.

01762 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01763     GLboolean res = glIsRenderbuffer(a);
01764     rs_check_error();
01765     return res;
01766 }

void rs_gl_bind_renderbuffer ( GLenum  a,
GLuint  b 
)

Definition at line 1768 of file rs_gl.cpp.

01769 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01770     glBindRenderbuffer(a, b);
01771     rs_check_error();
01772 }

void rs_gl_delete_renderbuffers ( GLsizei  a,
const GLuint *  b 
)

Definition at line 1774 of file rs_gl.cpp.

01775 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01776     glDeleteRenderbuffers(a, b);
01777     rs_check_error();
01778 }

void rs_gl_gen_renderbuffers ( GLsizei  a,
GLuint *  b 
)

Definition at line 1780 of file rs_gl.cpp.

01781 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01782     glGenRenderbuffers(a, b);
01783     rs_check_error();
01784 }

void rs_gl_renderbuffer_storage ( GLenum  a,
GLenum  b,
GLsizei  c,
GLsizei  d 
)

Definition at line 1786 of file rs_gl.cpp.

01787 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01788     glRenderbufferStorage(a, b, c, d);
01789     rs_check_error();
01790 }

void rs_gl_get_renderbuffer_parameter_iv ( GLenum  a,
GLenum  b,
GLint *  c 
)

Definition at line 1792 of file rs_gl.cpp.

01793 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01794     glGetRenderbufferParameteriv(a, b, c);
01795     rs_check_error();
01796 }

GLboolean rs_gl_is_framebuffer ( GLuint  a  ) 

Definition at line 1798 of file rs_gl.cpp.

01799 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01800     GLboolean res = glIsFramebuffer(a);
01801     rs_check_error();
01802     return res;
01803 }

void rs_gl_bind_framebuffer ( GLenum  a,
GLuint  b 
)

Definition at line 1805 of file rs_gl.cpp.

01806 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01807     glBindFramebuffer(a, b);
01808     rs_check_error();
01809 }

void rs_gl_delete_framebuffers ( GLsizei  a,
const GLuint *  b 
)

Definition at line 1811 of file rs_gl.cpp.

01812 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01813     glDeleteFramebuffers(a, b);
01814     rs_check_error();
01815 }

void rs_gl_gen_framebuffers ( GLsizei  a,
GLuint *  b 
)

Definition at line 1817 of file rs_gl.cpp.

01818 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01819     glGenFramebuffers(a, b);
01820     rs_check_error();
01821 }

GLenum rs_gl_check_framebuffer_status ( GLenum  a  ) 

Definition at line 1823 of file rs_gl.cpp.

01824 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01825     GLenum res = glCheckFramebufferStatus(a);
01826     rs_check_error();
01827     return res;
01828 }

void rs_gl_framebuffer_rexture_1d ( GLenum  a,
GLenum  b,
GLenum  c,
GLuint  d,
GLint  e 
)

Definition at line 1830 of file rs_gl.cpp.

01831 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01832     glFramebufferTexture1D(a, b, c, d, e);
01833     rs_check_error();
01834 }

void rs_gl_framebuffer_texture_2d ( GLenum  a,
GLenum  b,
GLenum  c,
GLuint  d,
GLint  e 
)

Definition at line 1836 of file rs_gl.cpp.

01837 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01838     glFramebufferTexture2D(a, b, c, d, e);
01839     rs_check_error();
01840 }

void rs_gl_framebuffer_texture_3d ( GLenum  a,
GLenum  b,
GLenum  c,
GLuint  d,
GLint  e,
GLint  f 
)

Definition at line 1842 of file rs_gl.cpp.

01843 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01844     glFramebufferTexture3D(a, b, c, d, e, f);
01845     rs_check_error();
01846 }

void rs_gl_framebuffer_renderbuffer ( GLenum  a,
GLenum  b,
GLenum  c,
GLuint  d 
)

Definition at line 1848 of file rs_gl.cpp.

01849 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01850     glFramebufferRenderbuffer(a, b, c, d);
01851     rs_check_error();
01852 }

void rs_gl_get_framebuffer_attachment_parameter_iv ( GLenum  a,
GLenum  b,
GLenum  c,
GLint *  d 
)

Definition at line 1854 of file rs_gl.cpp.

01855 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01856     glGetFramebufferAttachmentParameteriv(a, b, c, d);
01857     rs_check_error();
01858 }

void rs_gl_generate_mipmap ( GLenum  a  ) 

Definition at line 1860 of file rs_gl.cpp.

01861 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01862     glGenerateMipmap(a);
01863     rs_check_error();
01864 }

void rs_gl_blit_framebuffer ( GLint  a,
GLint  b,
GLint  c,
GLint  d,
GLint  e,
GLint  f,
GLint  g,
GLint  h,
GLbitfield  i,
GLenum  j 
)

Definition at line 1866 of file rs_gl.cpp.

01867 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01868     glBlitFramebuffer(a, b, c, d, e, f, g, h, i, j);
01869     rs_check_error();
01870 }

void rs_gl_renderbuffer_storage_multisample ( GLenum  a,
GLsizei  b,
GLenum  c,
GLsizei  d,
GLsizei  e 
)

Definition at line 1872 of file rs_gl.cpp.

01873 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01874     glRenderbufferStorageMultisample(a, b, c, d, e);
01875     rs_check_error();
01876 }

void rs_gl_framebuffer_texture_layer ( GLenum  a,
GLenum  b,
GLuint  c,
GLint  d,
GLint  e 
)

Definition at line 1878 of file rs_gl.cpp.

01879 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01880     glFramebufferTextureLayer(a, b, c, d, e);
01881     rs_check_error();
01882 }

GLvoid * rs_gl_map_buffer_range ( GLenum  a,
GLintptr  b,
GLsizeiptr  c,
GLbitfield  d 
)

Definition at line 1885 of file rs_gl.cpp.

01886 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01887     GLvoid* res = glMapBufferRange(a, b, c, d);
01888     rs_check_error();
01889     return res;
01890 }

void rs_gl_flush_mapped_buffer_range ( GLenum  a,
GLintptr  b,
GLsizeiptr  c 
)

Definition at line 1892 of file rs_gl.cpp.

01893 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01894     glFlushMappedBufferRange(a, b, c);
01895     rs_check_error();
01896 }

void rs_gl_bind_vertex_array ( GLuint  a  ) 

Definition at line 1899 of file rs_gl.cpp.

01900 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01901     glBindVertexArray(a);
01902     rs_check_error();
01903 }

void rs_gl_delete_vertex_arrays ( GLsizei  a,
const GLuint *  b 
)

Definition at line 1905 of file rs_gl.cpp.

01906 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01907     glDeleteVertexArrays(a, b);
01908     rs_check_error();
01909 }

void rs_gl_gen_vertex_arrays ( GLsizei  a,
GLuint *  b 
)

Definition at line 1911 of file rs_gl.cpp.

01912 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01913     glGenVertexArrays(a, b);
01914     rs_check_error();
01915 }

GLboolean rs_gl_is_vertex_array ( GLuint  a  ) 

Definition at line 1917 of file rs_gl.cpp.

01918 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01919     GLboolean res = glIsVertexArray(a);
01920     rs_check_error();
01921     return res;
01922 }

void rs_gl_copy_buffer_sub_data ( GLenum  a,
GLenum  b,
GLintptr  c,
GLintptr  d,
GLsizeiptr  e 
)

Definition at line 1927 of file rs_gl.cpp.

01928 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01929     glCopyBufferSubData(a, b, c, d, e);
01930     rs_check_error();
01931 }

void rs_gl_draw_elements_base_vertex ( GLenum  a,
GLsizei  b,
GLenum  c,
const GLvoid *  d,
GLint  e 
)

Definition at line 1937 of file rs_gl.cpp.

01938 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01939     glDrawElementsBaseVertex(a, b, c, d, e);
01940     rs_check_error();
01941 }

void rs_gl_draw_range_elements_base_vertex ( GLenum  a,
GLuint  b,
GLuint  c,
GLsizei  d,
GLenum  e,
const GLvoid *  f,
GLint  g 
)

Definition at line 1943 of file rs_gl.cpp.

01944 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01945     glDrawRangeElementsBaseVertex(a, b, c, d, e, f, g);
01946     rs_check_error();
01947 }

void rs_gl_draw_elements_instanced_base_vertex ( GLenum  a,
GLsizei  b,
GLenum  c,
const GLvoid *  d,
GLsizei  e,
GLint  f 
)

Definition at line 1949 of file rs_gl.cpp.

01950 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01951     glDrawElementsInstancedBaseVertex(a, b, c, d, e, f);
01952     rs_check_error();
01953 }

void rs_gl_multi_draw_elements_base_vertex ( GLenum  a,
const GLsizei *  b,
GLenum  c,
const GLvoid **  d,
GLsizei  e,
const GLint *  f 
)

Definition at line 1955 of file rs_gl.cpp.

01956 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01957     glMultiDrawElementsBaseVertex(a, b, c, d, e, f);
01958     rs_check_error();
01959 }

void rs_gl_provoking_vertex ( GLenum  a  ) 

Definition at line 1962 of file rs_gl.cpp.

01963 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01964     glProvokingVertex(a);
01965     rs_check_error();
01966 }

GLsync rs_gl_fence_sync ( GLenum  a,
GLbitfield  b 
)

Definition at line 1969 of file rs_gl.cpp.

01970 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01971     GLsync res = glFenceSync(a, b);
01972     rs_check_error();
01973     return res;
01974 }

GLboolean rs_gl_is_sync ( GLsync  a  ) 

Definition at line 1976 of file rs_gl.cpp.

01977 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01978     GLboolean res = glIsSync(a);
01979     rs_check_error();
01980     return res;
01981 }

void rs_gl_delete_sync ( GLsync  a  ) 

Definition at line 1983 of file rs_gl.cpp.

01984 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01985     glDeleteSync(a);
01986     rs_check_error();
01987 }

GLenum rs_gl_client_wait_sync ( GLsync  a,
GLbitfield  b,
GLuint64  c 
)

Definition at line 1989 of file rs_gl.cpp.

01990 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01991     GLenum res = glClientWaitSync(a, b, c);
01992     rs_check_error();
01993     return res;
01994 }

void rs_gl_wait_sync ( GLsync  a,
GLbitfield  b,
GLuint64  c 
)

Definition at line 1996 of file rs_gl.cpp.

01997 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01998     glWaitSync(a, b, c);
01999     rs_check_error();
02000 }

void rs_gl_get_integer_64v ( GLenum  a,
GLint64 *  b 
)

Definition at line 2002 of file rs_gl.cpp.

02003 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
02004     glGetInteger64v(a, b);
02005     rs_check_error();
02006 }

void rs_gl_get_sync_iv ( GLsync  a,
GLenum  b,
GLsizei  c,
GLsizei *  d,
GLint *  e 
)

Definition at line 2008 of file rs_gl.cpp.

02009 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
02010     glGetSynciv(a, b, c, d, e);
02011     rs_check_error();
02012 }

void rs_gl_tex_image_2d_multisample ( GLenum  a,
GLsizei  b,
GLint  c,
GLsizei  d,
GLsizei  e,
GLboolean  f 
)

Definition at line 2015 of file rs_gl.cpp.

02016 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
02017     glTexImage2DMultisample(a, b, c, d, e, f);
02018     rs_check_error();
02019 }

void rs_gl_tex_image_3d_multisample ( GLenum  a,
GLsizei  b,
GLint  c,
GLsizei  d,
GLsizei  e,
GLsizei  f,
GLboolean  g 
)

Definition at line 2021 of file rs_gl.cpp.

02022 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
02023     glTexImage3DMultisample(a, b, c, d, e, f, g);
02024     rs_check_error();
02025 }

void rs_gl_get_multisample_fv ( GLenum  a,
GLuint  b,
GLfloat *  c 
)

Definition at line 2027 of file rs_gl.cpp.

02028 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
02029     glGetMultisamplefv(a, b, c);
02030     rs_check_error();
02031 }

void rs_gl_sample_mask_i ( GLuint  a,
GLbitfield  b 
)

Definition at line 2033 of file rs_gl.cpp.

02034 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
02035     glSampleMaski(a, b);
02036     rs_check_error();
02037 }

void rs_log_gl_function ( char const *  a  ) 

Definition at line 40 of file rs_gl.cpp.

00041 {
00042     rs_log("%s\n", a);
00043 }

void rs_gl_uniform_matrix_3x4fv ( GLint  a,
GLsizei  b,
GLboolean  c,
const GLfloat *  d 
)

Definition at line 1336 of file rs_gl.cpp.

01337 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01338     glUniformMatrix3x4fv(a, b, c, d);
01339     rs_check_error();
01340 }

void rs_gl_uniform_matrix_4x3fv ( GLint  a,
GLsizei  b,
GLboolean  c,
const GLfloat *  d 
)

Definition at line 1342 of file rs_gl.cpp.

01343 {   RS_LOG_GL_FUNCTION(__FUNCTION__);
01344     glUniformMatrix4x3fv(a, b, c, d);
01345     rs_check_error();
01346 }

Generated on Sun Apr 11 12:23:11 2010 for RenderStack by  doxygen 1.6.3