Commit Graph

24 Commits

Author SHA1 Message Date
asapelkin
e951094af9 use emplace_back instead of push_back where justified 2019-11-21 14:48:09 +01:00
Zheng, Lei
079808b816 Mesh: support multiple context in OpenGLMultiBuffer 2019-11-21 14:24:55 +01:00
Zheng, Lei
4b07117a2e Mesh: fix material leaking when using VBO 2019-11-21 12:06:23 +01:00
wmayer
5a83dc2c8f avoid several implicit conversions, replace several old C-casts, other minor changes 2019-09-18 23:27:54 +02:00
wmayer
28b195d6e2 PVS issues:
consistently define copy constructor and assignment operator
remove superfluous casts
initialize member variables in constructor
avoid double assignment
2019-03-04 11:53:49 +01:00
wmayer
f474900c07 change default value of renderTriangleLimit to UINT_MAX 2018-12-20 10:49:37 +01:00
wmayer
a7094210f8 Fix scan coverity issues:
CID 184294: Uncaught exception
CID 183597: Unchecked return value
CID 175809: Dereference before null check
CID 175810: Logically dead code
CID 133000: Uninitialized scalar variable
CID 133001: Uninitialized scalar variable
CID 183591: Explicit null dereferenced
2018-11-13 16:47:58 +01:00
wmayer
299f68cda6 add comment about using readLockNormalCache 2018-09-03 13:16:16 +02:00
Zheng, Lei
4231194a37 GLBuffer: fix isVBOSupported() 2018-09-03 12:59:27 +02:00
Zheng, Lei
b5467b02ad MeshGui::SoFCIndexedFaceSet: fix missing normal cache unlock 2018-09-03 12:59:13 +02:00
wmayer
afd5249563 add static function isVBOSupported to OpenGLBuffer to check for the GL_ARB_vertex_buffer_object extension 2018-08-21 10:29:55 +02:00
wmayer
a5515527e9 move OpenGLBuffer class to core system 2018-08-16 01:30:23 +02:00
wmayer
5039e4b0a7 simplifiy code in SoFCIndexedFaceSet::GLRender, fix bug in wireframe mode when panning/rotating 2018-08-15 22:24:24 +02:00
wmayer
5e63d3ded9 fix build failure on Linux 2018-08-06 10:16:18 +02:00
wmayer
e6b7bb18b9 fix macOS build failure of MeshGui 2018-08-05 22:08:46 +02:00
wmayer
48641c2b93 replace Qt's OpenGL buffer with own implementation based on Coin3d API 2018-08-03 13:07:55 +02:00
wmayer
039e972a4b implement fast mesh rendering for Qt5 port (7x faster) 2018-07-28 11:08:03 +02:00
wmayer
394ae197fb fix broken transparency mode of mesh objects 2017-12-19 23:24:30 +01:00
wmayer
3011fc8b2f fix build failure on macoS when including glext.h 2017-11-08 22:58:09 +01:00
wmayer
def0b81784 changes in Mesh module:
+ cppcheck: fix some minor issues found by code analyzer
+ export to IDTF
+ fix for throwing exception
+ optimize mesh rendering
2017-11-08 17:56:13 +01:00
wmayer
7711d71410 replace deprecated gluPickMatrix 2017-03-06 11:18:19 +01:00
wmayer
b980cf3361 fix -Wextra in Mesh 2016-09-23 17:24:00 +02:00
Mateusz Skowroński
7d0e892d36 Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
158f39ec78

This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00