mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0023081: This is desirable to retrieve GPU memory information from graphic driver
Added Graphic3d_GraphicDriver::MemoryInfo() function. Added vfps command to estimate average frame rate of 3D Viewer Simplified vdrawsphere command Removed turnVbo and performance measurements from vdrawsphere. Added vvbo command to control VBO usage flag. Added vmemgpu command to display GPU memory info from graphic driver
This commit is contained in:
@@ -62,6 +62,7 @@ uses
|
||||
Array1OfReal from TColStd,
|
||||
Array2OfReal from TColStd,
|
||||
|
||||
AsciiString from TCollection,
|
||||
ExtendedString from TCollection,
|
||||
|
||||
NameOfColor from Quantity,
|
||||
@@ -625,6 +626,11 @@ is
|
||||
is deferred;
|
||||
---Purpose: enables/disables usage of OpenGL vertex buffer arrays while drawing primitiev arrays
|
||||
|
||||
MemoryInfo (me;
|
||||
theFreeBytes : out Size from Standard;
|
||||
theInfo : out AsciiString from TCollection) returns Boolean from Standard is deferred;
|
||||
---Purpose: Returns information about GPU memory usage.
|
||||
|
||||
----------------------------------------
|
||||
---Category: Methods to create Triedron
|
||||
-- for Purpose : see Graphic3d_Group.cdl
|
||||
|
Reference in New Issue
Block a user