Skip to content
Snippets Groups Projects
Commit 49ad935a authored by Studer Gabriel's avatar Studer Gabriel
Browse files

mark offscreen buffers as deprecated

parent c7c23074
Branches
Tags
No related merge requests found
......@@ -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)
......
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment