MantisBT
Mantis Bug Tracker Workflow

View Revisions: Issue #29331 All Revisions ] Back to Issue ]
Summary 0029331: Visualization, TKOpenGl - make OpenGl_PrimitiveArray::IsFillDrawMode() as virtual method of OpenGl_Element
Revision 2017-11-16 22:59 by kgv
Description According to profiling data, dynamic_cast increases overhead of OpenGl_LayerList::OpenGl_OpaqueFilter::ShouldRender() considerably (ShouldRender() make take up to 5% of CPU time in the frame in case of a big amount of elements).

Thus, it is proposed moving OpenGl_PrimitiveArray::IsFillDrawMode() method to interface of base OpenGl_Element class.
Revision 2017-11-16 22:56 by kgv
Description According to profiling data, dynamic_cast increases overhead of OpenGl_LayerList::OpenGl_OpaqueFilter::ShouldRender() considerably.

Thus, it is proposed moving OpenGl_PrimitiveArray::IsFillDrawMode() method to interface of base OpenGl_Element class.


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker