Gregory Hainaut
3451f7e760
gsdx-ogl: handle invalid gl_lengh in debug message
...
Mesa intel sets it to -1.
Close #1089
2016-01-07 21:49:17 +01:00
Jonathan Li
bb37d1c339
gsdx:windows: Don't change renderer when changing adapter
...
The previous behaviour loaded the saved renderer config whenever the
adapter combobox was changed. The renderer will now only change if the
new adapter doesn't support the currently selected renderer (i.e
Direct3D11 might not be supported, so it'll revert to Direct3D 9).
Fixes #1080 .
2016-01-02 22:20:30 +00:00
Jonathan Li
12e80c271b
gsdx:windows: Widen Hacks dialog slightly
...
The Wild Arms Offset text was slightly cut off due to the label being
too small. Make the dialog slightly wider so the full text will fit.
Someone should probably make the dialog look nicer at some point.
2016-01-02 22:17:30 +00:00
Gregory Hainaut
fc98fc9781
gsdx: only enable "please fix me" message on debug build
2016-01-02 18:53:15 +01:00
Gregory Hainaut
7aae0ce394
gsdx ogl: minor string update
2016-01-01 14:43:47 +01:00
Gregory Hainaut
902e295089
gsdx: fix onimusha crash in custom resolution
...
I don't understand why but it seems it needs more than 8MB
2015-12-30 19:14:52 +01:00
Gregory Hainaut
bfa53af50f
gsdx linux: fix ShadeBoost option case
2015-12-30 19:14:52 +01:00
ramapcsx2
d84d765aeb
whops
2015-12-30 18:53:38 +01:00
ramapcsx2
8e3aec8aaf
gsdx dialog: renderer order and naming changed. due to many factors, we can't yet remove any of the software options. naming / order changes are possible though, if a majority votes for it.
2015-12-30 18:06:54 +01:00
Kingcom
191453d89a
gsdx: fix windows compilation
2015-12-28 22:05:01 +01:00
Gregory Hainaut
a595a09fbd
gsdx: increase buffer to have crash in case of overflow
...
Avoid a crash on Onimusha3 (PAL 60HZ)
In theory it will be better to find the root cause of overflow. I.e. somewhere in this
code below. Dirty rectangle is too big.
***********************************************************************
if(rowsize > 0 && offset % rowsize == 0)
{
int y = GSLocalMemory::m_psm[psm].pgs.y * offset / rowsize;
if(r.bottom > y)
{
GL_CACHE("TC: Dirty After Target(%s) %d (0x%x)", to_string(type),
t->m_texture ? t->m_texture->GetID() : 0,
t->m_TEX0.TBP0);
// TODO: do not add this rect above too
t->m_dirty.push_back(GSDirtyRect(GSVector4i(r.left, r.top - y, r.right, r.bottom - y), psm));
t->m_TEX0.TBW = bw;
continue;
}
}
***********************************************************************
So as a temporary solution (that will likely stay for a couple of
years), buffers were increased.
2015-12-28 21:40:06 +01:00
Gregory Hainaut
c36fccdd8e
gsdx: fix crash when preload data frame is enabled
...
Height of the dirty rectangle must be the GS size of the RT. Of course
RT doesn't have any height so we compute the max safest value.
Fix issue #987
Candidate for 1.4 release
2015-12-28 18:00:14 +01:00
ramapcsx2
ef62d753d1
Merge pull request #1056 from ssakash/gsdx_swthreads
...
GSDX: Some change to software rendering threads
2015-12-28 17:23:32 +01:00
willkuer
0c4b25bcec
gsdx: defaulting extra rendering threads to 2
2015-12-28 01:05:25 +05:30
Gregory Hainaut
ac0d7f74cf
gsdx: reorder renderer config code & fix linux gui
...
Group all DX option into a unique section (avoid tons of ifdef)
Rename Null renderer as "None (Core Benchmark)"
2015-12-27 11:24:05 +01:00
Akash
21c6fa5f1b
gsdx-gui: Label and Tooltip changes to RT option
2015-12-23 19:51:13 +05:30
Akash
acb82389c8
GSDX: disable SW mode options on hardware renderer
2015-12-23 12:30:22 +05:30
Akash
5e67276b6c
GSDX-OCL: remove OCL device combobox from GUI
...
The following patch hides the combobox from the GUI when ENABLE_OPENCL macro is not defined.
2015-12-22 04:15:56 +05:30
ramapcsx2
3fd0b10762
small fix for WinXP / GSdx renderer cleanup
2015-12-21 19:53:36 +01:00
ramapcsx2
3210740872
Patch by r5 that reorders renderers in GSdx' config dialog. Also removes some redundant options.
2015-12-21 19:30:03 +01:00
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