diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-14 18:50:50 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-14 18:50:50 +0100 |
commit | 36b4e3382dc552fcd1b078bdd246dc14379394a1 (patch) | |
tree | dfd8c295328e7452eaec3158b98bd7b153668dcd /common | |
parent | 836d8c1ef3295a34c591324ef4c8ec48687279ee (diff) | |
download | nextpnr-36b4e3382dc552fcd1b078bdd246dc14379394a1.tar.gz nextpnr-36b4e3382dc552fcd1b078bdd246dc14379394a1.tar.bz2 nextpnr-36b4e3382dc552fcd1b078bdd246dc14379394a1.zip |
Revert "Make GUI nice and smooth."
This reverts commit a8c84e90a39c54174dd24b5b76bd17aed8311481.
Diffstat (limited to 'common')
-rw-r--r-- | common/nextpnr.h | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/common/nextpnr.h b/common/nextpnr.h index efcab9fc..50465869 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -238,16 +238,6 @@ struct CellInfo std::unordered_map<IdString, IdString> pins; }; -struct UIUpdatesRequired -{ - bool allUIReload; - bool frameUIReload; - std::unordered_set<BelId> belUIReload; - std::unordered_set<WireId> wireUIReload; - std::unordered_set<PipId> pipUIReload; - std::unordered_set<GroupId> groupUIReload; -}; - struct BaseCtx { // -------------------------------------------------------------- @@ -270,8 +260,6 @@ struct BaseCtx idstring_idx_to_str = new std::vector<const std::string *>; IdString::initialize_add(this, "", 0); IdString::initialize_arch(this); - - allUiReload = true; } ~BaseCtx() @@ -304,25 +292,6 @@ struct BaseCtx void refreshUiPip(PipId pip) { pipUiReload.insert(pip); } void refreshUiGroup(GroupId group) { groupUiReload.insert(group); } - - UIUpdatesRequired getUIUpdatesRequired(void) - { - UIUpdatesRequired req; - req.allUIReload = allUiReload; - req.frameUIReload = frameUiReload; - req.belUIReload = belUiReload; - req.wireUIReload = wireUiReload; - req.pipUIReload = pipUiReload; - req.groupUIReload = groupUiReload; - - allUiReload = false; - frameUiReload = false; - belUiReload.clear(); - wireUiReload.clear(); - pipUiReload.clear(); - groupUiReload.clear(); - return req; - } }; NEXTPNR_NAMESPACE_END |