#include <render_pass.h>
Classes | |
| struct | BufferAndUniformSlot |
Public Types | |
| using | BufferUniformMap = std::unordered_map< const flutter::gpu::Shader::UniformBinding *, BufferAndUniformSlot > |
| using | TextureUniformMap = std::unordered_map< const flutter::gpu::Shader::TextureBinding *, impeller::TextureAndSampler > |
Public Types inherited from tonic::DartWrappable | |
| enum | DartNativeFields { kPeerIndex , kNumberOfNativeFields } |
Public Attributes | |
| BufferUniformMap | vertex_uniform_bindings |
| TextureUniformMap | vertex_texture_bindings |
| BufferUniformMap | fragment_uniform_bindings |
| TextureUniformMap | fragment_texture_bindings |
| impeller::BufferView | vertex_buffer |
| impeller::BufferView | index_buffer |
| impeller::IndexType | index_buffer_type = impeller::IndexType::kNone |
| size_t | element_count = 0 |
| uint32_t | stencil_reference = 0 |
| std::optional< impeller::IRect32 > | scissor |
| std::optional< impeller::Viewport > | viewport |
| bool | has_index_buffer = false |
Additional Inherited Members | |
Protected Member Functions inherited from fml::RefCountedThreadSafe< T > | |
| RefCountedThreadSafe () | |
| ~RefCountedThreadSafe () | |
Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| RefCountedThreadSafeBase () | |
| ~RefCountedThreadSafeBase () | |
| bool | Release () const |
| void | Adopt () |
Protected Member Functions inherited from tonic::DartWrappable | |
| virtual | ~DartWrappable () |
Static Protected Member Functions inherited from tonic::DartWrappable | |
| static Dart_PersistentHandle | GetTypeForWrapper (tonic::DartState *dart_state, const tonic::DartWrapperInfo &wrapper_info) |
Definition at line 27 of file render_pass.h.
| using flutter::gpu::RenderPass::BufferUniformMap = std::unordered_map<const flutter::gpu::Shader::UniformBinding*, BufferAndUniformSlot> |
Definition at line 65 of file render_pass.h.
| using flutter::gpu::RenderPass::TextureUniformMap = std::unordered_map<const flutter::gpu::Shader::TextureBinding*, impeller::TextureAndSampler> |
Definition at line 68 of file render_pass.h.
|
default |
|
overridedefault |
| bool flutter::gpu::RenderPass::Begin | ( | flutter::gpu::CommandBuffer & | command_buffer | ) |
Definition at line 76 of file render_pass.cc.
References flutter::gpu::CommandBuffer::AddRenderPass(), and flutter::gpu::CommandBuffer::GetCommandBuffer().
Referenced by InternalFlutterGpu_RenderPass_Begin().
| void flutter::gpu::RenderPass::ClearBindings | ( | ) |
Definition at line 92 of file render_pass.cc.
References element_count, fragment_texture_bindings, fragment_uniform_bindings, index_buffer, index_buffer_type, impeller::kNone, vertex_buffer, vertex_texture_bindings, and vertex_uniform_bindings.
Referenced by InternalFlutterGpu_RenderPass_ClearBindings().
| bool flutter::gpu::RenderPass::Draw | ( | ) |
Definition at line 182 of file render_pass.cc.
References flutter::buffer, element_count, fragment_texture_bindings, fragment_uniform_bindings, index_buffer, index_buffer_type, impeller::kFragment, impeller::kSampledImage, impeller::kUniformBuffer, impeller::kVertex, scissor, stencil_reference, texture, vertex_buffer, vertex_texture_bindings, vertex_uniform_bindings, and viewport.
Referenced by InternalFlutterGpu_RenderPass_Draw().
| impeller::ColorAttachmentDescriptor & flutter::gpu::RenderPass::GetColorAttachmentDescriptor | ( | size_t | color_attachment_index | ) |
Definition at line 48 of file render_pass.cc.
Referenced by InternalFlutterGpu_RenderPass_SetColorBlendEnable(), and InternalFlutterGpu_RenderPass_SetColorBlendEquation().
| const std::shared_ptr< const impeller::Context > & flutter::gpu::RenderPass::GetContext | ( | ) | const |
Definition at line 36 of file render_pass.cc.
Referenced by InternalFlutterGpu_RenderPass_BindTexture().
| impeller::DepthAttachmentDescriptor & flutter::gpu::RenderPass::GetDepthAttachmentDescriptor | ( | ) |
Definition at line 58 of file render_pass.cc.
Referenced by InternalFlutterGpu_RenderPass_SetDepthCompareOperation(), and InternalFlutterGpu_RenderPass_SetDepthWriteEnable().
| impeller::PipelineDescriptor & flutter::gpu::RenderPass::GetPipelineDescriptor | ( | ) |
Definition at line 72 of file render_pass.cc.
Referenced by InternalFlutterGpu_RenderPass_SetCullMode(), InternalFlutterGpu_RenderPass_SetPolygonMode(), InternalFlutterGpu_RenderPass_SetPrimitiveType(), and InternalFlutterGpu_RenderPass_SetWindingOrder().
| impeller::RenderTarget & flutter::gpu::RenderPass::GetRenderTarget | ( | ) |
Definition at line 40 of file render_pass.cc.
Referenced by InternalFlutterGpu_RenderPass_SetColorAttachment(), and InternalFlutterGpu_RenderPass_SetDepthStencilAttachment().
| const impeller::RenderTarget & flutter::gpu::RenderPass::GetRenderTarget | ( | ) | const |
Definition at line 44 of file render_pass.cc.
| impeller::StencilAttachmentDescriptor & flutter::gpu::RenderPass::GetStencilBackAttachmentDescriptor | ( | ) |
Definition at line 68 of file render_pass.cc.
Referenced by InternalFlutterGpu_RenderPass_SetStencilConfig().
| impeller::StencilAttachmentDescriptor & flutter::gpu::RenderPass::GetStencilFrontAttachmentDescriptor | ( | ) |
Definition at line 63 of file render_pass.cc.
Referenced by InternalFlutterGpu_RenderPass_SetStencilConfig().
| void flutter::gpu::RenderPass::SetPipeline | ( | fml::RefPtr< RenderPipeline > | pipeline | ) |
Definition at line 86 of file render_pass.cc.
Referenced by InternalFlutterGpu_RenderPass_BindPipeline().
| size_t flutter::gpu::RenderPass::element_count = 0 |
Definition at line 80 of file render_pass.h.
Referenced by BindIndexBuffer(), BindVertexBuffer(), ClearBindings(), and Draw().
| TextureUniformMap flutter::gpu::RenderPass::fragment_texture_bindings |
Definition at line 75 of file render_pass.h.
Referenced by ClearBindings(), Draw(), and InternalFlutterGpu_RenderPass_BindTexture().
| BufferUniformMap flutter::gpu::RenderPass::fragment_uniform_bindings |
Definition at line 74 of file render_pass.h.
Referenced by BindUniform(), ClearBindings(), and Draw().
| bool flutter::gpu::RenderPass::has_index_buffer = false |
Definition at line 88 of file render_pass.h.
Referenced by BindIndexBuffer(), and BindVertexBuffer().
| impeller::BufferView flutter::gpu::RenderPass::index_buffer |
Definition at line 78 of file render_pass.h.
Referenced by BindIndexBuffer(), ClearBindings(), and Draw().
| impeller::IndexType flutter::gpu::RenderPass::index_buffer_type = impeller::IndexType::kNone |
Definition at line 79 of file render_pass.h.
Referenced by BindIndexBuffer(), ClearBindings(), and Draw().
| std::optional<impeller::IRect32> flutter::gpu::RenderPass::scissor |
Definition at line 83 of file render_pass.h.
Referenced by Draw(), and InternalFlutterGpu_RenderPass_SetScissor().
| uint32_t flutter::gpu::RenderPass::stencil_reference = 0 |
Definition at line 82 of file render_pass.h.
Referenced by Draw(), and InternalFlutterGpu_RenderPass_SetStencilReference().
| impeller::BufferView flutter::gpu::RenderPass::vertex_buffer |
Definition at line 77 of file render_pass.h.
Referenced by BindVertexBuffer(), ClearBindings(), and Draw().
| TextureUniformMap flutter::gpu::RenderPass::vertex_texture_bindings |
Definition at line 73 of file render_pass.h.
Referenced by ClearBindings(), Draw(), and InternalFlutterGpu_RenderPass_BindTexture().
| BufferUniformMap flutter::gpu::RenderPass::vertex_uniform_bindings |
Definition at line 72 of file render_pass.h.
Referenced by BindUniform(), ClearBindings(), and Draw().
| std::optional<impeller::Viewport> flutter::gpu::RenderPass::viewport |
Definition at line 84 of file render_pass.h.
Referenced by Draw(), and InternalFlutterGpu_RenderPass_SetViewport().