Flutter Engine
The Flutter Engine
third_party
skia
src
gpu
graphite
vk
VulkanQueueManager.h
Go to the documentation of this file.
1
/*
2
* Copyright 2022 Google LLC
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
8
#ifndef skgpu_graphite_VulkanQueueManager_DEFINED
9
#define skgpu_graphite_VulkanQueueManager_DEFINED
10
11
#include "
src/gpu/graphite/QueueManager.h
"
12
13
#include "
include/gpu/vk/VulkanTypes.h
"
14
15
namespace
skgpu::graphite
{
16
17
class
VulkanSharedContext;
18
19
class
VulkanQueueManager
final :
public
QueueManager
{
20
public
:
21
VulkanQueueManager
(VkQueue
queue
,
const
SharedContext
*);
22
~VulkanQueueManager
()
override
{}
23
24
private
:
25
const
VulkanSharedContext
* vkSharedContext()
const
;
26
27
std::unique_ptr<CommandBuffer> getNewCommandBuffer(
ResourceProvider
*)
override
;
28
OutstandingSubmission
onSubmitToGpu()
override
;
29
30
#if defined(GRAPHITE_TEST_UTILS)
31
// TODO: Implement these
32
void
startCapture()
override
{}
33
void
stopCapture()
override
{}
34
#endif
35
36
VkQueue fQueue;
37
};
38
39
}
// namespace skgpu::graphite
40
41
#endif
// skgpu_graphite_VulkanQueueManager_DEFINED
QueueManager.h
VulkanTypes.h
skgpu::graphite::QueueManager
Definition:
QueueManager.h:32
skgpu::graphite::QueueManager::OutstandingSubmission
std::unique_ptr< GpuWorkSubmission > OutstandingSubmission
Definition:
QueueManager.h:65
skgpu::graphite::ResourceProvider
Definition:
ResourceProvider.h:50
skgpu::graphite::SharedContext
Definition:
SharedContext.h:32
skgpu::graphite::VulkanQueueManager
Definition:
VulkanQueueManager.h:19
skgpu::graphite::VulkanQueueManager::~VulkanQueueManager
~VulkanQueueManager() override
Definition:
VulkanQueueManager.h:22
skgpu::graphite::VulkanQueueManager::VulkanQueueManager
VulkanQueueManager(VkQueue queue, const SharedContext *)
Definition:
VulkanQueueManager.cpp:17
skgpu::graphite::VulkanSharedContext
Definition:
VulkanSharedContext.h:28
queue
VkQueue queue
Definition:
main.cc:55
skgpu::graphite
Definition:
BoundsManagerBench.cpp:27
Generated on Sun Jun 23 2024 21:56:28 for Flutter Engine by
1.9.4