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

442 Commits

Author SHA1 Message Date
Sergey Lipskiy
fa5d2ce544 Correct auxiliary buffers height in gDPSetColorImage. 2015-05-13 10:14:18 +06:00
Sergey Lipskiy
cdf168e469 Correct gDP.colorImage.height calculation again.
Fixed frame buffers overflow in V-Rally 99.
2015-05-13 10:14:17 +06:00
Sergey Lipskiy
0f14cd57f4 Correct combiners when cycleType == G_CYC_1CYCLE
but second stage of combiner is not the same as the first one.
Potentially dangerous!!!
2015-05-13 10:14:16 +06:00
Sergey Lipskiy
b49e3f67fd Implement missing sprite functions. Fix existing ones. 2015-05-13 10:14:16 +06:00
Sergey Lipskiy
adca07aabe Fix S2DEX_Obj_MoveMem: move viewport added. 2015-05-13 10:14:15 +06:00
Sergey Lipskiy
1952e1b882 Code cleanup: fix idents in S2DEX.h and S2DEX2.h 2015-05-13 10:14:14 +06:00
Sergey Lipskiy
e28904874d Init gSP.objMatrix with default values in RSP_Init(). 2015-05-13 10:14:14 +06:00
Sergey Lipskiy
0205902df1 Don't set video multisampling when frameBufferEmulation enabled. 2015-05-13 10:14:13 +06:00
Sergey Lipskiy
3e65749241 Don't fix zero VI.width and VI.height
If these values are zero, it is for purpose.

Fixed depth buffer write in PD intro.
2015-05-13 10:14:12 +06:00
Sergey Lipskiy
ea713f8e0c Remove assync depth copy functionality.
It is important to copy current depth buffer to RDRAM.
Otherwise coronas in PD does not work when in movement.
2015-05-13 10:14:12 +06:00
Sergey Lipskiy
a3d702a4dd Fix detection of frame buffers address space intersection.
Fixed problem of growing frame buffers number.
2015-05-13 10:14:11 +06:00
Sergey Lipskiy
62f5d8cf4e Rewrite texturedRectDepthBufferCopy.
Fixed coronas in PD.
2015-05-13 10:14:10 +06:00
Sergey Lipskiy
6bfe8f35f2 Correct texturedRectSpecial functions. 2015-05-13 10:14:10 +06:00
Sergey Lipskiy
efdfa31eda Make FrameBuffer_CopyDepthBuffer() return bool. 2015-05-13 10:14:09 +06:00
Sergey Lipskiy
c3a8148d0e Fix DepthBufferToRDRAM::CopyToRDRAM - limit max value by 0xfffc. 2015-05-13 10:14:08 +06:00
Sergey Lipskiy
d515c5ac34 Add RDP_RepeatLastLoadBlock() function.
Needed for correct emulation of depth buffer to RDRAM copy in PD and CBFD.
2015-05-13 10:14:08 +06:00
Sergey Lipskiy
39cbd870ff Add check for NULL pointers in FrameBuffer_ActivateBufferTexture. 2015-05-13 10:14:07 +06:00
Sergey Lipskiy
cdcffd9077 Force updateFBInfo in OGLRender::_updateStates().
Fixed black textures on Conker.
2015-05-13 10:14:06 +06:00
Sergey Lipskiy
3eb40fd30a Fix texturedRectTextureCopy. Renamed it to texturedRectDepthBufferCopy. 2015-05-13 10:14:06 +06:00
Sergey Lipskiy
a6a8d810fb Fix CopyToRDRAM.
Need to set scissor off before using glBlitFramebuffer.
2015-05-13 10:14:05 +06:00
Sergey Lipskiy
b66f18b07f Rename Config.cpp to Config_[platform].cpp
Rename MicrocodeDialog.cpp to MicrocodeDialog_[platform].cpp
Correct project files.
2015-05-13 10:14:04 +06:00
Sergey Lipskiy
18437d829d Introduce texturedRectSpecial hack for special texrect modes.
Implement texturedRectShadowMap() for BAR and
texturedRectTextureCopy() for CBFD.
The late causes weird camera rotation, thus disabled.
2015-05-13 10:14:04 +06:00
Sergey Lipskiy
9cda50c677 Add RSP.romname 2015-05-13 10:14:03 +06:00
Sergey Lipskiy
c847ec9091 Don't send light data to shader if ucode does not support HWL. 2015-05-13 10:14:02 +06:00
Sergey Lipskiy
7835cfb180 Fix color image height detection for height = 1. 2015-05-13 10:14:02 +06:00
Sergey Lipskiy
3a27056759 Don't write buffer address to RDRAM for CFB buffers. 2015-05-13 10:14:01 +06:00
Sergey Lipskiy
3db3e02cab Implement CBFD microcode. 2015-05-13 10:14:00 +06:00
Sergey Lipskiy
11381ad369 Fix shader_compile errors. 2015-05-13 10:13:59 +06:00
Sergey Lipskiy
e4911a1bc9 Fix screen shot capture for fullscreen mode. 2015-05-13 10:13:59 +06:00
Sergey Lipskiy
0200cd7db1 Fix resources for Zilmar build for Windows. 2015-05-13 10:13:58 +06:00
Sergey Lipskiy
0d2b762198 Implement point lighting. 2015-05-13 10:13:57 +06:00
Sergey Lipskiy
e491ee8ed4 Replace define GLES2 by SHADER_PRECISION in Shaders.h
Correct precisions for shaders variables.
2015-05-13 10:13:57 +06:00
Sergey Lipskiy
929fafa7a1 Fix Mac OS X compilation errors. 2015-05-13 10:13:56 +06:00
Sergey Lipskiy
09eea95270 Add separate define for ImageTextures.
Set it on for platforms, which support this functionality.
2015-05-13 10:13:55 +06:00
Sergey Lipskiy
94c381f734 Fix code duplication in FrameBuffer.cpp 2015-05-13 10:13:54 +06:00
Sergey Lipskiy
72ce00157b Code cleanup: Fix class members initialization order in ctors. 2015-05-13 10:13:54 +06:00
Sergey Lipskiy
cfd09e2c83 Fix typo in OpenGL.h 2015-05-13 10:13:53 +06:00
Sergey Lipskiy
135f22d52b Code cleanup: remove unused code from Combiner.cpp 2015-05-13 10:13:52 +06:00
Sergey Lipskiy
93d03d0e1a Correct OS names in code and project files. 2015-05-13 10:13:52 +06:00
Sergey Lipskiy
41da318afa Remove min and mix defines from winlnxdefs.h 2015-05-13 10:13:51 +06:00
Sergey Lipskiy
569e318068 Fix lighting for *Vertex4 functions. 2015-05-13 10:13:50 +06:00
Sergey Lipskiy
59d19c647d Implement LookAt functionality. 2015-05-13 10:13:50 +06:00
Sergey Lipskiy
81c15fde15 Fix Debug enabling. 2015-05-13 10:13:49 +06:00
Sergey Lipskiy
268278a6b0 Implement load texture by dma offset.
Fixed menu in JFG.
2015-05-13 10:13:48 +06:00
Sergey Lipskiy
a22483bc2f Implement non-standard fog modes. 2015-05-13 10:13:47 +06:00
Sergey Lipskiy
17479ccbe4 Rewrite FrameBufferList::renderBuffer
Use new method for destination coordinates calculation.
2015-05-13 10:13:47 +06:00
Sergey Lipskiy
0d35f461df Fix integer-float mismatch in FrameBuffer.cpp 2015-05-13 10:13:46 +06:00
Sergey Lipskiy
a95b7166e9 Include updateFBInfo into ShaderCombiner::update().
Fixed monochrome textures in JFG.
2015-05-13 10:13:45 +06:00
Sergey Lipskiy
070f914583 Separate JFG microcode from DKR one because Vertex commands differ a bit. 2015-05-13 10:13:45 +06:00
Sergey Lipskiy
254f315803 Fix DKR microcode.
gSPDMATriangles worked incorrect because vertex's s and t can change between triangles.
Need to copy original vertex to an array and modify s and t for copied vertex.
2015-05-13 10:13:44 +06:00