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

561 Commits

Author SHA1 Message Date
Sergey Lipskiy
4b92cd9444 Texture filter: switch to GL textures format. 2015-05-13 10:15:42 +06:00
Sergey Lipskiy
c984298b7b Implement search for hires texture. WIP 2015-05-13 10:15:41 +06:00
Sergey Lipskiy
1e339770de Remove unused code from TxReSample::minify 2015-05-13 10:15:40 +06:00
Sergey Lipskiy
2a84a71aa4 GLideNHW: remove texture tiling code. 2015-05-13 10:15:40 +06:00
Sergey Lipskiy
244fa5bf83 Implement texture filter library initialization. 2015-05-13 10:15:39 +06:00
Sergey Lipskiy
81b19e77b7 Update input libs for GLideNHQ 2015-05-13 10:15:38 +06:00
Sergey Lipskiy
2b4d94d653 Make const input string parameters of txfilter_init(). 2015-05-13 10:15:37 +06:00
Sergey Lipskiy
2de8c1bccc Add texture filter options to Config. 2015-05-13 10:15:37 +06:00
Sergey Lipskiy
b2671017c3 Correct .gitignore 2015-05-13 10:15:36 +06:00
Sergey Lipskiy
e38c750ea7 Link GLideN64 with GLideNHQ library. 2015-05-13 10:15:35 +06:00
Sergey Lipskiy
82198c148a Add CMake project file for GLideNHQ/test. 2015-05-13 10:15:34 +06:00
Sergey Lipskiy
9cb6d4539c Fix TxFilter ctor. 2015-05-13 10:15:33 +06:00
Sergey Lipskiy
789ce8b9f8 Correct CMakeList.txt:
add TXFILTER_DLL define to export interface functions.
add __MSC__ define for Microsoft compiler.
2015-05-13 10:15:33 +06:00
Sergey Lipskiy
e7ef59e7c4 Correct GLideNHQ\CMakeLists.txt to build test dll. 2015-05-13 10:15:32 +06:00
Sergey Lipskiy
ed05f22415 Correct path to Ext_TxFilter.h in test.cpp 2015-05-13 10:15:31 +06:00
Sergey Lipskiy
d20b228284 Remove FXT1 code. 2015-05-13 10:15:31 +06:00
Sergey Lipskiy
5a7872f898 Add CMake project for texture compression library. 2015-05-13 10:15:30 +06:00
Sergey Lipskiy
8d53749a09 Code cleanup: remove unused asm code and commented functions. Fix idents. 2015-05-13 10:15:29 +06:00
Sergey Lipskiy
2b987923af Add GLideNHQ module. 2015-05-13 10:15:29 +06:00
Sergey Lipskiy
eb0e3ca25a Clamp texrect texture in case of texture coordinate overflow.
Probably incorrect.

Fixes Sin And Punishment:
without that fix ' ' and 'U' have the same coordinate after wrapping.
2015-05-13 10:15:27 +06:00
Sergey Lipskiy
f8da3cb792 Calculate texture size using gDPLoadTileInfo. 2015-05-13 10:15:27 +06:00
Sergey Lipskiy
e72ac2ed3d Add tile load info auxillary structure.
It will be used to calculate tile size.
2015-05-13 10:15:26 +06:00
Sergey Lipskiy
887504c301 Switch to non-POT textures. 2015-05-13 10:15:25 +06:00
Sergey Lipskiy
83945d5dbd Fix compilation with gcc. 2015-05-13 10:15:24 +06:00
Sergey Lipskiy
9f9a6952a7 Code refactor: simplify gDPLLETriangle a bit. 2015-05-13 10:15:24 +06:00
Sergey Lipskiy
698f49ed40 Move VI_UpdateSize() from RDP_ProcessRDPList() to VI_UpdateScreen()
in order to avoid too often calls of that function.
2015-05-13 10:15:23 +06:00
Sergey Lipskiy
01fc74b3c9 Workaround for Mupen64Plus issue with initialization. 2015-05-13 10:15:23 +06:00
Sergey Lipskiy
1c0519c9ee Fix problem with texture coordinates when texturePersp is off. 2015-05-13 10:15:22 +06:00
Sergey Lipskiy
7bd0b2e38a Code refactor: simplify code in OGLRender::drawLLETriangle. 2015-05-13 10:15:21 +06:00
Sergey Lipskiy
b81c6edcc3 Fix WSCALE macro in gDPLLETriangle.
Fixed polygons distortion.
2015-05-13 10:15:20 +06:00
Sergey Lipskiy
2771d8c542 Fix crash in gDPLoadTLUT when tile.tmem is wrong. 2015-05-13 10:15:20 +06:00
Sergey Lipskiy
0b4b65f865 Fix texturing for LLE triangle. 2015-05-13 10:15:19 +06:00
Sergey Lipskiy
8b911890a4 Fix depth for LLE triangle. 2015-05-13 10:15:18 +06:00
Sergey Lipskiy
381aab5edf Fix OGLRender::drawLLETriangle. Triangle's z is in screen space. 2015-05-13 10:15:18 +06:00
Sergey Lipskiy
e3f9676913 LLE support. 2015-05-13 10:15:17 +06:00
Sergey Lipskiy
8fd284e488 Fix gSPBranchLessZ. 2015-05-13 10:15:16 +06:00
Sergey Lipskiy
647a9cdf02 Fix compilation with USE_TOONIFY enabled. 2015-05-13 10:15:15 +06:00
Sergey Lipskiy
e2347a09a5 Mask TMEM address.
Fixed images load in Blast Corps.
2015-05-13 10:15:15 +06:00
Sergey Lipskiy
a9d31124a0 Enable gSPFlushTriangles() again due to severe performance drop. 2015-05-13 10:15:14 +06:00
Sergey Lipskiy
57fb19a7ac Move texture sizes calculation into separate procedure.
Use it to calculate mip-maped tiles sizes.

Fixed globe in Blast Corps.
2015-05-13 10:15:13 +06:00
Sergey Lipskiy
2b5ecbea66 Fix warning in L3DEX2_Line3D. 2015-05-13 10:15:13 +06:00
Sergey Lipskiy
d43c715627 Enable MultiProcessorCompilation in Visial Studio Project. 2015-05-13 10:15:12 +06:00
Sergey Lipskiy
abe0ecbc2f Remove unused code from gDPLoadBlock32. 2015-05-13 10:15:12 +06:00
Sergey Lipskiy
a104d61504 Fix cast to float in ShaderCombiner::_locate_attributes(). 2015-05-13 10:15:11 +06:00
Sergey Lipskiy
0ec60a3881 Fix typo in DepthBufferList::clearBuffer(). 2015-05-13 10:15:10 +06:00
Sergey Lipskiy
f96bb13a0b Fix textures size calculation: apply mask on width and height to avoid overflow.
Fixed crash in carmadeggon after N logo.
2015-05-13 10:15:10 +06:00
Sergey Lipskiy
9007548615 Disable triangles flush optimization.
Fixed WCW Backstage Assault.
2015-05-13 10:15:09 +06:00
Sergey Lipskiy
d552f82b9c Set fog coordinate as vertex alpha when fog is on.
Fixed Nascar 99
2015-05-13 10:15:08 +06:00
Sergey Lipskiy
e9584436f8 One cycle mode can use only 1 tile. Remove tile1 from combiner inputs for this case.
Fixed Powerpuff Girls, The - Chemical X-traction.
2015-05-13 10:15:08 +06:00
Sergey Lipskiy
e24abc346e Enable GL_DEPTH_CLAMP when z-buffer is off.
Fixed 2D in several games, e.g.  WCW Backstage Assault
2015-05-13 10:15:07 +06:00