Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
VkCV Framework
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
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor 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
Vulkan2021
VkCV Framework
Commits
4d941484
Commit
4d941484
authored
3 years ago
by
Artur Wasmut
Browse files
Options
Downloads
Patches
Plain Diff
remove unnecessary members.
parent
9d31fe69
No related branches found
No related tags found
1 merge request
!12
Resolve "Swapchain Class"
Pipeline
#24803
passed
3 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/vkcv/Core.hpp
+0
-4
0 additions, 4 deletions
include/vkcv/Core.hpp
src/vkcv/Core.cpp
+0
-17
0 additions, 17 deletions
src/vkcv/Core.cpp
with
0 additions
and
21 deletions
include/vkcv/Core.hpp
+
0
−
4
View file @
4d941484
...
@@ -46,10 +46,6 @@ namespace vkcv
...
@@ -46,10 +46,6 @@ namespace vkcv
std
::
vector
<
vk
::
ImageView
>
m_swapchainImageViews
;
std
::
vector
<
vk
::
ImageView
>
m_swapchainImageViews
;
const
Window
&
m_window
;
const
Window
&
m_window
;
uint64_t
m_NextPipelineId
;
std
::
vector
<
vk
::
Pipeline
>
m_Pipelines
;
std
::
vector
<
vk
::
PipelineLayout
>
m_PipelineLayouts
;
std
::
unique_ptr
<
PassManager
>
m_PassManager
;
std
::
unique_ptr
<
PassManager
>
m_PassManager
;
std
::
unique_ptr
<
PipelineManager
>
m_PipelineManager
;
std
::
unique_ptr
<
PipelineManager
>
m_PipelineManager
;
CommandResources
m_CommandResources
;
CommandResources
m_CommandResources
;
...
...
This diff is collapsed.
Click to expand it.
src/vkcv/Core.cpp
+
0
−
17
View file @
4d941484
...
@@ -273,9 +273,6 @@ namespace vkcv
...
@@ -273,9 +273,6 @@ namespace vkcv
m_window
(
window
),
m_window
(
window
),
m_swapchain
(
swapChain
),
m_swapchain
(
swapChain
),
m_swapchainImageViews
(
imageViews
),
m_swapchainImageViews
(
imageViews
),
m_NextPipelineId
(
0
),
m_Pipelines
{},
m_PipelineLayouts
{},
m_PassManager
{
std
::
make_unique
<
PassManager
>
(
m_Context
.
m_Device
)},
m_PassManager
{
std
::
make_unique
<
PassManager
>
(
m_Context
.
m_Device
)},
m_PipelineManager
{
std
::
make_unique
<
PipelineManager
>
(
m_Context
.
m_Device
)},
m_PipelineManager
{
std
::
make_unique
<
PipelineManager
>
(
m_Context
.
m_Device
)},
m_CommandResources
(
commandResources
),
m_CommandResources
(
commandResources
),
...
@@ -284,20 +281,6 @@ namespace vkcv
...
@@ -284,20 +281,6 @@ namespace vkcv
{}
{}
Core
::~
Core
()
noexcept
{
Core
::~
Core
()
noexcept
{
for
(
const
auto
&
layout
:
m_PipelineLayouts
)
{
m_Context
.
m_Device
.
destroy
(
layout
);
}
for
(
const
auto
&
pipeline
:
m_Pipelines
)
{
m_Context
.
m_Device
.
destroy
(
pipeline
);
}
m_PipelineLayouts
.
clear
();
m_Pipelines
.
clear
();
m_NextPipelineId
=
0
;
for
(
auto
image
:
m_swapchainImageViews
)
{
for
(
auto
image
:
m_swapchainImageViews
)
{
m_Context
.
m_Device
.
destroyImageView
(
image
);
m_Context
.
m_Device
.
destroyImageView
(
image
);
}
}
...
...
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