Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

tests.c File Reference

#include <stdlib.h>
#include <string.h>
#include <SDL.h>
#include <GL/gl.h>
#include <GL/glext.h>
#include "re.h"
#include "regl.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

Include dependency graph for tests.c:


Defines

#define TEST_PROLOGUE   redirect_output(__FUNCTION__)
#define TEST_EPILOGUE   close_output()
#define __(a)   a, #a
#define TEXTURE_WIDTH   16
#define TEXTURE_HEIGHT   16
#define TEXTURE_WIDTH   64
#define TEXTURE_HEIGHT   64
#define TEXTURE_WIDTH   70
#define TEXTURE_HEIGHT   60
#define TEXTURE_WIDTH   16
#define TEXTURE_HEIGHT   16
#define TEXTURE_WIDTH   16
#define TEXTURE_HEIGHT   16
#define TEXTURE_DEPTH   16
#define TEXTURE_WIDTH   16
#define TEXTURE_HEIGHT   16
#define TEXTURE_WIDTH   16
#define TEXTURE_HEIGHT   16
#define TEXTURE_WIDTH   16
#define TEXTURE_HEIGHT   16
#define TEXTURE_WIDTH   16
#define TEXTURE_HEIGHT   16
#define TEXTURE_WIDTH   16
#define TEXTURE_HEIGHT   16

Functions

void tri ()
void tex_tri ()
void test_default (void)
void * create_random_texture (int w, int h)
void test_arb_vertex_buffer_object (void)
void test_blend ()
void test_scissor ()
 Test scissor functionality.
void test_ext_blend_func_separate ()
void test_depth ()
void test_depth2 (void)
void test_color_mask (void)
void test_alpha ()
void test_dither ()
void test_viewport ()
void test_lights ()
void test_light_two_sides ()
void test_shade_model ()
void test_enables ()
void test_line_width ()
void test_line_stipple ()
void test_polygon_stipple ()
void test_offset ()
void test_cull_face ()
void test_front_face ()
void test_cull_mode2 ()
void test_polygon_mode ()
void test_matrix ()
void test_clear ()
void test_tex ()
void test_arb_multitexture ()
void test_display_list ()
void test_clip_plane ()
void test_clip_plane_after_vertex ()
void test_color_material ()
void test_draw_pixels ()
void test_logic_op ()
void test_overlay (SDL_Surface *screen)
void test_sgis_generate_mipmap (void)
void test_nv_texture_rectangle (void)
void test_nv_register_combiners (void)
void test_nv_texture_env_combine4 (void)
void test_ext_stencil_two_side (void)
void test_depth_range (void)
void test_swap_buffers (void)
void test_ext_vertex_weighting (void)
void test_stencil (void)
void test_nv_texgen_emboss (void)
void test_texture_3d (void)
void test_fog ()
void test_arb_texture_cube_map (void)
void test_startup ()
void test_texture_filter (void)
void test_texture_format (void)
void test_draw_buffer (void)
void test_ext_texture_filter_anisotropic (void)
void test_single_vertex (void)
void test_nv_texture_shader ()
void test_nv_point_sprite (void)
void test_arb_point_sprite (void)

Define Documentation

#define __  )     a, #a
 

#define TEST_EPILOGUE   close_output()
 

#define TEST_PROLOGUE   redirect_output(__FUNCTION__)
 

#define TEXTURE_DEPTH   16
 

#define TEXTURE_HEIGHT   16
 

#define TEXTURE_HEIGHT   16
 

#define TEXTURE_HEIGHT   16
 

#define TEXTURE_HEIGHT   16
 

#define TEXTURE_HEIGHT   16
 

#define TEXTURE_HEIGHT   16
 

#define TEXTURE_HEIGHT   16
 

#define TEXTURE_HEIGHT   60
 

#define TEXTURE_HEIGHT   64
 

#define TEXTURE_HEIGHT   16
 

#define TEXTURE_WIDTH   16
 

#define TEXTURE_WIDTH   16
 

#define TEXTURE_WIDTH   16
 

#define TEXTURE_WIDTH   16
 

#define TEXTURE_WIDTH   16
 

#define TEXTURE_WIDTH   16
 

#define TEXTURE_WIDTH   16
 

#define TEXTURE_WIDTH   70
 

#define TEXTURE_WIDTH   64
 

#define TEXTURE_WIDTH   16
 


Function Documentation

void* create_random_texture int  w,
int  h
 

void test_alpha  ) 
 

void test_arb_multitexture  ) 
 

void test_arb_point_sprite void   ) 
 

void test_arb_texture_cube_map void   ) 
 

void test_arb_vertex_buffer_object void   ) 
 

void test_blend  ) 
 

void test_clear  ) 
 

void test_clip_plane  ) 
 

void test_clip_plane_after_vertex  ) 
 

void test_color_mask void   ) 
 

void test_color_material  ) 
 

void test_cull_face  ) 
 

void test_cull_mode2  ) 
 

void test_default void   ) 
 

void test_depth  ) 
 

void test_depth2 void   ) 
 

void test_depth_range void   ) 
 

void test_display_list  ) 
 

void test_dither  ) 
 

void test_draw_buffer void   ) 
 

void test_draw_pixels  ) 
 

void test_enables  ) 
 

void test_ext_blend_func_separate  ) 
 

void test_ext_stencil_two_side void   ) 
 

void test_ext_texture_filter_anisotropic void   ) 
 

void test_ext_vertex_weighting void   ) 
 

void test_fog  ) 
 

void test_front_face  ) 
 

void test_light_two_sides  ) 
 

void test_lights  ) 
 

void test_line_stipple  ) 
 

void test_line_width  ) 
 

void test_logic_op  ) 
 

void test_matrix  ) 
 

void test_nv_point_sprite void   ) 
 

void test_nv_register_combiners void   ) 
 

void test_nv_texgen_emboss void   ) 
 

void test_nv_texture_env_combine4 void   ) 
 

void test_nv_texture_rectangle void   ) 
 

void test_nv_texture_shader  ) 
 

void test_offset  ) 
 

void test_overlay SDL_Surface *  screen  ) 
 

void test_polygon_mode  ) 
 

void test_polygon_stipple  ) 
 

void test_scissor  ) 
 

Test scissor functionality.

Please see doc/nv40_scissor.txt for further information

void test_sgis_generate_mipmap void   ) 
 

void test_shade_model  ) 
 

void test_single_vertex void   ) 
 

void test_startup  ) 
 

void test_stencil void   ) 
 

void test_swap_buffers void   ) 
 

void test_tex  ) 
 

void test_texture_3d void   ) 
 

void test_texture_filter void   ) 
 

void test_texture_format void   ) 
 

void test_viewport  ) 
 

void tex_tri  ) 
 

void tri  ) 
 


Generated on Sat Aug 19 20:40:54 2006 for Renouveau by  doxygen 1.4.4