baldurk
03cf4d2ce3
Customise button rendering in RDStyle
2017-07-28 19:06:42 +01:00
baldurk
c601414e39
Add light and dark palettes to RDStyle
2017-07-28 19:06:42 +01:00
baldurk
26711eca2e
Use MainWindow palette for tooltips
2017-07-28 19:06:41 +01:00
baldurk
247382af51
Fix a few widgets to properly respond to and use style changes
2017-07-28 19:06:41 +01:00
baldurk
3ea74aa73b
Treeview expanders shouldn't be Dark, they should be Text
2017-07-28 19:06:41 +01:00
baldurk
9a782158fd
Fork RDStyle to RDTweakedNativeStyle
...
* The idea is tha this style won't change the palette and will just do
some minimal additions/changes to whatever the native style is, to
work around some rough spots.
2017-07-28 19:06:41 +01:00
baldurk
6cedd3755b
Add custom rendering of tab close buttons
2017-07-28 19:06:41 +01:00
baldurk
2dc577a02c
Update toolwindowmanager to d520d7a
2017-07-28 19:06:41 +01:00
baldurk
3a4327b664
Tweak RangeHistogram painting to better adjust to palettes
2017-07-28 19:06:40 +01:00
baldurk
60ba617f38
Add custom branches/indicators for tree controls
2017-07-28 19:06:40 +01:00
baldurk
b6a73a4bb0
Draw custom coloured tree widget lines over the top of built-in style
2017-07-28 19:06:40 +01:00
baldurk
83c413129e
Add the beginnings of a unified cross-OS style
...
* First thing changed, auto-raise toolbuttons don't sink when enabled,
but remain flat and highlighted.
2017-07-28 19:06:40 +01:00
baldurk
7f6dc8d91c
Initialise unread message count to 0
2017-07-28 19:06:40 +01:00
baldurk
58d40fdc26
Don't show 0.0 as the default drawcall duration
2017-07-28 19:06:39 +01:00
baldurk
806876c540
Add a menu item to do nothing but replay the capture in a tight loop.
2017-07-27 16:14:17 +01:00
baldurk
8476be2300
Fix mac build, split PlistBuddy use to separate script, suppress errors
...
* There's no "add or replace" so we have to just delete and ignore if
it fails, then add/set as normal.
2017-07-25 22:06:30 +01:00
baldurk
a53801f019
Make sure dependent options in capture dialog always update
2017-07-25 09:24:33 +01:00
baldurk
07aa7e5cbc
Add timeline bar to VS filters
2017-07-25 09:23:26 +01:00
baldurk
fbeb57baf6
Don't change background colour if the QColorDialog was aborted
2017-07-25 09:23:17 +01:00
baldurk
371c1f9f8c
Update currently hovered item on scroll events too.
2017-07-25 09:23:09 +01:00
baldurk
8a0432add9
Fix crashes if drawcall list goes away when log is closed
2017-07-25 09:23:04 +01:00
baldurk
e005522152
Give better default sizing on startup to VTX/IDX columns
2017-07-25 09:22:51 +01:00
baldurk
599b6f1eaf
Add manual fixup of <img> tags in richtext labels, to set to @2x version
2017-07-25 09:22:32 +01:00
baldurk
6612024f43
Fix use of PlistBuddy on subsequent recompilations of qrenderdoc on OS X
...
* There's an error if you add a property that's already there, so we
instead delete it each time before adding it.
2017-07-25 09:21:14 +01:00
Cody Northrop
d66afc0144
android: Add ability to check RenderDoc support, try to fix it
...
After selecting an application to launch on Android, inspect it to see if
it contains the RenderDoc layer and required permissions. If it does not,
display a warning similar to desktop. When clicked, if only the layer was
missing, offer to patch the APK, uninstall, and reinstall, with the
warning that it doesn't work for all applications (or at all for GLES).
Also provides pointers to how to package the layer yourself.
The process works by using the host temp directory to pull the APK and
modify it. If the steps fail for any reason, the log is populated and
patching is halted.
2017-07-21 10:29:46 -07:00
baldurk
2f6dffffc5
Expose camera class properly, drop Camera_* entry points from Qt UI
2017-07-17 16:34:12 +01:00
baldurk
515c933545
Rename Maths_* and Topology_* to make RENDERDOC_ a consistent prefix
...
* This will make it easier for a linker script on linux
2017-07-17 15:14:15 +01:00
baldurk
a11a00a7b5
Make sure Qt objects are deleted on the Qt main thread
2017-07-17 12:36:20 +01:00
baldurk
41092e869f
Allow clicking 'next draw' from the frame start marker at EID 0
2017-07-17 12:36:04 +01:00
baldurk
8adde662fd
Save target of clear calls that don't clear currently bound targets
...
* This prevents the UI from showing confusing results when the currently
bound state doesn't match what's being cleared.
2017-07-17 11:33:50 +01:00
baldurk
1676f2698e
Disable previous/next buttons when there's no previous/next drawcall
2017-07-17 11:30:31 +01:00
baldurk
76cfcd5601
Highlight resources/history from other parts of the UI in timeline bar
2017-07-14 19:57:14 +01:00
baldurk
9ea8ed229d
Add usage/history highlighting
2017-07-14 19:56:56 +01:00
baldurk
0ecf9ee8fb
Add marker regions and drawcalls to the display
2017-07-14 18:44:19 +01:00
baldurk
acae04af02
Expose getLuminance for QColor
2017-07-14 17:17:54 +01:00
baldurk
0aad2e9c03
Tweak hover label a bit - remove it on leave and don't clip both sides
2017-07-14 13:09:03 +01:00
baldurk
57bdd0495b
Add labels on hover and current event, and jump to event on click
2017-07-14 12:56:10 +01:00
baldurk
50ca57aaaa
Add quoting necessary to build qrenderdoc in path with spaces or dashes
...
* The paths need to be quoted so that spaces don't expand to multiple
arguments.
2017-07-13 19:03:40 +01:00
baldurk
9e8bb36008
Compile fix - keep headers separate so clang-format doesn't re-sort them
2017-07-13 18:45:25 +01:00
baldurk
d3d1bcd136
Add work in progress timeline bar
...
* Has an EID scale bar along the top, and simple zoom/pan, but nothing
else.
2017-07-13 18:44:41 +01:00
baldurk
df9f72b857
Add option to ignore icon size when sizing rows in a RDTreeView
2017-07-13 13:57:33 +01:00
baldurk
b254cd7ac1
Fix crash with NULL drawcall
2017-07-13 13:57:09 +01:00
baldurk
5f94f4a71b
Add <QDebug> include file
2017-07-12 23:36:46 +01:00
baldurk
a01b85135b
Move windows-only code into #ifdef
2017-07-12 21:36:04 +01:00
baldurk
5078d68234
Use new stretch hints mode to improve column sizing in pipeline states
2017-07-12 19:51:10 +01:00
baldurk
24e1a8fc42
Add a new 'stretchy size hint' mode for RDHeaderView
...
* The basic idea here is to have a reasonable middleground between
ResizeToContents and Stretch. We want to show at *least* enough for
the contents, but the remaining space should be shared between the
columns according to some proportions.
* That way you don't end up with one huge column and several tiny ones
that are just big enough but no more, but all data is still visible.
2017-07-12 19:50:29 +01:00
baldurk
1e840356a1
Change pipeline state viewers so minimum panel size is smaller
...
* Add scroll areas for the larger tabs and allow pipe flowchart to
resize to its minimum size if needed.
* The idea here isn't that anyone will seriously try to use the pipe
view at 500x200 but more that the minimum size doesn't become a
problem while moving around windows or panels, or resizing temporarily
2017-07-12 19:44:51 +01:00
baldurk
b96242b635
Return a minimum size hint for pipeline flowcharts
2017-07-12 18:26:20 +01:00
baldurk
79979b60c7
Remove contents margins from sizehint when preserving aspect ratio
...
* This prevents a feedback loop where the label resizes wider to make
room for the margins, then the margins get bigger to keep the image
centred/scaled properly, etc.
2017-07-12 18:26:05 +01:00
baldurk
bcd08f77a6
Set word wrap on fixed state labels in pipeline viewers
...
* This allows the pipeline state viewer to have a smaller minimum size
which is useful when resizing the whole program UI.
2017-07-12 17:29:09 +01:00