Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
blit_command_vk.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_BLIT_COMMAND_VK_H_
6#define FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_BLIT_COMMAND_VK_H_
7
8#include <memory>
13
14namespace impeller {
15
16class CommandEncoderVK;
17
18// TODO(csg): Should these be backend castable to blit command?
19/// Mixin for dispatching Vulkan commands.
20struct BlitEncodeVK : BackendCast<BlitEncodeVK, BlitCommand> {
21 virtual ~BlitEncodeVK();
22
23 virtual std::string GetLabel() const = 0;
24
25 [[nodiscard]] virtual bool Encode(CommandEncoderVK& encoder) const = 0;
26};
27
30 public BlitEncodeVK {
32
33 std::string GetLabel() const override;
34
35 [[nodiscard]] bool Encode(CommandEncoderVK& encoder) const override;
36};
37
39 public BlitEncodeVK {
41
42 std::string GetLabel() const override;
43
44 [[nodiscard]] bool Encode(CommandEncoderVK& encoder) const override;
45};
46
48 public BlitEncodeVK {
50
51 std::string GetLabel() const override;
52
53 [[nodiscard]] bool Encode(CommandEncoderVK& encoder) const override;
54};
55
57 public BlitEncodeVK {
59
60 std::string GetLabel() const override;
61
62 [[nodiscard]] bool Encode(CommandEncoderVK& encoder) const override;
63};
64
65} // namespace impeller
66
67#endif // FLUTTER_IMPELLER_RENDERER_BACKEND_VULKAN_BLIT_COMMAND_VK_H_
bool Encode(CommandEncoderVK &encoder) const override
bool Encode(CommandEncoderVK &encoder) const override
bool Encode(CommandEncoderVK &encoder) const override
Mixin for dispatching Vulkan commands.
virtual std::string GetLabel() const =0
virtual bool Encode(CommandEncoderVK &encoder) const =0
bool Encode(CommandEncoderVK &encoder) const override
std::string GetLabel() const override