aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-08-05 11:41:57 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-08-05 11:41:57 -0700
commitd616c6169a2104f21c8577c88ec1c4e5a00e5cf9 (patch)
tree03d772679a5821c9fcd9e0ccd4309bf9c13f299e
parent969d433362d5e8427e3ef4a4293c65b2a6a94f12 (diff)
strip color correction from pngs, so that the browser reftests are consistent across machines
-rw-r--r--tests/glbook/CH02_HelloTriangle.pngbin1009 -> 866 bytes
-rw-r--r--tests/glbook/CH08_SimpleVertexShader.pngbin1600 -> 1200 bytes
-rw-r--r--tests/glbook/CH09_SimpleTexture2D.pngbin1943 -> 713 bytes
-rw-r--r--tests/glbook/CH09_TextureCubemap.pngbin3209 -> 2325 bytes
-rw-r--r--tests/glbook/CH09_TextureWrap.pngbin1812 -> 894 bytes
-rw-r--r--tests/glbook/CH10_MultiTexture.pngbin59495 -> 46810 bytes
-rw-r--r--tests/glbook/CH13_ParticleSystem.pngbin4921 -> 4285 bytes
-rw-r--r--tests/htmltest.pngbin743 -> 730 bytes
-rwxr-xr-xtests/runner.py2
-rw-r--r--tests/sdl_gfx_primitives.pngbin2357 -> 2261 bytes
-rw-r--r--tests/sdl_maprgba.pngbin1875 -> 1862 bytes
-rw-r--r--tests/sdl_rotozoom.pngbin431921 -> 431168 bytes
12 files changed, 2 insertions, 0 deletions
diff --git a/tests/glbook/CH02_HelloTriangle.png b/tests/glbook/CH02_HelloTriangle.png
index d6351e2a..7b8c176e 100644
--- a/tests/glbook/CH02_HelloTriangle.png
+++ b/tests/glbook/CH02_HelloTriangle.png
Binary files differ
diff --git a/tests/glbook/CH08_SimpleVertexShader.png b/tests/glbook/CH08_SimpleVertexShader.png
index 84b276fd..6711784d 100644
--- a/tests/glbook/CH08_SimpleVertexShader.png
+++ b/tests/glbook/CH08_SimpleVertexShader.png
Binary files differ
diff --git a/tests/glbook/CH09_SimpleTexture2D.png b/tests/glbook/CH09_SimpleTexture2D.png
index e33539e9..7cb01698 100644
--- a/tests/glbook/CH09_SimpleTexture2D.png
+++ b/tests/glbook/CH09_SimpleTexture2D.png
Binary files differ
diff --git a/tests/glbook/CH09_TextureCubemap.png b/tests/glbook/CH09_TextureCubemap.png
index b592b047..2ca61b63 100644
--- a/tests/glbook/CH09_TextureCubemap.png
+++ b/tests/glbook/CH09_TextureCubemap.png
Binary files differ
diff --git a/tests/glbook/CH09_TextureWrap.png b/tests/glbook/CH09_TextureWrap.png
index 3367e254..1fb5a319 100644
--- a/tests/glbook/CH09_TextureWrap.png
+++ b/tests/glbook/CH09_TextureWrap.png
Binary files differ
diff --git a/tests/glbook/CH10_MultiTexture.png b/tests/glbook/CH10_MultiTexture.png
index 8e006eb3..dc7a0ed6 100644
--- a/tests/glbook/CH10_MultiTexture.png
+++ b/tests/glbook/CH10_MultiTexture.png
Binary files differ
diff --git a/tests/glbook/CH13_ParticleSystem.png b/tests/glbook/CH13_ParticleSystem.png
index 4b69414f..e0e4b31b 100644
--- a/tests/glbook/CH13_ParticleSystem.png
+++ b/tests/glbook/CH13_ParticleSystem.png
Binary files differ
diff --git a/tests/htmltest.png b/tests/htmltest.png
index 980245ee..36e87dd8 100644
--- a/tests/htmltest.png
+++ b/tests/htmltest.png
Binary files differ
diff --git a/tests/runner.py b/tests/runner.py
index 84e8b69e..f34ef4a7 100755
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -12395,6 +12395,8 @@ elif 'browser' in str(sys.argv):
''' + code
def reftest(self, expected):
+ # make sure the pngs used here have no color correction, using e.g.
+ # pngcrush -rem gAMA -rem cHRM -rem iCCP -rem sRGB infile outfile
basename = os.path.basename(expected)
shutil.copyfile(expected, os.path.join(self.get_dir(), basename))
open(os.path.join(self.get_dir(), 'reftest.js'), 'w').write('''
diff --git a/tests/sdl_gfx_primitives.png b/tests/sdl_gfx_primitives.png
index 525b4f8f..706af9ae 100644
--- a/tests/sdl_gfx_primitives.png
+++ b/tests/sdl_gfx_primitives.png
Binary files differ
diff --git a/tests/sdl_maprgba.png b/tests/sdl_maprgba.png
index 4f64c7cd..caca4a8b 100644
--- a/tests/sdl_maprgba.png
+++ b/tests/sdl_maprgba.png
Binary files differ
diff --git a/tests/sdl_rotozoom.png b/tests/sdl_rotozoom.png
index 288dd303..5933754f 100644
--- a/tests/sdl_rotozoom.png
+++ b/tests/sdl_rotozoom.png
Binary files differ