Gregory Hainaut
ba9e998ff5
gtk2: port gtk_combo_box to gtk_combo_box_text
...
The former was deprecated on gtk2.24 (and removed from gtk3)
2014-12-10 22:09:21 +01:00
Gregory Hainaut
0a4f9e43d9
cmake: clean sdl management
...
* sdl is mandatory for spu2x
* cmake will include either /usr/include/SDL or /usr/include/SDL2 so no
need to add extra ifdef
2014-12-07 21:06:21 +01:00
Gregory Hainaut
29a14f5667
sed -i -e 's/seperately/separately/'
...
Thanks micove again
2014-12-07 12:46:16 +01:00
Gregory Hainaut
c945aead54
cmake: better support of SDL2
...
Description: Building with SDL2_API=TRUE is incomplete
SDL_FOUND does not imply SDL2_FOUND
Use check_libs for detection
Only include ${SDL_INCLUDE_DIR} when needed
Use SDL2_LIBRARIES
Author: Miguel A. Colón Vélez
Gregory: add back SDL_BUILDING_LIBRARY
2014-12-07 12:19:14 +01:00
Gregory Hainaut
16284d0a59
gsdx: fix a couple of typo
...
From @micove
2014-12-07 12:12:53 +01:00
Gregory Hainaut
070dce4c83
Merge pull request #356 from PCSX2/issue-fixes
...
various bug-tracker fixes
2014-12-06 19:48:13 +01:00
Gregory Hainaut
1f5fe7a1db
Merge pull request #348 from 3kinox/master
...
GSdx-ogl linux: std::thread
2014-12-02 22:43:29 +01:00
Gregory Hainaut
4238261784
gsdx-cl: update linux menu config
...
Try to use some id to be more robust
The best will be to sort the array first
2014-12-02 00:16:35 +01:00
Gregory Hainaut
76f719e5d0
gsdx-ocl: Add a ENABLE_OPENCL option
...
* Allow to compile GSdx on linux without opencl yet.
2014-12-02 00:16:35 +01:00
gabest11
b9b02cf749
implemented opencl program caching on disk under the system default temp folder, needs some additional work on linux
2014-12-02 00:16:35 +01:00
gabest11
7b466a98d0
replaced opencl.def with dynamic dll loading, god bless search and replace
2014-12-02 00:16:35 +01:00
gabest11
e3ba15de94
opencl device selection in settings dialog
2014-12-02 00:16:34 +01:00
gabest11
6f5cd1cd4d
joined some tfx kernel calls, general speed up in most games
2014-12-02 00:16:34 +01:00
gabest11
3d2b0e3766
minor opencl kernel optimizations
2014-12-02 00:16:34 +01:00
gabest11
72cfc6a6ef
3rdparty/opencl
2014-12-02 00:16:34 +01:00
gabest11
9e20387595
Modified for opencl 1.1. While it runs on nvidia cards now, you can't use its sdk to compile gsdx, cl.hpp is missing there. Intel or amd is ok.
2014-12-02 00:16:34 +01:00
gabest11
263c097d13
solution for 32-bit z values in opencl and other minor optimizations
2014-12-02 00:16:34 +01:00
gabest11
c64f9ad9b1
squishing opencl bugs, there aren't many left hopefully
2014-12-02 00:16:34 +01:00
gabest11
ba1e522bbb
Less opencl bugs, some games are actually playable now, there are still texture errors.
2014-12-02 00:16:34 +01:00
gabest11
881735b562
minor merging errors
2014-12-02 00:16:33 +01:00
gabest11
db7c26cde7
- Experimental OpenCL renderer (missing features: point, line, texture cache, mipmap, aa1, device selection). Needs any OpenCL SDK for the common headers and stub lib to compile, tested with AMD and Intel. Too bad it is not part of the Windows SDK yet.
...
- Renumbered renderer ids, compatible with old numbering, but it does not follow the mod3 logic anymore.
2014-12-02 00:16:33 +01:00
Gregory Hainaut
1b555ea3b5
gsdx-linux: Fix GSdx internal counter on linux
...
The issue is that clock gives the total cpu time of the process whereas
we want the cpu time of the rendering thread
2014-11-24 23:44:32 +01:00
3kinox
732cbc3ad5
GSDX-ogl linux:
...
+ Implement threads/mutex using std::thread/std::mutex/std::condition_variable
+ Old implementation can be used by commenting out the "define _STD_THREAD_ in GSThread.h
+ Commit should be much cleaner than previous one.
2014-11-23 14:33:35 +01:00
Gregory Hainaut
60c0eb7179
gsdx-ogl: windows: properly setup context flags
...
* Use a core profile context
* Only enable the debug context in debug build
Close issue #353
2014-11-20 22:12:30 +01:00
Gregory Hainaut
d21e6ff45f
gsdx-ogl: don't declare a sampler variable
...
Nvidia was complaining on the fxaa shader. In doubt I also replaced it in Asmodean's shader
2014-11-20 22:07:44 +01:00
Asmodean-
8f42b36a42
It might help if I changed this for d3d9 also :p
2014-11-15 21:40:00 +00:00
Asmodean-
5b3867dd60
GSdx: change post-processing directory & name.
2014-11-15 21:33:23 +00:00
Gregory Hainaut
276e3d9d1b
gsdx-ogl: always set texture parameter
...
* Avoid bug after a pause
* Not faster anyway
* keep old method only for gl retracer to reduce debugging noise
Remove some old&useless comment
2014-11-14 11:43:42 +01:00
Gregory Hainaut
3311336d0e
gsdx-ogl: disable ARB_bindless_texture
...
I have a crash when I try to delete some texture (for example when the simulator is paused)
2014-11-11 23:45:41 +01:00
Gregory Hainaut
b6a951a9fa
gsdx: debug compilation fix
...
I'm not sure gcc behavior is correct here!
2014-11-11 20:54:34 +01:00
Gregory Hainaut
0ca9bab8b6
Merge pull request #344 from Asmodean-/master
...
[GSdx] OpenGL PP Updates
2014-11-11 16:14:01 +01:00
Gregory Hainaut
ab4eaea757
Merge pull request #346 from 3kinox/master
...
Linux : GSdx AVX fix
2014-11-11 16:08:23 +01:00
3kinox
06f53b2689
use -fabi_version=6 only for GSdx, solve bug with wxwidget
...
reenable avx build for GSdx
2014-11-11 15:55:31 +01:00
Gregory Hainaut
e73d8f383b
gsdx-ogl: compilation fix for old distribution
2014-11-11 15:01:22 +01:00
Kieran Hanrahan
b60e5a62fc
Rearrange to right spot (I blame github editor ;p)
2014-11-11 00:17:21 +00:00
Kieran Hanrahan
7adc7c4833
Update GSSettingsDlg.cpp
...
Just add the OGL shader ini params to the file when the user enables post-processing In the options dialog.
2014-11-11 00:01:31 +00:00
Gregory Hainaut
e6e534c13a
Merge pull request #343 from PCSX2/shader-loading
...
GSdx ogl: external shader loading + FXAA
2014-11-10 15:43:05 +01:00
Gregory Hainaut
48b3d91768
partially revert previous commit ec1da2805c
...
It breaks windows...
2014-11-10 12:19:30 +01:00
Gregory Hainaut
8c90e7cafc
gsdx-ogl: support latest fxaa version
...
Only tested on Nvidia, please report any issue with your driver
Note: requires GL4 GPU
2014-11-10 10:39:55 +01:00
Gregory Hainaut
ff39dffe23
gsdx-ogl: add a gui option (linux) to select external shader
...
Note: of course it requires a glsl shader ;)
On windows, you can set the path on the ini file. Here an example with linux path:
shaderfx_conf = /home/gregory/playstation/emulateur/pcsx2_merge/bin/GSdx_FX_Settings.ini
shaderfx_glsl = /home/gregory/playstation/emulateur/pcsx2_merge/bin/shader.fx
2014-11-10 10:38:52 +01:00
Gregory Hainaut
920ac6695f
gsdx-ogl: add preliminary support of external shader fx
2014-11-10 10:37:58 +01:00
Gregory Hainaut
ec1da2805c
pcsx2/GSdx: disable AVX for the moment on linux
...
I need to check carefully the consequence of ABI change. So far wx is very unhappy!
Fatal Error: Mismatch between the program and library build versions detected.
The library used 2.8 (no debug,Unicode,compiler with C++ ABI 1002,wx containers,compatible with 2.6),
and your program used 2.8 (no debug,Unicode,compiler with C++ ABI 1006,wx containers,compatible with 2.6).
2014-11-09 15:45:54 +01:00
Gregory Hainaut
84f844767c
gsdx-ogl: micro optimize PSConstantBuffer cache
...
Might help to save a cache line on the CPU :)
2014-11-08 21:39:17 +01:00
Gregory Hainaut
58bd645d49
gsdx-ogl: BindBufferBase also bind to the generic binding point
2014-11-08 21:39:13 +01:00
Gregory Hainaut
16377f7249
gsdx-ogl: only call PixelStorei when parameters are updated
...
It won't improve performance but it would reduce a bit the noise in gl retracer tool
2014-11-08 21:30:14 +01:00
Gregory Hainaut
47f40ed79a
gsdx-ogl: reduce pbo complexity
...
Copy the full line into the pbo. Dma will only take GL_UNPACK_ROW_LENGTH
- increase memcpy size by 2 in the pbo
+ single memcpy will be faster and can use sse
Enable buffer_storage extension:
* GL_CLIENT_STORAGE_BIT was required (it is the duty of TexSubImage to copy data into the GPU mem)
* Enable the extension by default
2014-11-08 21:30:14 +01:00
Gregory Hainaut
e62af05496
gsdx-ogl: reduce complexity of clear texture
...
Null is equivalent to a clear to 0.
Note: Code is not yet used because both stencil and depth are cleared.
Future note: stencil can potentially be replaced by load_store_image
2014-11-08 21:30:14 +01:00
Gregory Hainaut
bd9df9a6ec
gsdx: Add some comment on GSTextureCache + schematics
...
Note: docs/TextureCache.odg was created with libreoffice. Not perfect but give a nice overview
2014-11-08 21:30:14 +01:00
ramapcsx2
b7e5e41afe
Merge pull request #333 from PCSX2/linux-avx
...
Support of AVX build for linux
2014-11-08 14:09:06 +01:00
ramapcsx2
8434d6c397
Merge pull request #328 from tlbjr/master
...
GLDEBUGPROC type cast and postBuild.cmd for GSdx on VS2013
2014-11-08 13:11:07 +01:00