summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/BPStructs.cpp
AgeCommit message (Collapse)Author
2010-05-24Fix a few compiler/valgrind warnings, kill check for 17th texenv registers, pierre
and one problem reading a truncated sram file. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5474 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-01-12D3D: Fix some texture wrapping issues by setting the texture state for every ↵hrydgard
texture used at draw time. Hopefully there will not be a noticable slowdown, thanks to the state caching. Also some minor cleanup. Should fix issues like repeated shadows. TODO: In theory it should have worked without this, so I should investigate why this change was needed. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4815 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-28Fix an issue with BPMEM_LOADTLUT, thanks to revned @ issue 1831, also fix a ↵sl1nk3.s
speed issue int the FIFO loop introduced recently (ZWW was ~20% slower) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4739 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-12-09Small fix for the last commit, and a little fix for disable fog to really ↵Rodolfo Osvaldo Bogado
disable it :) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4662 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-10-10Moving pixel engine and command processor from core to video common. This ↵donkopunchstania
will break previous save states. Adds decoding single pixels to texture decoder. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4391 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13D3D: Fix 8-bit signed normals. Fixes lighting problems in Super Smash Bros ↵hrydgard
Melee. misc tiny things git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4265 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-13D3D: Eliminate black borders, add 4:3 and 16:9 settings, and the widescreen ↵hrydgard
hack. Unfortunately this temporarily breaks MSAA (in d3d only) until I have time to fix it. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4263 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-04Fix screen flickering with frameskip on D3D plugin, also fix occasional hang ↵sl1nk3.s
when turning frameskip off git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4194 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-09-02Warning fixes/suppressions(aui), assorted code cleanup, d3d vertex shader ↵hrydgard
cache expiration interval increased. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4165 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-28Now ALL copyright dates are fixed to the legally correct year: The year in ↵XTra.KrazzY
which the project began. Now we don't have to change it every year :) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3898 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-26GFX: updated Dates, code formatting cleanup, code cleanup / organization, ↵omegadox
some unknown BPs uncovered, fixed OGL's config dialog bug, added another shader DSPHLE: Some warning fixes and added some logging for unknown voice cases Please report if anything has broken. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3884 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-22Fixed the load-state memory leak, also fixed various other savestate issues. ↵XTra.KrazzY
Found (probably) the cause of load-state crashing Dolphin: BPWrites. Tried to put a CriticalSection around BPWritten but it only causes Dolphin to hang when loading a state. Can someone find why it hangs? git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3873 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19do the rounding in the if, shouldn't cause trouble afaik. (pso kept spamming ↵daco65
logs under, cause xfblines was 574.205566) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3851 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-19Rename scale_something to scale_invert. Plus, sneak in a tiny Thread.h change.Nolan Check
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3845 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-18Seems to fix issue 1131. Please test Real XFB mode.Nolan Check
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3838 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15Some minor changes to VideoCommon, improved SawWave sound, the denied sound ↵omegadox
in ZWW sounds better (compared it to real HW to be sure). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3810 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-15Code cleanup. Juggling rectangles. I'm about to investigate the problems ↵Nolan Check
with Real XFB's in PAL games, so I wanted to make sure all our rectangles were cleaned up and organized. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3794 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-07-06add *.user, Win32, and x64 build dir to ignore list for DebuggerUICommon and ↵LPFaint99
Unit Tests add *.aps to ignore list for DolphinWX dir add eol-style native to 120 or so files git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3689 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29Move to new Virtual XFB system which correctly handles games which store ↵Nolan Check
multiple XFB's in memory. More OpenGL cleanup. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3591 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-29Grok EFB pixel format to determine whether render target has alpha, thus ↵Nolan Check
fixing the "Stage Clear" screen in SSBM. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3588 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28Graphics: (faked) bounding box support. Helps some Paper Mario effects ↵hrydgard
although they're still a bit glitchy. Might also help other games? Enable with the #define in VideoCommon.h. Since there might be a speed hit it's off by default. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3580 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-28Delete some obsolete junk, in zelda ucode and in gl plugin.hrydgard
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3577 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22revert last 2 commitsnakeee
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3533 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22They should be called SU Registers (Setup Unit/Rasterization). BP (Bypass) ↵omegadox
is really the name of the commands that are passed in. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3531 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-22Some commenting and added some unknown cases to BPStructs, see: ↵omegadox
http://code.google.com/p/dolphin-emu/issues/detail?id=360#c90 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3530 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-15Attempt to calculate actual refresh rate (i.e. a CPU-GPU synced Mhz), no ↵John Peterson
real success. Anybody have any ideas? Is there no indication from the game when the screen refresh should occur? No, not what I could find, we currently calculate the refresh rate and m_VBeamPos from the CPU ticks progress. That works perfectly if the CPU and GPU is perfectly synced as in the single core and no-idle skipping mode. So I guess it's possible that the game doesn't indicate when the screen should be refreshed, but rather that the hardware calculate that from the CPU ticks progress. That leaves us with a problem in the dual core and idle skipping modes to calculate a CPU-GPU synced CPU ticks progress. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3447 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-04Compile fix :pMarcus Wanners
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3323 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-06-04Got rid of warning (see ↵Marcus Wanners
http://code.google.com/p/dolphin-emu/issues/detail?id=360#c92). git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3322 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-15revised how texture scaling is handled. it now works correctly when adding ↵donkopunchstania
output together from indirect stages which use power 2 and non power 2 textures and it is simpler. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2972 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-08Some commenting fixes and use INFO_LOG again.omegadox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2923 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-07More commenting.omegadox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2921 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06More commenting and cleanup and added another BP Function.omegadox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2903 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06Added separate log for DSP LLE.XTra.KrazzY
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2901 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06Change "BreakPoint" to "Bypass", YAGD says BP REG is a "Bypass Raster State ↵omegadox
Register" Also some cleanup in BPStructs and I think this should be SETTLUT not LOADTLUT, because there is already a LOADTLUT earlier in the reg list. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2898 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-06Direct3D9 plugin now uses BPFunctions and removed its BPStructs. Some ↵omegadox
cleanup and commenting in BPStructs. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2897 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05VideoCommon: Fixed a case when in debug build.omegadox
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2887 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-05Recoded and moved BPStucts to VideoCommon. Some cleanup in ↵omegadox
PixelShaderManager. TODO: Have DX use BPFunctions. Note: Compiling DX plugin will not work atm. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2870 8ced0084-cf51-0410-be5f-012b33b47a6e