Commit Graph

510 Commits

Author SHA1 Message Date
valeriog fc4ba7ae81 Avoid applying hooks to powrprof.dll as it causes a crash. 2014-10-14 17:46:59 +02:00
valeriog 86a87f091c Differentiate between glDepthRangef and glDepthRange when capturing.
This prevents a crash when the captured application doesn't retrieve the glDepthRange pointer, and uses glDepthRangef instead.
2014-10-14 17:45:53 +02:00
valeriog 1a71922910 Pass the base format and data type to GetByteSize instead of the internal format in GLReplay::GetTexture. 2014-10-14 17:44:12 +02:00
valeriog 6241559c59 Don't set the GLResourceManager pointer to the serializer to NULL. 2014-10-14 17:40:46 +02:00
valeriog 8fda0a817b Don't throw an error when serializing GL buffer initial state. 2014-10-14 17:38:31 +02:00
valeriog b09454a67d Correctly set and restore pixel pack state when capturing thumbnail; don't set GL_PIXEL_UNPACK_BUFFER to zero in the process. 2014-10-14 17:29:16 +02:00
baldurk 87bcde1c4c Speculative fix for System.OverflowException
* Crash report came in with System.OverflowException inside FillPolygon,
  but I don't see a way for these values to get too large (or invalid
  some other way).
2014-10-13 20:07:09 +01:00
baldurk 2ffb2c6a05 Fix cp typo in distribution script 2014-10-12 22:15:42 +01:00
baldurk 29894e4db3 Add Interactive/script running python shell window 2014-10-10 21:30:40 +01:00
baldurk 1c306fb155 Make sure public function is properly invoked :) 2014-10-10 21:23:38 +01:00
baldurk 9907abcc9b Add IronPython 2.7.4 to project 2014-10-09 18:25:47 +01:00
baldurk 3bd5f028dc Take UAV type from resource not shader type, for correct size 2014-10-09 08:17:38 +01:00
baldurk ed1b03fe68 Hide highlight verts button when not in mesh view 2014-10-08 22:08:55 +01:00
baldurk 333ade7201 Handle drawcalls of 0 indices/vertices without crashing. 2014-10-08 22:07:59 +01:00
baldurk 96dc252d4b Add HTML export for D3D11 pipeline state viewer. Closes #92 2014-10-07 23:20:43 +01:00
baldurk deffa8c68e Add displayable string representation for primitive topology 2014-10-07 23:20:19 +01:00
baldurk 37e4209cc9 Remove MipSlice parameter to make things a little simpler 2014-10-07 23:19:57 +01:00
baldurk 9793ac6312 Add a default copy paste handler for tables in pipeline state. Refs #92 2014-10-07 00:27:06 +01:00
baldurk 50626337da Copy handler for texture viewer that copies status text. Refs #92 2014-10-07 00:11:28 +01:00
baldurk cfbdc98212 Re-hook up KeyDown handler that mysteriously went missing. Refs #92 2014-10-07 00:11:23 +01:00
baldurk e8f25d4067 Make sure menu-strip export comes from selected buffer view. Refs #92 2014-10-07 00:11:10 +01:00
baldurk f3f3e7629f Disable verify map writes by default 2014-10-06 17:41:10 +01:00
baldurk 2cebc9866f Fix WindowFromPoint P/Invoke 2014-10-06 17:40:30 +01:00
baldurk 56e7f0c754 Add an option to verify Map() writes don't overrun. Closes #42
* Has a couple of limitations - won't check deferred context or
  NO_OVERWRITE Map()s except in a captured frame. This could in theory be
  implemented but it'd be complex and I don't want to complicate/break
  the normal path.
* When an overrun is detected, a messagebox pops up to block the thread,
  and if you hit yes, it will debugbreak.
2014-10-05 23:42:25 +01:00
baldurk a23f597c99 Fix some stupid typos/errors with commit e749f4287 2014-10-05 22:25:01 +01:00
baldurk 4c934b5049 pdblocate rebase 2014-10-05 19:06:25 +01:00
baldurk 3b8e4a3323 [Refs #87: Static Analysis] Fix incorrectly unused variables/returns 2014-10-05 19:01:28 +01:00
baldurk 09863d920b [Refs #87: Static Analysis] Fix P/Invoke - C# point varies on x86/x64 2014-10-05 19:01:28 +01:00
baldurk f198e71806 [Refs #87: Static Analysis] Remove unused variables 2014-10-05 19:01:27 +01:00
baldurk a470213b4b [Refs #87: Static Analysis] Add neutral resources language 2014-10-05 19:01:26 +01:00
baldurk 8b0f05ca5e [Refs #87: Static Analysis] Clarify timer member by explicit use 2014-10-05 19:01:26 +01:00
baldurk e749f42876 [Refs #87: Static Analysis] string compare as uppercase or by length 2014-10-05 19:01:25 +01:00
baldurk d29024dd8b [Refs #87: Static Analysis] Handle paranoid case of NULL parameters 2014-10-05 19:01:24 +01:00
baldurk 47edff3d5b [Refs #87: Static Analysis] Ensure indices are initialised 2014-10-05 19:01:23 +01:00
baldurk 3c0e4357c4 [Refs #87: Static Analysis] Only verify Format/Offset if it was fetched 2014-10-05 19:01:23 +01:00
baldurk 5954f1a406 [Refs #87: Static Analysis] Handle paranoid case of dll not existing 2014-10-05 19:01:22 +01:00
baldurk 20e86183bf [Refs #87: Static Analysis] Handle NULL parameters separately 2014-10-05 19:01:21 +01:00
baldurk efbc27909c [Refs #87: Static Analysis] Couple of cases that confused the analyser 2014-10-05 19:01:21 +01:00
baldurk 957e73ce28 [Refs #87: Static Analysis] Add error checks for injecting remote DLL 2014-10-05 19:01:20 +01:00
baldurk 07464f27ad [Refs #87: Static Analysis] Add annotations from original definition 2014-10-05 19:01:19 +01:00
baldurk 71abc2079c [Refs #87: Static Analysis] Do error checking on fetching resources 2014-10-05 19:01:19 +01:00
baldurk cb7fd103eb [Refs #87: Static Analysis] Call into function that accepts va_args 2014-10-05 19:01:18 +01:00
baldurk b061ad2263 [Refs #87: Static Analysis] Use correct string for wcsrchr 2014-10-05 19:01:17 +01:00
baldurk 5e9cdde3a0 [Refs #87: Static Analysis] Check that section enum is valid 2014-10-05 19:01:17 +01:00
baldurk b791cb59de [Refs #87: Static Analysis] Add in wWinMain annotations 2014-10-05 19:01:16 +01:00
baldurk dae776fb33 [Refs #87: Static Analysis] Be explicit about checking pointer 2014-10-05 19:01:15 +01:00
baldurk 441c97e09b [Refs #87: Static Analysis] Extra wchar_t for null terminator 2014-10-05 19:01:15 +01:00
baldurk 4d72d85c45 [Refs #87: Static Analysis] Restore function annotations 2014-10-05 19:01:14 +01:00
baldurk bd3c4b81fb [Refs #87: Static Analysis] Remove annotations that aren't accurate
* The problem with these annotations is they're duplicated for the
  Serialise_* functions, which the annotations do not apply to. The easiest
  solution is just to remove the annotations entirely
2014-10-05 16:58:32 +01:00
baldurk 9460fbd970 Add feature to globally hook processes to inject indirectly.
* This allows you to hook into processes that are difficult to launch
  directly with the existing functionality in RenderDoc.
* This is rather risky, as it modifies the AppInit_DLLs registry key to
  inject a small shim dll that checks for the desired process and injects
  the full renderdoc.dll. If that registry key got left, or if there was
  some incompatibility with the shim dll, you could have problems. It
  should only ever be used as a last resort if there's no other way to
  capture.
2014-10-05 13:57:11 +01:00