Flutter Engine
The Flutter Engine
|
Public Member Functions | |
ScratchLValue (const Expression &e) | |
~ScratchLValue () override | |
bool | isWritable () const override |
SlotRange | fixedSlotRange (Generator *gen) override |
AutoStack * | dynamicSlotRange () override |
bool | push (Generator *gen, SlotRange fixedOffset, AutoStack *dynamicOffset, SkSpan< const int8_t > swizzle) override |
bool | store (Generator *, SlotRange, AutoStack *, SkSpan< const int8_t >) override |
Public Member Functions inherited from SkSL::RP::LValue | |
virtual | ~LValue ()=default |
virtual bool | isWritable () const =0 |
virtual SlotRange | fixedSlotRange (Generator *gen)=0 |
virtual AutoStack * | dynamicSlotRange ()=0 |
virtual SkSpan< const int8_t > | swizzle () |
virtual bool | push (Generator *gen, SlotRange fixedOffset, AutoStack *dynamicOffset, SkSpan< const int8_t > swizzle)=0 |
virtual bool | store (Generator *gen, SlotRange fixedOffset, AutoStack *dynamicOffset, SkSpan< const int8_t > swizzle)=0 |
Additional Inherited Members | |
Public Attributes inherited from SkSL::RP::LValue | |
std::unique_ptr< Expression > | fScratchExpression |
Definition at line 714 of file SkSLRasterPipelineCodeGenerator.cpp.
|
inlineexplicit |
Definition at line 716 of file SkSLRasterPipelineCodeGenerator.cpp.
|
inlineoverride |
Definition at line 720 of file SkSLRasterPipelineCodeGenerator.cpp.
|
inlineoverridevirtual |
Returns a stack which holds a single integer, representing the dynamic offset of the lvalue. This value does not incorporate the fixed offset. If null is returned, the lvalue doesn't have a dynamic offset. evaluateDynamicIndices
must be called before this is used.
Implements SkSL::RP::LValue.
Definition at line 737 of file SkSLRasterPipelineCodeGenerator.cpp.
Returns the fixed slot range of the lvalue, after it is winnowed down to the selected field/index. The range is calculated assuming every dynamic index will evaluate to zero.
Implements SkSL::RP::LValue.
Definition at line 733 of file SkSLRasterPipelineCodeGenerator.cpp.
|
inlineoverridevirtual |
Returns true if this lvalue is actually writable–temporaries and uniforms are not.
Implements SkSL::RP::LValue.
Definition at line 729 of file SkSLRasterPipelineCodeGenerator.cpp.
|
inlineoverridevirtual |
Pushes values directly onto the stack.
Implements SkSL::RP::LValue.
Definition at line 741 of file SkSLRasterPipelineCodeGenerator.cpp.
|
inlineoverridevirtual |
Stores topmost values from the stack directly into the lvalue.
Implements SkSL::RP::LValue.
Definition at line 767 of file SkSLRasterPipelineCodeGenerator.cpp.