Sam Hocevar
|
14447c6061
|
ps3: use System::GetPathList() to open images.
|
pirms 13 gadiem |
Sam Hocevar
|
ba1824ef83
|
sys: cycle through all possible directories to load resource files.
|
pirms 13 gadiem |
Sam Hocevar
|
4be5ebd8b3
|
ps3: use network fallback for image files.
|
pirms 13 gadiem |
Sam Hocevar
|
bbf72e1a64
|
core: pass the project directory to the binary build and get rid of
that 2-year old "temporary Win32 hack".
|
pirms 13 gadiem |
Sam Hocevar
|
6a6e46cf0d
|
system: try to autodetect the data directory from the executable path;
currently works for images (SDL and GDI+ loaders) and sound samples.
|
pirms 13 gadiem |
Sam Hocevar
|
99b0874652
|
color: simplify CIEDE2000 distance code.
|
pirms 13 gadiem |
Sam Hocevar
|
b12c16448a
|
color: fix a mistake in the CIEDE2000 color-difference formula.
|
pirms 13 gadiem |
Sam Hocevar
|
a5ba03b405
|
color: unit test data for the CIEDE2000 color-difference formula.
|
pirms 13 gadiem |
Sam Hocevar
|
eae9dae863
|
color: fix typo in float table.
|
pirms 13 gadiem |
Sam Hocevar
|
d8577e0ec7
|
color: move the CIEDE2000 distance code into the C++ file and
reorganise the CIE-1931 and CIE-1964 tables.
|
pirms 13 gadiem |
Sam Hocevar
|
4e678e2cd0
|
color: linear interpolation for the wavelength to colour function.
|
pirms 13 gadiem |
Sam Hocevar
|
44f324a354
|
color: add conversion from CIE-xyY to CIE-XYZ and start working on
a wavelength to saturated xyY function based on the standard observer
data.
|
pirms 13 gadiem |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
pirms 13 gadiem |
Sam Hocevar
|
72a6839dce
|
image: better error detection in the GDI+ image codec.
|
pirms 13 gadiem |
Sam Hocevar
|
291fd0c3c6
|
android: if current thread is unknown to the JVM, try to register it.
|
pirms 13 gadiem |
Sam Hocevar
|
9b5880936c
|
build: tweak everything to allow building with SDL on the Raspberry Pi.
|
pirms 13 gadiem |
Sam Hocevar
|
28728814cc
|
core: replace usage of sin() or std::sin() with lol::sin() where appropriate.
|
pirms 13 gadiem |
Sam Hocevar
|
6eb41c04ff
|
win32: better error reporting in the GDI+ loader, based on a patch by ponce.
|
pirms 13 gadiem |
Sam Hocevar
|
d855e72198
|
win32: the GDI+ byte swapping was wrong; fix that.
|
pirms 13 gadiem |
Sam Hocevar
|
d539f3b80c
|
win32: shuffle bytes in GDI images to match what OpenGL supports.
|
pirms 13 gadiem |
Sam Hocevar
|
ad64711c84
|
sdl: convert any opened image to 8 bit per channel because we don't have
any mechanism yet for uploading exotic formats to the GPU.
|
pirms 13 gadiem |
Sam Hocevar
|
c0cb995fd2
|
win32: various compilation fixes, mostly project updates, but also a
workaround for a Visual Studio compiler bug (Connect Id #730878).
|
pirms 13 gadiem |
Sam Hocevar
|
06d9d00c34
|
win32: no longer ship GDI+ because MinGW ships a working version, including
for Win64.
|
pirms 13 gadiem |
Sam Hocevar
|
0a52e68f6f
|
math: rename matrix.h to vector.h and simplify some stuff, especially in
the matrix code itself.
|
pirms 14 gadiem |
Sam Hocevar
|
48bf48a4e4
|
math: move the Remez algorithm implementation to the core.
|
pirms 14 gadiem |
Sam Hocevar
|
7e337a0607
|
ps3: compilation fixes for the PS3.
|
pirms 14 gadiem |
Sam Hocevar
|
01ebcec3b8
|
core: split vector operations into linear and non-linear so that we can
reuse the linear operations in quaternions. Also mark some constructors
explicit to better spot coding errors.
|
pirms 14 gadiem |
Sam Hocevar
|
fbdec834dd
|
image: add a GDI+ loader.
|
pirms 14 gadiem |
Sam Hocevar
|
fe0d76cede
|
build: fix PS3 and Android build; it was broken since the ImageData refactor.
|
pirms 14 gadiem |
Sam Hocevar
|
a59f2efb07
|
build: bring the iOS port up to date by synchronising new source file
names with the project file.
|
pirms 14 gadiem |
Sam Hocevar
|
abbf9ba44c
|
build: fix a shitload of build errors introduced by the Image refactoring
and the OS X port.
|
pirms 14 gadiem |
Sam Hocevar
|
2435bd47ed
|
osx: automake does not support .mm files yet, so rename ios-image.mm back
to ios-image.cpp, but disable it on OS X because UIKit isn't available.
|
pirms 14 gadiem |
Sam Hocevar
|
11dce0c620
|
ios: rename iOS image loader to .mm.
|
pirms 14 gadiem |
Sam Hocevar
|
bcea65d273
|
core: remove calls to exit() in image loaders since they can now report
on errors.
|
pirms 14 gadiem |
Sam Hocevar
|
c61ae1ffa7
|
core: implement dynamic registration of image loaders.
|
pirms 14 gadiem |
Sam Hocevar
|
beb141dd5b
|
build: fix Win64 compilation with mingw64, using an updated SDL build.
|
pirms 14 gadiem |
Sam Hocevar
|
7b7d4fe003
|
build: stop defining ANDROID_NDK and check for __ANDROID__ instead.
According to David Turner, “it should be the only thing that NDK users
should be testing again.”
|
pirms 14 gadiem |
Sam Hocevar
|
6b1985d95f
|
android: keep a pointer on the global Java VM instead of the current
environment, so back-to-jvm techniques can work from any thread.
|
pirms 14 gadiem |