Flutter Engine
The Flutter Engine
|
Public Member Functions | |
UnownedLValueSlice (LValue *p, int initialSlot, int numSlots) | |
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 *gen, SlotRange fixedOffset, AutoStack *dynamicOffset, SkSpan< const int8_t > swizzle) 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 |
Protected Attributes | |
LValue * | fParent |
Additional Inherited Members | |
Public Attributes inherited from SkSL::RP::LValue | |
std::unique_ptr< Expression > | fScratchExpression |
Definition at line 957 of file SkSLRasterPipelineCodeGenerator.cpp.
|
inlineexplicit |
Definition at line 959 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 980 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 971 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 967 of file SkSLRasterPipelineCodeGenerator.cpp.
|
inlineoverridevirtual |
Pushes values directly onto the stack.
Implements SkSL::RP::LValue.
Definition at line 984 of file SkSLRasterPipelineCodeGenerator.cpp.
|
inlineoverridevirtual |
Stores topmost values from the stack directly into the lvalue.
Implements SkSL::RP::LValue.
Definition at line 991 of file SkSLRasterPipelineCodeGenerator.cpp.
|
protected |
Definition at line 999 of file SkSLRasterPipelineCodeGenerator.cpp.