/external/skia/src/sksl/ir/ |
D | SkSLProgram.h | 57 void remove(const ProgramElement& element); 90 std::vector<std::unique_ptr<ProgramElement>> elements, in Program() 91 std::vector<const ProgramElement*> sharedElements, in Program() 128 const ProgramElement* operator*() { 154 using Owned = std::vector<std::unique_ptr<ProgramElement>>::const_iterator; 155 using Shared = std::vector<const ProgramElement*>::const_iterator; 191 std::vector<std::unique_ptr<ProgramElement>>& ownedElements() { return fElements; } in ownedElements() 192 const std::vector<std::unique_ptr<ProgramElement>>& ownedElements() const { return fElements; } in ownedElements() 214 std::vector<std::unique_ptr<ProgramElement>> fElements; 215 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(fOffset, this->name())); in clone() 41 using INHERITED = ProgramElement;
|
D | SkSLSection.h | 18 class Section final : public ProgramElement { 40 std::unique_ptr<ProgramElement> clone() const override { in clone() 41 return std::unique_ptr<ProgramElement>(new Section(fOffset, this->name(), this->argument(), in clone() 59 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() 52 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 { 65 std::unique_ptr<ProgramElement> clone() const override { in clone() 88 using INHERITED = ProgramElement;
|
D | SkSLInterfaceBlock.h | 29 class InterfaceBlock final : public ProgramElement { 66 std::unique_ptr<ProgramElement> clone() const override { in clone() 100 using INHERITED = ProgramElement;
|
D | SkSLEnum.h | 23 class Enum final : public ProgramElement { 51 std::unique_ptr<ProgramElement> clone() const override { in clone() 95 using INHERITED = ProgramElement;
|
D | SkSLVarDeclarations.h | 104 class GlobalVarDeclaration final : public ProgramElement { 122 std::unique_ptr<ProgramElement> clone() const override { in clone() 133 using INHERITED = ProgramElement;
|
/external/skqp/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 | 117 ProgramElement& operator*() { 142 using inner = std::vector<std::unique_ptr<ProgramElement>>::iterator; 160 const ProgramElement& operator*() { 185 using inner = std::vector<std::unique_ptr<ProgramElement>>::const_iterator; 213 std::vector<std::unique_ptr<ProgramElement>>* inheritedElements, in Program() 214 std::vector<std::unique_ptr<ProgramElement>> elements, in Program() 269 std::vector<std::unique_ptr<ProgramElement>>* fInheritedElements; 270 std::vector<std::unique_ptr<ProgramElement>> fElements;
|
D | SkSLEnum.h | 17 struct Enum : public ProgramElement { 23 std::unique_ptr<ProgramElement> clone() const override { in clone() 24 return std::unique_ptr<ProgramElement>(new Enum(fOffset, fTypeName, fSymbols)); in clone() 49 typedef ProgramElement INHERITED;
|
D | SkSLProgramElement.h | 18 struct ProgramElement : public IRNode { struct 29 ProgramElement(int offset, Kind kind) in ProgramElement() argument 35 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;
|
/external/skia/src/sksl/ |
D | SkSLAnalysis.h | 25 class ProgramElement; variable 144 static void ValidateIndexingForES2(const ProgramElement& pe, ErrorReporter& errors); 173 virtual bool visitProgramElement(typename T::ProgramElement& programElement); 184 using ProgramElement = const SkSL::ProgramElement; member 193 using ProgramElement = SkSL::ProgramElement; member
|
D | SkSLIRGenerator.h | 56 void insertOrDie(String key, std::unique_ptr<ProgramElement> element) { in insertOrDie() 61 const ProgramElement* find(const String& key) { in find() 70 const ProgramElement* findAndInclude(const String& key) { in findAndInclude() 93 std::unique_ptr<ProgramElement> fIntrinsic; 110 std::vector<std::unique_ptr<ProgramElement>> fElements; 111 std::vector<const ProgramElement*> fSharedElements; 157 std::vector<std::unique_ptr<ProgramElement>>* elements, 158 std::vector<const ProgramElement*>* sharedElements); 270 std::vector<std::unique_ptr<ProgramElement>>* fProgramElements = nullptr; 271 std::vector<const ProgramElement*>* fSharedElements = nullptr;
|
D | SkSLSectionAndParameterHelper.cpp | 29 for (const ProgramElement* p : fProgram.elements()) { in SectionAndParameterHelper() 31 case ProgramElement::Kind::kGlobalVar: { in SectionAndParameterHelper() 39 case ProgramElement::Kind::kSection: { in SectionAndParameterHelper()
|
/external/skia/include/private/ |
D | SkSLProgramElement.h | 20 class ProgramElement : public IRNode { 37 ProgramElement(int offset, Kind kind) in ProgramElement() function 70 virtual std::unique_ptr<ProgramElement> clone() const = 0;
|
/external/skia/src/sksl/codegen/ |
D | SkSLPipelineStageCodeGenerator.cpp | 94 void writeProgramElement(const ProgramElement& e); 153 for (const ProgramElement* p : fProgram.elements()) { in writeFunctionCall() 344 void PipelineStageCodeGenerator::writeProgramElement(const ProgramElement& e) { in writeProgramElement() 346 case ProgramElement::Kind::kGlobalVar: in writeProgramElement() 349 case ProgramElement::Kind::kFunction: in writeProgramElement() 352 case ProgramElement::Kind::kFunctionPrototype: in writeProgramElement() 356 case ProgramElement::Kind::kStructDefinition: in writeProgramElement() 361 case ProgramElement::Kind::kEnum: // skbug.com/11296 in writeProgramElement() 363 case ProgramElement::Kind::kExtension: in writeProgramElement() 364 case ProgramElement::Kind::kInterfaceBlock: in writeProgramElement() [all …]
|
/external/skqp/src/sksl/ |
D | SkSLPipelineStageCodeGenerator.cpp | 86 if (ProgramElement::kVar_Kind == p.fKind) { in writeFunctionCall() 141 if (e.fKind == ProgramElement::Kind::kVar_Kind) { in writeVariableReference() 211 void PipelineStageCodeGenerator::writeProgramElement(const ProgramElement& p) { in writeProgramElement() 212 if (p.fKind == ProgramElement::kSection_Kind) { in writeProgramElement() 215 if (p.fKind == ProgramElement::kVar_Kind) { in writeProgramElement()
|