Commit Graph

83 Commits

Author SHA1 Message Date
baldurk 61ba671572 Speculative crash fix - cache m_LogViewers locally. Closes #77 2014-09-17 18:08:55 +01:00
baldurk 53eeb9b28e Tweak error since no config is saved (and in-memory one is preserved) 2014-09-17 18:03:26 +01:00
baldurk 0b502f17ff Fix edge case with save options 2014-09-16 19:52:24 +01:00
baldurk 5596533459 Add handler for escape/enter shortcut keys in the dialog 2014-09-16 19:52:24 +01:00
baldurk 29e78c467e Set tab order on the form 2014-09-16 19:52:23 +01:00
baldurk eccf3fc052 Handle overwrite & invalid path on save click to validate filename 2014-09-16 19:52:23 +01:00
baldurk 339ee48ea6 Texture save dialog should be non-sizeable 2014-09-16 19:00:34 +01:00
baldurk e81169f021 Add a dialog to guide users to selecting available save options 2014-09-16 01:27:08 +01:00
baldurk 326ca2ebe8 Move SaveTexture logic to replay layer
* Expand the abilities of the GetTextureData in replay drivers
  to be able to resolve samples and render down to RGBA8 unorm
  for file export to other programs.
* Greatly improve the ability to save textures - in theory any
  texture format/type/dimension/etc should now be mappable in
  sensible & useful ways to output formats.
2014-09-16 01:25:13 +01:00
baldurk 72e2ed1513 Remove UNorm_SRGB component type as it's redundant 2014-09-14 20:29:25 +01:00
baldurk bda68c8ba6 CBuffer window is a dialog now, with ability to set custom layout 2014-09-13 18:48:39 +01:00
baldurk d9104b73c3 Set Debug Messages title correctly 2014-09-13 18:48:38 +01:00
baldurk 475c0dab7c Improve type display in constant buffer previewer 2014-09-13 18:48:37 +01:00
baldurk 1a2831a52e Update help text 2014-09-13 18:48:37 +01:00
baldurk 6fbb247efd Re-organise external-facing headers to be more easily used
* renderdoc/api/replay/ contains all the headers for using the replay and
  analysis side of renderdoc (like in a UI or auto-testing tool)
* renderdoc/api/app/ contains the headers if you wanted to write a
  renderdoc-aware application.
2014-09-13 12:52:25 +01:00
baldurk 35884170eb In D3D11 support setting friendly names on shaders 2014-09-10 18:25:29 +01:00
baldurk 4d05273bc1 Fix loading settings not working with the working-dir hint 2014-09-06 16:28:34 +01:00
baldurk 68157814ad Mark pixel history events as UAV writes and display before/after 2014-09-06 13:28:58 +01:00
baldurk 640d8aac49 Don't include Present() with others in auto-marker groups 2014-09-06 12:59:29 +01:00
baldurk 543165cece Give the shader viewer a better disambiguating title when debugging 2014-09-06 11:45:51 +01:00
baldurk bfffc2110a Change settings title to 'Settings' not SettingsForm 2014-09-06 11:32:27 +01:00
baldurk 04335a7179 Highlight groupshared memory registers on click 2014-09-03 23:12:16 +01:00
baldurk 0dbf879e7d Add small timeouts to blocking recv/send so we don't spin forever 2014-09-02 00:16:17 +01:00
baldurk 960387d485 Add a command line parameter --remoteaccess to connect to instance
* This is useful in e.g. a renderdoc-aware application that has voluntarily
  injected renderdoc, and then wants to boot the UI to automatically open
  up the management connection
2014-09-01 21:15:23 +01:00
baldurk d8daa093c5 Fix brain-dead filling of right click menu that was really slow. 2014-09-01 18:50:08 +01:00
baldurk 89e90f8c36 Replace mip selection with sample idx when viewing Tex2DMS. Refs #79
* Also for float/unorm texture add an additional "resolved" option that
  just does an unweighted average of all samples, which is the behaviour
  from before (assuming that's what ResolveSubresource does).
2014-08-29 01:54:14 +01:00
baldurk d7ffb16a72 Add whitespace before C# exception in log 2014-08-25 22:05:04 +01:00
baldurk e68162ccb3 Bump version numbers to 0.21, as we're closer to that than 0.20 now 2014-08-25 12:41:30 +01:00
baldurk be3ee7f915 Add support for 'beta' builds
* Beta builds will be between nightlies and official releases in terms of
  stability. Tested at least to make sure there are no obvious bugs, but
  haven't been through 1-2 weeks stabilising period.
* Beta builds will upload crash reports, so I can get early warning of any
  bugs that are creeping in on master.
2014-08-25 12:41:29 +01:00
baldurk 497558f338 Display shader output as ints if that's the target format type 2014-08-24 12:38:44 +01:00
baldurk 461588ae1e Always SRGB correct colour for display 2014-08-24 02:02:54 +01:00
baldurk 24ed434bcd Change up pixel history UI to show individual fragments 2014-08-24 01:00:28 +01:00
baldurk d55be5f687 Duplicate up pixel modifications based on # frags 2014-08-24 01:00:18 +01:00
baldurk 5ed280ae33 Markers don't increment drawcall ID, use eventID for prev/next/parent 2014-08-24 00:59:26 +01:00
baldurk 4ccc7d3901 Update email in code & add menu item for nightly builds 2014-08-22 08:13:21 +01:00
baldurk b38e7f20d3 Speculative fix for crash with null values in TimedUpdate.TickTB 2014-08-19 22:45:29 +01:00
baldurk 55e0178ec9 Add quad overdraw mode. Thanks Stephen Hill (@self_shadow)!
* http://blog.selfshadow.com/2012/11/12/counting-quads/
* Quad Overdraw based on ScenePS4 from the revised implementation. The
  colours are new, up to 20 levels. Picking pixels shows the overdraw level
* Available per-pass and per-drawcall, a pass defined the same way as in
  the mesh view, drawcalls since last clear or RT change.
* List of events now passed through to RenderOverlay the same as RenderMesh
2014-08-17 15:28:51 +01:00
baldurk 8a5150297f Set the event for group marker selection to the last real drawcall 2014-08-17 15:22:11 +01:00
baldurk 7ab9815aaf Introduce a bindpoint mapping as part of the pipeline state
* For APIs where the shader namespace/bindpoint (which may be arbitrary
  like 'the Nth texture resource' can be mapped, at each event, to the
  actual API bind point where the object is.
* On D3D11 this is pass-through, on GL this returns the value of each
  uniform.
* This also means GL shader reflection structures are properly immutable
  and the variance in the uniform values is handled elsewhere.
* In future this might need to be expanded to support more complex binding
  methods, where the mapping returns the resource rather than just mapping
  to an integer bind ponit.
2014-08-13 15:56:55 +01:00
baldurk ebb5894010 If semantic is empty and we have variable name, use that instead 2014-08-12 16:47:31 +01:00
baldurk 49ab71181c Add some system attributes from GL 2014-08-12 16:47:00 +01:00
Baldur Karlsson e19daa58e3 Check bindpoint isn't -1 (for non-buffer-backed uniforms) 2014-08-08 11:15:16 +01:00
baldurk 6b74ce2f65 Add slight delay before calling PixelHistory to allow for painting 2014-08-07 21:43:57 +01:00
baldurk d3f867d5d3 Set a sane tab order on dialogs 2014-08-06 22:21:27 +01:00
Baldur Karlsson c648904cba DebugMessage description is an ascii string 2014-08-06 15:42:33 +01:00
baldurk 15f98e3749 Show pixel history events in the timeline bar 2014-08-03 16:25:14 +01:00
baldurk fb6b4a98b0 Show the pixel history tab early, fill it in with data when ready 2014-08-03 16:04:34 +01:00
baldurk 6fa46b359e Implement right click options to debug or hide failed events 2014-08-03 15:54:40 +01:00
baldurk b230be570f Inherit channel visibility from viewer, display inherited state
* A label is shown at the top of the pixel history showing the range
  display and visible channels. The channel visibility behaves the same as
  in the texture viewer - 2 or more and the other channels display as black
  and 1 channel displays grayscale.
2014-08-03 15:32:52 +01:00
baldurk aeb6ae3bcb Explicitly list stencil as hex with 0xXX form. 2014-08-03 15:04:24 +01:00