Pavel Krajcevski
ca85a663a1
Add detection for atomics
...
Atomic operations are both supported by the platform and the compiler. If we want
to provide a threadsafe implementation of our compression function, we need to make sure
that the proper settings are available.
2013-03-06 17:16:36 -05:00
Pavel Krajcevski
771b91b795
Fix a bunch of memory leaks.
2013-02-07 17:01:38 -05:00
Pavel Krajcevski
aebeb38ad0
Reformat usage string.
2013-02-07 17:01:21 -05:00
Pavel Krajcevski
8cad373e8e
Small refactoring changes.
2013-02-05 21:54:06 -05:00
Pavel Krajcevski
8ca5d7ac44
Add interface between buffers and parallel stages.
2013-01-30 23:37:18 -05:00
Pavel Krajcevski
5e970c3122
Make compiler happy.
2013-01-30 22:53:35 -05:00
Pavel Krajcevski
f704fc55af
Flesh out the first few functions for our parallel stages.
2013-01-30 22:43:19 -05:00
Pavel Krajcevski
ea16d1af44
Add beginnings of our scaffolding for parallel compression.
2013-01-30 22:43:18 -05:00
Pavel Krajcevski
af25b83356
Fix some more compiler warnings.
2013-01-29 17:37:20 -05:00
Pavel Krajcevski
0afff4188e
Fix warnings on Windows and support the treat warnings as errors option.
2013-01-29 13:39:45 -05:00
Pavel Krajcevski
fa5d5e865c
Fix some more compiler warnings. This time some were actually very useful\!
2013-01-28 20:20:52 -05:00
Pavel Krajcevski
ff1c3658fb
Always set all of the compiler warnings on and make sure to include the MSFT extensions if we're on gcc. Furthermore, include an option to treat warnings as errors. I will probably always have this on, but other people who decide to use the library probably won't want it...
2013-01-28 18:11:29 -05:00
Pavel Krajcevski
42e4e8d4aa
Amalgamate the different architecture problems with printf...
2013-01-28 17:49:57 -05:00
Pavel Krajcevski
8c666bcd3f
Fix more compiler warnings
2013-01-28 17:37:43 -05:00
Pavel Krajcevski
c7a2e24b07
Fix some more compiler errors
2013-01-28 17:16:36 -05:00
Pavel Krajcevski
08c919d965
Fix some linker errors...
2013-01-28 17:04:58 -05:00
Pavel Krajcevski
1b30efe488
Got rid of some more compiler warnings.
2013-01-28 16:57:15 -05:00
Pavel Krajcevski
08df6f6d65
Fix more compiler warnings.
2013-01-28 16:42:11 -05:00
Pavel Krajcevski
aaf16eacc8
Remove SIMD path at the moment. It needs to be reworked.
2013-01-28 16:37:20 -05:00
Pavel Krajcevski
5dd1fbbd48
Fix a lot of compiler warnings.
2013-01-28 16:30:04 -05:00
Pavel Krajcevski
28a55cc268
Remove pedantic flag because some things are just obnoxious (like no anonymous structs in unions.
2013-01-28 16:29:52 -05:00
Pavel Krajcevski
3cd699ab58
Add compiler flags to GCC or G++ to treat warnings as errors.
2013-01-28 11:54:47 -05:00
Pavel Krajcevski
f03d381092
Fix indentation in unix command-line tool and also make sure to not use strcat for our logfile since it messes up the compressed image output.
2013-01-28 11:51:36 -05:00
Pavel Krajcevski
cdbf72b6c0
Merge MSVC support into master.
2013-01-28 11:49:03 -05:00
Pavel Krajcevski
deac1e7fad
Fix some compiler errors...
2013-01-28 11:44:14 -05:00
Pavel Krajcevski
45e926536a
Move Thread.h out of the include directory, and update the BlockStatManager to compensate.
2013-01-27 14:36:19 -05:00
Pavel Krajcevski
40a0947649
Fix small bug where we enter an infinite loop after we finish reading a file.
2013-01-27 14:02:39 -05:00
Pavel Krajcevski
7049dc3077
Update windows module to contain all necessary libs...
2013-01-27 13:35:10 -05:00
Pavel Krajcevski
61a8d4e2c7
Add submodule to keep track of windows include files and libraries
2013-01-27 12:14:55 -05:00
Pavel Krajcevski
f4629fa35a
Add boost libraries for windows.
2013-01-27 11:49:06 -05:00
Pavel Krajcevski
6d85bc9467
Determine what architecture the compiler is for msvc by how large our void pointers are.
2013-01-27 11:49:05 -05:00
Pavel Krajcevski
f1e502c8f5
Remove hack for adding a libpath flag in visual studio by requiring extra libraries from boost.
2013-01-27 11:49:05 -05:00
Pavel Krajcevski
37d8cc797c
Add in a small hack to add the boost library directory to the linker command line in order to be able to compile.
2013-01-26 14:57:33 -05:00
Pavel Krajcevski
42c350878e
Fix property variable.
2013-01-26 14:11:37 -05:00
Pavel Krajcevski
5eba3ba6f7
Add license
2012-11-15 11:51:55 -05:00
Pavel Krajcevski
cb126c40ce
Add the correct hooks to compile as a win32 console app.
2012-11-07 18:22:12 -05:00
Pavel Krajcevski
8761821220
More compiler fixes.
2012-11-07 18:01:02 -05:00
Pavel Krajcevski
680625d03e
Fix a bunch of compiler warnings.
2012-11-07 17:10:26 -05:00
Pavel Krajcevski
05e6ca0bc9
Fix windows issues with blockstats...
2012-11-07 16:52:06 -05:00
Pavel Krajcevski
562d9e905d
Make sure to return a value for the = operator...
2012-11-07 16:51:44 -05:00
Pavel Krajcevski
113749c82f
Make the windows based filestream actually use the MSDN file IO functions
2012-11-07 16:38:34 -05:00
Pavel Krajcevski
96f223c509
Split filestream implementation into unix and windows versions.
2012-11-07 15:26:33 -05:00
Pavel Krajcevski
b43373c0aa
Fix some indentation and signedness mismatch
2012-11-07 15:23:07 -05:00
Pavel Krajcevski
53b8d4c9a9
Fix compiler errors with functions not returning values.
2012-11-07 15:21:55 -05:00
Pavel Krajcevski
9360e80a56
Fix issues with stop watch on windows.
2012-11-07 15:21:02 -05:00
Pavel Krajcevski
e3757fde74
Fix MSVC interpretation of our types.
2012-11-07 15:20:25 -05:00
Pavel Krajcevski
790df0736f
Make stats collection threadsafe.
2012-11-01 18:56:13 -04:00
Pavel Krajcevski
1abc54cf21
Make sure to take alpha into account when computing PSNR
2012-10-31 17:50:40 -04:00
Pavel Krajcevski
82e51a49cf
Fix a few issues that we had with dealing with alpha in the textures.
2012-10-31 17:50:40 -04:00
Pavel Krajcevski
d51df5f9a2
Extract the basename for use in our output filenames...
2012-10-31 17:50:40 -04:00