1077 Commits

Author SHA1 Message Date
baldurk e3d902e686 Don't try to set find icons if no capture is loaded 2019-09-30 16:30:40 +01:00
baldurk ca6c6faf27 Highlight combined image/samplers to clarify sampler use. Closes #1533
* When the same sampler is used in multiple combined image/sampler descriptors
  we only list the sampler once to avoid really verbose unnecessary rows. Use
  row highlighting to indicate which sampler is used with which image, and add
  it to the view details tooltip with the image layout
2019-09-30 16:30:40 +01:00
baldurk 94f469b361 Open capture with options should not be a top-level window 2019-09-23 13:14:28 +01:00
baldurk aa57240d9c Don't show individual enabled scissors if global toggle is off 2019-09-20 12:45:00 +01:00
baldurk 62b9245215 Calculate basename by hand, for windows paths on linux 2019-09-18 11:18:28 +01:00
baldurk 3005172aa5 Tweak the phrasing of crash dialog to better explain what happened
* In particular make it clear that crashes caught in the injected program may or
  may not be a RenderDoc bug. Even if we could point the finger to a particular
  DLL we can't necessarily tie that DLL to the responsibility of either us or
  the application.
2019-09-17 11:43:01 +01:00
baldurk 764f294d75 Allow displaying fatal messages from android logcat 2019-09-10 13:31:56 +01:00
baldurk 54291b0e29 Fix linux compilation (again) 2019-09-07 12:06:05 +01:00
baldurk 7fe044faaf Fix display of 64-bit integers in buffer viewer 2019-09-07 09:24:46 +01:00
AJ Weeks 1961495390 Disable/enable (rather than show/hide) toggles 2019-09-05 20:33:14 +01:00
AJ Weeks 0a973130ac Keep "Show hidden rows" text constant now that checkbox appears 2019-09-05 20:33:14 +01:00
AJ Weeks 7231de0ed0 Allow hidden errors and warnings to be shown again
* Fix copy paste typos (lines 322, 329)
* Allow hidden rows in Errors and Warnings tab to be made visible again
2019-09-05 20:33:14 +01:00
baldurk 2d0b18b18b Don't crash if shader viewer is closed while shader compilation is going 2019-09-02 12:54:08 +01:00
baldurk 80bfa1b409 Fix display of ResourceId text in log viewer 2019-08-27 18:51:57 +01:00
baldurk 6203909791 Expose replay options to the UI
* The defaults can be configured from the settings menu, and there's a new "Open
  Capture with Options" menu option to open a capture with different options
  temporarily.
2019-08-27 18:51:56 +01:00
baldurk 20be9f3d52 Add ReplayOptions struct to contain replay-time configuration
* Not currently exposed to the UI or used by the drivers, we just pass the
  default object through
2019-08-27 18:51:56 +01:00
baldurk af3c242b35 Fix signed/unsigned comparison 2019-08-26 14:52:58 +01:00
baldurk d6289b93d0 Fix check for whether LastCaptureFilePath should be updated 2019-08-26 13:49:58 +01:00
baldurk 3b524ea7f1 Fix reflection of arrays-of-binds - textures and buffers 2019-08-26 13:22:26 +01:00
baldurk 2a8d7eddec Set sampler name for combined image/samplers in pipeline HTML export 2019-08-23 23:41:19 +01:00
baldurk a0bc429bef Handle a source line corresponding to multiple instructions
* This can happen with inlined functions
2019-08-20 15:33:12 +01:00
baldurk 07158ad24c Fix support for triangle fans on GL/Vulkan 2019-08-20 15:33:12 +01:00
baldurk ee43d4377c Account for pipeline specialisation constants when reflecting shaders 2019-08-16 17:38:35 +01:00
baldurk ef269e2b92 Add support for VK_EXT_line_rasterization 2019-08-15 18:27:39 +01:00
baldurk 93a546ab4b Remove extra dos newlines from scintilla editor. Closes #1493 2019-08-12 17:53:22 +01:00
baldurk 61de35bfc6 Pass through primitive restart state when rendering meshes 2019-08-12 17:53:22 +01:00
Steve Karolewics c4caf64464 Fix brush colors in pixel history view
The shader output brush colors were displaying the tex before color
instead of the shader output color. Updated the linear -> sRGB formula
to match what DirectX does.
2019-08-05 10:37:39 +01:00
baldurk 78ae520e3a Hide find/jump toolbars when closing a capture 2019-08-01 12:00:23 +01:00
baldurk 006ba0e103 Fix another unused lambda capture 2019-07-31 20:18:41 +01:00
baldurk f7d988b9cf Fix unused lambda parameter 2019-07-31 19:07:56 +01:00
baldurk e2704fa2eb Add an abstracted interface around android-specific handling
* This makes it easier to use the same kind of interface to manage other kinds
  of devices.
2019-07-31 17:51:13 +01:00
baldurk 06f2e61b8f Refactor RemoteHost to be copyable with shared storage
* This allows RemoteHost handles to still be valid and usable (if returning
  empty data) when they are deleted/removed if the device is disconnected, as
  well as providing better multi-thread access (they lock internally)
2019-07-31 17:51:12 +01:00
Silent f97a1746e9 Qt: Fixed behaviour of some buttons
Several buttons had functors connected to wrong signals,
which resulted in incosistent UI behaviour.
2019-07-30 16:50:18 +01:00
baldurk 94648f8fe2 Replace QSortFilterProxyModel in LogView which doesn't scale well 2019-07-25 16:49:21 +01:00
Tillmann Karras 622c8bdb0e BufferViewer: fix 2/4-byte primitive restart 2019-07-24 11:24:09 +01:00
Tillmann Karras f61a5e464c BufferViewer: never leave indices uninitialized 2019-07-24 11:24:09 +01:00
baldurk 09df7a12c6 Improve poorly written Android install failure messages. Closes #1459
* We also add a new message specifically for when the install succeeds but we
  can't verify it, to indicate the problem better than suggesting that
  permission errors are at fault.
2019-07-22 14:52:42 +01:00
baldurk dfe84e962b Don't try to close ConstantBufferPreviewer window when loading capture 2019-07-12 13:58:21 +01:00
Steve Karolewics 70e3499ea1 Check component count for right click pixel value in texture viewer 2019-07-12 13:58:11 +01:00
Steve Karolewics 7ff5841885 Check type hint for auto fit range button in texture viewer. 2019-07-11 10:37:33 +01:00
baldurk b56b597cbf Remove use of more deprecated Qt functions, disable deprecation warnings
* Unfortunately at least one deprecated function
  QDesktopWidget::screenGeometry(const QPoint &p) has no easy alternative that
  works on 5.9 which is the version we have available by default on windows.
2019-07-10 17:39:03 +01:00
baldurk fb00089493 Remove use of deprecated QFontMetrics::width() 2019-07-10 16:18:30 +01:00
baldurk 935f243500 Fix use of deprecated QApplication::desktop() 2019-07-10 15:20:15 +01:00
baldurk 77d9d45af5 Qt 5.6 is our minspec, don't use functions added since then 2019-07-10 15:18:27 +01:00
baldurk 6abfb6c790 Fix use of obsolete/deprecated Qt functionality 2019-07-10 14:42:54 +01:00
baldurk dc7bf0f1fc Don't use deprecated overload of QProcess::ExitStatus 2019-07-09 16:16:15 +01:00
baldurk b89c80546c Don't generate recursive callbacks when changing capture comments 2019-07-03 20:51:57 +01:00
baldurk 56663ccfef Fix linux build 2019-06-28 11:43:19 +01:00
baldurk 039b65f89f Add a viewer of the diagnostic log in the UI itself 2019-06-27 10:22:13 +01:00
baldurk e525630a17 Add special resource type for A8_UNORM. Closes #1426
* While it's redundant this format is still valid in D3D so needs to be handled
  correctly.
2019-06-25 19:08:07 +01:00