Flutter Impeller
blit_command_gles.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_GLES_BLIT_COMMAND_GLES_H_
6 #define FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_BLIT_COMMAND_GLES_H_
7 
11 
12 namespace impeller {
13 
14 /// Mixin for dispatching GLES commands.
15 struct BlitEncodeGLES : BackendCast<BlitEncodeGLES, BlitCommand> {
16  virtual ~BlitEncodeGLES();
17 
18  virtual std::string GetLabel() const = 0;
19 
20  [[nodiscard]] virtual bool Encode(const ReactorGLES& reactor) const = 0;
21 };
22 
24  : public BlitEncodeGLES,
27 
28  std::string GetLabel() const override;
29 
30  [[nodiscard]] bool Encode(const ReactorGLES& reactor) const override;
31 };
32 
34  : public BlitEncodeGLES,
37 
38  std::string GetLabel() const override;
39 
40  [[nodiscard]] bool Encode(const ReactorGLES& reactor) const override;
41 };
42 
44  : public BlitEncodeGLES,
47 
48  std::string GetLabel() const override;
49 
50  [[nodiscard]] bool Encode(const ReactorGLES& reactor) const override;
51 };
52 
56 
57  std::string GetLabel() const override;
58 
59  [[nodiscard]] bool Encode(const ReactorGLES& reactor) const override;
60 };
61 
62 } // namespace impeller
63 
64 #endif // FLUTTER_IMPELLER_RENDERER_BACKEND_GLES_BLIT_COMMAND_GLES_H_
impeller::BlitGenerateMipmapCommand
Definition: blit_command.h:39
impeller::BlitCopyTextureToTextureCommandGLES::Encode
bool Encode(const ReactorGLES &reactor) const override
Definition: blit_command_gles.cc:68
impeller::BlitCopyBufferToTextureCommandGLES::Encode
bool Encode(const ReactorGLES &reactor) const override
Definition: blit_command_gles.cc:200
impeller::BlitGenerateMipmapCommandGLES
Definition: blit_command_gles.h:53
blit_command.h
impeller::BlitEncodeGLES::Encode
virtual bool Encode(const ReactorGLES &reactor) const =0
impeller::BlitCopyBufferToTextureCommand
Definition: blit_command.h:32
impeller::BlitCopyTextureToTextureCommandGLES::~BlitCopyTextureToTextureCommandGLES
~BlitCopyTextureToTextureCommandGLES() override
impeller::BlitCopyTextureToBufferCommand
Definition: blit_command.h:25
impeller::BlitGenerateMipmapCommandGLES::Encode
bool Encode(const ReactorGLES &reactor) const override
Definition: blit_command_gles.cc:347
impeller::BlitCopyBufferToTextureCommandGLES
Definition: blit_command_gles.h:23
backend_cast.h
impeller::BlitCopyTextureToBufferCommandGLES::GetLabel
std::string GetLabel() const override
Definition: blit_command_gles.cc:306
impeller::BlitEncodeGLES::GetLabel
virtual std::string GetLabel() const =0
impeller::BlitEncodeGLES
Mixin for dispatching GLES commands.
Definition: blit_command_gles.h:15
impeller::BlitCopyTextureToBufferCommandGLES::Encode
bool Encode(const ReactorGLES &reactor) const override
Definition: blit_command_gles.cc:310
impeller::BlitGenerateMipmapCommandGLES::GetLabel
std::string GetLabel() const override
Definition: blit_command_gles.cc:343
impeller::BlitCopyTextureToTextureCommandGLES
Definition: blit_command_gles.h:33
reactor_gles.h
impeller::BlitCopyTextureToBufferCommandGLES::~BlitCopyTextureToBufferCommandGLES
~BlitCopyTextureToBufferCommandGLES() override
impeller::BlitCopyBufferToTextureCommandGLES::~BlitCopyBufferToTextureCommandGLES
~BlitCopyBufferToTextureCommandGLES() override
impeller::BackendCast
Definition: backend_cast.h:11
impeller::ReactorGLES
The reactor attempts to make thread-safe usage of OpenGL ES easier to reason about.
Definition: reactor_gles.h:55
impeller::BlitGenerateMipmapCommandGLES::~BlitGenerateMipmapCommandGLES
~BlitGenerateMipmapCommandGLES() override
impeller::BlitCopyTextureToTextureCommandGLES::GetLabel
std::string GetLabel() const override
Definition: blit_command_gles.cc:64
impeller
Definition: aiks_blend_unittests.cc:18
impeller::BlitCopyTextureToBufferCommandGLES
Definition: blit_command_gles.h:43
impeller::BlitCopyTextureToTextureCommand
Definition: blit_command.h:18
impeller::BlitCopyBufferToTextureCommandGLES::GetLabel
std::string GetLabel() const override
Definition: blit_command_gles.cc:196
impeller::BlitEncodeGLES::~BlitEncodeGLES
virtual ~BlitEncodeGLES()