Commit Graph

30 Commits

Author SHA1 Message Date
Sergiusz Bazanski
499951cb65 Remove legacy graphics API
For now we do not optimize the OpenGL renderer against the new decal
API, but this can be done in the future.
2018-07-12 21:30:36 +01:00
Clifford Wolf
b8a42ff53b Updates from clang-format
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-12 22:04:13 +02:00
Sergiusz Bazanski
681d824131 Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/fix-zoom 2018-07-12 20:24:00 +01:00
Sergiusz Bazanski
284b4750ee Fix zoom in fpgawidget 2018-07-12 20:22:53 +01:00
Miodrag Milanovic
7b9b2bef3c make colors configurable, changed to gray 2018-07-12 18:03:10 +02:00
Miodrag Milanovic
8a226626be changed order of scale and translate, makes it zoom at center 2018-07-12 17:38:58 +02:00
Clifford Wolf
a436035424 Add Groups API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-12 17:22:29 +02:00
Clifford Wolf
ce6afb5f7f Merge branch 'ice40gfx' into 'master'
Ice40gfx

See merge request SymbioticEDA/nextpnr!7
2018-07-11 12:04:53 +00:00
Clifford Wolf
7081cca016 Add GUI Decals API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-07-11 14:03:23 +02:00
Miodrag Milanovic
0d71ed76cb reversed Y coordinate in gui 2018-07-11 11:53:24 +02:00
David Shah
a412903651 Increase max zoom, decrease line width
Signed-off-by: David Shah <davey1576@gmail.com>
2018-07-09 15:33:09 +02:00
David Shah
a1cd9fcf73 Reduce line width, adding some switchboxes
Signed-off-by: David Shah <davey1576@gmail.com>
2018-07-09 14:53:20 +02:00
Miodrag Milanovic
7a741b66a1 clang format and some cleanup 2018-07-06 19:19:18 +02:00
Miodrag Milanovic
2dd7c77abd no messages on console if all is fine with opengl 2018-07-05 19:32:17 +02:00
Miodrag Milanovic
2f5b5369ba Disable warning from qt5 and 2018-07-05 10:33:11 +02:00
Miodrag Milanovic
960c650478 clangformat cleanup 2018-06-28 18:06:31 +02:00
Miodrag Milanovic
0bd73c1977 Make GUI use recreated context 2018-06-26 15:47:43 +02:00
Miodrag Milanovic
4b78ae15df clangformat cleanup 2018-06-23 16:06:49 +02:00
Sergiusz Bazanski
ac1fcefdb1 OpenGL 3.1, VAO/VBO 2018-06-22 20:25:47 +01:00
Sergiusz Bazanski
a684785986 Small fixes. 2018-06-22 15:13:05 +01:00
Sergiusz Bazanski
858acc5c1c Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into q3k/gl 2018-06-22 14:29:28 +01:00
Sergiusz Bazanski
98b1f0c041 Reimplement FPGAWidget in modern OpenGL. 2018-06-22 14:27:04 +01:00
Miodrag Milanovic
7f36828270 fixed namespace for gui section 2018-06-22 13:10:43 +02:00
Miodrag Milanovic
9c03909eba Make arch specific main window 2018-06-21 13:41:33 +02:00
Clifford Wolf
8ee149f4fc Rename Design to Context, derive from Arch instead of instantiating
Signed-off-by: Clifford Wolf <clifford@clifford.at>
2018-06-18 14:06:37 +02:00
Miodrag Milanovic
9f8bdd3c3e nice way to get main window 2018-06-10 20:48:52 +02:00
Miodrag Milanovic
d8d38cd107 Draw fpga model 2018-06-10 19:56:17 +02:00
Miodrag Milanovic
4bcbe977ab Propagate design to widget 2018-06-10 18:33:39 +02:00
Miodrag Milanovic
e7ff22ce90 clang format for gui related files 2018-06-06 22:53:52 +02:00
Miodrag Milanovic
7cb42f4368 Initial GUI work 2018-06-05 21:03:06 +02:00