Commit Graph

540 Commits

Author SHA1 Message Date
baldurk 53a4964cb3 Don't write log for spammy unimportant debug messages 2014-11-01 17:04:52 +00:00
baldurk 360199b2ce Only account for faked backbuffer in renderstate when replaying 2014-11-01 17:04:52 +00:00
baldurk 8d8c8a7c47 Hook into platform delete context function 2014-11-01 17:04:51 +00:00
Baldur Karlsson 54c84c05c4 Merge pull request #103 from valeriog-crytek/master
Some missing GL replay features
2014-11-01 17:04:37 +00:00
valeriog baa530eb5f Add visualization of most missing OpenGL texture types (cube maps, texture arrays, stencil, 1D/3D textures, integer textures), take selected mip level into account and point sampling when required. 2014-10-31 19:47:42 +01:00
baldurk 8193c80697 Ditch position buffer for all but fonts. Closes #102 2014-10-31 18:41:10 +00:00
valeriog d18557239f Added visualization of rasterizer state for OpenGL. 2014-10-31 19:40:16 +01:00
baldurk 63d1f868ac Have captures listed on overlay decay after 20 seconds 2014-10-31 00:35:54 +00:00
baldurk 2121fcebd5 add source code pro to license & credits files 2014-10-30 23:27:28 +00:00
Baldur Karlsson 2febc49374 Update README.md clarifying current API support 2014-10-30 23:18:56 +00:00
baldurk 09f8dc93dc Better handling of NaN/inf in range histogram
* This is the proper fix for 87bcde1c which is also more explicit about
  what is going wrong. Thanks to the anonymous user who mentioned that they
  clicked auto-fit before hitting the range histogram crash, which got me
  on the right path to track down the exception!
2014-10-30 22:55:42 +00:00
baldurk 1ac13f418c Handle mismatched swapchain & window sizes
* The debug text used to render at swapchain dimensions, but that could
  make it unreadable if the window was significantly different, so apply a
  scaling factor to account for it.
2014-10-30 22:48:12 +00:00
baldurk e8508be085 Re-do text rendering to use stb_truetype so it's portable to linux 2014-10-30 22:47:21 +00:00
Baldur Karlsson 5fa1c8f360 Merge pull request #101 from valeriog-crytek/master
GL fixes and Python improvements
2014-10-28 20:04:04 +00:00
valeriog 91871a7a18 Fixes for pull request #101 2014-10-28 20:27:33 +01:00
valeriog 71b10310cd Reduce thread spawning in python script trace callback and highlight the line where an exception happens. 2014-10-28 18:08:55 +01:00
valeriog f9c0436360 Serialize glUniform* to the current program resource record as glProgramUniform* while in idle state. 2014-10-28 17:31:32 +01:00
Baldur Karlsson 71ac6e05d7 Merge pull request #100 from valeriog-crytek/master
Some GL bug fixes
2014-10-27 20:17:48 +00:00
valeriog d1c341da22 Handle GL shader arrays of one element during reflection and constant buffer read. 2014-10-27 19:24:29 +01:00
valeriog 48be83376d Wrong GL function being called and serialized for glGenQueries. 2014-10-27 19:20:20 +01:00
valeriog 3ff998024e Texture data type GL_UNSIGNED_INT_5_9_9_9_REV was missing from GetByteSize. 2014-10-27 19:18:27 +01:00
baldurk 7aee40f7a4 Handle live resource not being there even if it shouldn't be missing
* I was a little conflicted about this, as the resources present in logs
  should be determinable - if a function marks it as referenced then the
  serialised version of that function should expect the resource to be
  present, and if it's not then there's a bug and we can't properly replay.
* However I am tempted to say that instead of likely crashing due to an
  invalid NULL pointer suddenly appearing somewhere, we should instead try
  to continue even if a resource isn't available.
2014-10-23 00:06:21 +01:00
baldurk f45b2870d1 Prevent crash when custom cbuffer format is larger than buffer 2014-10-22 23:09:44 +01:00
baldurk 61cc49163b Add API function to unload breakpad crash handler 2014-10-22 18:44:27 +01:00
baldurk 1a6f6b7084 Disable RENDERDOC_OFFICIAL_BUILD that was accidentally turned on 2014-10-22 18:34:11 +01:00
baldurk fcbc666135 Calc num data components from stride for struct load/stores. Refs #99 2014-10-19 09:57:33 +01:00
baldurk 16a489c7a5 Handle case where input signature has been stripped from bytecode
* This was found on a flash stage3d sample, where if the input signature
  is stripped, some signature elements can be completely missing, causing
  a mismatch when trying to obtain the inputs for pixel debugging.
* In this case, we try to fill in from the previous shader, and if that
  fails just inserting a dummy element and hoping for the best.
2014-10-15 19:51:32 +01:00
baldurk 32eadbcade Remember last filename as well as last directory for capturing 2014-10-15 18:45:31 +01:00
Baldur Karlsson fda705af9a Merge pull request #98 from valeriog-crytek/master
Fixed some GL issues
2014-10-15 14:55:43 +01:00
valeriog e0450d7940 Fix for typo found in pull request conversation. 2014-10-15 11:50:26 +02:00
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