Commit Graph

4252 Commits

Author SHA1 Message Date
rogerman 97ddd12360 OpenGL Renderer:
- Move alpha testing to the fragment shader.
- Do a bunch of code cleanup.
2012-12-23 10:05:42 +00:00
rogerman cb1f8af8d7 OpenGL Renderer:
- Fix bugs with ClearImage/Rear-plane emulation that caused it to stop working. (Makes games like Sonic Chronicles: The Dark Brotherhood playable again with this renderer.)
2012-12-23 05:46:12 +00:00
rogerman 4efa980cba OpenGL Renderer:
- Windows doesn't seem like multithreading on the same OpenGL context, so revert to r4435 where we disable this on Windows. Should fix related crashing bugs on certain drivers. Someone please research.
2012-12-22 21:38:10 +00:00
rogerman 3ced7f5c8b OpenGL Renderer:
- Fix regression from r4438 where the toon table didn't upload correctly.
2012-12-22 20:50:09 +00:00
rogerman fd5dc6a521 OpenGL Renderer:
- Change detection of toon table invalidation from using a render state flag to doing a full memcmp() on the render state's toon table. (Maybe fixes some bugs?)
- Lazy load the toon table instead of loading on invalidate.
2012-12-22 07:00:17 +00:00
rogerman fcd5447274 OpenGL Renderer:
- In single-threaded mode, defer pixel reads until H-Blank to help improve single-threaded performance.
- Move the framebuffer conversion code to its own function.
2012-12-22 01:44:57 +00:00
rogerman 9ba6873ef4 OpenGL Renderer:
- Fix bugs with multithreading that was causing instability.
- Revert temporary crash fix on Windows from r4435.
2012-12-21 22:18:54 +00:00
mtabachenko 5a0c9632bb OpenGL:
- temporary fix crash on Windows;
2012-12-21 19:08:23 +00:00
rogerman 233d079b45 Cocoa Port:
- Fix compiling. (I forgot to commit displayView.h in r4432, oops!)
2012-12-21 04:01:37 +00:00
rogerman be3059f547 OpenGL Renderer:
- Add PBO support.
- Pixels reads are now multithreaded, giving a significant performance boost. (Note: This optimization does not work on GPUs lacking PBO support and running on Windows. Someone please research...)
2012-12-21 03:19:05 +00:00
rogerman 2a4b7380d3 Cocoa Port:
- Add shader support to the OpenGL blitter and move matrix transforms to the shaders.
- Remove the assumption that the renderer will have VBO support. The code will now work without it.
2012-12-20 02:28:36 +00:00
rogerman 755c63721d OpenGL Renderer:
- Add VBO support plus optimizations.
- Standardize the naming conventions for OpenGL feature support.
2012-12-20 00:21:02 +00:00
rogerman 91ec1589a8 OpenGL Renderer:
- Fix compiling on Windows
2012-12-19 05:31:46 +00:00
rogerman d43c709c33 OpenGL Renderer:
- Do some small optimizations.
- Move matrix transforms, texture scaling, and vertex color handling to the shaders.
- Tons of code cleanup.
2012-12-19 00:57:47 +00:00
rogerman ad1c1e6a18 OpenGL Renderer:
- Improve accuracy of wireframe mode rendering.
- Fix regression from r4426 where wireframe rendering of GL_QUADS and GL_QUAD_STRIP would render an extra diagonal line. (Tested on Nanostray 2)
2012-12-10 10:50:40 +00:00
mtabachenko 27d4d5f92b JIT:
- fix bug in SMULW/SMLAW instructions on x86;
2012-12-09 09:38:45 +00:00
rogerman b66bbd5654 OpenGL Renderer:
- Render GL_QUADS and GL_QUAD_STRIP as GL_TRIANGLES.
- Fix rendering of GL_QUAD_STRIP.
2012-12-09 08:41:30 +00:00
zeromus 1f321224b6 fix memory leak in jit loadstate. someone who uses the jit ought to test this a bit, but i think its right. 2012-12-09 05:19:11 +00:00
rogerman 8dd727fc01 Cocoa Port:
- Remove some test code that accidentally snuck into r4423.
2012-12-08 01:18:13 +00:00
rogerman e841a8aa1a Cocoa Port:
- Allow the OpenGL 3D renderer to render in HW (allow for SW fallback).
- Remove the depth buffer from the display output context (doesn't need it and never will need it).
2012-12-08 01:10:33 +00:00
rogerman 68fd51ac1f OpenGL Renderer:
- Optimize vertex uploading by replacing immediate mode calls with glDrawElements().
- Do some minor code cleanup.
2012-12-08 01:05:13 +00:00
rogerman 57eb23b97e Cocoa Port:
- Optimize OpenGL blitter for better performance (now uses VBOs to modify display properties instead of completely reconstructing display lists whenever the properties change).
- Some refactoring and code cleanup of the video output code.
2012-12-07 08:32:47 +00:00
rogerman a2fe2fdd21 Cocoa Port:
- Add support for the OpenGL 3D renderer.
- Improve thread-safety of the display code.
- Fix a pixel alignment issue when resizing the display window.
- Lots of refactoring and cleanup of the display code.
2012-12-05 09:17:49 +00:00
rogerman e8072e0eb0 OpenGL Renderer:
- Fix enable texture setting.
2012-12-05 08:22:28 +00:00
rogerman e6615d640d OpenGL Renderer:
- Wrap OpenGL calls in OGLReset().
2012-12-04 02:27:41 +00:00
rogerman c87672f680 Cocoa Port:
- Optimize OpenGL blitter for better performance (now uses display lists instead of rendering in immediate mode).
- Some refactoring and code cleanup of the video output code.
2012-11-24 05:45:59 +00:00
zeromus ba35ebce6a add todo 2012-11-08 21:52:07 +00:00
zeromus e54a1201a9 fix regressions in handling of weird characters in filenames/archives, dating from introduction of fex. also improve fex to support utf-8 extended filenames in zipfiles. 2012-11-08 21:44:46 +00:00
zeromus edbfa51bae fix fullscreen horizontal-lcd mode display rectangle calculation to correct aspect ratio 2012-11-07 08:55:27 +00:00
rogerman 54626689cf JIT:
- Fix a low-level bug on 32-bit processors. This was most noticeable with 3D graphics corruption in games like Golden Sun: Dark Dawn.
2012-11-02 21:42:30 +00:00
zeromus 02882f9483 fix bugs in slot-1 init that made non-default choices fail to init at emulator boot-up time 2012-10-24 18:14:48 +00:00
zeromus e6216b978a improve WRAMCNT memory mapping 2012-10-21 21:17:07 +00:00
zeromus e2fcf5eadb support WRAMCNT memory mapping, and do some other code cleanup and documentation 2012-10-21 19:44:16 +00:00
rogerman 059b396d97 Cocoa Port:
- Remove code for Eject Card functionality. (Function is currently unimplemented, and has been obsoleted in r4392.)
2012-10-21 05:42:21 +00:00
zeromus b514a4b0a2 fix #3574181 Readme: wrong forum address 2012-10-21 00:08:42 +00:00
zeromus 3295e71825 rough draft of new RTC dialog 2012-10-18 00:52:03 +00:00
zeromus 89aa770a82 windows-fix bug in FEX interface which made archive opening effectively useless. apparently fex_seek_arc takes an offset into the archive which must be got by fex_tell_arc; it doesnt take an archive index. am i right? 2012-10-17 05:44:16 +00:00
hi-coder 35b6d80a62 add hot key to toggle cursor on and off win - english 2012-10-15 06:28:21 +00:00
mtabachenko 0b689ec20d OpenGL:
- fix program crash when graphics card not support FBO;
WinPort:
- fix create console in Windows XP;
2012-10-06 10:21:01 +00:00
mtabachenko 9bc148b9cc JIT:
- speed up optimization;
2012-09-30 00:43:41 +00:00
pengvado 9a2eaad15c JIT: fix compilation on gcc
regression in r4372
2012-09-19 16:34:21 +00:00
mtabachenko 231b9dfe08 JIT:
- fix bug in BX/BLX THUMB instructions (fix set CPU T-flag);
- more optimizations;
2012-09-19 09:24:06 +00:00
mtabachenko 7001f8c533 winport:
- fix compile windows builds when HAVE_JIT undefined;
2012-09-15 06:53:00 +00:00
mtabachenko 1b77d8b3e3 JIT:
- fix bug in arithmetic shifts when imm>32;
- a bit speed optimizations;
2012-09-13 11:48:24 +00:00
zeromus e7b9bc7765 add es to LINGUAS file 2012-09-13 01:28:49 +00:00
zeromus d65b92517d add spanish .po file 2012-09-13 01:23:57 +00:00
zeromus b2a81e3ea5 fix asmjit to at least give me _something_ to disable its typedefs of int32_t etc so that we can avoid them redundantly declaring themselves in builds that include EXPERIMENTAL_WIFI_COMM. asmjit is a bit too smart for its own good. 2012-09-11 19:09:35 +00:00
zeromus fe6b99a7a0 default jit to disabled, i think 2012-09-06 20:58:00 +00:00
mtabachenko 532209dd61 winport:
- fix x64 builds;
2012-08-31 10:51:49 +00:00
zeromus a6742bbe6a fix regression by me from r4129 of code added in r3698 by crazymax to emulate 8bit DIVCNT reads. fixes nostalgia options screen. add some clarification so the related code isnt quite so mystic. 2012-08-30 18:27:22 +00:00