Commit Graph

5133 Commits

Author SHA1 Message Date
Gregory Hainaut b020bd76c6 gsdx-ogl: restore gles build
Add the --gles build option to the linux main script
Ifdef all gl code not supported on gles3 (note some will be reenabled for gles3.1)

Note: it probably doesn't run anymore. My Nvidia driver doesn't support
yet egl/gles so I can't test it. Feel free to contribute.
2014-03-29 11:55:02 +01:00
Gregory Hainaut 483b5a75e8 gsdx ogl: automatic setup of geometry shader
* disable it for gallium Mesa driver
* Re-enable it for Nvidia driver
2014-03-29 10:47:53 +01:00
Gregory Hainaut 70d1719b7d cmake: handle gracefully wxwidget 3.0-dev
1/ print a nice message
2/ replace 3.0 to 2.8 so it could still compile on system that both version
   are installed but wrongly configured
2014-03-26 11:37:49 +01:00
Gregory Hainaut 30ba964f9d fix visual studio compilation 2014-03-25 18:35:02 +01:00
gigaherz 3ef93addd0 It doesn't seem to be needed with vs, but those numbers are technically long longs. 2014-03-25 17:51:38 +01:00
Gregory Hainaut 0980591fa2 pcsx2 debugger: be more friendly with linux
* Fix a couple of gcc warning and replace deprecated function
* Fix the redraw of the memory zone
* Avoid a crash if we breakpoint before running
* Use %s on linux because %S isn't supported
* Properly check .result in recMemCheck. Add some code to print hit
  breakpoint.
* breakpoint window isn't properly resized so used a static size as a
  temporary workaround
2014-03-25 17:31:52 +01:00
Gregory Hainaut e59b252cc0 ignore vim tmp file 2014-03-25 17:31:19 +01:00
Gregory Hainaut 4496093cf8 cmake version:
Use same version as window based on git
drop subversion code
use lld on onepad
2014-03-25 17:29:47 +01:00
Gregory Hainaut 8b78551b92 gsdx-ogl: improve debugging capabilities
allow to print memory transfer usage
Check gl call in dev build
2014-03-25 16:36:29 +01:00
Gregory Hainaut bde2e3956d gsdx-ogl: automatic dectection of buffer_storage 2014-03-25 16:36:29 +01:00
Gregory Hainaut c85ba4c259 gsdx ogl: add buffer_storage for vertex upload
A bit slower. Maybe because SubData does the copy in the driver thread. My memcpy is done on
the main thread. I'm not sure it would worth an extra thread to copy vertex data to the GPU

Note: testers are welcome. You need to edit the ini file.
"ogl_vertex_storage=1" <= enable the extension
"ogl_vertex_storage=0" <= disable the extension

Again you need the support of GL_arb_buffer_storage (i.e. not catalyst)
2014-03-25 16:36:29 +01:00
Gregory Hainaut 403518e852 gsdx-ogl: texture management
Improve arb_buffer_storage implementation
Try harder to align the texture buffer

Strangely arb_buffer_storage is 3 times slower on my PC (nvidia)

Tester are welcome! Open the ini file
"ogl_texture_storage = 1" <= enable the extension
"ogl_texture_storage = 0" <= disable the extension

Note: you need an opengl 4.4 driver or one that support arb_buffer_storage (i.e. not catalyst)
2014-03-25 16:36:29 +01:00
Gregory Hainaut 41091f8ebf gsdx ogl: remove multithread hack
This hack was used because GSReadFifo was called from the EE thread.
Previous commit move the call to the GSThread.

Hopefully avoid flushing the full GPU contex would improve openGL
performance (at least avoid some hiccups ;) )

Note: newer GSdx ogl won't be compatible with older PCSX2
2014-03-25 16:36:29 +01:00
Gregory Hainaut f78c39cc98 pcsx2: call GSReadFIFO from GS thread (was EE) 2014-03-25 16:36:29 +01:00
Gregory Hainaut 39a9b7b721 local: refresh all language
* Mark "enable widescreen hack" as fuzzy in most translation
* update zh_TW/es_ES
2014-03-25 16:36:29 +01:00
Gregory Hainaut 9d2b6cb589 locale: remove garbage files 2014-03-25 16:36:28 +01:00
David Quintana 87c42c8c5d Merge pull request #7 from Kingcom/master
Fix VS2010 build
2014-03-25 16:18:52 +01:00
Kingcom e31afb5885 Fix VS2010 build 2014-03-25 16:15:21 +01:00
David Quintana 2fbac107ca Merge pull request #5 from Kingcom/master
More debugger enhancements and fixes
2014-03-25 14:42:59 +01:00
David Quintana a1239ee6a8 Update README.md 2014-03-25 14:19:30 +01:00
David Quintana 15ac8d9ffc Update README.md 2014-03-25 14:17:48 +01:00
David Quintana f57be52061 Update README.md 2014-03-25 14:17:18 +01:00
David Quintana f68918c5a9 Update README.md 2014-03-25 14:07:43 +01:00
David Quintana 1b481f1946 Update README.md 2014-03-25 14:02:45 +01:00
David Quintana 127c1ef8bf Create README.md 2014-03-25 13:53:36 +01:00
gigaherz 189c8701d7 Git ignore. 2014-03-25 13:31:56 +01:00
gigaherz f7c1b6e060 Git-based versioning. 2014-03-25 13:31:36 +01:00
Kingcom c25020765c Display memory view page when setting its position 2014-03-23 13:30:11 +01:00
Kingcom 10c3928eef Focus disassembly when a breakpoint triggered 2014-03-23 13:30:11 +01:00
Kingcom 100fe404a5 Load symbols from file 2014-03-23 13:30:10 +01:00
Kingcom 0ade0a44b5 Detect and skip padding nops at the end of functions 2014-03-23 13:30:10 +01:00
Kingcom 7a20d94536 Fix breakpoint window on Linux 2014-03-23 13:30:10 +01:00
Kingcom 4e2e178417 Add list to show, edit and delete breakpoints 2014-03-23 13:30:10 +01:00
Kingcom aad9ea0e05 Memory breakpoints 2014-03-23 13:27:50 +01:00
Kingcom 074da1fedf Use CPU cycles to determine if we should skip a breakpoint after resuming 2014-03-23 13:27:50 +01:00
Kingcom c8a760832b Change register value 2014-03-23 13:27:50 +01:00
Kingcom b69dcb51a0 Always enable debugger in devbuilds, but keep function scanning restricted to the enable state 2014-03-23 13:27:50 +01:00
Kingcom e55229db40 A hackish attempt at step into 2014-03-23 13:27:49 +01:00
Kingcom d8abd04a8e Only capture F10, not all system keys 2014-03-23 13:27:49 +01:00
Kingcom 5935572458 Better valid ranges 2014-03-23 13:27:49 +01:00
Kingcom 807521f91b Add debugger config to ini, and put it to use 2014-03-23 13:27:49 +01:00
Kingcom 8ee14a8039 Address mask for breakpoints, always clear whole instruction cache (until there's a better solution) 2014-03-23 13:27:49 +01:00
Kingcom 8cd45189c3 Step over ERET 2014-03-23 13:27:48 +01:00
Kingcom fbb0a77ce3 Allow re-opening the debugger after closing it 2014-03-23 13:27:48 +01:00
Kingcom 854574af66 Enable debugger in release builds. Let's see if it negatively affects anythi 2014-03-23 13:27:48 +01:00
Kingcom 1f7d6461c5 Help button/window in debugger (Windows only) 2014-03-23 13:27:48 +01:00
gregory.hainaut 30d5135fdd gsdx-ogl: sigh.. this one was hidden :p
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5932 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-03-23 08:25:54 +00:00
gregory.hainaut 192c5d2c4a gsdx-ogl: one more
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5931 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-03-22 22:00:46 +00:00
gregory.hainaut 6c87673e57 gsdx-ogl: forget a pointer
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5930 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-03-22 21:14:57 +00:00
gregory.hainaut ba46b25e2f GSdx-ogl: GL4.1 program shader is optional
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5929 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-03-22 09:08:37 +00:00