[00:01:57] <Colourless> i haven't looked at any of the SDL 2 stuff, so I can't comment on anything really.
[00:05:01] <Colourless> a scaler lib... tbh, to do it properly is too much work so I really don't want to think about it
[00:41:08] <Colourless> the biggest reason to do it is obviously so you don't have to keep recompiling the scalers themselves when you recompile an application. The problem is it needs flexibility with surface formats, which makes things kind of annoying to implement with optimizations. In pentagram each scaler is compiled like 6 times with different format configurations, and then different ones at different scaling
[00:41:14] <Colourless> factors. This issue is the library can't know what specific surface formats an application might want ahead of time. Also really doesn't help that the scaler setup that we have ends up doing colour conversion too that complicates things even more.
[00:46:23] <Colourless> a really crazy idea is to implement JIT compiling of scalerse using something like llvm
[01:11:18] <Colourless> as you may tell, I have actually thought about this a bit, i just consider it too much work. Attempting to host llvm though is something that i am almost crazy enough to make a test to see how well it would work
[13:21:13] --> exultbot has joined #exult
[13:21:13] --- Topic for #exult is: Exult: http://exult.sourceforge.net/ - The open source engine for Ultima 7
[13:21:13] --- Topic for #exult set by Colourless at Fri Sep 12 00:40:42 2008
[13:43:10] <Malignant_Manor> wjp:, Colourless: how does this look? http://pastebin.com/XU9LuXVi
[13:45:31] <Malignant_Manor> Maybe have a variable in the constructor force_scaling or something and set it with SDL2 instead of that mess.
[13:47:52] <Colourless> i wouldn't be writing code like that, unless its a last resort and someone tracks down while paletted surfaces aren't working
[13:48:24] <Colourless> there is probably a mistake somewhere else
[13:49:32] <Malignant_Manor> I think it is probably beyond me then.
[14:29:12] <Dominus> Colourless, I just can't stop teasing you about a scaler lib :) I know it is too much work and everyone is too tangled in real life to do such a thing these days.
[14:30:05] <Dominus> and most likely a scaler lib is too old fashioned anyway. the way to go for Exult or any other project would be to render in OpenGL and make use of GL shaders
[14:30:29] <Dominus> (there is such a patch for Dosbox, btw)
[14:31:09] <Dominus> for Exult this would probably mean to abandon that OpenGL scaler and make use of different renderers as Dosbox does
[14:31:56] <Dominus> Malignant_Manor: thanks for also looking into those SDL2 issues
[14:44:01] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812])
[17:45:41] <-- sh4rm4 has left IRC (Remote host closed the connection)
[17:49:30] --> sh4rm4 has joined #exult