1. 07 Aug, 2014 2 commits
  2. 27 Jul, 2014 3 commits
    • Christian Schulte zu Berge's avatar
      Introducing sigslot::concurrent_pointer_list<T> a list-like container allowing... · 8671e65c
      Christian Schulte zu Berge authored
      Introducing sigslot::concurrent_pointer_list<T> a list-like container allowing thread-safe bidirectional iteration, insertion and removal of elements. Single constraint is that the element type must be a pointer type (or at least have pointer semantics) and never be 0. This is neat, as this class offers exactly what we need for a lock-free sigslot implementation.
      
      Updated sigslot implementation to use concurrent_pointer_list for connection storage. Hence, we can get rid of the locking mechanisms, which got completely removed.
      
      Since this simplified template definitions for sigslot, many campvis files needed to be adapted (i.e. removing the <> from has_slots<> and signal0<>).
      
      refs #384
      
      Conflicts:
      	core/classification/genericgeometrytransferfunction.h
      	core/eventhandlers/trackballnavigationeventlistener.h
      	core/pipeline/processordecoratormasking.h
      	core/properties/propertycollection.h
      	core/properties/transferfunctionproperty.h
      	core/tools/opengljobprocessor.h
      8671e65c
    • Christian Schulte zu Berge's avatar
      Started working on Issue implementing asynchroneous signals with signalslot: · 30e14065
      Christian Schulte zu Berge authored
      * Moved campvis::Runnable interface to tgt namespace (since it's needed by sigslot, which only depends on tgt)
      * Introduced sigslot::signal_manager singleton class that will manage the dispatching of signals in its own thread
      * Started proof-of-concept implementation of asynchroneous signals for signal0<> and signal1<>. Both classes define their own signal_handleN deriving from _signal_handle_base, which defines the signal to dispatch.
      
      Proof-of-concept implementation seems to work so far.
      
      refs #384
      
      Conflicts:
      	core/tools/opengljobprocessor.h
      	ext/tgt/runnable.h
      
      Conflicts:
      	application/CMakeLists.txt
      	core/tools/opengljobprocessor.h
      30e14065
    • Christian Schulte zu Berge's avatar
      Introducing C++11 support switch for <thread> and <condition_variable>. · c488b267
      Christian Schulte zu Berge authored
      If you need one of these two C++11 headers, include <ext/threading.h> instead, which will use C++11 headers if present or TBB's compatibility layer otherwise.
      
      closes #567
      c488b267
  3. 05 May, 2014 1 commit
  4. 24 Apr, 2014 1 commit
    • Christian Schulte zu Berge's avatar
      Started refactoring the ImageData conversion API: · 0ac65c4f
      Christian Schulte zu Berge authored
      Conversions between image representations are now managed at one central place: The ImageRepresentationConverter singleton uses the proven and established registration through static template instantiation idiom to register conversion functors during static initialization. Therefore, the ConversionFunctionRegistrar registers a conversion functor to a target representation type.
      
      As proof-of-concept implementation, the former conversion API through T::tryConvertFrom, where T is a specific image representation, has been converted to the new API and merged into imagerepresentationconversioncore.h providing a conversion functor for each campvis-core representation.
      
      Furthermore, implemented conversion from ImageRepresentationGL to GenericImageRepresentationLocal<>.
      
      refs #553
      refs #474
      0ac65c4f
  5. 23 Apr, 2014 1 commit
  6. 01 Mar, 2014 1 commit
  7. 18 Dec, 2013 1 commit
    • Christian Schulte zu Berge's avatar
      *IMPORTANT FIX* Fixes possible crashes/segfaults when converting OpenGL image... · f2102103
      Christian Schulte zu Berge authored
      *IMPORTANT FIX* Fixes possible crashes/segfaults when converting OpenGL image representations to local image representations:
       * ImageRepresentationLocal::tryConvert() does not deadlock anymore when called from OpenGL context and converting from GL representation
       * Fixed possible double deletion after converting from OpenGL to local representation due to ambiguous pointer ownership
       * fixed possible out of bounds array write in tgt::Texture::downloadTextureToBuffer()
      f2102103
  8. 13 Dec, 2013 1 commit
  9. 16 Oct, 2013 1 commit
  10. 15 Oct, 2013 1 commit
  11. 08 Oct, 2013 1 commit
  12. 12 May, 2013 1 commit
    • schultezub's avatar
      Various changes to improve threading behaviour and coding conveniene: · 694a519e
      schultezub authored
       * Moved destruction of ReferenceCounted object to seperate thread (thus unloading rendering thread)
       * integration of OpenGL garbage collector into OpenGLJobProcessor (finally, you don't need to care anymore whether your code might call a GL object destructor and hence needs an OpenGL context)
       * changed DataContainer implementation from mutex/lock to concurrent container
       * fixing improper order of GL object deinitilization on program exit
      
      git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@492 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
      694a519e
  13. 08 Feb, 2013 1 commit
  14. 06 Feb, 2013 1 commit
  15. 02 Nov, 2012 1 commit
  16. 31 Oct, 2012 1 commit
  17. 26 Oct, 2012 1 commit
  18. 27 Sep, 2012 1 commit
  19. 07 Sep, 2012 1 commit
  20. 06 Sep, 2012 1 commit
  21. 24 Aug, 2012 1 commit
  22. 23 Aug, 2012 2 commits
  23. 22 Aug, 2012 1 commit
  24. 10 Aug, 2012 1 commit
  25. 06 Aug, 2012 1 commit
  26. 24 Jul, 2012 3 commits
  27. 23 Jul, 2012 1 commit
    • schultezub's avatar
      It took quite some time, but this commit introduces thread-safe management and... · 1302ca97
      schultezub authored
      It took quite some time, but this commit introduces thread-safe management and access to multiple OpenGL contexts.
       * added tgt::QtContextManager for managing multiple OpenGL contexts
       * adapted tgt::GLContext and tgt::QtGLContext, tgt::QtThreadedPainter
       * added PipelineEvaluator for evaluating pipelines in separate threads
       * added various lock/sync features to processors, pipelines, and processors
      
      However, there's still plenty of clean-up work to do: some parts of the tgt library are quite messed up and the core library interfaces need some polishing...
      
      
      git-svn-id: https://camplinux.in.tum.de/svn/campvis/trunk@195 bb408c1c-ae56-11e1-83d9-df6b3e0c105e
      1302ca97