mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-18 14:27:39 +03:00
0029346: Visualization, TKOpenGl - collect frame statistics
Graphic3d_RenderingParams::ToShowStats - new option displaying rendering statistics. OpenGl_FrameStats - new class for accumulating frame statistics. OpenGl_Context::FrameStats() provides an access to the frame stats used for currently rendered context. OpenGl_View::Redraw() and OpenGl_View::RedrawImmediate() resets counters within OpenGl_Context::FrameStats(). OpenGl_Layer::UpdateCulling() - simplified resetting of culling state for cullable structures.
This commit is contained in:
@@ -114,10 +114,10 @@ protected:
|
||||
friend class OpenGl_Trihedron;
|
||||
friend class OpenGl_GraduatedTrihedron;
|
||||
|
||||
private:
|
||||
|
||||
//! Release cached VBO resources
|
||||
void releaseVbos (OpenGl_Context* theCtx);
|
||||
Standard_EXPORT void releaseVbos (OpenGl_Context* theCtx);
|
||||
|
||||
private:
|
||||
|
||||
//! Setup matrix.
|
||||
void setupMatrix (const Handle(OpenGl_Context)& theCtx,
|
||||
|
Reference in New Issue
Block a user