Gregory Hainaut
41990a6402
cmake: create the macro add_custom_glib_res to handle resources
2017-04-28 11:27:19 +02:00
Gregory Hainaut
2d0a61fc8d
gsdx ogl: use load resource to load shader
...
* Windows behavior must be checked
* remove glsl_source.h
v2: fix missing include
Big thanks to Turtleli
v3:
fix indentation in gsdx-res.xml
add dependency in cmake
remove old res/glsl/fxaa.fx symlink
add tfx.cl for OpenCL support on Linux
v4, v5
fix cmake indentation
2017-04-12 18:09:06 +02:00
Jonathan Li
815ac8be04
gsdx:cmake: Fix logo dependency issue
...
Changes to the dependencies of the generated logo files did not trigger
a rebuild of the files. Use add_custom_command instead of
execute_process so build dependencies can be specified.
Also prevent the generated files from polluting the source directory.
2017-03-30 22:55:34 +01:00
Jonathan Li
67d9436f22
gsdx: Remove unused and incomplete GSDeviceSW
2017-03-21 23:21:26 +00:00
Gregory Hainaut
9865270e68
gsdx: split GSVector.h into smaller files
2017-03-19 13:50:13 +01:00
Gregory Hainaut
da1bb43618
cmake: Add various missing file in CMakeLists.txt
...
Add some windows code path. It would reduce the burden to port Cmake to windows.
(sill miss 3rdparty/some plugins/...)
2017-02-16 20:11:57 +01:00
Gregory Hainaut
c232f90d6e
cmake: add an option to enable openCL
...
Note: nothing work
2017-02-08 19:42:54 +01:00
Gregory Hainaut
dc42c65dfb
gsdx: requires/allow BMI instruction in AVX2 build
...
So far BMI is inclusive in AVX2 CPU. Help compiler to generate better code
2017-02-01 18:24:51 +01:00
np511
e5e601eb75
Use GResources API instead of deprecated inline
2017-01-29 09:06:22 -05:00
Jason Brown
b8a84d170a
Added OSD Manager which depends on FreeType2. Added functions into GSDeviceOGL to render OSD and a point shader.
2017-01-03 10:43:56 +01:00
Gregory Hainaut
14a76a8499
cmake: don't use SSE2 suffix on libgsdx.so file
...
In debug build, SIMD is disabled, so it is dangerous (use wrong binary) to debug
2016-12-31 13:37:43 +01:00
Jonathan Li
b178423166
gsdx-replayer:cmake: Reduce build time/filesize
...
Avoid building GSdx twice if the replayer is being built.
2016-12-12 18:54:54 +00:00
Gregory Hainaut
0453e5cad8
cmake: improve vtune integration
...
Year is included in the path so search in order 2018/2017/2016
Not ideal but at least all logic is inside the FindVtune module
2016-12-09 09:28:19 +01:00
Jonathan Li
cdeed349e3
gsdx: Replace platform-specific threads with std::thread
...
GSThread now doesn't seem to have a purpose, so it's been removed.
2016-12-08 00:36:32 +00:00
Gregory Hainaut
c9db1c6c4b
vtune: plug PCSX2 core + add missing profiling (VU/VIF/TLB)
...
Doesn't fully work yet
* Unknown stack frame
* Outside any known module
Potential root cause:
* Nvidia driver
* VU code as ebp is required for emulation so likely no frame
2016-11-28 19:07:04 +01:00
Gregory Hainaut
e4516ac9b8
cmake: add extra SSE4 and AVX2 build of GSdx when DISABLE_ADVANCE_SIMD is enabled
...
It will provide a speed boost on distribution that only enable SSE2
2016-11-25 16:35:40 +01:00
Gregory Hainaut
608bb5ccb2
gsdx sw x64: add AVX2 implementation for VS
...
FS was copied from 32 bits (require massive update)
2016-11-24 23:03:25 +01:00
Gregory Hainaut
e674518c4e
Update from xbyak 4.84 to 5.11
...
* bin2hex.h is removed
* vptest/vpblendvb YMM support integrated upsteam
* better support of rip for 64 bits
* AVX512 support (only miss the CPU now)
Local change: add BSD3 clause
2016-11-20 13:21:11 +01:00
Gregory Hainaut
d58e43edbf
gsdx linux: plug vtune as Windows
2016-11-19 17:00:32 +01:00
Gregory Hainaut
19ceea4f1e
Merge branch 'strict-aliasing'
2016-08-17 18:53:08 +02:00
Jonathan Li
d36002a02a
gsdx:cmake: Use PNG_LIBRARIES instead of PNG_LIBRARY
...
PNG_LIBRARIES adds both libpng and zlib to the command line.
PNG_LIBRARY only adds libpng to the linker command line, and the cmake
documentation also suggests not to use it.
2016-08-16 20:35:21 +01:00
Gregory Hainaut
0417a10483
gsdx: allow strict aliasing optimization
2016-08-14 21:01:40 +02:00
Gregory Hainaut
620876e0e7
gsdx: fix compilation error with ICC
...
just require the -restrict compilation flag
2016-07-28 11:01:28 +02:00
Akash
2409817556
GSDX: Move PSX code to an isolated path
2016-05-26 19:04:17 +05:30
Gregory Hainaut
60267790a1
gsdx: move (most) of the hw hack into a separate file
...
GSState.cpp was really too big
2016-04-30 12:24:08 +02:00
Gregory Hainaut
d027ed2092
gsdx ogl: merge GSTextureFXOGL to GSDeviceOGL
...
First file is rather small in openGL. And it is linked to the latter.
2016-04-24 10:55:22 +02:00
Gregory Hainaut
1208dbe8c7
cmake: add an option to build the new legacy GSdx plugin
...
+ bump the new one to 1.1.0 (to ease reporting)
2016-04-07 21:46:42 +02:00
Gregory Hainaut
1bd8113f66
cmake: add various option to disable plugin support
2016-03-30 10:19:54 +02: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
Gregory Hainaut
a66c911fed
cmake: factorize debug/dev define
2016-02-21 16:17:10 +01:00
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
remeh
28cfd50f08
gsdx: cmake: don't display "unused parameters" warnings on release build with clang.
2016-01-12 13:42:47 +01:00
Gregory Hainaut
6046d6c417
Merge pull request #749 from PCSX2/gsdx-micro-optimization
...
Gsdx micro optimization
2015-08-12 08:54:36 +02:00
nE0sIghT
e1272dc2f9
Use global compiler optimization flags instead of defining them for every plugin/binary
2015-08-08 16:25:17 +03:00
Gregory Hainaut
8a4c0e9782
cmake: drop extra alignment on GSdx
...
It requires extensive tests
2015-08-08 09:18:09 +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
Gregory Hainaut
ae3b768de9
bump gsdx version to 1.0.0
2015-07-01 09:36:53 +02:00
Gregory Hainaut
979ea92754
gsdx: make png++ optional
...
Some distributions (Fedora) doesn't have a png++ package...
2015-06-04 20:22:05 +02:00
Gregory Hainaut
5c046180a1
cmake: properly add detection of lzma
...
Code is 100% optional.
Code will allow be enabled if lzma-dev is installed at compile time
2015-05-17 22:08:10 +02:00
Gregory Hainaut
86e3c18c33
gsdx-linux: add code to read xz file
...
Linux only to avoid the extra dependency on windows
2015-05-17 22:08:10 +02:00
Gregory Hainaut
8cd533304c
gsdx: new dependency on linux => png++
...
Note: it is only header file that wrap the standard png (which was
already mandatory for wx/sdl)
2015-05-16 12:47:28 +02:00
Gregory Hainaut
cb6e8a7d6a
gsdx-linux: Don't enable EGL by default
...
I was hoping that EGL become a standard much more faster. Currently it is an useless dep
so let's disable it by default.
2015-05-11 15:33:40 +02:00
Gregory Hainaut
b3d8981a22
gsdx: link replayer to png to avoid link failure
2015-05-11 13:24:40 +02:00
Gregory Hainaut
59f7e4d2dc
Revert "gsdx linux: drop aligned stack option"
...
This reverts commit 2dcffe7fa4
.
2015-05-11 12:15:38 +02:00
Gregory Hainaut
2dcffe7fa4
gsdx linux: drop aligned stack option
...
I think the bug was related to a wrong declaration of exported function without stdcall
2015-05-11 11:35:34 +02:00
Gregory Hainaut
286fe4db8c
cmake/gsdx: check png++ is installed to support png image
...
Otherwise fallback to bmp file
2015-05-11 11:32:13 +02:00
Gregory Hainaut
335695bd0e
purge GLES from GSdx !
...
mobile will use vulkan (or any new API) anyway
2015-05-01 20:02:17 +02:00
Gregory Hainaut
e0f56282de
cmake: no preferred-stack-option in asan
...
It conflicts with the global definition
I don't remember why this option was set on GSdx. Potentially it could be dropped (or fixed correctly)
Anyway, it will help to enable Address Sanitizer on Linux Build
2015-02-20 19:44:51 +01:00
Gregory Hainaut
66d7aa75e2
cmake: move -DNDEBUG to global option
2014-12-20 13:43:25 +01:00
Gregory Hainaut
a99f3ea321
cmake: remove duplicate flags
...
also use the lighter elseif structure to reduce a bit the size of cmakefile
2014-12-20 13:43:25 +01:00