Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Plugin-Render-DepthPeeling
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenFlipper-Free
Plugin-Render-DepthPeeling
Commits
fed70c63
Commit
fed70c63
authored
May 26, 2017
by
Jan Möbius
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'glres_cleanup' into 'master'
GL resource cleanup See merge request
!1
parents
304aef15
c01ccc2f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
1 deletion
+22
-1
DepthPeeling.cc
DepthPeeling.cc
+21
-0
DepthPeeling.hh
DepthPeeling.hh
+1
-1
No files found.
DepthPeeling.cc
View file @
fed70c63
...
...
@@ -240,6 +240,27 @@ void DepthPeeling::initializePlugin()
ACG
::
ShaderProgGenerator
::
setShaderDir
(
OpenFlipper
::
Options
::
shaderDirStr
());
}
void
DepthPeeling
::
exit
()
{
delete
peelBlend_
;
peelBlend_
=
0
;
delete
peelFinal_
;
peelFinal_
=
0
;
delete
peelBlendDual_
;
peelBlendDual_
=
0
;
delete
peelFinalDual_
;
peelFinalDual_
=
0
;
if
(
peelQueryID_
)
glDeleteQueries
(
1
,
&
peelQueryID_
);
peelQueryID_
=
0
;
viewerRes_
.
clear
();
}
void
DepthPeeling
::
slotModeChanged
(
QAction
*
_action
)
{
// Prepare Picking Debugger Flag
...
...
DepthPeeling.hh
View file @
fed70c63
...
...
@@ -94,7 +94,7 @@ private slots:
//BaseInterface
void
initializePlugin
();
void
exit
()
{}
void
exit
()
;
// RenderInterface
void
render
(
ACG
::
GLState
*
_glState
,
Viewer
::
ViewerProperties
&
_properties
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment