Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
49ad935a
Commit
49ad935a
authored
5 years ago
by
Studer Gabriel
Browse files
Options
Downloads
Patches
Plain Diff
mark offscreen buffers as deprecated
parent
c7c23074
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
modules/gfx/src/CMakeLists.txt
+0
-21
0 additions, 21 deletions
modules/gfx/src/CMakeLists.txt
modules/gfx/src/impl/map_iso_gen_s.cc
+0
-1
0 additions, 1 deletion
modules/gfx/src/impl/map_iso_gen_s.cc
modules/gfx/src/offscreen_buffer.hh
+11
-0
11 additions, 0 deletions
modules/gfx/src/offscreen_buffer.hh
with
11 additions
and
22 deletions
modules/gfx/src/CMakeLists.txt
+
0
−
21
View file @
49ad935a
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
modules/gfx/src/impl/map_iso_gen_s.cc
+
0
−
1
View file @
49ad935a
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
modules/gfx/src/offscreen_buffer.hh
+
11
−
0
View file @
49ad935a
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment