Gregory Hainaut
4d12410707
gsdx-ogl: latch constant buffer in rendering object
...
* Initialization of the object is done once
* Avoid to reupload it when an useless parameter toggle
=> -10% of UBO update
2015-08-08 09:18:09 +02:00
Gregory Hainaut
bd0de8fbaf
glsl: (colclip) HDR doesn't need wrapping neither clamping
...
Might save a couple of instruction in the PS
2015-08-08 09:18:09 +02:00
Gregory Hainaut
8a4c0e9782
cmake: drop extra alignment on GSdx
...
It requires extensive tests
2015-08-08 09:18:09 +02:00
Gregory Hainaut
1557f82b11
gsdx:clut: comment old unused clut code
2015-08-08 09:17:21 +02:00
Gregory Hainaut
d822b6bd1a
gsdx-ogl: add some comments for the future
2015-08-08 09:17:06 +02:00
Gregory Hainaut
b17803bb34
gsdx-ogl: wipeout of GL_ARB_bindless_texture
...
Code is completely broken. It doesn't help to improve speed.
Remove 200 lines ;)
2015-08-08 09:16:49 +02:00
Gregory Hainaut
99d81868fc
cmake: use -ggdb instead of -g
...
Enable all gdb extensions for debug
2015-08-08 09:16:20 +02:00
Gregory Hainaut
b3919fde95
gsdx-linux: remove an old delay that pollute my benchmark mode
...
Also add a glFinish to ensure rendering is done
2015-08-08 09:16:13 +02:00
gabest11
d826d925db
gsdx: eliminated a few bugs in the texture size changer algorithm
2015-08-07 02:08:29 +02:00
Gregory Hainaut
241367ec5c
Merge pull request #742 from turtleli/gsdx-linux-fix-missing-symbol
...
gsdx:linux: Add GSDrawingContext.cpp to CMakeLists.txt
2015-08-06 19:54:13 +02:00
Gregory Hainaut
7bb506c5bb
Merge pull request #739 from Asmodean-/master
...
GSdx: Post-processing updates
2015-08-06 19:53:03 +02:00
Jonathan Li
c09501ad9a
gsdx:linux: Add GSDrawingContext.cpp to CMakeLists.txt
...
Fixes the missing symbol error.
2015-08-06 18:17:28 +01:00
avih
68a89bbac8
Merge pull request #741 from turtleli/wx3-regression-fixes
...
wxWidgets 3.0 fixes
2015-08-05 16:04:12 -07:00
Jonathan Li
cecdc64f51
Fix dialog screenshot function on Windows
...
wxWidgets 3.0 seems to have a different default device context alpha
channel handling on Windows, which makes the screenshot function
unusable.
As a incomplete fix, remove the alpha channel information from the final
image on Windows. Screenshots degrade slightly.
2015-08-05 22:59:00 +01:00
Jonathan Li
c62cbbfa97
Make GS Frame Panel black
...
People prefer it that way and it's an easy enough fix.
2015-08-05 22:59:00 +01:00
Jonathan Li
2ea51dd594
Fix wxCore30's rcdefs.h pathname
...
Visual Studio flags wxCore30 as being out of date because it can't find
the rcdefs.h header file. Use the arch dependent pathname so it is
located correctly.
2015-08-05 22:59:00 +01:00
Jonathan Li
fb14f81f64
Show full descriptions for Speedhacks checkboxes
...
The "Other Hacks" and "microVU Hacks" checkbox descriptions are
truncated in both Windows and Linux. Use sizer flags so the descriptions
show up properly.
2015-08-05 22:59:00 +01:00
Jonathan Li
02077821d4
Simplify and fix EE and VU slider behaviour
...
The custom scroll event handler increments/decrements the slider value
by one when a click event is detected. It also propagates the event to
the wxWidgets3.0 built in slider scroll event handler, which repeats the
same action. This causes the slider to add/subtract 2 whenever it is
clicked on Windows.
Remove the custom function.
2015-08-05 22:59:00 +01:00
Avi Halachmi (:avih)
d38d046f7a
gui: EE and VU panels: restore defaults programatically
...
The code was restoring the defaults with hardcoded values. This patch
restores the values however they're defined as defaults for AppConfig.
The code still uses hardcode values to set the highlights (bold) of the
default radio button text - using SetDefaultItem.
Note that other than these two panels, the speedhacks panel is the only other
which has a restore-defaults button, and it already does so programatically.
It's probably not worth trying to unify these three restore-defaults button
into a single system.
2015-08-06 00:38:13 +03:00
Avi Halachmi (:avih)
adf01ec668
gui: EE panel: fix restore-default to also restore EE-cache
...
The EE/VU config panels use hardcoded values to restore defaults, and
this patch does the same for the EE-cache checkbox.
This fixes GH #737
2015-08-06 00:38:13 +03:00
Gregory Hainaut
39ce8835f7
gsdx:linux: use unordered hash
...
It seems a bit faster on 'perf' tool
2015-08-05 22:55:12 +02:00
Gregory Hainaut
921b22ac31
gsdx-ogl: drop useless parameter of OMSetDepthStencilState
2015-08-05 22:55:12 +02:00
Gregory Hainaut
b7e16b5989
gsdx-ogl: clean the blending management
...
Intially GSBlendStateOGL was an alias of the m_blendMapD3D9 array
The object was replaced by an index in the array. Save 2k of memory duplication.
And too much useless code.
v2: push/pop blending state in DATE stuff
v3: remove m_state which is useless now
2015-08-05 22:55:12 +02:00
Gregory Hainaut
717f0fcb4d
gsdx-ogl: optimize fbmask setup
2015-08-05 22:55:12 +02:00
gabest11
49b3acea72
gsdx: texture size reduction in sw mode, fixes Stolen, less memory usage in general.
2015-08-05 19:11:41 +02:00
Gregory Hainaut
73e2ff6ff6
gsdx-ogl: change PrimitiveOverlap algo from O(n^2) to O(n)
...
+ only enable this optimization when it is useful (date or sw blending)
Less impact on the perf even for big vertex array
2015-08-05 17:59:55 +02:00
Kieran Hanrahan
a1a5b25b91
Update GSdx.fx
...
Update to 2.3 & resolve OGL.
2015-08-05 16:34:40 +01:00
Kieran Hanrahan
3a14a63b0f
Update GSdx_FX_Settings.ini
...
Update to 2.3 and resolve OGL.
2015-08-05 16:33:51 +01:00
Miguel A. Colón Vélez
6462393aaf
Introduce end-of-line normalization
...
Signed-off-by: Gregory Hainaut <gregory.hainaut@gmail.com>
2015-08-04 23:52:48 +02:00
Miguel A. Colón Vélez
a42a236961
Gsdx: Move the stdext namespace declaration.
...
This will eventually lead to
error C2871: 'stdext' : a namespace with this name does not exist.
might as well fix it now.
2015-08-04 22:16:15 +02:00
Miguel A. Colón Vélez
30c6389ed9
VS2015: Fix compilation
...
Error C2338 The C++ Standard forbids containers of const elements
because allocator<const T> is ill-formed. (compiling source file GS.cpp)
2015-08-04 22:16:04 +02:00
Miguel A. Colón Vélez
d45676b478
Merge local changes to xbyak 4.84
2015-08-04 22:15:52 +02:00
Miguel A. Colón Vélez
41094ac22e
Update from xbyak 4.00 to 4.84.
2015-08-04 22:15:46 +02:00
Miguel A. Colón Vélez
e20768d257
VS2015: Fix w32pthreads and xpad
2015-08-04 22:15:36 +02:00
Gregory Hainaut
9d1674db99
gsdx-gui: remove useless linux ifdef
2015-08-04 22:08:55 +02:00
Gregory Hainaut
36554c3375
Merge branch 'hdr-colclip-32bits'
2015-08-04 21:55:40 +02:00
Gregory Hainaut
45bb27d6db
gsdx-ogl: extend HDR colclip to 32 bits texture
...
Unfortunately 16 bits wasn't enough for Castlevania.
2015-08-04 21:54:27 +02:00
Gregory Hainaut
c6ff7531fb
gsdx-ogl: performance boost on virtuafighter
2015-08-04 21:26:03 +02:00
Gregory Hainaut
d80aa0b0bd
gsdx-ogl: remove 2 printfs
...
GL_INS is a better tracing solution
2015-08-04 20:47:02 +02:00
Gregory Hainaut
744f9ebc09
gsdx-ogl: rare corner case when both texture shuffle and date are enabled
...
In texture shuffle mode the texture data is either RG or BA. It means
that DATE must either checks MSB of G or A.
Close #693
2015-08-04 20:10:44 +02:00
gabest11
42f51591df
gsdx: lupin 3 fix, texture addressing outside the limits, only for sw and opencl yet
2015-08-04 13:27:08 +02:00
gabest11
d631030608
gsdx: fixed some of the renames where it made no sense, also added a commend about lupin 3rd.
2015-08-04 03:36:42 +02:00
Gregory Hainaut
762930516a
Merge branch 'JasonBrownDeveloper-master'
2015-08-03 19:37:12 +02:00
Maxxus
c0f85de17f
onepad: Minimum code needed to get Dualshock 3 working on recent linux and evdev releases.
...
Commit message edited by Gregory.
Comment below from Jonathan Li
On my system, /dev/input/event13 (evdev interface) and /dev/input/js0 (joystick interface) correspond to the DS3 on my system. User/group ownership are both root.
With /dev/input/event13 at 0640 and /dev/input/js0 at 0644 - SDL2 detects no pad, SDL1 detects a 19 button, 27 axis pad
With /dev/input/event13 at 0666 and /dev/input/js0 at 0644 - Both SDL1 and SDL2 report a 19 button, 4 axis pad.
SDL2 only uses the evdev interface, SDL1 uses the evdev interface but if that fails, it uses the joystick interface.
2015-08-03 19:34:08 +02:00
gabest11
e010004f1f
gsdx: _isnan was not reliable, rewrote it as GSVector4::replace_nan, it uses cmpps and the result as the mask to blend the original value and FLT_MAX. No jumps or function calls.
2015-08-03 14:35:47 +02:00
gabest11
85117ecbdd
gsdx: simplified isnan test, it compiles to an inline sse instruction and a flag test, silent hill dump still looks fine.
2015-08-03 11:27:14 +02:00
Gregory Hainaut
6e1cd077a9
gsdx-debug: push ubo in a group
2015-08-03 08:46:25 +02:00
Gregory Hainaut
e972f4f4dd
gsdx-ogl: extend device to support an offset for normal draw
2015-08-02 21:30:19 +02:00
Gregory Hainaut
cabd7409e5
gsdx-ogl: don't validate the pipeline
...
Too noisy in debugger trace. Never catch any errors anyway.
2015-08-02 21:30:19 +02:00
Gregory Hainaut
59cdf77784
gsdx-ogl: create a new function to set the blending state
2015-08-02 21:30:19 +02:00