Commit Graph

250 Commits

Author SHA1 Message Date
baldurk b4d3401866 Remove nested structs from D3D11 pipeline state and move to namespace
* Moving into a namespace makes it easier to give the structs non-clumsy
  names while still being unique and not overlapping with the other API
  pipeline states.
2017-04-18 14:57:33 +01:00
baldurk d40fc8471d Change API enums to enum class, remove now redundant prefixing
* This gives a little nicer syntax, a bit better type safety, and also
  reflects better for SWIG bindings. Overall it's a minor change but
  better.
* We don't update the C# UI at all, since it's soon to be removed and
  not worth the effort/code churn.
* For now so we're ABI compatible with C#, all enums are uint32_t, but
  that is an obvious optimisation in future to reduce struct packing.
* We avoid 'None' as an enum value, because it's a reserved word in
  python so will cause problems generating bindings.
2017-04-18 14:57:33 +01:00
Michael Rennie 3b8aefa061 Make filename column resize to text, needed for long package names.
Previously the empty Size & Date columns resize to their headers, and the
Filename column gets squashed. Also made the dialog wide enough.
2017-04-08 08:12:14 -07:00
baldurk 2978755d54 On D3D11, any non-CS stage can access OM UAVs. Refs #564 2017-04-06 11:46:44 +01:00
baldurk 5f3b75739d Don't try to view buffers with ViewTexture 2017-04-06 11:46:44 +01:00
Dimitris Kapnopoulos 6e06eb5164 Added tooltips for all QToolButtons. RDSplitter checks for valid index.
handleDoubleClicked in RDSplitter checks if the index argument is less than zero or bigger than count
2017-03-28 02:54:15 -07:00
Dimitris Kapnopoulos d3faa58a78 Added Tips Dialog. Changed Tips_SeenFirst to Tips_HasSeenFirst 2017-03-21 04:09:47 -07:00
baldurk d2d86b5726 Add 'floateleven' buffer format for R11G11B10 packed data, fix unpacking 2017-03-20 13:02:20 +00:00
baldurk 487a1b7903 Start moving towards C++ only UI code. Assume C++ for the replay API
* The C# P/Invoke stuff doesn't directly use the header, and we are soon
  going to deprecate the C interface entirely.
2017-03-13 17:56:00 +00:00
Dimitris Kapnopoulos 4ab61286e4 Added custom Splitter class, RDSplitter, with titles in the handles 2017-03-13 10:02:43 -07:00
baldurk c89bcfbb7a More robust isolation of the git commit hash, without special cases 2017-03-10 13:27:59 +00:00
baldurk f76a4cc339 Don't launch blocking execute call on UI thread, pop up progress ticker
* This most commonly happens launching an Android program that takes a
  while to launch, or if you're launching a program with the delay for
  debugger option set.
* Instead of the whole UI hanging, you'll get a progress dialog to
  appear while it's waiting.
2017-02-24 17:34:02 +00:00
baldurk f3c3f82cc4 Minor tweaks to GL pipeline view in Qt, to display format for FBO att.s 2017-02-20 14:48:47 +00:00
baldurk dc46612d37 Remove file before copying so we can overwrite 2017-02-20 14:48:46 +00:00
baldurk 04c22d04f2 Reduce some copy-pasting between mesh stage UI elements 2017-02-20 14:48:45 +00:00
baldurk 7a10504260 Only VSIn stage applies baseVertex offset. 2017-02-20 14:48:44 +00:00
baldurk 7495ff37d5 Use bounding box data for placing arcball/WASD cameras 2017-02-20 14:48:43 +00:00
baldurk a7964a45d0 Add threaded calculation of bounding boxes in mesh viewer, cached by EID 2017-02-17 20:16:20 +00:00
baldurk 300029d4e1 Apply baseVertex when calculating index 2017-02-17 20:16:19 +00:00
baldurk da98e9e58d Refcount pointers to BufferData so we can pass them to other threads 2017-02-17 20:16:18 +00:00
baldurk 1e65762e93 Process render commands 1 by 1 to allow pre-empting high frequency cmds 2017-02-17 20:16:17 +00:00
baldurk 486f8d4441 Fix QString warning about calling .arg() too many times 2017-02-17 13:25:04 +00:00
baldurk b76ca0f060 Add proper guessing and selection of position/secondary elements 2017-02-17 13:24:40 +00:00
baldurk 0787799b88 Remove completed TODO comment 2017-02-17 13:03:32 +00:00
baldurk c2eb0f6eb1 Add fetching of GS/DS output data 2017-02-17 12:32:19 +00:00
baldurk 14e7c1e9a3 Sort position element on output to the start before calculating offsets 2017-02-17 12:30:58 +00:00
baldurk a7af30e800 Don't try to use index buffers for non-indexed draws 2017-02-17 12:30:05 +00:00
baldurk 079dcf2e24 Don't leak menus by creating every time the callback is called 2017-02-17 12:29:11 +00:00
baldurk b6f62d030f Add support for highlighting columns that are selected in buffer viewer 2017-02-17 12:28:47 +00:00
baldurk 8ffcab84d9 Add self-hosting tool menu items on windows 2017-02-17 12:26:49 +00:00
baldurk 5a88b280ca Add context menu to BufferViewer to debug vertices, or export data 2017-02-16 17:10:08 +00:00
baldurk 8177776422 Add snippets menu for writing custom shaders 2017-02-16 17:10:07 +00:00
baldurk fa04d5a72e Add a find/replace tool for use with Scintilla 2017-02-16 17:10:07 +00:00
baldurk 8b760ced92 Add environment variable editor for capture dialog in Qt 2017-02-16 17:10:05 +00:00
baldurk 3398fcc9de Add support for configuring an external SPIR-V disassembler in Qt UI 2017-02-16 17:10:04 +00:00
baldurk 11a914bd59 Implement win32/linux checking and registering of vulkan layers 2017-02-16 17:10:03 +00:00
baldurk f416f4770e Implement UI side of detecting vulkan layer problems and fixing as admin
* Stub functions for the actual detection/fixing part.
2017-02-14 19:14:53 +00:00
baldurk 206d9e0b34 Don't clear selection for eventbrowser when losing focus 2017-02-14 19:14:53 +00:00
baldurk 9cf9c1e8b1 Add file list to shader viewer when enough files are visible 2017-02-14 19:14:53 +00:00
baldurk 0cc4e6e909 Change some separators not hiding/showing properly in tex viewer toolbar 2017-02-14 19:14:52 +00:00
baldurk 3423c2e0d9 Fix a string format to refer to the right parameters 2017-02-14 19:14:52 +00:00
baldurk a1a3d7dfdb Reset hover/pick swatch back to black when closing a log 2017-02-14 19:14:52 +00:00
baldurk fbae19f622 Add custom shader handling to texture viewer 2017-02-14 19:14:52 +00:00
baldurk 2ce133812f Set font size to 12 on pipeline flowchart 2017-02-14 19:14:52 +00:00
baldurk 871a48d7fa Add flowchart custom widget to show select pipeline stages 2017-02-13 19:20:25 +00:00
baldurk 1fe36fc90f Connect up the simple help menu entries for opening websites/docs/log 2017-02-13 19:20:24 +00:00
baldurk 2bbbeb3369 Reskin the about dialog slightly, switch to an SVG logo 2017-02-13 19:20:23 +00:00
baldurk ea7cee9d13 Make the find behaviour in event browser to be a bit more 'sticky'
* Clicking away from the find box doesn't lose your highlight/search,
  and if you open find again it has the previous search text there.
2017-02-13 19:20:23 +00:00
baldurk f8ed197318 Add static resources collection with pre-constructed QPixmaps & QIcons
* Apart from making the code cleaner when accessing them, creating these
  from strings can be slow if you do it often enough (e.g. once per
  resources for action/action_hover in pipeline state view).
2017-02-13 19:20:22 +00:00
baldurk fa33d883ac Don't make a blocking call to the UI from render thread 2017-02-13 19:20:21 +00:00