aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/aniso.c210
-rw-r--r--tests/aniso.pngbin0 -> 35041 bytes
-rw-r--r--tests/bloom.ddsbin0 -> 32896 bytes
-rw-r--r--tests/browser_gc.cpp96
-rw-r--r--tests/browser_harness.html6
-rw-r--r--tests/cases/complexphi.ll4
-rw-r--r--tests/cases/dash.ll18
-rw-r--r--tests/cases/funcptr.ll27
-rw-r--r--tests/cases/funcptr.txt1
-rw-r--r--tests/cases/phientryimplicitmoar.ll28
-rw-r--r--tests/cases/phientryimplicitmoar.txt6
-rw-r--r--tests/cases/phinonexist.ll25
-rw-r--r--tests/cases/subnums.ll18
-rw-r--r--tests/cases/subnums.txt1
-rw-r--r--tests/cube2md5.cpp28
-rw-r--r--tests/cube2md5.ok264
-rw-r--r--tests/cube2md5.txt37
-rw-r--r--tests/cube_explosion.c235
-rw-r--r--tests/cubegeom.c295
-rw-r--r--tests/cubegeom_color.c295
-rw-r--r--tests/cubegeom_color2.c299
-rw-r--r--tests/cubegeom_fog.c307
-rw-r--r--tests/cubegeom_mt.c300
-rw-r--r--tests/cubegeom_normal.c295
-rw-r--r--tests/cubegeom_normal_dap.c291
-rw-r--r--tests/cubegeom_normal_dap_far.c289
-rw-r--r--tests/cubegeom_normal_dap_far_glda.c280
-rw-r--r--tests/cubegeom_normal_dap_far_glda_quad.c280
-rw-r--r--tests/cubegeom_normal_dap_far_range.c289
-rw-r--r--tests/cubegeom_pre.c307
-rw-r--r--tests/cubegeom_pre2.c348
-rw-r--r--tests/cubegeom_pre3.c348
-rw-r--r--tests/cubegeom_texturematrix.c312
-rw-r--r--tests/emscripten_api_browser.cpp68
-rw-r--r--tests/emscripten_fs_api_browser.cpp69
-rw-r--r--tests/fcntl/src.c2
-rw-r--r--tests/float_tex.cpp136
-rw-r--r--tests/float_tex.pngbin0 -> 19944 bytes
-rw-r--r--tests/gl_matrix_identity.c129
-rw-r--r--tests/gl_ps.c230
-rw-r--r--tests/gl_ps.pngbin0 -> 203535 bytes
-rw-r--r--tests/glshaderinfo.cpp52
-rw-r--r--tests/hello_world_gles.c63
-rw-r--r--tests/msvc10/README.txt5
-rw-r--r--tests/msvc10/dlmalloc_test.vcxproj89
-rw-r--r--tests/msvc10/emscripten_api_browser.vcxproj89
-rw-r--r--tests/msvc10/fannkuch.vcxproj89
-rw-r--r--tests/msvc10/fasta.vcxproj89
-rw-r--r--tests/msvc10/files.vcxproj89
-rw-r--r--tests/msvc10/glbook_10_MultiTexture.vcxproj110
-rw-r--r--tests/msvc10/glbook_11_Multisample.vcxproj106
-rw-r--r--tests/msvc10/glbook_11_Stencil_Test.vcxproj106
-rw-r--r--tests/msvc10/glbook_13_ParticleSystem.vcxproj109
-rw-r--r--tests/msvc10/glbook_15_Hello_Triangle_KD.vcxproj106
-rw-r--r--tests/msvc10/glbook_2_Hello_Triangle.vcxproj106
-rw-r--r--tests/msvc10/glbook_8_Simple_VertexShader.vcxproj106
-rw-r--r--tests/msvc10/glbook_9_MipMap2D.vcxproj106
-rw-r--r--tests/msvc10/glbook_9_Simple_Texture2D.vcxproj106
-rw-r--r--tests/msvc10/glbook_9_Simple_TextureCubemap.vcxproj106
-rw-r--r--tests/msvc10/glbook_9_TextureWrap.vcxproj106
-rw-r--r--tests/msvc10/hashtest.vcxproj89
-rw-r--r--tests/msvc10/hello_libcxx.vcxproj89
-rw-r--r--tests/msvc10/hello_malloc.vcxproj89
-rw-r--r--tests/msvc10/hello_world_c.vcxproj89
-rw-r--r--tests/msvc10/hello_world_cpp.vcxproj89
-rw-r--r--tests/msvc10/hello_world_file.vcxproj89
-rw-r--r--tests/msvc10/hello_world_gles.vcxproj89
-rw-r--r--tests/msvc10/hello_world_loop.vcxproj89
-rw-r--r--tests/msvc10/hello_world_loop_malloc.vcxproj89
-rw-r--r--tests/msvc10/hello_world_sdl.vcxproj89
-rw-r--r--tests/msvc10/new.vcxproj89
-rw-r--r--tests/msvc10/raytrace.vcxproj89
-rw-r--r--tests/msvc10/sdl_audio.vcxproj89
-rw-r--r--tests/msvc10/sdl_canvas.vcxproj89
-rw-r--r--tests/msvc10/sdl_gl_read.vcxproj89
-rw-r--r--tests/msvc10/sdl_image.vcxproj89
-rw-r--r--tests/msvc10/sdl_key.vcxproj89
-rw-r--r--tests/msvc10/sdl_mouse.vcxproj89
-rw-r--r--tests/msvc10/sdl_ogl.vcxproj89
-rw-r--r--tests/msvc10/skinning_test_no_simd.vcxproj89
-rw-r--r--tests/msvc10/tests_msvc10.sln286
-rw-r--r--tests/msvc10/tests_msvc10.vcxproj67
-rw-r--r--tests/msvc10/twopart.vcxproj90
-rw-r--r--tests/pre_run_deps.cpp10
-rwxr-xr-xtests/runner.py1082
-rw-r--r--tests/s3tc.c158
-rw-r--r--tests/s3tc.pngbin0 -> 260282 bytes
-rw-r--r--tests/s3tc_crunch.c210
-rw-r--r--tests/s3tc_crunch.pngbin0 -> 353714 bytes
-rw-r--r--tests/scons/SConstruct5
-rw-r--r--tests/scons/integration.cpp14
-rw-r--r--tests/scons/other.c0
-rw-r--r--tests/screenshot-fog-density.pngbin0 -> 154012 bytes
-rw-r--r--tests/screenshot-fog-exp2.pngbin0 -> 119847 bytes
-rw-r--r--tests/screenshot-fog-linear.pngbin0 -> 247928 bytes
-rw-r--r--tests/screenshot-fog-negative.pngbin0 -> 79537 bytes
-rw-r--r--tests/screenshot-fog-simple.pngbin0 -> 36557 bytes
-rw-r--r--tests/screenshot-gray-purple.pngbin0 -> 242425 bytes
-rw-r--r--tests/screenshot-gray.pngbin0 -> 203336 bytes
-rw-r--r--tests/screenshot.ddsbin0 -> 262272 bytes
-rw-r--r--tests/screenshot.pngbin0 -> 329895 bytes
-rw-r--r--tests/sdl_audio.c16
-rw-r--r--tests/sdl_audio_quickload.c44
-rw-r--r--tests/sdl_canvas_palette.c58
-rw-r--r--tests/sdl_canvas_palette.pngbin0 -> 3235 bytes
-rw-r--r--tests/sdl_canvas_palette_2.c77
-rw-r--r--tests/sdl_fog_density.c183
-rw-r--r--tests/sdl_fog_exp2.c184
-rw-r--r--tests/sdl_fog_linear.c185
-rw-r--r--tests/sdl_fog_negative.c182
-rw-r--r--tests/sdl_fog_simple.c182
-rw-r--r--tests/sdl_gl_read.c155
-rw-r--r--tests/sdl_image.c26
-rw-r--r--tests/sdl_key.c18
-rw-r--r--tests/sdl_maprgba.c33
-rw-r--r--tests/sdl_maprgba.pngbin0 -> 1875 bytes
-rw-r--r--tests/sdl_mouse.c23
-rw-r--r--tests/sdl_ogl.c175
-rw-r--r--tests/sdl_ogl_defaultMatrixMode.c176
-rw-r--r--tests/sdl_ogl_p.c166
-rw-r--r--tests/sdlglshader.c153
-rw-r--r--tests/sdlglshader.pngbin0 -> 36299 bytes
-rw-r--r--tests/sha1.c241
-rw-r--r--tests/ship.ddsbin0 -> 65664 bytes
-rw-r--r--tests/sqlite/benchmark.c1
-rw-r--r--tests/sqlite/benchmark.txt2
-rw-r--r--tests/tex_nonbyte.c206
-rw-r--r--tests/tex_nonbyte.pngbin0 -> 95900 bytes
-rw-r--r--tests/water.ddsbin0 -> 43920 bytes
129 files changed, 13950 insertions, 149 deletions
diff --git a/tests/aniso.c b/tests/aniso.c
new file mode 100644
index 00000000..e673e228
--- /dev/null
+++ b/tests/aniso.c
@@ -0,0 +1,210 @@
+/*******************************************************************
+ * *
+ * Using SDL With OpenGL *
+ * *
+ * Tutorial by Kyle Foley (sdw) *
+ * *
+ * http://gpwiki.org/index.php/SDL:Tutorials:Using_SDL_with_OpenGL *
+ *