baldurk
ef173fb96f
Append C++14 standard flag instead of prepending.
...
* This stops it from being overridden by the global --std=c++11 in the
root CMakeLists.txt which ends up after it in the command line.
2018-01-18 17:55:52 +00:00
baldurk
49d39f32a5
Attempt to fix weird SWIG compile error with lacking relocatable flag
...
* Although we're only making binaries so this doesn't seem like it
should be necessary.
2017-12-07 19:00:34 +00:00
baldurk
e23ddb98b3
Clamp currentIndex from Qt which can come back as -1 in some cases
...
* If this gets propagated far enough and used as an index it can cause
crashes, so we clamp to 0 when we know the value should be
non-negative.
2017-10-24 23:04:02 +01:00
baldurk
4d5ab22e97
Don't display a register/slot index for built-in shader variables
2017-09-19 17:14:20 +01:00
baldurk
7a78ae67ff
Revert mistakenly cherry-picked follow up to change not on v0.x
...
This reverts commit d129222464 .
2017-09-13 16:00:55 +01:00
baldurk
04b715890c
find previous button should be left of the find next button
2017-09-13 14:55:25 +01:00
baldurk
c7dda154ab
Fix format string
2017-09-13 14:54:51 +01:00
baldurk
e8d9efb844
Reset hover index when widget is cleared, don't leave it to be stale
2017-09-13 14:54:21 +01:00
baldurk
4e275421bb
Set basevertex to 0 when calculating column data width
2017-09-13 14:53:33 +01:00
baldurk
b603230023
Fix texture saving not propagating the right settings
2017-09-13 14:53:26 +01:00
baldurk
d129222464
Make sure to refresh model if only children were added
2017-09-13 14:53:13 +01:00
baldurk
9e6cee3f5c
Turn off tracing after execution finishes
...
* This means the tracing isn't still lingering around when we shutdown
and the context is destroyed.
2017-09-13 14:52:49 +01:00
baldurk
e588b496e5
Immediately delete any open LiveCapture windows when closing
2017-09-13 14:52:44 +01:00
baldurk
809217ec60
Fix formatting of string to not append an int interpreted as a QChar
2017-09-13 14:50:42 +01:00
baldurk
7a38f9d853
Add alpha2coverage to VK state view, move it & alpha2one to MSAA group
2017-09-13 14:50:35 +01:00
baldurk
43c3bf5cf8
Don't select unused bindings over a valid bind in vk pipeline state
...
* If there's a variable which is unused and has no binding declared, it
will be sorted to the end of the list and given a binding of 0. We
don't want to let this override a valid binding for 0, so make sure we
prioritise any variable which is marked as used over one that is
unused.
2017-09-13 14:50:30 +01:00
baldurk
58cf0cd7fd
Add default initialisation for tag object, fixes a warning on gcc
2017-08-16 18:29:20 +01:00
baldurk
4d2da84ca4
Reference an explicit tag release of renderdoc's swig fork
...
* The tag is signed, and there's a release on that github repo with
signatures for the source tarball/zip files
2017-08-04 17:35:32 +01:00
baldurk
c74c3d36bc
Improve ResourceId repr/str handling, and add an int() handling
2017-08-03 19:10:41 +01:00
baldurk
09ba0b46af
Add typemap for QPair
2017-08-03 17:57:24 +01:00
baldurk
ee67b85b58
When we hit an exception, pass the line number of the top-of-stack
...
* This allows us to update the current line highlight before stopping.
2017-08-03 17:57:24 +01:00
baldurk
87ef595cce
For a block invoke to another thread, safe and restore
...
* In future we could handle async exceptions by storing the exception
information in a std::function derived object (instead of the separate
ExceptionHandling that lives on the stack) and query it out in a new
WaitForInvoke function maybe. Right now we just print the exception
to the output log and abort the callback.
2017-08-03 17:57:23 +01:00
baldurk
1c93ee9441
If a python error has occurred, don't try to do any work, just bail
2017-08-03 17:57:22 +01:00
baldurk
f41f6a2b66
Fix race condition accessing UI stuff on async loading thread
2017-08-03 17:57:22 +01:00
baldurk
86a9d70bb7
Only remover disassembly toolbar when debugging, not when viewing shader
2017-08-03 17:57:21 +01:00
baldurk
9878223839
Don't allow displaying non-debuggable disassembly forms when debugging
2017-08-02 15:30:58 +01:00
baldurk
608cd152d9
OS X compile fix
2017-07-28 20:31:52 +01:00
baldurk
feb99ca6a4
Compile fix, cast to QRectF first then adjust
2017-07-28 20:01:41 +01:00
baldurk
5b3fd0a2f9
Add handling for tab bars and tab widgets
2017-07-28 19:06:47 +01:00
baldurk
1bbe9f5409
Update toolwindowmanager to 62adf4b
2017-07-28 19:06:47 +01:00
baldurk
d57cc1b188
Add more consistency to docking panels and widgets
...
* Dock panels shouldn't have any frame border or anything like that.
* They should have an external margin of 3 pixels at their border,
but then no further margins on the layouts (like sub-controls for
the pipeline state views.
* Toolbars should be Raised & Panel frames. Later we'll replace them
with actual QToolBars to better customise the painting.
2017-07-28 19:06:46 +01:00
baldurk
541aa23a93
Add menu rendering (both menu bars/menus and popup menus)
2017-07-28 19:06:46 +01:00
baldurk
89945f711d
Switch to SVG topology diagrams
...
* We need to custom paint the SVG at the right devicepixelratio because
Qt seems to be busted at scaling up - nothing I can see causes the
SVG to be rendered at higher than it's default resolution, so you end
up with plain bilinear upscale.
* Since we're doing custom palette swap anyway, it's not much harm to
just render ourselves, as we already basically had a dependency on
QtSvg - just need to add the include files to the dependencies.
2017-07-28 19:06:46 +01:00
baldurk
9434b622a1
Make sure that pan remains unchanged when setting scrollbar range
2017-07-28 19:06:46 +01:00
baldurk
58d6e2540d
Only highlight enabled toolbuttons on hover, not disabled ones
2017-07-28 19:06:46 +01:00
baldurk
c19b4fb0a3
Add some basic style hints for menus and message boxes
2017-07-28 19:06:46 +01:00
baldurk
4591457ad7
Set up custom splitters, for now just empty rects.
...
* May need to revisit this in future depending on what outlining we have
for individual docking widgets
2017-07-28 19:06:45 +01:00
baldurk
01c1365224
Don't draw any frames for status bar items
2017-07-28 19:06:45 +01:00
baldurk
719b7ea478
Fill in the background even for line edits without frames
2017-07-28 19:06:45 +01:00
baldurk
a0bee29162
Make sure not to account for an invisible frame when sizing line edits
2017-07-28 19:06:45 +01:00
baldurk
b63c91da0f
Remove fake box frames around find/goto. Superceded by custom style
2017-07-28 19:06:45 +01:00
baldurk
c471153770
Add styled progress bars, including animations for the 'infinite' case
2017-07-28 19:06:45 +01:00
baldurk
a6f0d07e09
Remove most stylesheet use as this messes with a custom style
...
* Use palettes where a certain colour is needed.
* Still need some solution for table borders in grid layouts
2017-07-28 19:06:44 +01:00
baldurk
a4e4c1fd5d
Don't underline shortcuts by default - we'll handle alt-press later
2017-07-28 19:06:44 +01:00
baldurk
4545ed5bb5
Add custom rendering for spinboxes
2017-07-28 19:06:44 +01:00
baldurk
5ceffa1d1d
Custom tooltip panels
2017-07-28 19:06:44 +01:00
baldurk
048e2c0102
RDStyle is based on QCommonStyle
...
* This gives us a consistent baseline to start from and ensures that any
things we don't customise and leave to defaults will still be the same
wherever we are running.
2017-07-28 19:06:44 +01:00
baldurk
430cdad282
Fix mnemonics showing up in text drawing
2017-07-28 19:06:44 +01:00
baldurk
ad79e2a240
Add custom rendering for combo boxes - also covers frames, lines, items
2017-07-28 19:06:43 +01:00
baldurk
9454ef48df
Draw custom scrollbars
2017-07-28 19:06:43 +01:00