Commit Graph

1235 Commits

Author SHA1 Message Date
baldurk 3bdfd1ecd6 Set the current highest mip/first array slice after unblocking signals 2018-02-22 19:48:30 +00:00
baldurk aee8678256 Set a proper title for the remote-host prompting dialog 2018-02-22 19:48:09 +00:00
baldurk 8f7c15a984 Remove window help button from dialogs 2018-02-22 19:47:56 +00:00
baldurk ecb9faefe1 Close locked tabs when closing a capture 2018-02-22 19:46:56 +00:00
baldurk 076ec17848 Set texture viewer toolbar minimum sizes consistently
* Otherwise those with icons are slightly larger than those without.
2018-02-22 19:45:55 +00:00
baldurk 529c6772a9 Depth-stencil usage should be considered a write action in timeline bar 2018-02-22 19:45:31 +00:00
baldurk b62b22d8c2 Update toolwindowmanager to 60f27eb768e78bcbbf8a3fd031299e6d34a095bc 2018-02-22 16:25:54 +00:00
baldurk 2588207201 Fix tab bar size calculation to account for tab margin 2018-02-22 16:22:51 +00:00
baldurk d9c7a4d416 Show the status bar progress indicator if a replay operation is slow
* This mostly happens on android where there are large framebuffers
  transferred over a very slow USB connection
2018-02-22 15:49:48 +00:00
ashley 7fd5c379c4 Queue capture frame number had maximum of 100, changed to be higher 2018-02-22 15:49:30 +00:00
baldurk 4a2242f0a1 Make checkerboard colours update immediately when theme changes 2018-02-21 14:29:36 +00:00
baldurk 1c88ff5fbb Don't stomp locked tab type hints with currently followed type hint 2018-02-20 13:48:47 +00:00
baldurk 13c1cf6ad4 Return ReplayStatus when launching/injecting, use to indicate JDWP error
* If android studio or other android tools are open when a package is
  launched for debugging, they greedily jump on it and connect which
  prevents us from connecting.
2018-02-20 11:54:57 +00:00
baldurk 6a1db5deac Show usage in timeline bar when selecting/focussing resource inspector 2018-02-20 10:12:32 +00:00
baldurk dbfa3cdc4d Remove DrawFlags::SetMarker from API Calls events
* This made them behave inconsistently and was not really necessary
  anyway.
2018-02-20 10:02:40 +00:00
baldurk 98e46d2ba1 Allow activating right column of usage details in resource inspector 2018-02-20 10:02:05 +00:00
baldurk 138d3bd040 Fix painter clipping when resizing tree-branch column quite small 2018-02-19 19:37:28 +00:00
baldurk cea77ebd39 Manually propagate clicks on custom tooltip to underlying widget
* Qt::WA_TransparentForMouseEvents is supposed to do this but clearly
  doesn't work as it's supposed to.
2018-02-19 19:37:26 +00:00
baldurk ef391f383a Make timeline bar key clearer to read 2018-02-19 18:07:12 +00:00
baldurk 6cf67f9e4f Display matrices in multiple lines instead of a single line
* This makes it easier to preview without expanding the variables, and
  also clarifies the row/column distinction in a "float3x4" since it's
  immediately clear how many rows there are.
2018-02-19 11:54:09 +00:00
baldurk 2eb56e4279 Display matrix memory order in cbuffer type column. Refs #800 2018-02-19 11:53:20 +00:00
baldurk 40ed57c61a Update toolwindowmanager to 986c8e4881ff9e615c5f8c71347f9137c13fadfa 2018-02-19 00:52:15 +00:00
baldurk 9a6a45ca48 Reduce minimum tab width. Refs #866
* I'd like a smarter sizing scheme for tabs but unfortunately making it
  dependent on the widget size leads to unpredictable behaviour as the
  tab sizes aren't always updated at the right times.
2018-02-19 00:52:15 +00:00
baldurk cf1bd99d21 Add box frame shape around events list 2018-02-19 00:52:14 +00:00
baldurk 08457a329e Add itemview header drawing to RDStyle 2018-02-19 00:52:14 +00:00
baldurk 8691972212 Fix some minor rendering glitches (off by one errors) 2018-02-19 00:52:14 +00:00
baldurk 1792673864 Show an error message if saving changes fails 2018-02-19 00:52:14 +00:00
baldurk 1b5e96f363 Fix sizing/positioning of checkbox indicators in item view items 2018-02-19 00:52:14 +00:00
baldurk 5b42e129f0 When clicking on usage events in the timeline bar, select closest event 2018-02-19 00:52:14 +00:00
baldurk ba5a5cfb21 Allow resizing constant buffer preview columns 2018-02-19 00:52:14 +00:00
baldurk 04034c334b Gather pixel history panels together instead of making new dock for each 2018-02-19 00:52:13 +00:00
baldurk cafa6901bb Implement copy-paste handler for RDTableView 2018-02-19 00:52:13 +00:00
baldurk 49123db49f Add arrow_refresh into project properly 2018-02-19 00:52:13 +00:00
baldurk f9decacf0a Link against Qt5Networkd.lib in QTDebug target 2018-02-19 00:52:13 +00:00
baldurk 96faed6961 Call QHeaderView::initializeSections() to initialise QHeaderView
* Because many of QHeaderView's functions are annoyingly not virtual,
  we need some stub data available in QHeaderView even if it won't be
  used for anything much, like the number of sections.
2018-02-19 00:52:13 +00:00
baldurk 934800793a Improve workflow for capture import/export
* If the export doesn't need buffers, we export directly from the loaded
  capture file instead of re-loading it.
* Add progress bars for the load step so it shows what's happening
  instead of looking stalled.
* Reduce compression rate on XML+ZIP buffers as it took too long trying
  to compress when exporting large captures.
2018-02-19 00:52:13 +00:00
baldurk dda5629426 Don't sort resource list in resource inspector every time 2018-02-16 13:33:58 +00:00
baldurk 0c7408b91e Don't allow single clicking on autofit to toggle auto-autofit 2018-02-15 11:23:52 +00:00
baldurk 64406b47a3 Add an SDBasic type for ResourceId.
* This type is core enum and used globally (not API specific) that it
  merits becoming a specific structured data type
2018-02-15 10:21:52 +00:00
baldurk 5c859b20a6 Don't use undefined map[index] = map.size()
* The LHS map[index] can get executed first before map.size() and we end
  up with indices that are 1 higher than we expect
2018-02-13 21:10:07 +00:00
baldurk cad5520238 Tweak the event browser to support richtext in drawcall names
* This lets Resource ID text become links to the resource inspector even
  in drawcall names (like glBlitFramebuffer(src, dst)).
2018-02-13 21:10:06 +00:00
baldurk 8368f9b8be Stringify ResourceIds consistently as "ResourceId::12345"
* This means even strings generated in the core code will become
  richtext in the UI.
2018-02-13 21:10:01 +00:00
baldurk 2f41469228 clang compile fix - missing override specifier 2018-02-13 10:08:58 +00:00
baldurk bb2c98795c Hook up autofit right-click shortcut, to always autofit 2018-02-12 20:48:10 +00:00
baldurk db7050c4d4 Set a minimum width for popup menus in RDStyle 2018-02-12 20:48:08 +00:00
baldurk 48fd9bf1ed Fix sizing of stretch columns when one column is hidden 2018-02-12 20:48:06 +00:00
baldurk f2ece44e49 Implement sorting for RDTreeWidget 2018-02-12 20:48:05 +00:00
baldurk ea5e88b99d Use current item instead of last selected item in onclick handler 2018-02-12 20:48:04 +00:00
baldurk d7ecf8a1b3 Add a context menu item in texture viewer to open in resource inspector 2018-02-12 20:48:02 +00:00
baldurk c437772271 Fix painting of frame borders in RDStyle 2018-02-12 20:48:01 +00:00