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

2568 Commits

Author SHA1 Message Date
Logan McNaughton
5b297d844a Add some missing items in custom INI reading
for mupen64plus
2017-10-30 07:42:38 -06:00
Sergey Lipskiy
757c3c4f8f Calc FPS as number of color buffer origin changes per second.
Fixed FPS counter not reporting correctly #1510
2017-10-30 15:33:38 +07:00
Sergey Lipskiy
58636fcee6 Do not clear RDRAM after copyFromRDRAM when FBInfo enabled
Fixed FBInfo not working #1559
2017-10-30 15:01:38 +07:00
Sergey Lipskiy
365838eddc Fixed problem with combiners shaders generation:
Parts of shaders code created on start. Some parts depend on config options.
When config changed with GUI shaders updated but code parts not updated.
Thus new shaders do not correspond to current state of config.
2017-10-29 16:49:05 +07:00
Sergey Lipskiy
7d1d3da114 Put UTextureFilterMode uniform creation to the right place. 2017-10-29 15:10:53 +07:00
Sergey Lipskiy
c5c0fbeb6f Use combiners keys when ShaderProgramBinary is not supported and shaders storage con not be created. 2017-10-28 21:48:01 +07:00
Sergey Lipskiy
d035c4da56 Fix compilation on Android. 2017-10-27 13:42:02 +07:00
Sergey Lipskiy
1cdb1754a6 Fill noise textures data only once on plugin's start. 2017-10-27 10:43:14 +07:00
Sergey Lipskiy
f6b0f3446b Fix compilation with gcc. 2017-10-27 10:08:22 +07:00
Francisco Zurita
77a777162c Fix flickering when copy color to RDRAM and RDRAM to color buffer are
enabled.
2017-10-26 14:50:30 +07:00
Francisco Zurita
7d5c2a011c Add more files to .gitignore 2017-10-26 14:50:30 +07:00
Sergey Lipskiy
7e4271d991 Display save/load progress for combiners shaders
Display "init noise texture" message. Progress is hard to display because noise textures generated in threads.
2017-10-26 00:37:26 +07:00
Sergey Lipskiy
aba3fefe63 Implement alternative methods of combiners shaders load.
Combiners muxes saved in separate text file.
When shader cache becames invalid, list of shaders muxes used to re-create combiners.
2017-10-26 00:27:52 +07:00
Sergey Lipskiy
bd10c7a788 Do not use aux depth buffer as hwfbe texture.
Fixed black polygons in vigilante 8,  #1639
2017-10-24 20:36:14 +07:00
Sergey Lipskiy
bc1f2d37d4 Code cleanup: remove commented code for blur post filter.
It will not be refactored.
2017-10-24 20:36:08 +07:00
Logan McNaughton
168dccde2a Allow Gauntlet Legends to boot in HLE
Code by LegendOfDragoon
2017-10-24 15:45:37 +07:00
Sergey Lipskiy
35cc66bad4 Code cleanup:
* make RSPInfo::busy and RSPInfo::halt boolean
* remove RSPInfo::close
* rename RSPInfo::bLLE to RSPInfo::LLE
2017-10-24 15:44:37 +07:00
SigmaVirus
8935510a26 Updated link to the WIP Builds 3 thread instead...
of the old WIP Builds 2 thread.
2017-10-16 10:04:54 +07:00
Sergey Lipskiy
977fddf3ea Correct condition for Zelda monochrome buffer.
Fixed Pokemon Puzzle League: missing graphics in game (regression) #1588
2017-10-11 15:06:32 +07:00
gizmo98
7d22828193 gSPNEON.cpp: merge gSPLightVertex_NEON and gSPLightVertex4_NEON 2017-10-10 14:04:37 +07:00
gizmo98
39d4b223c8 arm neon: add gSPInverseTransformVector function
Fix declaration of gSPInverseTransformVector as well. Replace vtx[4]
with vec[3].
2017-10-10 14:04:36 +07:00
Francisco Zurita
762def7dae Fix issues reported by Valgrind 2017-10-09 23:51:16 -04:00
Francisco Zurita
e5cc69556d Add more files to .gitignore 2017-10-09 22:47:12 -04:00
Conn O'Griofa
d8ac5a761c Raspberry Pi: fix vendor library names & add override
* Use new libbrcmEGL/libbrcmGLESv2 names
* Allow RPI autodetection override via -DMESA=On (for VC4 driver)
2017-10-07 08:26:31 +01:00
Sergey Lipskiy
c75985b9d8 Code refactor: rewrite HLE vertices loading.
Enable __VEC4_OPT for Windows release builds.
2017-10-06 17:03:11 +07:00
Sergey Lipskiy
d197db5b90 Rewrite Zelda MM Point Light 2017-10-06 17:03:11 +07:00
Logan McNaughton
daa567ec71 Add support for SP_STATUS_REG and RDRAM_SIZE in mupen64plus API 2017-10-06 14:14:05 +07:00
gizmo98
db18139ca5 Refine fullscreen toggle logic
-Toggle m_bFullscreen if _changeWindow is executed.
-Don’t allow _resizeWindow if m_bFullscreen is true.
-_resizeWindow returns false if fullscreen is enabled.
2017-10-06 14:07:06 +07:00
Sergey Lipskiy
b6c6ac0ae5 Correct SoftwareRender renderTriangles
Fixed Perfect Dark SW Depth Buffer Problem. #1580
2017-10-05 20:55:43 +07:00
Sergey Lipskiy
48a4c2c623 Fix "use unitialized variable" run-time error. 2017-10-04 16:29:09 +07:00
S2S
89406223f5 Change texture coordinates.
Subtracting 1 might not be accurate,
but it is done anyway in the rest of the code regarding sprites.
Just for the record, implementing correct texture coordinate handling
for sprites might need reverting this.
2017-10-04 16:15:46 +07:00
S2S
feb0e53034 Fix sprite sizes
Fixes https://github.com/gonetz/GLideN64/issues/936
2017-10-04 16:15:46 +07:00
Logan McNaughton
54a1c4a65c Use rand_s for MINGW 2017-10-04 16:11:10 +07:00
Francisco Zurita
0c4a86b8c6 Remove majora hack when interlaced mode changes.
The hack is currently breaking the bomber's notebook.
2017-10-04 12:48:26 +07:00
Sergey Lipskiy
deaf61299f Decrease level of mip-map texture if texture with given size and level can't be created by OpenGL.
Fixed shadows of empire: black triangles (regression!) #1612
2017-10-02 16:58:55 +07:00
Sergey Lipskiy
e4f29a1eb8 Correct post build step: create target dir if it does not exists. 2017-10-01 19:19:13 +07:00
Sergey Lipskiy
7810a729aa Correct path in port build step. 2017-10-01 19:05:21 +07:00
Sergey Lipskiy
e6ff470fe6 Add freetype headers to project. 2017-10-01 18:37:11 +07:00
Sergey Lipskiy
ce319b26e7 Update pnglib and zlib headers. 2017-10-01 18:30:20 +07:00
Sergey Lipskiy
b20090c06c Add getRevision.bat
Add pre-build step in Visual Studio projects to generate Revision.h
2017-10-01 17:52:27 +07:00
clobber
a3807827c0 Simplified and complete workaround for #1601
This properly worksaround the bug with Intel drivers on the Mac, which initially broke in parts of commits d4dbe7c094 and 231463e368
2017-10-01 14:05:25 +07:00
Sergey Lipskiy
221484bad2 Switch VisialStudio 2013 projects to new versions of libs and QT. 2017-10-01 14:05:20 +07:00
Sergey Lipskiy
57da967e7c Switch to png screen shot format for zilmar-spec builds. 2017-10-01 11:37:49 +07:00
Sergey Lipskiy
1479354d90 Add VisualStudio2015 project files.
Note: two environment variables must be set:
* N64PluginsDir points to Plugin folder for zilmar-spec emulators
* Mupen64PluginsDir points to folder with plugins for mupen64plus

Post build step will copy results of building to these folders.
2017-09-30 19:06:19 +07:00
Sergey Lipskiy
2e71226b71 Update VisualStudio project files.
Note: two environment variables must be set:
* N64PluginsDir points to Plugin folder for zilmar-spec emulators
* Mupen64PluginsDir points to folder with plugins for mupen64plus

Post build step will copy results of building to these folders.
2017-09-30 19:00:11 +07:00
Sergey Lipskiy
e8b03cd599 Make workaround for #1601 Intel-specific.
Fixed Blending changes broke PowerVR devices #1608
2017-09-30 18:01:26 +07:00
Sergey Lipskiy
70c540b073 Rewrite fix for #1539 : keep in tile descriptor start address of frame buffer, not pointer on it.
Should be more safe.
2017-09-29 22:25:56 +07:00
Sergey Lipskiy
203c53307d Reset gDPTile::frameBuffer if it points to removed buffer.
Fixed Paper Mario: Red Station Crashing #1539
2017-09-29 17:20:07 +07:00
clobber
3c8689d848 ShaderBlender: cast to ivec4 where needed. Fixes #1601
This works around a bug with Intel GPU's on macOS where colors can appear wrong.
2017-09-29 14:58:40 +07:00
Sergey Lipskiy
5455604f64 Fix QT error: invalid initialization of non-const reference of type ‘QString&’ from an rvalue of type ‘QString’ 2017-09-28 13:36:46 +07:00