baldurk
9d25afbfa0
Change OnEventSelected callbacks to be blocking invoke
...
* Fixes a race condition you could hit running from e.g. Python or some
other non-UI thread.
2015-08-24 21:56:46 +02:00
baldurk
85a343c24b
Speculative fix for bizarre crash where wglGetProcAddress_hook is NULL
2015-08-24 20:41:10 +02:00
baldurk
6a488a1ae7
Make sure linux replay also checks for ARB_buffer_storage presence
2015-08-24 20:09:12 +02:00
baldurk
726a937312
Check against gridview being disposed (from crash report)
2015-08-24 20:06:01 +02:00
baldurk
28c7772e69
Fix some missing export functions that are needed for capturing
...
* These were removed from the public API but are still needed directly
for the capturing process.
2015-08-24 20:05:41 +02:00
baldurk
abdec82be1
Guarantee struct type field ordering
2015-08-24 08:39:56 +02:00
baldurk
ef6dcaf8b4
If numStrides is 0, make sure BufStrides is NULL
2015-08-24 01:07:26 +02:00
baldurk
cb64c16895
Don't care about streamout counters that were stripped from the log
2015-08-24 01:07:25 +02:00
baldurk
d1c24b0138
Handle glXCreateContextAttribsARB not being an exported module symbol
...
* This is true for e.g. mesa drivers
2015-08-23 22:32:43 +02:00
baldurk
0738850719
Enforce ordering in global constructors, with 'dllmain'-alike last
2015-08-23 22:23:53 +02:00
baldurk
6cdbf807fe
Make sure all libraries are included and not removed as unreferenced
2015-08-23 22:23:53 +02:00
baldurk
ce00be0075
Make global GetRealFunctions more unique (don't want to collide)
2015-08-23 22:23:53 +02:00
baldurk
62f7362e92
Move dlopen to be hooked centrally on linux, to be multi-API friendly
2015-08-23 22:23:53 +02:00
baldurk
3d47587957
Add Process::LoadLibrary OS-specific function
2015-08-23 21:51:06 +02:00
baldurk
fb496db764
Move ResourceId tracking to common location for all drivers to share
2015-08-23 21:44:45 +02:00
baldurk
d643c4bc50
Disable array serialisation since it requires ToStr for elements
2015-08-23 21:44:45 +02:00
baldurk
dfd800c0f8
Add serialiser utility functions checking read/write mode externally
2015-08-23 21:44:45 +02:00
baldurk
357735d1d2
Linux compile fixes
2015-08-23 20:38:13 +02:00
baldurk
6c9120ff61
Update official GL headers to latest
2015-08-23 15:36:46 +02:00
baldurk
4ae911c9f9
Add 'easy' to support new GL extensions, note future ones. Refs #146
2015-08-23 15:36:33 +02:00
baldurk
4609fa710b
Update RenderDoc application-facing API to a stable/mature version.
...
* This API is now intended to be forward and backward compatible as much
as possible. Meaning applications should be able to run without
changing on many RenderDoc versions after the one they are built
against without breaking.
* All function pointers are fetched at once in one versioned GetAPI()
function, to save on constant GetProcAddress/dlsym'ing.
* Otherwise, it's largely similar to the previous API.
2015-08-23 15:12:05 +02:00
baldurk
a54fc564ad
Update glslang to latest code (on renderdoc branch, with my changes)
2015-08-23 13:59:52 +02:00
baldurk
6a2344d9d8
Show correct inputs/outputs for copy and dispatch calls. Refs #147
...
* Next step is to display VS and other stage inputs on the input panel.
* Also need to tidy up the fetching of highest mip/array slice etc to
use the same codepath.
2015-08-23 13:20:23 +02:00
baldurk
d58d5b76b3
Use shader variable name for CS UAV slots, if available
2015-08-23 13:15:09 +02:00
baldurk
9333228fc5
Highlight empty viewports that are still enabled in the UI. Refs #144
2015-08-23 11:49:00 +02:00
baldurk
89e5b1e62b
Workaround nvidia crash seen in the wild, with jump into unloaded dll
2015-08-23 11:48:59 +02:00
baldurk
bfc1904fdf
Make errors much more useful in crash report logs..
2015-08-23 11:48:58 +02:00
baldurk
f6b4b2fe22
Change python embedding to get standard library from zip, not a dll
...
* This seems way more reliable and smaller than shipping a compiled .dll
* For some reason I didn't find this method before (I only knew that
you could ship the loose files which wasn't a good solution).
2015-08-23 11:17:46 +02:00
baldurk
bc5afeeef4
Call GetSizedFormat everywhere
...
* In future should maybe warn for 1D/2D/3D variants that are
only from storage calls, where it's invalid.
* It's needed for multisampled since we pipe TexImage*
through these common functions, which can use unzied
internalFormats.
2015-08-08 14:56:45 -07:00
baldurk
249b79e383
Don't fetch or use FBO attach params when object is 0
2015-08-08 14:54:36 -07:00
baldurk
3616524484
Push/pop draw FBO and render in-program overlay to default FBO
2015-08-08 14:53:30 -07:00
baldurk
d3ea351c5b
Fix typo that was reported
2015-08-06 08:09:15 +02:00
baldurk
120b42c15b
Don't assign NULL to GLXDrawable
2015-08-06 07:49:31 +02:00
baldurk
16f8ad5c94
Compile fix
2015-08-05 20:19:41 +02:00
baldurk
f67681c4c4
Don't do anything in SwapBuffers if no GL context is active
2015-08-05 18:52:17 +02:00
baldurk
da87eaf55a
Remove infinite loops clearing GL error flags in case something breaks
2015-08-05 18:47:17 +02:00
baldurk
32ae45d992
Create any parent directory required for log file
2015-08-02 15:42:33 +02:00
baldurk
ada7306e1a
Expand capture pathnames to full before passing over remote access
...
* This fixes the issue where an application might have set the capture
path as relative, and a relative path is passed to the UI which has
no idea what working directory the path is relative to.
2015-07-31 22:24:37 +02:00
baldurk
286dcb65fe
imm_atomic_consume needs to prefix decrement
2015-07-30 19:37:26 +02:00
baldurk
2ee14c1ad9
Add the final bit of horrible code to pretty-ify ifs and loops
2015-07-30 01:10:13 +02:00
baldurk
5a82b6be07
Erase func-parameter declarations as well when inlining them
2015-07-30 01:09:51 +02:00
baldurk
7a71dd4172
Remove gotos before labels even if those labels are ref'd elsewhere
2015-07-30 01:08:05 +02:00
baldurk
4c90182cdf
Add super-ultra ugly code to remove temporary 'param' variables
2015-07-30 00:37:19 +02:00
baldurk
6de5e5e144
Don't declare void result that's unused for void function calls
2015-07-30 00:36:53 +02:00
baldurk
8dd535eb26
Fix operation folding checking instruction, not argument
2015-07-29 23:51:56 +02:00
baldurk
bce7cde005
Remove the old disassemble-to-string code
2015-07-29 23:47:57 +02:00
baldurk
aec9a3a79f
Support VectorTimesScalar
2015-07-29 23:47:46 +02:00
baldurk
a329ea3f90
Show struct types, and add semicolons to "disassembly"
2015-07-29 23:05:11 +02:00
baldurk
36e3a2489b
Remove redundant goto/label pairs
2015-07-29 22:37:28 +02:00
baldurk
d011b14cac
Implement folding up small instructions with a simple heuristic
2015-07-29 22:27:16 +02:00