Shanoah Alkire
b270c1bb67
onepad: Cleanup in a few places.
2019-04-28 01:36:43 -07:00
Shanoah Alkire
6a202c9b5f
onepad: Update to include latest controller database.
2019-04-27 21:15:53 -07:00
Shanoah Alkire
d00b8081ac
onepad: bring the sensibility changes over to onepad as well as onepad_legacy.
2019-04-27 19:30:29 -07:00
Yaroslav Salnikov
ff9749f6dc
Onepad (legacy) sensibility implementation for linux ( #2932 )
...
* Implementation of onepad sensibility for linux
* cast floats to int
* Fix the sensibility sanity checking, and clean up the dialog box a bit.
2019-04-27 18:35:35 -07:00
Gregory Hainaut
ead3d21bdb
gsdx ogl: commit texture in copy function
...
So far not yet used but safer this way
2019-04-26 12:40:04 +02:00
Gregory Hainaut
568b96b885
gsdx ogl: only always uncommit texture in debug build
...
It is good for memory but bad for the speed. There is likely a better trade-off
but it should be enough for now
2019-04-26 12:40:04 +02:00
Gregory Hainaut
70c3c1a48f
gsdx ogl: always commit a sparse texture when force_texture_clear is enabled
...
The goal is to ensure the behavior of the option. VRAM usage isn't important
as option is mainly intented for debug purpose.
2019-04-26 12:40:04 +02:00
lightningterror
e77aac0bf1
gsdx-ogl: Do some integer casts for destination texture commit to StretchRect.
...
Fixes warning.
2019-04-26 12:40:04 +02:00
Gregory Hainaut
bdcf83ca45
gsdx ogl: sparse texture : only commit new area
...
Avoid potential driver overhead
2019-04-26 12:40:04 +02:00
Gregory Hainaut
bb306dfe90
gsdx hw: commit texture before a clear in OI hack
...
Note I didn't bother to compute the draw region for single game hack.
Gain would be 0 if game doesn't suffer of memory issue in the first place
2019-04-26 12:40:04 +02:00
Kojin
116a5d822c
gsdx-ogl: update Save() to use committed size of texture
2019-04-26 12:40:04 +02:00
Kojin
9618283217
gsdx-ogl: Add detection of Sparse Depth in isDss()
2019-04-26 12:40:04 +02:00
Kojin
55e95cc552
gsdx-ogl: add destination texture commit to StretchRect
2019-04-26 12:40:04 +02:00
Kojin
e9989a5966
gsdx: enable sparse render target in TC
2019-04-26 12:40:04 +02:00
Kojin
a1cdeb2fd1
gsdx: add uncommit in recycle
2019-04-26 12:40:04 +02:00
Kojin
4e675ef6e1
gsdx-ogl: add texture commit ogl renderer
2019-04-26 12:40:04 +02:00
Gregory Hainaut
ba782e90c8
gsdx ogl: enable sparse feature on GSdevice interface
...
Note: remain
* To really use sparse texture
* To debug it ^^
2019-04-26 12:40:04 +02:00
Gregory Hainaut
16d5f477ff
gsdx ogl: implement CommitPages
2019-04-26 12:40:04 +02:00
Gregory Hainaut
e8b2d036ee
gsdx ogl: handle creation of sparse texture
2019-04-26 12:40:04 +02:00
Gregory Hainaut
9e7069f374
gsdx hw: add API to manage sparse texture allocation
...
DX/GL should implement "CommitPages" to really commit memory
Note: CommitPages should also update the m_committed_size member
2019-04-26 12:40:04 +02:00
Gregory Hainaut
643ed528c2
gsdx hw: allow to create sparse texture at device level
...
Obviously texture allocation should be updated too
2019-04-26 12:40:04 +02:00
lightningterror
3408d1a873
gsdx-d3d11: Move colclip code to blending function.
...
Also disable a log that was accidentally enabled/pushed.
2019-04-25 16:48:07 +02:00
lightningterror
a0c6c1cb9f
gsdx-hw: Forgot to remove a crc region check for dbzbt2-3, no longer needed.
2019-04-25 16:34:28 +02:00
lightningterror
8eab618502
gsdx-hw: Purge crc hacks that had their half screen issues resolved (Texture shuffle case).
...
DBZBT2, DBZBT3, MetalGearSolid3.
2019-04-25 15:08:51 +02:00
Kojin
34ac15f7eb
GSdx-hw: Add secret ini option to disable TS half bottom detection
2019-04-25 13:42:47 +02:00
Kojin
7eb0b0ac65
GSdx-hw: Add automatic detection of half-bottom in TS
...
Typical shuffle case is 1/2 height so other half is undesired
In dbz we split the depth buffer.
- Sample first half, write to `0x0`.
- Sample second half, write to `0x800`
- Finally, sample `0x0` though `0xffc`
Crash Twinsanity is a similar case.
2019-04-25 13:42:47 +02:00
Kojin
97612edd58
GSdx-hw: Move src to protected member
2019-04-25 13:42:47 +02:00
Kojin
6af2f7ef46
GSdx-hwtc: Propagate valid area from dst to source
2019-04-25 13:42:47 +02:00
Kojin
acf771edd8
GSdx-hw: Store bounding rectangle in protected member
2019-04-25 13:42:47 +02:00
lightningterror
c3f36ad430
gsdx-gui: Separate opengl and direct3d blending options.
...
A short summary how d3d option behaves compared to gl.
None d3d-> behaves the same
Basic d3d-> even less than 1/3 of Basic opengl.
Medium d3d -> less than 1/3 of Basic opengl.
High d3d -> 1/3 of Basic opengl.
Note: Medium and High options are mostly intended for debug use.
2019-04-23 15:24:04 +02:00
lightningterror
d4b62444d1
gsdx-d3d11: Adjust fbmask code on d3d11.
...
Add the remaining code and separate it in levels because dx sux.
Basic blending mode -> doesn't enable fbmask on texture shuffle and
triangle primitives.
Medium -> doesn't enable fbmask on triangle primitives.
High mode- > fully enables fbmask, note it's still not on par with
opengl because we miss sw blending for some games.
Also keep in mind that High Blending option on d3d11 is like 1/3 of
Basic Blending option on GL.
2019-04-23 15:24:04 +02:00
lightningterror
641df126c4
gsdx-d3d11: Don't enable fbmask on triangle primitives.
...
It is quite slow due to fb copy on d3d, add potential notes for future
improvements so I don't forget what I wanted to do.
2019-04-22 05:07:42 +02:00
lightningterror
e72aa23436
gsdx-gui: Purge the aout (Alpha hack) from the gui, will be useless with fbmask emulation, enable blending option on d3d11.
...
Blending option allows us to toggle fbmask on or off with at least basic
level just like on gl.
2019-04-22 05:07:42 +02:00
lightningterror
de5e9a85bb
gsdx-d3d11: Partial port of frame buffer masking from opengl.
...
It works on games such as Fifa Street 1 and 2 (character and stage
rendering), mission impossible operation surma (shadow rendering).
It needs at least Basic level of blending enabled on d3d11.
2019-04-22 05:07:42 +02:00
lightningterror
9d60d6acfd
gsdx-d3d11: Remove old aout code.
...
Will be replaced with fbmask code in next commits.
2019-04-22 05:07:42 +02:00
Yaroslav Salnikov
6bae2f7629
Fixing stiks state monitor ( #2933 )
2019-04-21 13:49:11 -07:00
Tyler Wilding
08d923ca6f
recording: Append copyright headers
...
Squashed commits:
[47be08613] recording: Forgot to refactor the usage of std::size
2019-04-21 00:45:44 +02:00
Tyler Wilding
64104ca9fd
gui:recording: Revert addition of Screenshot As, will contribute as separate PR
...
Along with changing the .bmp file naming scheme.
2019-04-21 00:45:44 +02:00
Tyler Wilding
413ba4b430
GSdx: implemented saving a snapshot to a dialog provided file path
2019-04-21 00:45:44 +02:00
Avindra Goolcharan
4d88a57f27
gsdx-gui: Fixes typos on the tooltip for disabling safe features. ( #2931 )
2019-04-20 04:52:28 +02:00
lightningterror
ac1bc9d6fc
gsdx-hw: Move GSC_RadiataStories, GSC_StarOcean3, GSC_ValkyrieProfile2 crc hacks to D3D level.
...
Follow up from the previous commit which is bypassing the texture cache
when the frame buffer is sampled.
Crc hacks are no longer needed on opengl.
Note: it requires at least Basic blending support.
2019-04-17 03:48:30 +02:00
Gregory Hainaut
f406051ed9
gsdx ogl: Bypass the texture cache when the frame buffer will be sampled.
...
Proof of concept. It should provide a huge speedup when accurate
blending is enabled for tri-ace / Jak / R&C (shadow rendering).
See #2894
Need PR#2892
v2: Add const + comment to explain that code isn't ideal.
2019-04-17 03:48:30 +02:00
lightningterror
163fd2bad9
spu2-x-gui: Increase synchronizing mode drop down list vertical size.
...
Will help the list display properly on frontends like spectabis.
2019-04-11 21:41:56 +02:00
lightningterror
52da124a2b
gsdx-ogl: Check if primitives are triangles instead of overlapping.
...
Single triangle draw can now hit the tex_is_fb path.
Primitive Overlap will return no overlap for single primitive (triangle).
Ratchet and Clank, Jak, tri-Ace games.
It should improve shadow rendering.
Idea by Gregory.
2019-04-10 12:33:31 +02:00
Kojin
73e3072715
GSdx-d3d11: Enable break on D3D message
...
Enable automatic breaking on d3d11 messages:
- D3D11_MESSAGE_SEVERITY_CORRUPTION
- D3D11_MESSAGE_SEVERITY_ERROR
- D3D11_MESSAGE_SEVERITY_WARNING
- D3D11_MESSAGE_SEVERITY_INFO
Hidden option dx_break_on_severity bitfield
Debug build only.
2019-04-08 00:45:50 +02:00
lightningterror
508a8b477e
gsdx-hw: Disable automatic mipmapping on Jak games for now.
...
It crashes the emulator so until the issue is resolved properly comment
out/disable automatic mipmapping for jak games.
Issue #2916
2019-04-07 19:50:46 +02:00
lightningterror
fc5dde464f
Lilypad: Replace question mark with "N/A" on Diagonotics window when a device is not active.
2019-04-04 03:05:06 +02:00
lightningterror
9c222f8efe
gsdx-hw: Some minor comment and code adjustments.
2019-04-04 02:13:57 +02:00
lightningterror
e73607395b
gsdx:-debug: Update previous GSDrawingContext commit to show log only on gl sw renderer.
...
Follow up from:
46e63c1f17
2019-03-26 14:40:17 +01:00
Gregory Hainaut
a16fe6f016
gsdx TC: remove dead code
...
src->m_texture is always NULL, set in Source constructor
Potentially it was a leftover of msaa or the commented code to handle mutable FBW
2019-03-26 14:22:34 +01:00