Commit Graph

460 Commits

Author SHA1 Message Date
hrydgard 33ea7313ba remove unnecessary string alloc in overlay stats string code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2280 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 21:50:33 +00:00
hrydgard a6c298abc7 fix silly oversight in overlay stats string code
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2279 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-16 21:40:39 +00:00
omegadox 6f05e6f5ba small code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2269 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 21:01:07 +00:00
omegadox 7a276e687e Added more overlay stats options.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2268 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 20:49:59 +00:00
hrydgard 4f471ffeb6 color vertexloader: make read24 safer, speedup direct 8888 a tiny bit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2253 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 13:08:21 +00:00
hrydgard 232e961b6f Sort vertex loader debug statistics by number of verts loaded - now easy to identify the heaviest vertex loader in games.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2252 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 12:38:25 +00:00
omegadox 72cf7a5a42 Fixed LogicOp Blending and Dithering support enabled.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2249 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-15 11:24:45 +00:00
XTra.KrazzY acb3d1b23d New compact texture type for OGL/D3D: IA8
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2233 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-13 14:14:45 +00:00
XTra.KrazzY e557e090dd New compact texture type for OGL/D3D: RGB565
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2225 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 22:32:33 +00:00
XTra.KrazzY d2d097fba5 Committing magumagu9's work on texture decoding transferral to OGL, I added DX9 support. Speed seems to have increased but I'm not sure. See issue 581 for more info.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2222 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-12 13:54:08 +00:00
hrydgard d209d4a577 Cache vertex array pointers, a la magumagu's idea. Misc other stuff. Should give very minor speed boost.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2185 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-09 20:35:30 +00:00
donkopunchstania f5f99e8f04 clip space coordinates are now available in fragment shader because depth needs to be computed there instead of the vertex shader. computing it in the vertex shader causes incorrect results sometimes. worked on z textures but 8 bit z texture still is not correct because it breaks SSBM. RE0 now looks ok.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2163 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 22:08:20 +00:00
hrydgard 5822e284f3 Add Release_JITIL configuration to use magumagu's JIT instead under windows (currently 32-bit only) (this is intended to be temporary). Add comment about crashes with JITIL in Burnout2 and Animal Crossing. Some warning disables and cleanups.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2145 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 13:09:58 +00:00
John Peterson e926bc61d1 Wiimote: Added logging messages for the speaker configuration and for the 0x18 sound reports, the speaker currently produce a low humming noise in the wpad tools demo, but no real sound
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2141 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-08 10:15:55 +00:00
nakeee adde9b778b compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2134 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 19:17:20 +00:00
John Peterson fcdd2a8e17 Wiimote:
1. Fixed the dual mode. You should now be able to change between the real and emulated Wiimote at any time, even when the Nunchuck is connected. It also supports third party Wireless Nunchucks that never sends any calibration values. The Nunchuck status should be automatically updated. The Nunchuck stick may get stuck, but that should fix itself if you disconnect and reconnect again. The only important problems seems to be that the real Wiimote fails to answer sometimes so that the Core functions disconnect it.

2. Began looking at how to reconnect the Wiimote after an unwanted HCI disconnect command

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2129 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-07 03:16:41 +00:00
hrydgard 81631d8452 Nothing important, just cleaning my dev folder. (mostly formatting changes, removed a superfluous strlen from logging in ogl plugin)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2126 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 18:04:24 +00:00
magumagu9 90c9810b85 Use glMultiDrawArrays instead of glDrawArrays, which significantly
reduces the number of OpenGL calls for large sets of triangle strips; 
this is something like a 10% perf improvement in the case I'm looking 
at.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2120 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-06 03:41:33 +00:00
nakeee a0724e8321 scons fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2114 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 18:00:38 +00:00
Shawn Hoffman 0a81e741c5 build fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2113 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 17:48:40 +00:00
nakeee 7bb2aee235 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2112 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 17:46:22 +00:00
Shawn Hoffman 7b7cfa940e remove stuff from ogl debugger that did nothing. (copied from dsp hle a while ago)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2111 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 17:33:59 +00:00
XTra.KrazzY 77215fd27c Joined work of nakee and mine, cleanup the logging code a bit.
This solves the random __Log symbol and crash problem on linux
Please tell us if you find problems in the logging code


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2109 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-02-04 15:28:39 +00:00
nakeee ae84837320 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2045 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 20:31:19 +00:00
hrydgard cdb8e2009d temporarily disable vtx fmt jit in 64-bit mode until i can figure out why it crashes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2044 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 19:48:31 +00:00
Shawn Hoffman 24fc93cce4 fix for win64 + OpenGL crashes?!?! dumb plugin loading order... Also enable debug symbols on ogl debugfast build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2043 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-31 19:39:14 +00:00
XTra.KrazzY 31cd8ed9d2 tiny fixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2041 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-30 17:45:02 +00:00
XTra.KrazzY dd6fe4889d build fix for those non-WIP OGL people out there
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2040 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-30 07:35:47 +00:00
Shawn Hoffman d0c2917b7a Update vcproj so the non-GLWindow version of OGL can continue compiling, since we're not ready to switch to GLWindow yet
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2039 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 23:51:10 +00:00
XTra.KrazzY cd658ac755 More WIP OGL EventHandler work by shuffle2 and myself. Wiimote isn't implemented yet and OGL window is too small (should take window borders into account when creating window).
Not committing VideoOGL.vcproj so that project compiles with old OGL video window. In order to test just replace main.cpp/GLUtil.cpp/GLUtil.h with nmain.cpp/nGLUtil.cpp/nGLUtil.h in the project.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2038 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 23:35:31 +00:00
nakeee a7025c1591 testgl=1 compile fix
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2036 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-29 11:12:53 +00:00
memberTwo.mb2 ac80c04eab XFB in SC reverted back to its previous behavior (thx donko). But still hacked in DC (still a FIXME).
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2019 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-27 20:59:27 +00:00
memberTwo.mb2 2a13bedfc8 break my BOOLs
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2002 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 22:02:27 +00:00
memberTwo.mb2 1e7655b5db 1) XFB in DC proposal. This impact video plugin interface. WARNING: XFB_Draw is not CPU->VI dependent anymore. It's up to GP now. Except for some 2D homebrews which never use GPfifo&CP but direcly XFB. Well, in other words: emulated VSync is uncorrelated with CPU timings now. Tell me if it's too much hacky.
2) DC/GPfifo work: GP quicker to react. PeekMessages at a more steady rate.
3) Fix XFB address to avoid crash like with Animal Crossing gc. TODO: VI regs need proper typedef and logic.
4) Few misc. changes on the fly.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2001 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 14:43:17 +00:00
omegadox 8f98f0b778 Some warning and code cleanup.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1998 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-24 00:45:46 +00:00
daco65 d450e054a4 wrong project file >_>
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1990 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 01:48:13 +00:00
daco65 60de218281 changed the project files. building in windows is still broken (trowing sdl.h not found in inputmanager.h when building core?!)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1989 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-23 01:42:33 +00:00
nakeee a3b9c39fbf some win32 template so shuffle can implement the win32 side
the code in the .cpp was taken from SMFL source


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1966 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-20 23:09:24 +00:00
nakeee 0b267948cc fixed padsimple event some glwindow cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1940 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 21:39:53 +00:00
John Peterson c53797dc5b OpenGL config: Added tooltips
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1939 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-19 21:18:43 +00:00
donkopunchstania 4930a6d6cb Destination alpha works in OGL. Fixed reading XFB address from VI regs and removed a check to fix games which keep the XFB some place other than mem 1.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1921 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-18 19:03:14 +00:00
daco65 5c0fe68dc0 made stf(stretch to fit) enabled by default. in windows stf works fine but in linux it doesn't. please report anything that could help cause the plan is to remove this option and always do stf
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1907 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-18 00:02:31 +00:00
magumagu9 0099b5c957 Misc Linux build fixes in the wake of r1887; still doesn't work right
because Source/Plugins/Plugin_DSP_HLE/Src/Debugger/Logging.cpp appears 
to be missing, and I haven't looked at the fallout of r1884 yet.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1897 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 19:59:20 +00:00
memberTwo.mb2 8ff64a12ea fix XFB enabled at boot. Should save some click for homebrew.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1893 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 16:16:47 +00:00
John Peterson 389fef2e30 Last commit: Missing files
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1889 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 14:36:32 +00:00
John Peterson 709adce8f6 Last commit: Typo
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1888 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 14:34:40 +00:00
John Peterson ae9cfbd8e3 Common: Moved Windows console functions to common
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1887 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 14:28:09 +00:00
memberTwo.mb2 7f9ce70b33 Fix a bit texture cache WIP for copyEFBToRam at least.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1886 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-17 13:31:17 +00:00
memberTwo.mb2 acc062a2c1 More work on texture cache. Texture address is most of the time the cacheEntry index (as it was before r1871) to help CopyRenderTargetToTexture (fix it still a TODO). But not when texture format is tlut dependent to fix MP1 perf issue.
Fix tlut overrun.
Change TexDecoder_GetSafeTextureHash to fix Pokemon Colosseum and improve speed (we may need to tweak hardcoded value there -> TOTEST).
Few notes too and I let my debug stuff for a while.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1880 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-16 16:28:33 +00:00
magumagu9 9df221dd73 A few tweaks to fix issues I've been having with Tales of Symphonia in
safe texture mode. One, don't hash the palette when it doesn't matter;
including it completely kills performance in the map mode, and I'm 
pretty sure it's because the palette points to essentially random 
memory.  Two, include the address in the hash seed; this helps with an 
issue related to the EFB and the main menu.  Hopefully, these changes 
together don't cause any regressions.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1878 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-01-15 17:23:05 +00:00