1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00
Commit Graph

21 Commits

Author SHA1 Message Date
Sergey Lipskiy
2ca283cf0f Call CRC_BuildTable() in TextureCache ctor. 2015-05-13 10:13:25 +06:00
Sergey Lipskiy
a6056d4c3c Optimize textures map: store values to avoid malloc/free. 2015-05-13 10:13:02 +06:00
Sergey Lipskiy
7f6d7e2772 Refactor: rewrite TextureCache.
Store normal textures and frame buffer textures in separate maps.
Replace TextureCache_* functions by methods of TextureCache.
2015-05-13 10:12:44 +06:00
Sergey Lipskiy
9e5cab6852 Remove Noise textures. 2015-05-13 10:12:43 +06:00
Sergey Lipskiy
21b40c7a6c Remove 2xSAI support. 2015-05-13 10:12:42 +06:00
Sergey Lipskiy
f7e0aa6e10 Refactor: correct texture CRC calculation.
Texture parameters are added to calculated crc, and thus the crc must
define the texture completely.
Assertion added to check that found texture is exactly the one we are looking for.
2015-05-13 10:12:41 +06:00
Sergey Lipskiy
389a46c394 Code cleaup: fix idents, replace spaces by tabs. 2015-05-13 10:12:31 +06:00
Sergey Lipskiy
4d93ddac4f Use std min and max 2015-05-13 10:12:30 +06:00
Sergey Lipskiy
b73cf262f1 Code cleanup: Remove unused noise texture from Textures.h 2015-05-13 10:12:27 +06:00
Sergey Lipskiy
de7684827f Use GLES2 compatible texture types. 2015-05-13 10:11:51 +06:00
Sergey Lipskiy
8018ba0aea Move user-defined settings to Config structure. 2015-05-13 10:11:27 +06:00
Sergey Lipskiy
eb30130f12 (R): remove #include <windows.h> from Textures.cpp and Combiner.cpp 2015-05-13 10:10:48 +06:00
Sergey Lipskiy
da3d18d7d8 Fix frame buffer textures delete. 2015-05-13 10:10:38 +06:00
Sergey Lipskiy
14f5a92da3 Switch from glActiveTextureARB to glActiveTexture 2015-05-13 10:10:31 +06:00
Sergey Lipskiy
9c5b94d1f8 Fix frame buffer texture remove. 2015-05-13 10:10:16 +06:00
Sergey Lipskiy
deea78132c Fix new CachedTexture initialization. 2015-05-13 10:10:15 +06:00
Sergey Lipskiy
3380451e00 Fix texture cache verification. 2015-05-13 10:10:15 +06:00
Sergey Lipskiy
562612a21a Texture load status is now set per tile. 2015-05-13 10:09:47 +06:00
Sergey Lipskiy
3f98553ad2 Correct background images usage in frame buffer emulation. 2015-05-13 10:09:39 +06:00
Sergey Lipskiy
d57cf2e3f4 Code cleanup: remove unreferenced variables. 2015-05-13 10:09:24 +06:00
Sergey Lipskiy
69f27a5d8a Initial project version. Based on glN64-0.4.1-rc2 2015-05-13 10:09:12 +06:00