parent
6c7fb7b0ab
commit
9f9fab7a98
|
|
@ -28,6 +28,7 @@
|
||||||
#include <wrap/qt/qt_thread_safe_memory_info.h>
|
#include <wrap/qt/qt_thread_safe_memory_info.h>
|
||||||
#include <wrap/qt/qt_thread_safe_texture_names_container.h>
|
#include <wrap/qt/qt_thread_safe_texture_names_container.h>
|
||||||
#include <wrap/gl/gl_mesh_attributes_multi_viewer_bo_manager.h>
|
#include <wrap/gl/gl_mesh_attributes_multi_viewer_bo_manager.h>
|
||||||
|
#include <QString>
|
||||||
|
|
||||||
namespace vcg
|
namespace vcg
|
||||||
{
|
{
|
||||||
|
|
@ -105,6 +106,18 @@ namespace vcg
|
||||||
vcg::NotThreadSafeGLMeshAttributesMultiViewerBOManager<MESH_TYPE,UNIQUE_VIEW_ID_TYPE,GL_OPTIONS_DERIVED_TYPE>::setGLOptions(viewid,opts);
|
vcg::NotThreadSafeGLMeshAttributesMultiViewerBOManager<MESH_TYPE,UNIQUE_VIEW_ID_TYPE,GL_OPTIONS_DERIVED_TYPE>::setGLOptions(viewid,opts);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void setDebugMode(bool activatedebugmodality)
|
||||||
|
{
|
||||||
|
QWriteLocker locker(&_lock);
|
||||||
|
vcg::NotThreadSafeGLMeshAttributesMultiViewerBOManager<MESH_TYPE,UNIQUE_VIEW_ID_TYPE,GL_OPTIONS_DERIVED_TYPE>::setDebugMode(activatedebugmodality);
|
||||||
|
}
|
||||||
|
|
||||||
|
void getLog(vcg::GLMeshAttributesInfo::DebugInfo& info)
|
||||||
|
{
|
||||||
|
QWriteLocker locker(&_lock);
|
||||||
|
vcg::NotThreadSafeGLMeshAttributesMultiViewerBOManager<MESH_TYPE,UNIQUE_VIEW_ID_TYPE,GL_OPTIONS_DERIVED_TYPE>::getLog(info);
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
mutable QReadWriteLock _lock;
|
mutable QReadWriteLock _lock;
|
||||||
vcg::QtThreadSafeTextureNamesContainer _textids;
|
vcg::QtThreadSafeTextureNamesContainer _textids;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue