Commit Graph

105 Commits

Author SHA1 Message Date
Miodrag Milanovic
93228f78d7 old boost support 2020-04-20 13:59:47 +02:00
Miodrag Milanovic
0bf8fa23d9 Skip same frames 2020-01-11 15:48:43 +01:00
Miodrag Milanovic
3f439c1ef2 Enable screenshot and recording feature 2020-01-05 13:51:12 +01:00
Miodrag Milanovic
d399346de0 Add options to enable/disable displayed elements 2019-12-20 15:25:10 +01:00
Miodrag Milanović
0d1c7118e3
Merge pull request #169 from ajeakins/master
Fix device view not showing anything on macOS.
2019-05-23 23:53:52 -07:00
David Shah
23f2fff1c8 clangformat
Signed-off-by: David Shah <dave@ds0.me>
2019-03-22 10:39:05 +00:00
David Shah
97993e76ea gui/fpgaviewwidget: Make background opaque
Signed-off-by: David Shah <dave@ds0.me>
2019-03-12 14:03:28 +00:00
Sylvain Munaut
9539f57c74 gui: Allow shift+drag to move around the view
right & middle clight are really inconvenient when working with a touchpad
in tap-to-click mode

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2019-02-22 12:31:23 +01:00
Miodrag Milanovic
bfc96cc962 Better resize, FPGAViewWidget minimal is now 320x200, fixes #222 2019-02-07 17:42:14 +01:00
Adrian Jeakins
3cdd83a3be Remove format versioning now this is set at the top level application. 2018-12-20 22:21:10 +00:00
David Shah
9c52afcf5f clangformat
Signed-off-by: David Shah <dave@ds0.me>
2018-11-16 13:25:51 +00:00
Miodrag Milanovic
7bd542ecbe Make zoom in/out always display content 2018-11-12 10:06:04 +01:00
Miodrag Milanovic
3cfdb4e0c1 Sorted out zoomout, works for all now 2018-11-11 09:04:20 +01:00
Miodrag Milanovic
cb6baa0f6a Update grid properly 2018-10-27 12:02:01 +02:00
Miodrag Milanovic
d08fe2109d clangformat 2018-10-27 12:02:01 +02:00
Miodrag Milanovic
7386004c60 make grid cover device only, do not zoom in if there are no elements 2018-10-27 12:02:01 +02:00
Miodrag Milanovic
d7614d3d2b fix edge case 2018-10-27 10:21:29 +02:00
Miodrag Milanovic
455e90b123 No gain in optimizing this, but lead to wrong display 2018-10-26 17:53:07 +02:00
Miodrag Milanović
757dcd2a52
Merge pull request #96 from YosysHQ/imgui
Imgui integration
2018-10-26 17:27:47 +02:00
Miodrag Milanovic
40a8e17db6 update last_render in case of change of any element, not just number of them
optimize for hover/select/highlight where number matters
2018-10-26 09:59:42 +02:00
Miodrag Milanovic
f01a02be9a proper update of empty decal 2018-10-25 20:33:14 +02:00
Miodrag Milanovic
62a615a17d Fix tooltip position when doing screenshot 2018-10-24 20:50:38 +02:00
Miodrag Milanovic
85c56f4246 Added cell and net info in hint 2018-10-24 19:12:56 +02:00
Miodrag Milanovic
c2dfe6ef8e Fix propagating events 2018-10-24 19:03:25 +02:00
Miodrag Milanovic
36920e68ed Display hint on mouse over 2018-10-24 19:03:25 +02:00
Miodrag Milanovic
e2e9db52a2 dummy imgui processing 2018-10-24 19:03:25 +02:00
Mateusz Zalega
d03291eeb1 gui: improved FPGAViewWidget::paintGL() performance
Profiling revealed that memcpy() in QOpenGLBuffer::allocate() had been taking
the most time during paintGL() calls. I've been able to take the CPU usage
down to about 1/4 of its previous values by caching elements in VBOs and
updating them only after subsequent calls to renderGraphicElement().

Signed-off-by: Mateusz Zalega <mateusz@appliedsourcery.com>
2018-10-23 15:43:51 +02:00
Miodrag Milanovic
529a595157 Recalculate max zoom level depending of arch 2018-10-14 12:40:19 +02:00
Miodrag Milanovic
ad84df7974 Hover on items in tree 2018-08-22 17:38:42 +02:00
Miodrag Milanovic
4cc49ef6e3 Fix hover when cursor leaves view, fixes #63 2018-08-22 11:54:08 +02:00
Serge Bazanski
f3fac0b0ef gui: fix #57 2018-08-19 23:39:27 +01:00
Miodrag Milanovic
a6d702d85d fix zoom on elements, fixes #61 2018-08-19 20:54:41 +02:00
Sergiusz Bazanski
1f787c37a3 gui: fix zoom outbound not happening with fast startup time 2018-08-01 03:55:28 +01:00
Sergiusz Bazanski
c210ce7768 gui: unselect on click and zoom fixes 2018-07-27 15:46:00 +01:00
Sergiusz Bazanski
816d33fa94 gui: deunionize PickedElement to support arches with typedefd Ids 2018-07-27 15:11:41 +01:00
Sergiusz Bazanski
96608c8d07 gui: allow selecting pips 2018-07-27 02:28:01 +01:00
Sergiusz Bazanski
e1dfbc0241 gui: do not allow selecting FRAMEs 2018-07-27 02:24:00 +01:00
Sergiusz Bazanski
3967899a2a gui: don't keep stale hover selections 2018-07-27 02:17:04 +01:00
Sergiusz Bazanski
1fe1b99a5a gui: ctrl click to select multiple elements 2018-07-27 02:14:40 +01:00
Sergiusz Bazanski
6db0731ea5 gui: implement zoom to selection 2018-07-27 02:04:24 +01:00
Sergiusz Bazanski
5a7fe84a04 gui: clang-format 2018-07-27 01:22:29 +01:00
Sergiusz Bazanski
0eb40da749 gui: implement zoom to outbounds 2018-07-27 01:21:50 +01:00
Sergiusz Bazanski
df908374dc gui: implement basic cursor picking 2018-07-26 22:40:45 +01:00
Sergiusz Bazanski
567566585c wip 2018-07-26 18:43:00 +01:00
Sergiusz Bazanski
940886f9fa Merge branch 'master' into q3k/clickity 2018-07-26 17:46:27 +01:00
Sergiusz Bazanski
16acc6ea43 gui: move polyline/lineshader to gui/lineshader.{h,cc} 2018-07-26 17:37:24 +01:00
Sergiusz Bazanski
ba5395d89f gui: refactor FPGAViewWidget even more slightly 2018-07-26 17:33:19 +01:00
Sergiusz Bazanski
706fe2f365 gui: refactor FPGAViewWidget slightly 2018-07-26 17:26:26 +01:00
Sergiusz Bazanski
c37d2baaf6 common: rename GraphicElement::{style,type} enums, add _MAX members 2018-07-26 16:39:19 +01:00
Sergiusz Bazanski
340c2520b0 Merge branch 'master' into q3k/clickity 2018-07-26 16:26:26 +01:00