Commit Graph

422 Commits

Author SHA1 Message Date
aap
e9e2488834 fix memory leak 2021-01-20 18:47:37 +01:00
aap
11104a16d2 strdup fix 2021-01-19 18:28:49 +01:00
SK83RJOSH
5408e70227 Merge branch 'master' into stencil-fix 2021-01-18 18:03:49 +01:00
SK83RJOSH
2477b120eb Depth texture should always create a stencil buffer 2021-01-18 18:03:15 +01:00
aap
c493613724
Merge pull request #42 from ccawley2011/rwstrdup
Replace use of strdup with rwstrdup
2021-01-14 00:34:13 +01:00
aap
77ea31bdba
Merge pull request #45 from ShFil119/warns
Fix some warnings on gcc/clang
2021-01-14 00:33:43 +01:00
aap
61b288a9fe zero d3d device cache 2021-01-09 21:05:14 +01:00
aap
78d540fce0 Merge branch 'master' of github.com:aap/librw 2021-01-09 19:44:53 +01:00
aap
f04ddf031d extra surf prop for opengl 2021-01-09 19:44:46 +01:00
Cameron Cawley
757d937cda Replace use of strdup with rwstrdup 2021-01-03 13:40:21 +00:00
aap
d008d5107b
Merge pull request #44 from madebr/ps2_conan
cmake updates + test SDL2 & PS2 on Github Actions
2021-01-02 23:21:59 +01:00
Filip Gawin
c26386c112 Fix some warnings on gcc/clang 2021-01-02 21:54:40 +01:00
Anonymous Maarten
4d260a631b cmake: need SDL2main on Windows (and other platforms) + link to m on GNU/clang 2021-01-02 20:47:22 +01:00
Anonymous Maarten
7f0b98f960 cmake: remove double check for GL3 2021-01-02 20:47:22 +01:00
Anonymous Maarten
a5d31ade07 librw+cmake: compile lodepng as pure C 2021-01-02 20:47:22 +01:00
Anonymous Maarten
32234609ea cmake: no indentation for closing cmake command parenthesis 2021-01-02 20:47:19 +01:00
Cameron Cawley
366f909bc7 Get the SDL2 backend working again 2020-12-23 00:22:47 +00:00
aap
9c578580ec fixed endian bug 2020-12-20 19:11:34 +01:00
aap
ed9cb45ee9 stencil render states 2020-12-16 15:48:26 +01:00
aap
526f17fadc missing break 2020-12-13 18:56:25 +01:00
aap
857526df46 Merge branch 'master' of github.com:aap/librw 2020-12-03 20:45:50 +01:00
aap
92b215268a don't barf when when getFileContents can't open file 2020-12-03 20:45:43 +01:00
Anonymous Maarten
f713d5d2d7 cmake: add SDL2 support to cmake build script 2020-11-30 23:23:41 +01:00
Anonymous Maarten
4e13e65b1c cmake: add missing files + remove CMakeCPack + add librw::librw target ALIAS 2020-11-30 23:23:40 +01:00
aap
efc0c307d7 fix multisampling a bit 2020-11-29 22:39:02 +01:00
aap
aa205bbf7b fix endian bug 2020-11-29 20:57:38 +01:00
Sergeanur
497199275e Add multi sampling support 2020-11-27 21:08:52 +02:00
aap
e8990d5b3d change to engine init; little fix 2020-11-25 22:47:26 +01:00
aap
d9def88c46 fix for gl backend 2020-11-18 11:13:42 +01:00
aap
4ac67e5df8 made GLES runtime option; also broke opengl txd format again 2020-11-18 10:02:14 +01:00
aap
cea326a4ce runtime caps for opengl 2020-11-17 15:05:47 +01:00
aap
7e80d45cdb lots of changes to rasters; mostly mipmap support and DXT conversion 2020-11-11 09:34:36 +01:00
aap
3e2080ad56 DXT support for gl3. txd format changed!! 2020-11-07 12:52:31 +01:00
aap
8cc8fc9f2a remove test code 2020-11-04 18:45:01 +01:00
aap
5ef54dcb78 stencil clear 2020-11-04 16:21:24 +01:00
aap
8c00f787cb Merge branch 'master' of github.com:aap/librw 2020-11-03 09:36:05 +01:00
aap
4bdcdd1e35 add skinRenderCB to header 2020-11-03 09:35:56 +01:00
aap
e68ef1374d
Merge pull request #37 from ShFil119/cmake
Add cmake config file
2020-10-29 16:02:03 +01:00
aap
4e8396af26 fixes to d3d cache 2020-10-27 12:41:10 +01:00
Filip Gawin
7ce4328601 Add cmake config file
Big thanks for @madebr who made all work
2020-10-27 01:25:09 +01:00
aap
5e5a624681 subraster rendering on gl 2020-10-25 11:10:14 +01:00
aap
ee2a32e142 fbo fix 2020-10-24 22:50:52 +02:00
aap
edc77742c5 fix scoping issue 2020-10-05 20:55:35 +02:00
aap
30b77b0b32 removed matrix alignment to be compatible with RW 2020-08-24 23:56:54 +02:00
aap
77b7229356 fix skin pipe rendering 2020-08-24 22:11:37 +02:00
aap
fbb2d35fc4 fix gl blend bug 2020-08-19 20:47:59 +02:00
aap
93c246b6b1 render pipe fixes 2020-08-18 11:03:07 +02:00
aap
a78a02394e engine close fix 2020-08-15 08:18:35 +02:00
aap
2568e77fac changed pipe new to explicit create 2020-08-14 13:54:48 +02:00
aap
5e299fb12e gl optimization and im2d shader override 2020-08-11 18:41:13 +02:00
aap
113d76cfaa more d3d caching, better d3d raster locking 2020-08-10 17:03:29 +02:00
aap
e21cf250a2 little fixes 2020-08-10 13:35:50 +02:00
aap
b1507e5099 custom rendertarget support for gl 2020-08-10 13:31:33 +02:00
aap
a29bcef4d7 custom rendertarget support for d3d9 2020-08-10 08:34:39 +02:00
aap
0f0147272c fixed frame hierarchy bugs 2020-08-10 08:22:50 +02:00
aap
d92996c66d fix in d3d texstage cache 2020-08-07 16:34:26 +02:00
aap
89901f925e ska2anm tool and fixes for old-style skanim 2020-08-06 10:00:46 +02:00
aap
171e737842 userdata changes; hanim fixes; support for reading old skins 2020-08-06 09:14:32 +02:00
aap
26a5502ee1 fixed gl2 shader 2020-08-03 19:16:23 +02:00
aap
9fbe9b83ba fixed some includes and defines 2020-08-02 09:24:18 +02:00
aap
b8751a03c3 little fix for gles 2020-08-01 08:16:14 +02:00
aap
162c2d2035 fixed some rasters (again) 2020-07-29 22:43:03 +02:00
aap
bd0614877f Merge branch 'master' of github.com:aap/librw 2020-07-29 00:14:38 +02:00
aap
277355db67 C-ified lodepng code 2020-07-29 00:14:25 +02:00
aap
3eedea8285 slightly fixed ps2 build 2020-07-28 16:27:20 +02:00
aap
aa627a8f2c some im2d 2020-07-28 15:19:15 +02:00
aap
b63c3ea3b4 mipmap hints in Texture. not used anywhere yet 2020-07-26 10:53:37 +02:00
aap
fa6277be34 fixes to rasters and images 2020-07-23 22:35:58 +02:00
aap
49ca300b88 png support 2020-07-23 15:06:03 +02:00
aap
4946235d49 fixed image problems 2020-07-23 12:36:43 +02:00
aap
4883b03f2b image masks and raster fixes 2020-07-22 13:56:03 +02:00
aap
853fa44982 fixed ps2 unswizzling 2020-07-21 13:04:44 +02:00
aap
65d14730da fixed tex reading bug 2020-07-16 11:35:41 +02:00
aap
990a7e21dd fixed d3d fog bug 2020-07-07 10:09:38 +02:00
aap
556f6af1b5 Merge branch 'master' of github.com:aap/librw 2020-06-06 11:26:58 +02:00
aap
8b07204abb fixed allocation 2020-06-06 11:26:49 +02:00
Filip Gawin
f0bc017240 Fix some msvc warnings 2020-06-04 21:56:17 +02:00
aap
6ff378bb16 added matfx functions for fb alpha 2020-05-27 20:39:51 +02:00
aap
2b797aeca1 fb alpha emulation for matfx 2020-05-27 10:26:28 +02:00
aap
84c582c1d7 fixed horribly wrong matrix scaling 2020-05-26 15:25:18 +02:00
aap
3971dda001 fixed matfx matrix 2020-05-15 13:34:19 +02:00
aap
d541301588 tried VAOs, didnt help 2020-05-15 10:55:01 +02:00
aap
90ce0f90be some more state caching for gl3 2020-05-15 00:00:13 +02:00
aap
3b385c44ae no f on glsl floats 2020-05-14 12:25:06 +02:00
aap
2d6ca32102 made gl3 UBOs optional; also tried other snake oil 2020-05-14 11:54:20 +02:00
aap
57634dc46d lights for gles2 2020-05-14 00:07:34 +02:00
aap
0fec15b06b forgot half the files 2020-05-13 20:48:14 +02:00
aap
6c7d811096 some more GLES hackage 2020-05-13 20:46:27 +02:00
aap
582d202ce5 x 2020-05-12 21:37:45 +02:00
aap
2233b12daa some gles3 code 2020-05-12 21:34:58 +02:00
aap
661feeabf4 and another one... 2020-05-07 12:37:32 +02:00
aap
3398ec6a16 just a const 2020-05-07 12:35:28 +02:00
aap
4e97f4f862 little fix for d3d rasters 2020-05-06 23:09:56 +02:00
aap
bdbc92d86e cough 2020-05-06 09:42:07 +02:00
aap
40eae78e79 added im3d transform flags 2020-05-06 09:22:29 +02:00
aap
b3ad490d1b implemented vsynch for d3d9 and glfw 2020-05-02 10:08:19 +02:00
aap
3704fe8a9f fixed appveyor build 2020-05-01 21:31:07 +02:00
aap
02921ff848 implemented image format registry 2020-05-01 21:02:37 +02:00
aap
fd191856c4 fixed tga headers 2020-05-01 19:23:27 +02:00
aap
dfedaee353 little fix for d3d 2020-05-01 14:20:02 +02:00