Gregory Hainaut
077f06562f
gsdx-linux: use standard code for the renderer box
...
Fix the openCL issue and code is cleaner
2015-12-20 19:33:39 +01:00
ramapcsx2
9092be3a52
GSdx: better default renderer selection. Thanks, Gregory :)
2015-12-20 16:03:58 +01:00
ramapcsx2
16231f599b
Merge branch 'master' of https://github.com/PCSX2/pcsx2
2015-12-20 14:47:27 +01:00
ramapcsx2
43b9caf735
GSdx: default renderer to DX11 hw. SPU2-X: default output module to xaudio2 (portaudio has issues selecting the proper hardware device)
2015-12-20 14:46:59 +01:00
Gregory Hainaut
cae0ac2d3f
gsdx: change gl reporting color message
2015-12-20 14:15:46 +01:00
Gregory Hainaut
b1d7f0e3fd
gsdx: remove openCL from the ini if it isn't enabled
2015-12-14 10:00:28 +01:00
Jonathan Li
2e1ea22532
gsdx: Make TV Shader F7 toggle temporary
...
Both the Linux and Windows config dialogs now have a TV Shaders combobox,
so the F7 toggle can be made temporary. This makes the hotkey behaviour
consistent with all the other hotkeys.
2015-12-02 19:45:24 +00:00
Jonathan Li
6e5b8c25dd
gsdx:windows: Adjust dialog margin values
2015-12-02 19:07:36 +00:00
Jonathan Li
0f2cb4e2f5
Merge pull request #993 from ssakash/GSDX_dlgchanges
...
gsdx:windows: Add TV shaders and change GUI design
2015-12-02 18:58:09 +00:00
ramapcsx2
4c765a04f7
Change an outdated GSdx comment. It may confuse people nowadays.
2015-12-01 21:36:23 +01:00
Akash
1c6a717e93
GSDX: New shader dialog
2015-12-01 15:01:12 +05:30
Gregory Hainaut
a026a1979f
gsdx linux: align checkbox text vertically
...
like Windows :p
2015-11-28 13:24:12 +01:00
Akash
8b6ad4ff85
GSDX-TC: check userhacks for preload data frame
2015-11-22 10:49:46 +05:30
Gregory Hainaut
df87b64ca5
gsdx-linux: left align label
2015-11-20 17:36:03 +01:00
Gregory Hainaut
a41308e8c3
gsdx-linux: add a gui option for the tv shaders
2015-11-20 17:36:03 +01:00
Gregory Hainaut
19c9a0b441
gsdx: remove aggressive threading
...
http://wiki.pcsx2.net/index.php/PCSX2_Documentation/Threading_Basics
2015-11-20 17:36:03 +01:00
Gregory Hainaut
7a69812b17
Merge pull request #927 from PCSX2/preload-rt
...
gsdx-tc: extend preload frame hack to load target too
2015-11-16 09:36:31 +01:00
Jonathan Li
96c921c776
gsdx: Update DirectX end user runtimes URL
...
The old one isn't working. I don't think there's a URL that redirects to
whatever language the user is using (unless my browser settings are
wrong), so I've just used the English US URL.
2015-11-15 22:10:00 +00:00
Gregory Hainaut
67551f31fd
gsdx: use constant expression in offsetof
...
Well previous expression was a constant already but
compiler failed miserably.
2015-11-13 18:38:48 +01:00
Gregory Hainaut
7eb0f3564b
gsdx: AVX is M_SSE == 0x500
...
0x501 is for AVX2
2015-11-13 18:29:34 +01:00
Gregory Hainaut
967cc0b37b
gsdx: align variable 'offsetof' of x64.avx with x86
2015-11-13 18:25:23 +01:00
Gregory Hainaut
3fea5779df
gsdx: align sprite test of x64.avx with x86.avx
2015-11-13 18:25:23 +01:00
Gregory Hainaut
736656f7d6
gsdx: properly defined type for xbyak
...
Compatible 64 bits and avoid local modification
2015-11-13 09:30:48 +01:00
Johannes Obermayr
f4a76c48c2
Use GLsizeiptr on Mesa >= 20150122.
...
Signed-off-by: Gregory Hainaut <gregory.hainaut@gmail.com>
2015-11-12 21:21:13 +01:00
Gregory Hainaut
9b2b024721
gsdx-linux: add the preload gs hack option
2015-11-12 21:00:10 +01:00
Gregory Hainaut
ef3aa17025
gsdx-ogl: disable useless Nvidia driver message
2015-11-12 17:04:54 +01:00
Gregory Hainaut
d67ba015c5
Merge pull request #962 from ssakash/GSDX_sizechecks
...
GSDX: Improve FB size handling
2015-11-12 12:17:31 +01:00
Gregory Hainaut
c12958bf10
gsdx: sign-compare
...
Need review
2015-11-12 12:11:44 +01:00
Gregory Hainaut
abb4cb4810
plugin API: use const char* insead of char*
...
I hope it doesn't change the ABI
v2: fix GSnull/zzogl/zerogs
v3: duplicated code on windows...
2015-11-12 12:11:42 +01:00
Jonathan Li
4eb57cde0e
gsdx: Adjust current renderer message
...
The leading space was really annoying me. Also make the variable local
instead of static.
And fix a bad indentation.
2015-11-11 18:52:52 +00:00
refractionpcsx2
52802371e4
GSdx D3D11: Workaround for Gust games, must enable sprite hack (which these games need anyway) and it will fix the squares caused by the Nvidia fix. Not a perfect solution but we can't have it both ways :(
2015-11-10 22:58:53 +00:00
willkuer
9245d3ed7e
gsdx: RendererEnum
...
1. Add GS_Renderer Enum
Replace all instances of int/uint32 renderer identifier by a strongly
typed enum and appropriate casts.
Only instances in GS[*].cpp/h classes were touched. GPU[*].cpp/h classes
do not to follow the same convention.
2. Add default renderer according to OS
The default renderer is OS dependent (Win -> Dx9HW, others -> OGLHW).
Consequently one should always check againt the appropriate default
value on config load.
The old behaviour was only - if a at all - problematic if the respective
element in the gsdx.ini was missing and probably even then didn't create
issues. The current implementation is still more stable and does not
depend on the implementation of GS.cpp -> GetConfig()
2015-11-10 00:26:39 +01:00
Jonathan Li
44d89308c9
Revert "Revert "gsdx|spu2-x: Use atlcomcli.h for CComPtr definition""
...
This reverts commit 9bb990e9ed
.
Fight! Ahem...
2015-11-09 20:55:07 +00:00
Akash
d5ba546d2e
GSDX: Improve CRTC output size handling
2015-11-09 05:52:42 +05:30
Jonathan Li
9bb990e9ed
Revert "gsdx|spu2-x: Use atlcomcli.h for CComPtr definition"
...
This reverts commit 0eb771c2a6
.
The buildbot apparently cannot find atlcomcli.h. Oh joy.
2015-11-08 20:46:41 +00:00
Jonathan Li
49ff324882
Merge pull request #955 from turtleli/replace-comptr-h
...
gsdx|spu2-x: Use atlcomcli.h for CComPtr definition
2015-11-08 13:27:28 +00:00
Gregory Hainaut
4ef0572ceb
gsdx-ogl: disable copy constructor
...
'class GSVertexBufferStateOGL' does not have a copy constructor which is recommended since the class contains a pointer to allocated memory.
2015-11-06 23:01:59 +01:00
Gregory Hainaut
3e4c3353ce
gsdx-ogl: missing break
2015-11-06 23:01:58 +01:00
Gregory Hainaut
9f1649ae57
gsdx: use a type in sizeof
...
(warning) Suspicious usage of 'sizeof' with a numeric constant as parameter.
2015-11-06 23:01:58 +01:00
Gregory Hainaut
7c6d2361af
gsdx: use scalar delete
...
(error) Mismatching allocation and deallocation: data
2015-11-06 23:01:58 +01:00
Gregory Hainaut
f3394b16b8
gsdx: use standard quote character
...
Nicer with tool that support ANSII text (cppcheck)
2015-11-06 23:01:58 +01:00
Jonathan Li
0eb771c2a6
gsdx|spu2-x: Use atlcomcli.h for CComPtr definition
...
VS2013/VS2015 community includes it, so everything will still compile
for everyone.
Also delete common/include/comptr.h.
2015-11-06 18:52:33 +00:00
Jonathan Li
4ab092d011
Merge pull request #911 from ssakash/gsdx_debug
...
Gsdx: Add Mipmap (Software mode) and preload data frame to GUI.
2015-11-06 13:01:49 +00:00
Akash
754a7eb7de
GSDX: Update toggle key messages
2015-11-06 01:47:53 +05:30
Akash
d866b5592e
GSDX: Add two new options to GUI.
...
The following patch adds Mipmap option (software mode exclusive) and Preload Data Frame (Hardware mode exclusive) to the GSDX plugin settings for debug purposes.
2015-11-06 01:47:44 +05:30
Gregory Hainaut
5ba41306ea
gsdx-tc: HasSharedBits uses PSM not address
...
Nice heap overflow. I'm surprised that it kinda worked.
2015-11-02 07:36:37 +01:00
Gregory Hainaut
59be6c8710
gsdx: protect some options to avoid buffer overflow
...
Keep TVShader/interlace/aspectratio in the legal range.
Avoid a crash if the user (aka me) edit the ini file with bad value.
2015-10-25 21:44:20 +01:00
Gregory Hainaut
b87cda94c5
Merge branch 'glsl-fix-tv-shaders' of git://github.com/turtleli/pcsx2 into turtleli-glsl-fix-tv-shaders
2015-10-25 21:23:39 +01:00
Gregory Hainaut
bba67fbd83
Merge pull request #912 from PCSX2/accurate-blending-issue-762
...
gsdx-ogl: PrimitiveOverlap requires real rectangle
2015-10-25 20:55:41 +01:00
Jonathan Li
1659d5974e
gsdx-ogl: Fix scanline, diagonal, triangular TV shaders
...
PSin.p is normalised, so integer conversions won't work. Use
gl_FragCoord instead.
2015-10-25 19:20:22 +00:00