Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plugin-Render-DepthPeeling
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
OpenFlipper-Free
Plugin-Render-DepthPeeling
Merge requests
!1
GL resource cleanup
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
GL resource cleanup
glres_cleanup
into
master
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Christopher Tenter
requested to merge
glres_cleanup
into
master
7 years ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
free resources on exit
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
c01ccc2f
1 commit,
7 years ago
2 files
+
22
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
DepthPeeling.cc
+
21
−
0
Options
@@ -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
Loading