MCPcopy Create free account
hub / github.com/crownengine/crown / draw_all

Function draw_all

src/device/graph.cpp:787–802  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

785 }
786
787 void draw_all(u16 window_width, u16 window_height)
788 {
789#if CROWN_DEBUG
790 _lines->reset();
791
792 ListNode *cur;
793 list_for_each(cur, &_graphs)
794 {
795 Graph *graph = (Graph *)container_of(cur, Graph, _node);
796 graph->draw(*_lines, window_width, window_height);
797 }
798#else
799 CE_UNUSED_2(window_width, window_height);
800 CE_NOOP();
801#endif
802 }
803
804} // namespace graph_globals
805

Callers 1

frameMethod · 0.85

Calls 2

resetMethod · 0.45
drawMethod · 0.45

Tested by

no test coverage detected