gpl: Factor out graphics use in gpl#8710
gpl: Factor out graphics use in gpl#8710maliberty merged 1 commit intoThe-OpenROAD-Project:masterfrom
Conversation
|
clang-tidy review says "All clean, LGTM! 👍" |
364ec3d to
33f9f4e
Compare
|
clang-tidy review says "All clean, LGTM! 👍" |
Signed-off-by: Ted Hong <tedhong@google.com>
33f9f4e to
5c3fa7e
Compare
|
clang-tidy review says "All clean, LGTM! 👍" |
|
Please don't force push after code review has started as it breaks the "changes since last review" feature in GH (the last reviewed commit is elimiated). |
| // Create a new object of the same class. | ||
| virtual std::unique_ptr<AbstractGraphics> MakeNew(utl::Logger* logger) const |
There was a problem hiding this comment.
Why are we making copies of the graphics object rather than share one?
There was a problem hiding this comment.
That's to match the existing behavior where each object has its own Graphics object. The graphics object does have internal state, but I've not done the analysis to see if every object can share one.
OpenROAD/src/gpl/src/nesterovPlace.cpp
Lines 56 to 63 in 4175450
Line 2498 in 4175450
OpenROAD/src/gpl/src/initialPlace.cpp
Line 52 in 4175450
OpenROAD/src/gpl/src/graphics.h
Lines 135 to 143 in 4175450
Understood, I'll do so in the future. Also, I don't know if it's the same as "changes since last review", you can see the updates after a force-push via the "compare" link in this discussion. It does include changes due to the rebase and not just the commit though. |
|
I realized a small oversight on this change. We now only plot the GUI charts if in debug mode. |
No description provided.