Markus Wick
bcd77f9a3a
Merge pull request #2482 from degasus/ogl_poke_z
...
OGL: Rewrite POKE_Z with a draw call
2015-06-03 20:35:34 +02:00
degasus
84b13de538
OGL: Rewrite POKE_Z with a draw call
...
It's now also merged and it should be faster than the glClear way.
2015-06-02 23:06:41 +02:00
Markus Wick
da97d77e08
Merge pull request #2489 from degasus/hotkeys
...
Hotkeys fixes
2015-05-31 23:28:26 +02:00
Markus Wick
aa2576a2c7
Merge pull request #2480 from phire/GamesDoWeirdShit
...
Fix invalid pointer errors in Burnout 2.
2015-05-31 23:26:55 +02:00
degasus
bdfea96123
InputCommon: Change default hotkey for home and start.
...
We already use ALT + ENTER for toggling fullscreen.
But as ENTER is both home and start, this buttons will always
also be triggered on toggling fullscreen. Now we check for
those buttons if ALT is not pressed.
So now we're able to toggle fullscreen without pressing home or start.
2015-05-31 10:30:09 +02:00
degasus
ef3ed682a1
DolphinWX: Also evaluate Hotkeys while stopped.
2015-05-31 10:00:07 +02:00
degasus
19f753de6b
HotKey: Allow more than one hotkey at the same time.
2015-05-31 09:27:04 +02:00
Markus Wick
c12f04eefa
Merge pull request #2472 from degasus/master
...
AudioCommon: Remove lock on Pause state
2015-05-30 23:40:46 +02:00
degasus
9c730b0a1f
Unittests: Add BlockingLoopTest
2015-05-30 13:40:36 +02:00
degasus
bfa61105d5
Common: Update BlockingLoop to only use one atomic.
...
This merges two atomic<bool> into one atomic<int>.
We did move the bit from one bool to another, now we can use operator--.
2015-05-30 12:58:09 +02:00
degasus
02a3a063c3
Fifo: Extract syncing loop
...
It's now a new helper function within common.
2015-05-30 12:58:09 +02:00
Markus Wick
d1d284e784
Merge pull request #2475 from degasus/sampler
...
OGL: Always use sampler objects.
2015-05-29 16:21:05 +02:00
degasus
c4fc141ced
OGL: Always use sampler objects.
...
We are used to use the texture parameter for all util draw calls,
but AMD seems to have a bug where they use the sampler parameter
of stage 0 if no sampler is bound to the used stage.
So as workaround (and a bit as nicer code), we now use sampler
objects everywhere.
2015-05-29 14:03:03 +02:00
Markus Wick
61c53babf4
Merge pull request #2467 from RisingFog/disc2fix
...
Fix adding additional Disc 2 to certain multi-disc games
2015-05-29 07:47:56 +02:00
degasus
c69cc91f00
HiresTexture: Fix prefetching with broken textures
2015-05-29 07:31:11 +02:00
degasus
9a96e3c416
AudioCommon: Remove lock on Pause state
...
We had to lock audiocommon with the old asynchron HLE audio emulation,
now our Mixer is just a plain FIFO which may underrun.
Of course, this will stutter, but underruning the audio backend is likely worse.
2015-05-28 19:58:18 +02:00
Markus Wick
255a8dfdd2
Merge pull request #2465 from lioncash/commandproc
...
CommandProcessor: Replace volatile usages with atomics
2015-05-27 11:07:36 +02:00
Markus Wick
3318120632
Merge pull request #2422 from lioncash/core
...
DSPCore: Make the mailbox registers atomic.
2015-05-27 09:14:41 +02:00
Markus Wick
1c2d4e5d42
Merge pull request #2464 from lioncash/pixelengine
...
PixelEngine: Replace volatile usages with atomics
2015-05-27 08:43:35 +02:00
Markus Wick
a6b327751a
Merge pull request #2463 from lioncash/fifo
...
Fifo: Replace usages of volatile with atomics
2015-05-27 08:03:39 +02:00
Markus Wick
85e706b4ec
Merge pull request #2459 from degasus/master
...
Common: Fix IsTriviallyCopyable macro for GCC 5
2015-05-26 20:13:14 +02:00
degasus
ebad10f2a1
Common: Fix IsTriviallyCopyable macro for GCC 5
...
Based on quarthex's patch in PR #2440
2015-05-26 19:50:14 +02:00
degasus
b64301d65c
DolphinWX: Drop dead hotkey button.
2015-05-26 15:50:15 +02:00
Markus Wick
d7900b4423
Merge pull request #2006 from RisingFog/disc2
...
Append Disc 2 to Titles for Multi-Disc Games
2015-05-26 15:39:42 +02:00
Markus Wick
308b72d376
Merge pull request #2426 from Linktothepast/master
...
Gameini updates
2015-05-26 13:50:39 +02:00
Markus Wick
a6412fb41e
Merge pull request #2162 from degasus/prefetch_tex
...
CustomTexture: prefetch all available textures
2015-05-26 13:30:26 +02:00
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
degasus
562b9d4a9f
VideoCommon: Abort texture prefetching on low RAM
...
There is no nice way to correctly "detect" the "used" memory, so we just say
we're fine to use 50% of the physical memory for custom textures.
This will fix out-of-memory crashes, but we still might run into swapping issues.
2015-05-16 15:39:36 +02:00
degasus
242f7d964d
CustomTexture: prefetch all available textures
2015-05-16 15:12:07 +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