Commit Graph

1604 Commits

Author SHA1 Message Date
baldurk 4f67e825cf Store DXBCs in WrappedShader for input layouts. Refs #136
* This will allow lazy shader interpretation to just happen in one place
2015-09-12 14:41:13 +02:00
baldurk 1ca3685668 Don't autofit if no texture is viewed (e.g. if a buffer is up)
* This fixes a bug from a crash upload
2015-09-11 11:52:02 +02:00
baldurk a35d18467d Make sure to set default capture options 2015-09-10 21:36:55 +02:00
Baldur Karlsson 311c7486fd Manually thumbnail images in README
* They don't render correctly in firefox the old way
2015-09-03 20:30:07 +02:00
baldurk a63c0217dc Tweak empty array debug prints and add newline 2015-09-02 11:38:08 +02:00
baldurk 65dbac28f0 Change array serialisation functions to explicitly be uint32/uint64. 2015-09-02 09:00:00 +02:00
baldurk a763656302 Compile fix for linux 2015-09-02 10:36:18 +02:00
baldurk d2fc251b58 Add a serialise function that calls Serialise on each array element
* Basically for the case where an array element isn't POD and needs
  special handling for serialisation
2015-08-31 17:53:48 +02:00
baldurk b9ba4099ba Rename Serialise() overload that does array to SerialisePODArray()
* To emphasise that it's serialised as a blob of memory, and that
  Serialise isn't called on each member.
* Restore the ToStr()
2015-08-31 17:39:49 +02:00
baldurk c1e8df576c Compile fix 2015-08-31 17:23:39 +02:00
baldurk 277b97efb6 Rename OS module loading function as it clashes with define on win32 2015-08-31 17:12:21 +02:00
baldurk 32b028e5a6 If elems count is 0 when reading array, set resulting pointer to NULL 2015-08-31 17:11:16 +02:00
baldurk 2d12d5abee Add an update dialog that shows update notes & does upgrade smoothly 2015-08-30 00:11:48 +02:00
baldurk efc5c92e1a Add miniz reader functions to header and add wchat ver of file extract 2015-08-30 00:00:12 +02:00
baldurk 95be5454f9 Add a "Find in all files" dialog on ctrl-shift-f to shader viewer 2015-08-29 19:26:50 +02:00
baldurk 9f43f12135 Add a list of all files in shader viewer when there are more than 3 2015-08-29 17:18:28 +02:00
baldurk 24b0f04f17 Remove double loop increment 2015-08-28 22:04:06 +02:00
baldurk 455797f93e Change dllexport'd RENDERDOC_GetAPI to a function pointer typedef
* Apps don't link against renderdoc so a dllexport is meaningless, they
  need a typedef to declare the function pointer they will
  GetProcAddress().
2015-08-27 17:57:18 +02:00
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