/third_party/skia/src/sksl/ir/ |
D | SkSLProgram.h | 53 void add(const ProgramElement& element); 56 void remove(const ProgramElement& element); 79 std::vector<std::unique_ptr<ProgramElement>> elements, in Program() 80 std::vector<const ProgramElement*> sharedElements, in Program() 113 const ProgramElement* operator*() { 139 using Owned = std::vector<std::unique_ptr<ProgramElement>>::const_iterator; 140 using Shared = std::vector<const ProgramElement*>::const_iterator; 176 for (const ProgramElement* e : this->elements()) { in description() 192 std::vector<std::unique_ptr<ProgramElement>> fOwnedElements; 195 std::vector<const ProgramElement*> fSharedElements;
|
D | SkSLExtension.h | 18 class Extension final : public ProgramElement { 30 std::unique_ptr<ProgramElement> clone() const override { in clone() 31 return std::unique_ptr<ProgramElement>(new Extension(fLine, this->name())); in clone() 41 using INHERITED = ProgramElement;
|
D | SkSLModifiersDeclaration.h | 21 class ModifiersDeclaration final : public ProgramElement { 33 std::unique_ptr<ProgramElement> clone() const override { in clone() 44 using INHERITED = ProgramElement;
|
D | SkSLFunctionPrototype.h | 22 class FunctionPrototype final : public ProgramElement { 39 std::unique_ptr<ProgramElement> clone() const override { in clone() 51 using INHERITED = ProgramElement;
|
D | SkSLStructDefinition.h | 27 class StructDefinition final : public ProgramElement { 39 std::unique_ptr<ProgramElement> clone() const override { in clone() 61 using INHERITED = ProgramElement;
|
D | SkSLFunctionDefinition.h | 22 class FunctionDefinition final : public ProgramElement { 82 std::unique_ptr<ProgramElement> clone() const override { in clone() 105 using INHERITED = ProgramElement;
|
D | SkSLInterfaceBlock.h | 30 class InterfaceBlock final : public ProgramElement { 64 std::unique_ptr<ProgramElement> clone() const override { in clone() 96 using INHERITED = ProgramElement;
|
/third_party/skia/src/sksl/ |
D | SkSLIntrinsicMap.h | 16 class ProgramElement; variable 26 void insertOrDie(String key, std::unique_ptr<ProgramElement> element); 28 const ProgramElement* find(const String& key); 30 const ProgramElement* findAndInclude(const String& key); 36 std::unique_ptr<ProgramElement> fIntrinsic;
|
D | SkSLThreadContext.h | 26 class ProgramElement; variable 76 static std::vector<std::unique_ptr<SkSL::ProgramElement>>& ProgramElements() { in ProgramElements() 80 static std::vector<const ProgramElement*>& SharedElements() { in SharedElements() 202 std::vector<std::unique_ptr<SkSL::ProgramElement>> fProgramElements; 203 std::vector<const SkSL::ProgramElement*> fSharedElements;
|
D | SkSLIntrinsicMap.cpp | 14 void IntrinsicMap::insertOrDie(String key, std::unique_ptr<ProgramElement> element) { in insertOrDie() 19 const ProgramElement* IntrinsicMap::find(const String& key) { in find() 28 const ProgramElement* IntrinsicMap::findAndInclude(const String& key) { in findAndInclude()
|
D | SkSLAnalysis.cpp | 154 bool visitProgramElement(const ProgramElement& p) override { in visitProgramElement() 178 bool visitProgramElement(const ProgramElement& p) override { in visitProgramElement() 518 void Analysis::ValidateIndexingForES2(const ProgramElement& pe, ErrorReporter& errors) { in ValidateIndexingForES2() 528 bool visitProgramElement(const ProgramElement& pe) override { in VerifyStaticTestsAndExpressions() 529 if (pe.kind() == ProgramElement::Kind::kGlobalVar) { in VerifyStaticTestsAndExpressions() 602 for (const std::unique_ptr<ProgramElement>& element : program.fOwnedElements) { in VerifyStaticTestsAndExpressions() 611 for (const ProgramElement* pe : program.elements()) { in visit() 774 template <typename T> bool TProgramVisitor<T>::visitProgramElement(typename T::ProgramElement& pe) { in visitProgramElement() 776 case ProgramElement::Kind::kExtension: in visitProgramElement() 777 case ProgramElement::Kind::kFunctionPrototype: in visitProgramElement() [all …]
|
/third_party/flutter/skia/src/sksl/ir/ |
D | SkSLModifiersDeclaration.h | 21 struct ModifiersDeclaration : public ProgramElement { 26 std::unique_ptr<ProgramElement> clone() const override { in clone() 27 return std::unique_ptr<ProgramElement>(new ModifiersDeclaration(fModifiers)); in clone() 36 typedef ProgramElement INHERITED;
|
D | SkSLExtension.h | 18 struct Extension : public ProgramElement { 23 std::unique_ptr<ProgramElement> clone() const override { in clone() 24 return std::unique_ptr<ProgramElement>(new Extension(fOffset, fName)); in clone() 33 typedef ProgramElement INHERITED;
|
D | SkSLFunctionDefinition.h | 20 struct FunctionDefinition : public ProgramElement { 27 std::unique_ptr<ProgramElement> clone() const override { in clone() 28 return std::unique_ptr<ProgramElement>(new FunctionDefinition(fOffset, fDeclaration, in clone() 39 typedef ProgramElement INHERITED;
|
D | SkSLSection.h | 18 struct Section : public ProgramElement { 25 std::unique_ptr<ProgramElement> clone() const override { in clone() 26 return std::unique_ptr<ProgramElement>(new Section(fOffset, fName, fArgument, fText)); in clone() 42 typedef ProgramElement INHERITED;
|
D | SkSLProgram.h | 137 ProgramElement& operator*() { 162 using inner = std::vector<std::unique_ptr<ProgramElement>>::iterator; 180 const ProgramElement& operator*() { 205 using inner = std::vector<std::unique_ptr<ProgramElement>>::const_iterator; 234 std::vector<std::unique_ptr<ProgramElement>>* inheritedElements, in Program() 235 std::vector<std::unique_ptr<ProgramElement>> elements, in Program() 290 std::vector<std::unique_ptr<ProgramElement>>* fInheritedElements; 291 std::vector<std::unique_ptr<ProgramElement>> fElements;
|
D | SkSLEnum.h | 23 struct Enum : public ProgramElement { 29 std::unique_ptr<ProgramElement> clone() const override { in clone() 30 return std::unique_ptr<ProgramElement>(new Enum(fOffset, fTypeName, fSymbols)); in clone() 55 typedef ProgramElement INHERITED;
|
D | SkSLProgramElement.h | 20 struct ProgramElement : public IRNode { struct 31 ProgramElement(int offset, Kind kind) in ProgramElement() argument 37 virtual std::unique_ptr<ProgramElement> clone() const = 0; argument
|
D | SkSLInterfaceBlock.h | 27 struct InterfaceBlock : public ProgramElement { 38 std::unique_ptr<ProgramElement> clone() const override { in clone() 43 return std::unique_ptr<ProgramElement>(new InterfaceBlock(fOffset, &fVariable, fTypeName, in clone() 78 typedef ProgramElement INHERITED;
|
D | SkSLVarDeclarations.h | 70 struct VarDeclarations : public ProgramElement { 80 std::unique_ptr<ProgramElement> clone() const override { in clone() 86 return std::unique_ptr<ProgramElement>(new VarDeclarations(fOffset, &fBaseType, in clone() 110 typedef ProgramElement INHERITED;
|
/third_party/skia/src/sksl/analysis/ |
D | SkSLProgramVisitor.h | 18 class ProgramElement; variable 42 virtual bool visitProgramElement(typename T::ProgramElement& programElement); 53 using ProgramElement = const SkSL::ProgramElement; member
|
/third_party/skia/src/sksl/transform/ |
D | SkSLBuiltinVariableScanner.cpp | 25 ProgramKind programKind, std::vector<const ProgramElement*>& sharedElements) { in FindAndDeclareBuiltinVariables() 35 if (const ProgramElement* decl = intrinsics.findAndInclude(name)) { in FindAndDeclareBuiltinVariables() 41 bool visitProgramElement(const ProgramElement& pe) override { in FindAndDeclareBuiltinVariables() 62 std::vector<const ProgramElement*> fNewElements; in FindAndDeclareBuiltinVariables()
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLCompiler.h | 156 std::vector<std::unique_ptr<ProgramElement>>* outElements, 195 std::vector<std::unique_ptr<ProgramElement>> fVertexInclude; 197 std::vector<std::unique_ptr<ProgramElement>> fFragmentInclude; 199 std::vector<std::unique_ptr<ProgramElement>> fGeometryInclude; 201 std::vector<std::unique_ptr<ProgramElement>> fPipelineInclude; 203 std::vector<std::unique_ptr<ProgramElement>> fInterpreterInclude;
|
/third_party/skia/include/private/ |
D | SkSLProgramElement.h | 20 class ProgramElement : public IRNode { 35 ProgramElement(int offset, Kind kind) in ProgramElement() function 69 virtual std::unique_ptr<ProgramElement> clone() const = 0;
|
/third_party/skia/src/sksl/codegen/ |
D | SkSLPipelineStageCodeGenerator.cpp | 105 void writeProgramElementFirstPass(const ProgramElement& e); 106 void writeProgramElementSecondPass(const ProgramElement& e); 152 for (const ProgramElement* p : fProgram.elements()) { in writeChildCall() 412 void PipelineStageCodeGenerator::writeProgramElementFirstPass(const ProgramElement& e) { in writeProgramElementFirstPass() 414 case ProgramElement::Kind::kGlobalVar: in writeProgramElementFirstPass() 417 case ProgramElement::Kind::kFunction: in writeProgramElementFirstPass() 420 case ProgramElement::Kind::kFunctionPrototype: in writeProgramElementFirstPass() 424 case ProgramElement::Kind::kStructDefinition: in writeProgramElementFirstPass() 428 case ProgramElement::Kind::kExtension: in writeProgramElementFirstPass() 429 case ProgramElement::Kind::kInterfaceBlock: in writeProgramElementFirstPass() [all …]
|