Commit Graph

315 Commits

Author SHA1 Message Date
Miodrag Milanovic
0a3ebfbb5b change to const auto& 2018-10-30 08:07:31 +01:00
Miodrag Milanovic
02edd66ae9 Changes to cover issues from code review 2018-10-29 19:39:52 +01:00
Miodrag Milanovic
3758029227 fix unselect from tree 2018-10-28 14:50:48 +01:00
Miodrag Milanovic
436c2a0444 Fix keep selection on multiple trees 2018-10-27 17:04:08 +02:00
Miodrag Milanovic
f66c5a0094 update properties based on move history 2018-10-27 16:00:47 +02: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
f43ee265e8 Cleanup 2018-10-27 12:02:01 +02:00
Miodrag Milanovic
ba0ab7cb30 simplify and move arround 2018-10-27 12:02:01 +02:00
Miodrag Milanovic
5d5324c073 Split tree models and make other features work with it 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
f2ec5b0ff3 do not invalidate buffer, leave as is 2018-10-25 20:33:49 +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
Miodrag Milanovic
f796716b83 Make imgui and qtgui compile on older qt as well, opengl 3.2 required 2018-10-24 19:00:58 +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
David Shah
ea03aafc26 clangformat
Signed-off-by: David Shah <davey1576@gmail.com>
2018-09-30 15:13:18 +01:00
David Shah
09ddcb67d3 gui: Fix another zero-decal issue
Signed-off-by: David Shah <davey1576@gmail.com>
2018-09-25 13:55:54 +01:00
David Shah
1d782870dc Apply GUI fix from @mmicko
Signed-off-by: David Shah <davey1576@gmail.com>
2018-09-25 13:31:54 +01:00
Miodrag Milanovic
28e30b2af0 Added hover on properties as well, fixes #64 2018-08-22 18:37:24 +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
Clifford Wolf
26be6f9761
Merge pull request #47 from YosysHQ/settings_propagate
Use settings for placer1 and router1
2018-08-18 19:25:19 +02:00
Clifford Wolf
74eebc489f Add arch attributes display to GUI
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-08-18 14:13:45 +02:00
Miodrag Milanovic
e5006d4f2f Save settings and give nicer names to some 2018-08-10 19:11:30 +02:00
Miodrag Milanovic
5dd7a74b87 Make loading works nice and use settings 2018-08-08 21:15:54 +02:00
Miodrag Milanovic
61bce47f3c Use settings for json and pcf 2018-08-08 20:14:18 +02:00
Clifford Wolf
f6189e4677 Merge branch 'master' of github.com:YosysHQ/nextpnr into constids 2018-08-08 19:35:13 +02:00
Miodrag Milanovic
fc0131ceb0 cleanup 2018-08-08 18:41:30 +02:00
Miodrag Milanovic
fc5cee6fb8 clangformat 2018-08-08 18:17:34 +02:00
Miodrag Milanovic
ecc21caa77 move load/save proj to base 2018-08-08 18:14:22 +02:00
Clifford Wolf
e03ae50e21 Get rid of PortPin and BelType (ice40, generic, docs)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-08-08 17:01:18 +02:00
Miodrag Milanovic
5df90bc5a5 Merge remote-tracking branch 'origin/master' into common_main
# Conflicts:
#	ecp5/main.cc
#	ice40/main.cc
2018-08-08 10:48:05 +02:00
Miodrag Milanovic
b0741e292c Use ProjectHandler from gui as well 2018-08-06 19:47:01 +02:00
Miodrag Milanovic
9510c444c9 Disable menu options on json load 2018-08-05 18:02:33 +02:00
Clifford Wolf
5e53075990 API change: Use CellInfo* and NetInfo* as cell/net handles (common, ice40)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-08-05 15:25:42 +02:00
Miodrag Milanovic
0cb349b60e Utility calls static 2018-08-04 11:54:34 +02:00
Miodrag Milanovic
dc4bd1b55f Move ArchArgs to BaseWindow 2018-08-04 11:52:07 +02:00
Miodrag Milanovic
a31c00ed96 Chip selection ui for ECP5 2018-08-04 11:48:29 +02:00