Commit Graph
100 Commits
Author SHA1 Message Date
Markus Wick 5d3a248811 Merge pull request #2455 from lioncash/fifo
FifoQueue: Use atomics instead of volatile members
2015-05-26 12:26:36 +02:00
Markus Wick 1fc3c8aa02 Merge pull request #2451 from degasus/master
DSP: Inline DSPControl into DSPState
2015-05-25 15:19:31 +02:00
degasus dd35f5df94 DSP: Inline DSPControl into DSPState
This was a struct with exactly one element, and
an overloaded constructor which matches the construtor
of this element. So there is no need for this stacked
structur.
2015-05-25 10:56:14 +02:00
degasus fc76d0df38 BBox: Touch old gameinis again 2015-05-25 09:48:50 +02:00
degasus 7e127da791 VideoCommon: Warn if bbox is disabled but used 2015-05-25 09:33:34 +02:00
degasus 029912681e VideoCommon: return 0 if bbox is disabled
Through just returning the last written value sounds better, this crashes Paper Mario.
In my opinion, gfx issues are fine on older GPUs, but crashes should not happen.
2015-05-25 09:33:34 +02:00
degasus 6b2a1e57e2 BBox: remove now unreachable SW bbox implementation 2015-05-25 09:33:34 +02:00
degasus acd074e291 VideoCommon: Make BBox emulation optional 2015-05-25 09:33:34 +02:00
degasus ac0e304159 Jitregister: fix common-core dependency 2015-05-25 09:33:34 +02:00
Markus Wick 732802ebd0 Merge pull request #2419 from Armada651/clip-control
OGL: Add glClipControl support.
2015-05-25 09:29:43 +02:00
Markus Wick ad9dae30a8 Merge pull request #2410 from lioncash/swatomic
Software: Convert most volatile variables to atomics
2015-05-22 14:11:16 +02:00
Markus Wick 23f6e19278 Merge pull request #2427 from lioncash/virt
JitWindow: Add missing virtual destructor to HostDisassembler
2015-05-20 18:56:39 +02:00
Markus Wick 63ff03ee3e Merge pull request #2425 from Armada651/ogl-integer
Revert "OGL: Switch depth buffers to GL_DEPTH_COMPONENT32F format."
2015-05-20 18:15:05 +02:00
Markus Wick 7b322df530 Merge pull request #2423 from Tilka/vex
XEmitter: fix L bit in VEX prefix
2015-05-20 11:38:29 +02:00
degasus d91d935057 OGL: reimplement poke-color 2015-05-20 11:05:31 +02:00
degasus c7bae5ad11 VideoCommon: Merge EFB pokes 2015-05-20 10:39:21 +02:00
Markus Wick 695a72c24c Merge pull request #2414 from Armada651/depth-clamp
VideoBackends: Clamp depth to uint24 range.
2015-05-19 14:44:34 +02:00
Markus Wick cad23fe27b Merge pull request #2415 from Armada651/d3d-depthbuffer
Revert "D3D: Use a 32-bit floating point depth buffer."
2015-05-18 23:31:11 +02:00
Markus Wick 0711f6a89c Merge pull request #2416 from yerejm/master
Reset faked CPU extension support at test end to ensure test isolation.
2015-05-18 09:46:30 +02:00
Markus Wick 8290fa1e46 Merge pull request #2377 from degasus/zfreeze
PixelShaderGen: apply zfreeze before ztextures
2015-05-14 11:26:46 +02:00
Markus Wick 38c7021109 Merge pull request #2408 from rohit-n/build-pch
Fix building with PCH disabled.
2015-05-14 00:00:28 +02:00
degasus 3d98f6ab9f PixelShaderGen: apply zfreeze before ztextures
The zfreeze option freezes the depth plane of the rasterization.
So this is done before the TEV stages, where the z-textures are applied.
2015-05-13 20:06:23 +02:00
Markus Wick 7dc6728464 Merge pull request #2399 from Tilka/fix_warning
Fix -Wswitch warning
2015-05-11 10:53:01 +02:00
Markus Wick 4c3984053d Merge pull request #2378 from lioncash/ogl
OGL: Minor changes in Render.cpp.
2015-05-08 16:00:11 +02:00
Markus Wick e0a7926ef7 Merge pull request #2372 from Armada651/msaa-depth
PixelShaderCache: Fix MSAA depth copy shader.
2015-05-06 12:59:09 +02:00
Markus Wick 430e8b7ade Merge pull request #2365 from Armada651/int-depth
VideoBackends: Implement depth copy shaders with integer math.
2015-05-05 17:21:20 +02:00
Markus Wick 1d351ba20e Merge pull request #2366 from sigmabeta/master
Fix the ABI/toolchain table in Readme.md.
2015-05-05 09:25:38 +02:00
Markus Wick e0cfd934d2 Merge pull request #2364 from kayru/d3d_texture_bsf
D3D: StateManager::Apply no longer iterates through every texture and sampler slot
2015-05-03 21:39:33 +02:00
Markus Wick a76bfb1f55 Merge pull request #2356 from Armada651/dump-efb
VideoCommon: Implement EFB dumping for both backends.
2015-05-02 13:27:38 +02:00
Markus Wick 1eb901ff64 Merge pull request #2354 from mathieui/build-without-libusb
Add missing ifdefs around GCAdapter code in Controller config
2015-05-01 18:27:48 +02:00
Markus Wick 4b00ccbe4e Merge pull request #2342 from rohit-n/warnings
Silence -Wshadow and -Wsign-compare warnings.
2015-04-30 23:22:19 +02:00
Markus Wick 4340927b7f Merge pull request #2308 from Stevoisiak/FrameToolsMath
FrameTools: Remove redundant 'i-1'
2015-04-21 16:17:02 +02:00
Markus Wick c74ae3d27e Merge pull request #2303 from degasus/master
no-gui: fix help string
2015-04-18 15:48:10 +02:00
degasus 8c209b3bc9 no-gui: fix help string 2015-04-18 15:03:42 +02:00
Markus Wick cd0212ab1c Merge pull request #2302 from lioncash/perf
PerfQueryBase: Move common implementation variables into base class
2015-04-16 07:31:31 +02:00
degasus ef6bdf674f Common: Remove TLS usage in GetLastErrorMsg
Just return std::string as this code isn't performance critical.
2015-04-07 22:42:21 +02:00
Markus Wick 4669b50e23 Merge pull request #2172 from degasus/block_gpu_thread
Block gpu thread
2015-04-06 13:24:17 +02:00
degasus 74795b4553 Fifo: rewrite Fifo_PauseAndLock
This lock isn't required any more as our FlushGpu garanty to block until the GPU is idle
2015-04-06 12:35:35 +02:00
degasus b1ffd32f5f Fifo: only touch the SIMD state once in the single core loop 2015-04-06 12:35:35 +02:00
degasus d2c62b1744 Fifo: only sleep once within every ms of emulated time 2015-04-06 12:35:35 +02:00
degasus b020ae1c5d Fifo: rewrite sync on idle skipping hack
Now it's done without a busy loop
2015-04-06 12:35:35 +02:00
degasus 9bdaa00e2d Fifo: use the outer loop on sync GPU 2015-04-06 12:35:35 +02:00
Markus Wick d50d8cbddd Merge pull request #2261 from degasus/master
Remove TM character which breaks our buildbot
2015-04-01 22:25:16 +02:00
degasus 119fea0d72 Remove TM character which breaks our buildbot
Or github...
2015-04-01 22:24:13 +02:00
Markus Wick ec8a074690 Merge pull request #2153 from degasus/enet
enet: Search for shared library
2015-03-14 17:23:27 +01:00
Markus Wick 43b2f790fd Merge pull request #2197 from RachelBryk/paren
Fix missing parenthesis.
2015-03-12 07:58:05 +01:00
degasus f3f2ed1536 GLX: fix memory leak 2015-03-08 17:42:37 +01:00
degasus 691b690afe enet: Search for shared library 2015-03-02 22:18:57 +01:00
Markus Wick cc5a2f3411 Merge pull request #2164 from Armada651/cache-fix
ProgramShaderCache: Do plenty of error checking before writing shaders to the disk.
2015-03-02 17:24:00 +01:00
Markus Wick 1b3e3f8141 Merge pull request #2160 from degasus/texfilter
TextureCache: load all mipmap levels from custom textures
2015-03-02 00:13:48 +01:00
degasus 35373c5185 TextureCache: load all mipmap levels from custom textures
This drops the "feature" to load level 0 from the custom texture
and all other levels from the native one if the size matches.
But in my opinion, when a custom texture only provide one level,
no more should be used at all.
2015-03-02 00:09:09 +01:00
Markus Wick 6a211978c1 Merge pull request #1950 from mbc07/master
Missing Game INIs & minor updates
2015-03-01 14:52:44 +01:00
Markus Wick ba7186b8ae Merge pull request #2158 from degasus/texcache
TexCache: increase TEXTURE_KILL_THRESHOLD
2015-03-01 13:50:07 +01:00
degasus 7ca24f90d1 TexCache: increase TEXTURE_KILL_THRESHOLD
Xenoblade uses more than 40 textures alternately per frame for eg water effects.
So don't try to drop them as aggressive.
2015-03-01 13:41:14 +01:00
Markus Wick 4fd980e6d4 Merge pull request #2143 from lioncash/cast
PixelShaderManager: Remove unnecessary casts.
2015-02-28 10:05:48 +01:00
Markus Wick 60591f51e1 Merge pull request #2137 from waddlesplash/patch-1
Enet: ensure CMAKE_REQUIRED_LIBRARIES is empty.
2015-02-27 19:37:47 +01:00
Markus Wick 4f9fcbaba9 Merge pull request #2120 from JosJuice/show-default-gameini
ISOProperties: Allow opening region-free INIs with "Show Defaults" button
2015-02-27 17:58:42 +01:00
Markus Wick 4489c21b18 Merge pull request #2136 from JosJuice/gameini-less-regions
Use the new game INI naming format for as many games as possible
2015-02-27 17:43:56 +01:00
Markus Wick 6f01b4226a Merge pull request #2131 from JosJuice/gameini-2015-02-25
Gameini updates. (PR #2130 fixed and rebased)
2015-02-26 15:52:01 +01:00
Markus Wick d6ccbb1f9c Merge pull request #2004 from randomstuff/stringutil-c-locale
Use the C locale for non-Windows CharArrayFromFormatV() and StringFromFormat()
2015-02-25 13:17:04 +01:00
degasus 967eaad8df VideoCommon: rename efb2tex and efb2ram 2015-02-24 23:10:13 +01:00
degasus 1313d3461f VideoCommon: always enable efb copy 2015-02-24 23:01:01 +01:00
Markus Wick 5fc62ac563 Merge pull request #2085 from degasus/ogl_paletted
OGL: support palette texture decoding
2015-02-24 22:59:58 +01:00
degasus ac7102918d OGL: support palette texture decoding 2015-02-24 22:51:55 +01:00
Markus Wick be6a151355 Merge pull request #2116 from Sonicadvance1/fix_exception_handler_crash
Fix a crash with fastmem disabled.
2015-02-24 12:02:22 +01:00
Markus Wick c04270c073 Merge pull request #2111 from dolphin-emu/revert-1629-FIR-resampler
Revert "High quality resampler"
2015-02-23 18:48:35 +01:00
Markus Wick e0b0ef3868 Revert "High quality resampler" 2015-02-23 18:43:13 +01:00
degasus b35fa222f5 VideoCommon: perf querys by async events 2015-02-22 08:41:15 +01:00
degasus edbd402101 VideoCommon: bbox by async events 2015-02-22 08:41:15 +01:00
degasus ad7264da7d VideoCommon: implement swap requests in the full async way 2015-02-22 08:41:15 +01:00
degasus bc248f8941 VideoCommon: use a new async event system for efb access 2015-02-22 08:41:15 +01:00
Markus Wick 95c48b2be7 Merge pull request #2018 from JosJuice/gameini-region-wildcard
Support game INIs that match all regions
2015-02-21 15:47:57 +01:00
Markus Wick 6bbf774507 Merge pull request #2075 from magumagu/titantron-fix
Partially fix WWE12 titantron videos.
2015-02-21 10:09:47 +01:00
Markus Wick 5da28f394a Merge pull request #2083 from phire/zfreeze-regression
Fix regression with directx when zfreeze=true and ztest=false.
2015-02-21 09:30:05 +01:00
Markus Wick 1a3bc8f286 Merge pull request #2001 from mimimi085181/multiple-texture-cache-entries
Allow multiple texture cache entries for textures at the same address
2015-02-19 01:08:07 +01:00
Markus Wick 86226cb2b9 Merge pull request #1979 from Mullin/head
Use clock_gettime instead of gettimeofday, it's more efficiency on low power system
2015-02-18 21:54:16 +01:00
Markus Wick f38b3ace38 Merge pull request #2038 from magumagu/disable-thread-safety-checks
Disable thread safety assertions added in PR1987.
2015-02-15 10:33:19 +01:00
Markus Wick 405444d4fe Merge pull request #1803 from lioncash/rgb
OnScreenDisplay: Allow for different colored messages
2015-02-14 10:47:47 +01:00
degasus c404e87226 ShaderGen: Fix pixel offset correction
We want to move the vertex by 1/12 pixel, but the old code
did miss the perspective division. So by multiplying with pos.w,
the position is moved correctly after the perspective division.
2015-02-11 20:54:15 +01:00
Markus Wick 2aef84d80c Merge pull request #2025 from phire/be-neobrain
Remove VBeam Speed Hack.
2015-02-09 12:55:58 +01:00
Markus Wick b79015186e Merge pull request #2023 from mrgreywater/d3d-efb-ms-crash-fix
D3D: Fixed crash rendering EFB textures with MSAA
2015-02-08 22:11:15 +01:00
Markus Wick 550dc273f3 Merge pull request #2014 from degasus/master
HotKey: fix warnings
2015-02-05 13:32:07 +01:00
degasus 68c70be960 HotKey: fix warnings 2015-02-04 20:19:16 +01:00
Markus Wick 235fa05171 Merge pull request #2013 from lioncash/emplace
Use emplace_* functions where in-place construction is preferable
2015-02-04 17:46:07 +01:00
Markus Wick b2df8cb87f Merge pull request #2005 from magumagu/d3d-efb-depth
Fix regression for D3D EFB depth copies.
2015-02-03 20:50:20 +01:00
degasus 081137bd4f VideoBackends: set GLInterface to zero after deleting it
This fixes a crash on opening the gfx settings after closing a game.
2015-02-01 13:51:34 +01:00
Markus Wick 3c475b91ea Merge pull request #1993 from Armada651/line-perspective
GeometryShaderGen: Perspective divide the line coordinates before comparing the angle.
2015-01-31 23:45:54 +01:00
Markus Wick ca5e2e6f16 Merge pull request #1989 from lioncash/leak
OGL: Fix a memory leak that would occur every time a game is launched
2015-01-31 23:06:21 +01:00
Markus Wick 22e27ffd23 Merge pull request #1990 from Tilka/getvertexsize
VertexLoaderManager: assimilate GetVertexSize()
2015-01-31 19:15:09 +01:00
Markus Wick 92294bf8be Merge pull request #1986 from lioncash/unique
Use unique_ptr for some IVolume instances
2015-01-30 12:40:10 +01:00
degasus 20628b6e5d OpcodeDecoder: Calculate decoding time for vertices 2015-01-29 19:55:28 +01:00
Markus Wick b0afc3de07 Merge pull request #1981 from Sonicadvance1/fix_x86_64_clang
Fix clang on x86_64.
2015-01-29 12:44:34 +01:00
Markus Wick aa5ab45104 Merge pull request #1977 from rohit-n/unused-variable
Silence -Wunused-variable warning.
2015-01-28 21:18:02 +01:00
Markus Wick 109fa8c2c8 Merge pull request #1800 from randomstuff/jit-register
Add support of more JIT-compiled code for profiling
2015-01-28 13:23:32 +01:00
Markus Wick eedc7bb582 Merge pull request #1975 from Tilka/fix_warning
CoreTiming: fix warning
2015-01-28 09:33:39 +01:00
Markus Wick c559e9e13d Merge pull request #1974 from magumagu/efb-copy-d3d-unset
Fix D3D regression from PR1948.
2015-01-28 09:33:12 +01:00
Markus Wick beaa9905a6 Merge pull request #1966 from magumagu/unify-efb-encode
Unify EFB encoding shader generation
2015-01-27 23:14:18 +01:00
Markus Wick da31314775 Merge pull request #1970 from magumagu/d3d-cleanup
D3D: delete unnecessary code.
2015-01-27 22:26:46 +01:00
Markus Wick 43605f8716 Merge pull request #1948 from magumagu/remove-efb-cache
Remove EFB to RAM cache, and simplify code.
2015-01-27 09:42:15 +01:00
Markus Wick 8eda3ca844 Merge pull request #1956 from Tilka/vertex_loader_jit
VertexLoader: clean up and fix some problems
2015-01-27 09:15:09 +01:00