Flutter Engine
The Flutter Engine
|
#include <content_context.h>
Classes | |
struct | Equal |
struct | Hash |
Public Types | |
enum class | StencilMode : uint8_t { kIgnore , kStencilNonZeroFill , kStencilEvenOddFill , kCoverCompare , kCoverCompareInverted , kOverdrawPreventionIncrement , kOverdrawPreventionRestore } |
Public Member Functions | |
void | ApplyToPipelineDescriptor (PipelineDescriptor &desc) const |
Pipeline state configuration.
Each unique combination of these options requires a different pipeline state object to be built. This struct is used as a key for the per-pipeline variant cache.
When adding fields to this key, reliant features should take care to limit the combinatorical explosion of variations. A sufficiently complicated Flutter application may easily require building hundreds of PSOs in total, but they shouldn't require e.g. 10s of thousands.
Definition at line 254 of file content_context.h.
|
strong |
Definition at line 255 of file content_context.h.
void impeller::ContentContextOptions::ApplyToPipelineDescriptor | ( | PipelineDescriptor & | desc | ) | const |
Definition at line 28 of file content_context.cc.
BlendMode impeller::ContentContextOptions::blend_mode = BlendMode::kSourceOver |
Definition at line 308 of file content_context.h.
PixelFormat impeller::ContentContextOptions::color_attachment_pixel_format = PixelFormat::kUnknown |
Definition at line 312 of file content_context.h.
CompareFunction impeller::ContentContextOptions::depth_compare = CompareFunction::kAlways |
Definition at line 309 of file content_context.h.
bool impeller::ContentContextOptions::depth_write_enabled = false |
Definition at line 314 of file content_context.h.
bool impeller::ContentContextOptions::has_depth_stencil_attachments = true |
Definition at line 313 of file content_context.h.
bool impeller::ContentContextOptions::is_for_rrect_blur_clear = false |
Definition at line 316 of file content_context.h.
PrimitiveType impeller::ContentContextOptions::primitive_type = PrimitiveType::kTriangle |
Definition at line 311 of file content_context.h.
SampleCount impeller::ContentContextOptions::sample_count = SampleCount::kCount1 |
Definition at line 307 of file content_context.h.
StencilMode impeller::ContentContextOptions::stencil_mode = ContentContextOptions::StencilMode::kIgnore |
Definition at line 310 of file content_context.h.
bool impeller::ContentContextOptions::wireframe = false |
Definition at line 315 of file content_context.h.