blob: 0bc0dbbb7c10b30a6a8a289ad9849ae71d7d8a47 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef STRATEGIES_QUEUE_STRATEGY_HH_
#define STRATEGIES_QUEUE_STRATEGY_HH_
#include "timestamp_pool.hh"
#include <vulkan/vulkan.h>
namespace low_latency {
class QueueContext;
class QueueStrategy {
protected:
QueueContext& queue;
public:
QueueStrategy(QueueContext& queue);
virtual ~QueueStrategy();
public:
virtual void
notify_submit(const VkSubmitInfo& submit,
std::shared_ptr<TimestampPool::Handle> handle) = 0;
virtual void
notify_submit(const VkSubmitInfo2& submit,
std::shared_ptr<TimestampPool::Handle> handle) = 0;
virtual void notify_present(const VkPresentInfoKHR& present) = 0;
};
} // namespace low_latency
#endif
|