Gregory Hainaut
ec57f1305a
gsdx: detect rendering outside of the framebuffer
...
Could help to detect rendering issue (for example missing fmv)
2016-03-10 19:03:39 +01:00
Gregory Hainaut
bc73195193
gsdx-ogl: pack more tightly the FS UBO
...
Merge TA vec2 + Af vec1 into a single vec4
2016-03-10 18:29:05 +01:00
Jonathan Li
3e278a2e75
Merge pull request #1197 from turtleli/gsdx-png
...
Gsdx: PNG screenshots (Windows), use libpng directly
2016-03-08 23:49:56 +00:00
Gregory Hainaut
7b8616ac7b
gsdx-ogl: add function pointer for query object
2016-03-06 13:39:24 +01:00
Jonathan Li
6b950d0408
gsdx: Allow dump and capture PNG compression to be changed
...
Valid values for png_compression_level are from 0 (no compression) to 9
(max compression). The default is 1.
v2: Use zlib Z_BEST_SPEED (1) and Z_BEST_COMPRESSION (9) defines.
2016-03-02 22:58:45 +00:00
Jonathan Li
a97cbf038c
gsdx-d3d9: Save screenshots as PNG files
...
v2: Avoid unnecessary memory copy
2016-03-02 22:57:17 +00:00
Jonathan Li
d865efceb9
gsdx-d3d11: Save screenshots as PNG files
2016-03-02 22:57:16 +00:00
Jonathan Li
cf939620ea
gsdx-ogl: Save depth image as RGB and alpha images
2016-03-02 22:57:16 +00:00
Jonathan Li
97215008c9
ci|cmake|debian: Remove png++ build dependencies
...
GSdx now uses libpng directly. png++ is now unused, so let's remove it.
2016-03-02 22:57:15 +00:00
Jonathan Li
ee5861efc8
gsdx: Remove non-PNG code
...
It's no longer in use.
2016-03-02 22:57:12 +00:00
Jonathan Li
38edd77034
gsdx-ogl:windows: Save screenshots as PNG files
...
v2: Add zlib directory to property sheet
2016-03-02 22:52:08 +00:00
Jonathan Li
87dcfbc645
gsdx-png: Use libpng directly instead of via png++
...
v2: Increase compression to maximum
v3: Add zlib to GSdx build dependencies
v4: Reduce memory usage
2016-03-02 22:48:54 +00:00
Gregory Hainaut
edef3ad8c3
Merge pull request #1170 from PCSX2-Alpha/TC_Scaling
...
GSDX: Detect RT size based on display and frame registers.
2016-03-02 13:51:28 +01:00
Jonathan Li
2d4e2fb8cb
windows: spu2-x does not use the emitter
...
So let's not specify it as a build dependency.
Also remove some unnecessary manual library linkage and remove the
wsWidgets GUI property sheet, which does nothing useful.
2016-02-28 11:08:08 +00:00
Jonathan Li
bfeb3e801a
gsnull: Remove GSsetWindowInfo
...
PCSX2 doesn't actually use it.
GSnull also seems a bit behind the current GS plugin API - perhaps it
should be removed.
2016-02-28 02:45:59 +00:00
Jonathan Li
6c7cfe9e4d
xpad: Change to Unicode project and remove unused headers
...
Also remove an unnecessary ASSERT define, and delete the copy
constructors.
2016-02-28 02:45:10 +00:00
Jonathan Li
85489d05e0
lilypad:windows: Set Unicode in project file instead
...
Also move the DirectInput define.
2016-02-25 23:36:11 +00:00
Jonathan Li
6fa7a8989c
lilypad:windows: LoadLibrary is not required for Raw Input
...
It's been available since XP and it's not special like XInput (where we
might have SCP in the middle) so let's have the linker resolve the
functions at link time.
2016-02-25 23:36:11 +00:00
Jonathan Li
fd8c762772
lilypad: Fix gcc strict-aliasing warning
...
The fixme I added was likely wrong. Not sure what I was thinking.
2016-02-25 23:36:11 +00:00
Akash
b07b06a9fb
GSDX-Texture Cache: Rework scaling function
...
The following patch uses the height value of the display rectangle rather than make an estimation of the Frame buffer height when the game uses a non-referenceable height (or) width.
2016-02-24 09:14:01 +05:30
Gregory Hainaut
cb776d2f50
gsdx:atomic: better match the old if(!_interlockedbittestandset(&m_mapped, 0)) behavior
...
Thanks @turtleli
2016-02-23 18:43:44 +01:00
Gregory Hainaut
f9b4ff17a5
gsdx: drop interlocked* function on linux
2016-02-22 19:12:50 +01:00
Gregory Hainaut
a601991f91
gsdx: add atomic for transaction scope object
2016-02-22 19:12:50 +01:00
Gregory Hainaut
f904cd6c4a
gsdx: add atomic for SW Renderer
...
V2: fix assertion
2016-02-22 19:12:37 +01:00
Gregory Hainaut
9bbb0fe1f6
gsdx: add atomic for texture upload
...
V2: fix init of atomic flag object
2016-02-21 18:17:53 +01:00
Gregory Hainaut
a66c911fed
cmake: factorize debug/dev define
2016-02-21 16:17:10 +01:00
Gregory Hainaut
9ba470fc63
gsdx-ogl: properly handle t_float in GS
...
f8c442cf76
misses the swap of t_float in GS
Fix regression in Okami
Bonus: factorize VS_WILDHACK in the VS
2016-02-21 11:48:30 +01:00
Gregory Hainaut
bef8447447
Merge pull request #1186 from PCSX2/gsdx-unoptimize-vs
...
gsdx-ogl: make VS more generic
2016-02-20 10:39:19 +01:00
Gregory Hainaut
6002719c8c
Merge pull request #1185 from PCSX2/tekken5-fast-depth
...
gsdx: no depth lookup optimization
2016-02-20 10:24:21 +01:00
Gregory Hainaut
1853d0d16d
gsdx: no depth lookup optimization
...
Don't lookup a depth buffer if depth test is always pass without write
Boost performance on Tekken5 when depth emulation is enabled in openGL
(Tekken5 sets same address for both the RT and the depth but depth is disabled)
v2:
Keep ds if DATE is enabled (some implementation uses a stencil buffer)
Be more aggressive to avoid an useless depth lookup
2016-02-18 20:35:50 +01:00
Gregory Hainaut
f8c442cf76
gsdx-ogl: make VS more generic
...
Texture coordinate could be dummy/float/int integral/int normalized.
Old behavior:
* VS was in charge to select the texture coordinate
* int integral format wasn't supported
New behavior:
* Always compute all formats
* FS will be in charge to select the good format
Impact:
* VS will be slightly slower but it reduces shaders permutation from
little to 0 (won't be bad for CPU)
* FS speed isn't impacted as 2 separate code paths were already required
to support both format
* Rasterizer will be 33% slower but unlikely to be the limited factor of
the GPU
* In future we could directly use the integral format in the FS.
V2: remove useless PSin_t
2016-02-18 19:02:05 +01:00
Gregory Hainaut
0dadc124d3
gsdx-ogl: invert behavior of unsafe user hack
...
It would be on by default. Unsafe & fast path.
The hack is a security if someone encounters any issue
v2: update Windows gui file
v3: fix typo in tooltip and linux gui
2016-02-18 18:48:13 +01:00
netoale
b910e20413
Update GSCrc.cpp
...
added french version of Simpsons The Game 0x5C1EBF61
2016-02-15 21:56:53 +01:00
refractionpcsx2
909584d473
GSDX: Disable Nvidia hack when in native res
2016-02-15 20:27:51 +00:00
Jonathan Li
999166fa58
lilypad: Fix some gcc and clang warnings
...
Fixes writable-strings, missing-braces, and undefined-inline warnings.
2016-02-14 22:25:17 +00:00
Jonathan Li
2b558a9606
lilypad: Make command/response debug output portable
...
It also makes the log viewable in Windows Notepad.
Also fix an off-by-one and fix the missing C++ exception settings.
2016-02-14 22:25:17 +00:00
Jonathan Li
2b61edb80d
lilypad:windows: Remove NO_CRT configurations
...
It's Windows-only and isn't actually used.
2016-02-14 13:24:59 +00:00
Gregory Hainaut
8ae7f60b04
Merge pull request #1175 from PCSX2-Alpha/GSDX_stuffs
...
GSDX: Vertical frequency corrections and extra stuffs
2016-02-13 18:15:49 +01:00
Gregory Hainaut
dc347e4854
Merge pull request #1178 from PCSX2/opengl-release-mode
...
gsdx-gl: use CONTEXT_FLAG_NO_ERROR_BIT_KHR to reduce driver overheard
2016-02-13 18:13:05 +01:00
Jonathan Li
c47501d228
lilypad: Fix function name typo
2016-02-13 15:03:31 +00:00
Gregory Hainaut
77f9113301
gsdx-gl: use CONTEXT_FLAG_NO_ERROR_BIT_KHR to reduce driver overheard
...
Didn't test it yet as my driver is too old.
Note: might break the open source drivers.
2016-02-13 15:28:11 +01:00
Jonathan Li
255a62dd21
Merge pull request #1144 from ekudritski/ekudritski-popn-patch-1
...
Add pop'n music controller support to LilyPad.
Also fix some warnings.
2016-02-13 00:15:15 +00:00
ekudritski
e2c5236706
Just some cleaning
2016-02-12 09:57:08 +02:00
Akash
e810428c86
GSDX: Remove some old comments
...
Disgaea 2 intro FMV now works fine with/without upscaling. (confirmed
with rama)
2016-02-12 12:05:42 +05:30
Akash
465cfb4fad
PCSX2-GSFrame: Make upscaling impact resolution values
2016-02-12 11:57:41 +05:30
Akash
67a7a63a36
GSDX: Add vertical frequency for all video modes
2016-02-12 05:28:30 +05:30
Akash
1445bf7fb1
GSDX: Extend macros for all video modes.
...
The following patch detects the other video modes based on Phased lock loop divider (LC)
2016-02-12 04:43:57 +05:30
Gregory Hainaut
253e801f51
linux: enable float operation on SSE unit
...
Potentially faster and requires to flush denormal float to 0
2016-02-09 18:24:12 +01:00
Gareth Poole
0b362fd866
GSdx: Fix spelling issues in GSdx Linux configuration window
2016-02-08 19:14:56 +01:00
Gregory Hainaut
51b40c6b18
gsdx: move black CRC hack from openGL to DX level
...
Rendering is much nicer this way
2016-02-06 17:32:12 +01:00