1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-06-30 12:14:08 +03:00

168 Commits

Author SHA1 Message Date
kgv
5e27df788d 0023226: Extend OpenGl_Context to store map of shared GPU resources
OpenGl_Resource was slightly corrected and OpenGl_Element was extended
with Release method to manage GPU resources.

OpenGl_PrimitiveArray now uses new OpenGl_VertexBuffer class (requires OpenGL 1.5+).
Strange workarounds for feedback mode were removed.

OpenGl_Context now provides access to shared GPU resources
and manages resources queue for delayed release
(replaces functionality of removed OpenGl_ResourceCleaner).
Loaded GL_ARB_texture_buffer_object and GL_ARB_draw_instanced extensions.

Global maps of views, workspaces and structures
were moved to OpenGl_GraphicDriver members.
UserDrawCallback() function moved to OpenGl_GraphicDriver methods.

Aspect_GraphicCallbackStruct now holds handle of OpenGl_Context
instead of system-dependent pointers to GL context definition.

New classes NCollection_Vec2, NCollection_Vec3 and NCollection_Vec4
implements interface to low-level data (points, vertices, colors) in GLSL-style.
Removed EnableVBO argument from vdrawparray Draw Harness command
Corrected compilation errors
Fixed wrong argument in Index VBO initialization
Fixed several cases of incorrect memory management in TKV3d

Visual3d_ViewManager::Remove()
Destroy structures before last view removed for correct GPU resources management.

Graphic3d_Structure::GraphicClear()
Remove groups to avoid usage of dead OpenGl_Group pointers.

V3d_View::Remove()
Fixed mistake in #0000280 patch.
Small correction
Fixed OCC280 test command

Replace removed view within created one in ViewerTest EventManager.
ViewerTest, do not create unused 3D view

In current design NIS_View always created and used for both - NIS objects and AIS objects.
2012-07-13 15:51:16 +04:00
dbv
60be1f9b1d 0023072: Eliminate compiler warnings (level 3) on Windows / MSVC++ 2012-07-06 15:52:20 +04:00
kgv
50a0744c2c 0023040: Annoying warnings in NCollection_Vector
Fixed initialization order of class members in constructors
2012-06-15 11:52:11 +04:00
abv
60d4560d17 0023002: empty delete operator in TDF_LabelNode
Destruction of TDF_LabelNode class corrected so as to use consistently defined new/delete operators
2012-04-13 13:25:59 +04:00
dbv
5fdb6d685b 0022913: Clean up source repository from unused files
Changes
Removed unused files. Files in QAResources have been moved to DrawResources
Removing unused files from NCollection (see #23041)
2012-03-29 19:32:30 +04:00
bugmaster
b311480ed5 0023024: Update headers of OCCT files
Added appropriate copyright and license information in source files
2012-03-21 19:43:04 +04:00
bugmaster
e2e80ff797 Correction of merge results 2012-03-07 13:31:49 +04:00
dbv
1c35b92f5f 0022815: Missing delete operator for placement new 2012-03-06 17:25:00 +04:00
emv
9991c9c2ca 0021212: Missing Hasher parmeter in current implementation of NCollection Map-s 2012-03-06 12:08:10 +04:00
AGV
d11ab6c3fe 0022668: Performance improvement in UBTreeFiller 2012-03-05 19:32:18 +04:00
DBV
0f633a2224 0022773: Compiler warnings on 64-bit MSVC in NCollection_Vector.hxx 2012-03-05 19:31:49 +04:00
AGV
9a0a1cb892 0022562: Helper C++/CLI class to encapsulate C++ classes 2012-03-05 19:30:18 +04:00
KGV
c99551fa0f 0022293: Incorrect memory allocation for NCollection_IncAllocator on Windows 64 bit 2012-03-05 19:29:54 +04:00
ABV
824694116a OCC22540 Regression: Exception during building of patch by GeomPlate 2012-03-05 19:29:09 +04:00
ABV
fb9d45d0e6 OCC22355 Avoid annoying warnings in NCollection_SparseArray.hxx on 64-bit Linux with Intel compiler 2012-03-05 19:28:48 +04:00
bugmaster
e0a6799970 OCC22278 No any sorting algorithm implemented for NCollection templates Developen by : KGV 2012-03-05 19:28:42 +04:00
MSV
23be742115 OCC22143 Optimization of memory usage and developing tools for catching memory leaks in OCCT-based applications 2012-03-05 19:28:00 +04:00
bugmaster
7fd59977df Integration of OCCT 6.5.0 from SVN 2012-03-05 19:23:40 +04:00