Commit Graph

4921 Commits

Author SHA1 Message Date
rogerman f56e15da02 OpenGL Renderer:
- Upload the toon table through the render state UBO instead of through a 1D texture. (OpenGL 3.2 only.)
- Small optimization in the edge mark fragment shader.
2015-05-06 04:48:33 +00:00
rogerman c5350f6247 OpenGL Renderer:
- Remove even more extraneous binds.
- Do some misc. optimizations.
2015-05-05 23:58:38 +00:00
zeromus e527ed1e37 im tired of seeing the 2005 and 2008 projects. 2010 is the end of the line, the others arent needed 2015-05-05 03:59:27 +00:00
zeromus 6461b474bc apply patch from bug #1468 to fix vs2012 x64 building 2015-05-05 03:56:28 +00:00
rogerman 42a1f7b9f5 Windows Port:
- Fix compiling issues. (Regression from r5162. Fixes bug #1468.)
- Fix crashing issue when selecting the OpenGL 3.2 renderer. Failure to init should now fallback properly. (Regression from r5180. Fixes bug #1470.)
2015-05-04 22:52:32 +00:00
rogerman d5bb6fd79e Render3D:
- In the OpenGL renderer, do better handling of the geometry index buffer, and also load its data in OpenGLRenderer::BeginRender().
- In the OpenGL renderer, remove a bunch of extraneous binds.
- Fix bug in SoftRasterizer where clear-image depth wasn’t being written correctly. (Regression from r5176.)
- Reduce the buffer sizes in the core 3D engine.
- Do even more refactoring.
2015-05-04 18:30:09 +00:00
rogerman 7dd90c9948 OpenGL Renderer:
- Optimize the uploading of all rendering and polygon states, moving all state uploads to OpenGLRenderer::BeginRender(). (OpenGL 3.2 only)
2015-05-01 23:40:59 +00:00
rogerman 15f9d3ee6b OpenGL Renderer:
- Fix compiling for platforms that aren't OS X. (Regression from r5178.)
2015-04-30 16:48:01 +00:00
rogerman 80ac952e9e Render3D:
- In the OpenGL renderer, optimize framebuffer clearing (OpenGL v3.2 only).
- In SoftRasterizer, multithread the rendering state setup (requires at least 4 threads).
- Do more code refactoring.
2015-04-30 08:39:10 +00:00
rogerman 5c64a3858f Render3D:
- In the OpenGL renderer, optimize edge marking performance.
- In SoftRasterizer, fix a bug where edge marking and fog weren’t being drawn if multithreading was off.
2015-04-29 17:35:50 +00:00
rogerman 8f38fb38e8 OpenGL Renderer:
- Clear the stencil buffer with a value of 0 instead of with the polygon ID.
2015-04-29 09:14:32 +00:00
rogerman f48ed9fb89 SoftRasterizer:
- Refactor SoftRasterizer to use Render3D as the base class.
2015-04-29 04:50:23 +00:00
rogerman d627a5b6aa OpenGL Renderer:
- Fix bug where certain scenes would fail to draw when edge marking is enabled.
2015-04-28 00:39:48 +00:00
rogerman e89544aa7b OpenGL Renderer:
- Fix some more graphical bugs with fog and translucent fragments.
- Do some small optimizations to the fragment shaders.
2015-04-27 21:18:48 +00:00
rogerman ecc22fb24d OpenGL Renderer:
- Don’t output the depth to the secondary depth buffer if depth writing is disabled.
2015-04-25 19:07:54 +00:00
rogerman 74dbe2efdd OpenGL Renderer:
- Fix compiling for platforms that aren't OS X. (Regression from r5169.)
2015-04-25 03:08:20 +00:00
rogerman 398cd31bf3 Cocoa Port:
- In the 3D Rendering Settings panel in the DeSmuME Preferences view, move the Enable Edge Marking and Enable Fog checkboxes to the General Settings section.
- Update tooltips to reflect the new behavior.
2015-04-25 02:52:57 +00:00
rogerman d652249c34 OpenGL Renderer:
- Add support for edge marking.
2015-04-25 02:04:13 +00:00
rogerman 629da9c8e2 OpenGL Renderer:
- Fix compiling for platforms that aren't OS X. (Regression from r5166.)
2015-04-24 09:00:54 +00:00
rogerman f66287d0e0 OpenGL Renderer:
- Fix some graphical bugs with fog and translucent fragments.
2015-04-23 22:46:37 +00:00
rogerman 2ae84828e5 OpenGL Renderer:
- Add fog support.
2015-04-23 20:01:51 +00:00
rogerman 4fdcffa126 OpenGL Renderer:
- Do a bunch of code cleanup.
- Prepare the code for doing multipass rendering for the implementation of fog and edge mark.
2015-04-22 21:38:31 +00:00
zeromus db5b63fc2e fix vs2012 vcxproj 2015-04-18 16:17:49 +00:00
rogerman 21fce2cab0 OpenGL Renderer:
- Bring back vertex draw batching from r4522, fixing the bug that caused it to fail on Metroid Prime Hunters. This gives a small performance improvement for users with older drivers.
2015-04-16 21:55:57 +00:00
zeromus e0aa9eb56b update to fex github.com/kode54/File_Extractor/commit/e9e7560df9ca9b25348e0bfb4012f6e570711bb3
should fix new format RARs that dont work, but havent tested it
2015-04-15 06:04:46 +00:00
zeromus 66e314ec65 add a stdint for old visualstudios 2015-04-15 06:00:23 +00:00
zeromus c767066858 Merged revision(s) 5157-5158 from branches/release_0_9_11/desmume:
fix files missing from Makefile.am
........
oops this should probably be tabs
........
2015-04-14 23:57:20 +00:00
zeromus 6ca691914e png crunch 2015-04-14 22:58:23 +00:00
rogerman e526546bc0 OpenGL Renderer:
- Remove all of the state caching code. Things actually run a little faster without it.
- Do a bunch of other code cleanup.
2015-04-07 22:26:39 +00:00
zeromus 6af7350461 fix small mistake in r5121 that whacks all battery saves when making a savestate 2015-04-05 18:13:43 +00:00
rogerman 207c00df6b Cocoa Port:
- Update all info .plist files to v0.9.12 for future SVN builds.
2015-03-31 01:34:11 +00:00
zeromus e973f53e52 bump version number for trunk svn builds 2015-03-29 09:12:27 +00:00
zeromus 95ba5d8a97 clarify new version changelog 2015-03-29 09:11:11 +00:00
rogerman ccbf85ed42 Cocoa Port:
- Have SoftRasterizer’s Fragment Sampling Hack be disabled by default.
2015-03-29 01:14:03 +00:00
rogerman d5565bad72 SoftRasterizer:
- Do some code cleanup around GFX3D_TXTHack. Also make this check a little more robust.
2015-03-29 01:12:47 +00:00
zeromus 6697c7c0db fix nand more 2015-03-28 20:26:47 +00:00
zeromus c325eac5e3 winport - remove glitchy save type advanced menu thingy 2015-03-28 00:16:41 +00:00
zeromus 3289a3aecc clean formatting of r4800, messing up otherwise clean code 2015-03-28 00:10:53 +00:00
zeromus 6fadb2c07f improve previous commit 2015-03-28 00:05:29 +00:00
zeromus b79bd5fd33 fix " #1454 NAND games won't save " by continuing my sloppy fixes from r5052 and r5053 while also removing some of r4880 "optimize read/writes to NAND" since that kind of logic should be handled in the file IO layer even if it isn't now, otherwise the logic is too redundant and complicated spread around the codebase. In the future we need to evaluate using EnablePositionCache() on all the mc.cpp operations 2015-03-27 23:46:53 +00:00
rogerman 0161ced7ff OGLRender:
- When doing the depth buffer calculation, clamp the depth value to GL_DEPTH_RANGE {0.0, 1.0} in the fragment shader itself. Fixes 3D rendering on older drivers that won’t do the clamp for you. (Regression from r5133.)
2015-03-27 21:45:43 +00:00
rogerman 8a9295796d Documentation:
- Add one more note to the Cocoa port changes in ChangeLog.
2015-03-27 20:28:43 +00:00
rogerman 16bfa74d9f Documentation:
- Update release date for README.
- Update Read Me for Macintosh to reflect the current feature set.
2015-03-27 19:59:31 +00:00
rogerman 75bdce0942 OGLRender:
- Force cache alignment on the 5-bit LUT.
- Better localize OpenGL-specific LUTs.
2015-03-27 19:52:31 +00:00
zeromus e9b919d792 update changelog 2015-03-27 05:21:40 +00:00
rogerman 4031ee211a OGLRender:
- Revert depth buffer calculation change in r5133 for the z-buffer mode. Keep the w-buffer mode change, since that’s the one that works. Fixes the buttons in Blazer Drive. (Regression from r5133.)
2015-03-26 11:01:27 +00:00
rogerman 69ec85e624 OGLRender:
- Fix depth buffer calculations. Fixes lots of graphical glitches in “Harry Potter and the Order of the Phoenix” and many other 3D rendering cases.
2015-03-26 10:30:44 +00:00
rogerman 9b2d36df0c GFX3D:
- Do workaround for possible NaN comparisons being done when Y-sorting. (Addresses bug #1461.)
2015-03-26 09:49:56 +00:00
rogerman 2fc39e3c3e Documentation:
- Note Cocoa port changes in the ChangeLog.
2015-03-25 06:12:03 +00:00
zeromus 61df0246e6 add comments about y-sorting 2015-03-25 06:04:23 +00:00