diff --git a/modules/gfx/src/CMakeLists.txt b/modules/gfx/src/CMakeLists.txt index bb60b35f1081586e5b3bbe65137b2e7a51dc181d..fd1c54ebf5a571d08de7d0bb53beb5c8afe1ad3a 100644 --- a/modules/gfx/src/CMakeLists.txt +++ b/modules/gfx/src/CMakeLists.txt @@ -27,7 +27,6 @@ texture.hh vertex_array.hh vertex_array_helper.hh scene_observer.hh -offscreen_buffer.hh gl_include.hh glext_include.hh render_mode.hh @@ -182,26 +181,6 @@ else() set(OST_GFX_MAP_SOURCES "") endif() -if (UNIX AND NOT APPLE) - if(USE_MESA) - list(APPEND OST_GFX_SOURCES impl/mesa_offscreen_buffer.cc) - list(APPEND OST_GFX_IMPL_HEADERS mesa_offscreen_buffer.hh) - else() - list(APPEND OST_GFX_SOURCES impl/glx_offscreen_buffer.cc) - list(APPEND OST_GFX_IMPL_HEADERS glx_offscreen_buffer.hh) - endif() -endif() - -if (APPLE) - list(APPEND OST_GFX_SOURCES impl/cgl_offscreen_buffer.cc) - list(APPEND OST_GFX_IMPL_HEADERS cgl_offscreen_buffer.hh) -endif() - -if(WIN32) - list(APPEND OST_GFX_SOURCES impl/wgl_offscreen_buffer.cc) - list(APPEND OST_GFX_IMPL_HEADERS wgl_offscreen_buffer.hh) -endif() - if (USE_SHADER) list(APPEND OST_GFX_SOURCES shader.cc) list(APPEND OST_GFX_HEADERS shader.hh) diff --git a/modules/gfx/src/impl/map_iso_gen_s.cc b/modules/gfx/src/impl/map_iso_gen_s.cc index e1fe9818a8c4bfc554fc7669c90a875ba823f746..c16461c691c6888725c392978e8b2709a2a4781d 100644 --- a/modules/gfx/src/impl/map_iso_gen_s.cc +++ b/modules/gfx/src/impl/map_iso_gen_s.cc @@ -30,7 +30,6 @@ #if OST_SHADER_SUPPORT_ENABLED # define MAP_ISO_USE_SHADER 0 # include <ost/gfx/shader.hh> -# include <ost/gfx/offscreen_buffer.hh> # include <ost/gfx/scene.hh> #endif diff --git a/modules/gfx/src/offscreen_buffer.hh b/modules/gfx/src/offscreen_buffer.hh index 7b716c2f6610bf4e98d01450e3abd347a43d48ac..f623190621c66c2f3f151edff06a8c4ec5b7f539 100644 --- a/modules/gfx/src/offscreen_buffer.hh +++ b/modules/gfx/src/offscreen_buffer.hh @@ -19,6 +19,17 @@ #ifndef OST_GFX_OFFSCREEN_BUFFER_HH #define OST_GFX_OFFSCREEN_BUFFER_HH + + +/* + THE OFFSCREEN BUFFER IS DEPRECATED AND CURRENTLY NOT USED + Offscreen rendering for image export is now performed in a QT managed + offscreen buffer (e.g. gui/src/gl_canvas.hh). Reason for that is maintenance, + as there are platform dependent buffer implementations. +*/ + + + /* Wraps GL offscreen rendering per platform