/external/skia/src/sksl/ |
D | SkSLASTNode.h | 281 } fKind; member 286 : fKind(Kind::kOperator) { in NodeData() 291 : fKind(Kind::kStringFragment) { in NodeData() 296 : fKind(Kind::kBool) { in NodeData() 301 : fKind(Kind::kInt) { in NodeData() 306 : fKind(Kind::kFloat) { in NodeData() 311 : fKind(Kind::kModifiers) { in NodeData() 316 : fKind(Kind::kFunctionData) { in NodeData() 321 : fKind(Kind::kVarData) { in NodeData() 326 : fKind(Kind::kParameterData) { in NodeData() [all …]
|
D | SkSLSampleUsage.cpp | 34 SkASSERT(fKind != Kind::kUniformMatrix && other.fKind != Kind::kUniformMatrix); in merge() 38 fKind = std::max(fKind, other.fKind); in merge() 45 SkASSERT(fKind != Kind::kUniformMatrix); in constructor() 47 switch (fKind) { in constructor()
|
D | SkSLParser.cpp | 161 switch (this->peek().fKind) { in compilationUnit() 203 if (fPushback.fKind != Token::Kind::TK_NONE) { in nextRawToken() 205 fPushback.fKind = Token::Kind::TK_NONE; in nextRawToken() 214 while (token.fKind == Token::Kind::TK_WHITESPACE || in nextToken() 215 token.fKind == Token::Kind::TK_LINE_COMMENT || in nextToken() 216 token.fKind == Token::Kind::TK_BLOCK_COMMENT) { in nextToken() 223 SkASSERT(fPushback.fKind == Token::Kind::TK_NONE); in pushback() 228 if (fPushback.fKind == Token::Kind::TK_NONE) { in peek() 235 if (fPushback.fKind != Token::Kind::TK_NONE && fPushback.fKind != kind) { in checkNext() 239 if (next.fKind == kind) { in checkNext() [all …]
|
D | SkSLProgramSettings.h | 76 ProgramKind fKind; member 81 (fKind == ProgramKind::kRuntimeColorFilter || in strictES2Mode() 82 fKind == ProgramKind::kRuntimeShader || in strictES2Mode() 83 fKind == ProgramKind::kGeneric); in strictES2Mode()
|
D | SkSLOperators.h | 24 Operator(Token::Kind t) : fKind(t) { in Operator() 25 SkASSERTF(this->isOperator(), "token-kind %d is not an operator", fKind); in Operator() 49 Token::Kind kind() const { return fKind; } in kind() 106 Kind fKind; variable
|
D | SkSLLexer.h | 108 Token() : fKind(Kind::TK_NONE), fOffset(-1), fLength(-1) {} in Token() 111 : fKind(kind), fOffset(offset), fLength(length) {} in Token() 113 Kind fKind; member
|
/external/skqp/src/sksl/lex/ |
D | NFAState.h | 34 : fKind(kind) in NFAState() 38 : fKind(kChar_Kind) in NFAState() 43 : fKind(kRemapped_Kind) in NFAState() 47 : fKind(kTable_Kind) in NFAState() 56 : fKind(kAccept_Kind) { in NFAState() 61 switch (fKind) { in accept() 83 switch (fKind) { in description() 138 Kind fKind; member
|
D | RegexNode.h | 33 : fKind(kind) {} in RegexNode() 36 : fKind(kind) { in RegexNode() 41 : fKind(kind) { in RegexNode() 50 : fKind(kind) { in RegexNode() 55 : fKind(kind) { in RegexNode() 68 Kind fKind; member
|
D | RegexNode.cpp | 14 switch (fKind) { in createStates() 21 if (child.fKind == kChar_Kind) { in createStates() 27 SkASSERT(child.fKind == kRange_Kind); in createStates() 86 switch (fKind) { in description() 115 return "<" + std::to_string(fKind) + ">"; in description()
|
/external/skia/src/sksl/lex/ |
D | NFAState.h | 34 : fKind(kind) in NFAState() 38 : fKind(kChar_Kind) in NFAState() 43 : fKind(kRemapped_Kind) in NFAState() 47 : fKind(kTable_Kind) in NFAState() 56 : fKind(kAccept_Kind) { in NFAState() 61 switch (fKind) { in accept() 84 switch (fKind) { in description() 140 Kind fKind; member
|
D | RegexNode.h | 33 : fKind(kind) {} in RegexNode() 36 : fKind(kind) { in RegexNode() 41 : fKind(kind) { in RegexNode() 50 : fKind(kind) { in RegexNode() 55 : fKind(kind) { in RegexNode() 68 Kind fKind; member
|
D | RegexNode.cpp | 14 switch (fKind) { in createStates() 21 if (child.fKind == kChar_Kind) { in createStates() 27 SkASSERT(child.fKind == kRange_Kind); in createStates() 87 switch (fKind) { in description() 116 return "<" + std::to_string(fKind) + ">"; in description()
|
/external/skia/include/private/ |
D | SkSLSampleUsage.h | 51 bool isSampled() const { return fKind != Kind::kNone; } in isSampled() 52 bool isPassThrough() const { return fKind == Kind::kPassThrough; } in isPassThrough() 53 bool isExplicit() const { return fKind == Kind::kExplicit; } in isExplicit() 54 bool isUniformMatrix() const { return fKind == Kind::kUniformMatrix; } in isUniformMatrix() 56 Kind fKind = Kind::kNone; member 62 : fKind(kind), fExpression(expression), fHasPerspective(hasPerspective) { in SampleUsage()
|
/external/skqp/src/sksl/ |
D | SkSLCFGGenerator.h | 31 : fKind(kind) in Node() 37 SkASSERT(fKind == kExpression_Kind); in expression() 42 SkASSERT(fKind == kExpression_Kind); in setExpression() 47 SkASSERT(fKind == kStatement_Kind); in statement() 52 SkASSERT(fKind == kStatement_Kind); in setStatement() 57 if (fKind == kStatement_Kind) { in description() 60 SkASSERT(fKind == kExpression_Kind); in description() 65 Kind fKind; member
|
D | SkSLParser.cpp | 145 switch (this->peek().fKind) { in file() 174 if (fPushback.fKind != Token::INVALID) { in nextRawToken() 176 fPushback.fKind = Token::INVALID; in nextRawToken() 185 while (token.fKind == Token::WHITESPACE || token.fKind == Token::LINE_COMMENT || in nextToken() 186 token.fKind == Token::BLOCK_COMMENT) { in nextToken() 193 SkASSERT(fPushback.fKind == Token::INVALID); in pushback() 198 if (fPushback.fKind == Token::INVALID) { in peek() 205 if (fPushback.fKind != Token::INVALID && fPushback.fKind != kind) { in checkNext() 209 if (next.fKind == kind) { in checkNext() 221 if (next.fKind == kind) { in expect() [all …]
|
D | SkSLCompiler.cpp | 256 switch (lvalue->fKind) { in addDefinition() 307 switch (node.fKind) { in addDefinitions() 311 switch (expr->fKind) { in addDefinitions() 373 if (stmt->fKind == Statement::kVarDeclaration_Kind) { in addDefinitions() 430 if (node.fKind == BasicBlock::Node::kStatement_Kind) { in compute_start_state() 433 if (s->fKind == Statement::kVarDeclarations_Kind) { in compute_start_state() 436 if (decl->fKind == Statement::kVarDeclaration_Kind) { in compute_start_state() 451 switch (lvalue.fKind) { in is_dead() 518 switch (expr.fKind) { in is_constant() 550 SkASSERT((*target)->fKind == Expression::kBinary_Kind); in delete_left() [all …]
|
D | SkSLMetalCodeGenerator.cpp | 115 switch (expr.fKind) { in writeExpression() 534 Expression::kVariableReference_Kind == b.fLeft->fKind && in writeBinaryExpression() 543 Expression::kSwizzle_Kind == b.fLeft->fKind && !b.fLeft->hasSideEffects()) { in writeBinaryExpression() 628 switch (fProgram.fKind) { in writeFunction() 652 if (ProgramElement::kVar_Kind == e.fKind) { in writeFunction() 673 } else if (ProgramElement::kInterfaceBlock_Kind == e.fKind) { in writeFunction() 691 if (fProgram.fKind == Program::kFragment_Kind) { in writeFunction() 703 } else if (fProgram.fKind == Program::kVertex_Kind) { in writeFunction() 804 switch (fProgram.fKind) { in writeFunction() 848 if (fProgram.fKind == Program::kFragment_Kind) { in writeInterfaceBlock() [all …]
|
D | SkSLIRGenerator.cpp | 167 if (e->fKind == ProgramElement::kInterfaceBlock_Kind) { in start() 183 switch (statement.fKind) { in convertStatement() 191 if (fRTAdjust && Program::kGeometry_Kind == fKind) { in convertStatement() 192 SkASSERT(result->fKind == Statement::kExpression_Kind); in convertStatement() 194 if (expr.fKind == Expression::kFunctionCall_Kind) { in convertStatement() 227 ABORT("unsupported statement type: %d\n", statement.fKind); in convertStatement() 260 if (fKind != Program::kFragmentProcessor_Kind && in convertVarDeclarations() 267 (decl.fModifiers.fFlags & Modifiers::kOut_Flag) && fKind == Program::kFragment_Kind && in convertVarDeclarations() 282 if (size->fKind == Expression::kIntLiteral_Kind) { in convertVarDeclarations() 325 (*fSymbolTable)[varDecl.fName]->fKind == Symbol::kVariable_Kind && in convertVarDeclarations() [all …]
|
D | SkSLCFGGenerator.cpp | 71 printf("Node %d (%p): %s\n", (int) j, &n, n.fKind == BasicBlock::Node::kExpression_Kind in dump() 87 if (e->fKind == Expression::kTernary_Kind) { in tryRemoveExpressionBefore() 91 if ((*iter)->fKind == BasicBlock::Node::kExpression_Kind) { in tryRemoveExpressionBefore() 99 } while ((*iter)->fKind != BasicBlock::Node::kExpression_Kind || in tryRemoveExpressionBefore() 102 while ((*iter)->fKind != BasicBlock::Node::kExpression_Kind || in tryRemoveExpressionBefore() 114 } while ((*iter)->fKind != BasicBlock::Node::kExpression_Kind || in tryRemoveExpressionBefore() 117 while ((*iter)->fKind != BasicBlock::Node::kStatement_Kind || in tryRemoveExpressionBefore() 128 switch (lvalue->fKind) { in tryRemoveLValueBefore() 156 switch (expr->fKind) { in tryRemoveExpression() 254 switch ((*expr)->fKind) { in tryInsertExpression() [all …]
|
D | SkSLPipelineStageCodeGenerator.cpp | 82 SkASSERT(Expression::kVariableReference_Kind == c.fArguments[0]->fKind); in writeFunctionCall() 86 if (ProgramElement::kVar_Kind == p.fKind) { in writeFunctionCall() 141 if (e.fKind == ProgramElement::Kind::kVar_Kind) { in writeVariableReference() 212 if (p.fKind == ProgramElement::kSection_Kind) { in writeProgramElement() 215 if (p.fKind == ProgramElement::kVar_Kind) { in writeProgramElement()
|
/external/skqp/bench/ |
D | HardStopGradientBench_SpecialHardStops.cpp | 41 fKind = kind; in HardStopGradientBench_SpecialHardStops() 43 fName.printf("hardstop_special_%03dx%03d_%s", fW, fH, kindstr(fKind)); in HardStopGradientBench_SpecialHardStops() 86 SkScalar* positions = fKind == Kind::k001 ? pos_001 : in onPreDraw() 87 fKind == Kind::k011 ? pos_011 : in onPreDraw() 90 int count = fKind == Kind::kCentered ? 4 : 3; in onPreDraw() 111 Kind fKind; member in HardStopGradientBench_SpecialHardStops
|
/external/skia/bench/ |
D | HardStopGradientBench_SpecialHardStops.cpp | 41 fKind = kind; in HardStopGradientBench_SpecialHardStops() 43 fName.printf("hardstop_special_%03dx%03d_%s", fW, fH, kindstr(fKind)); in HardStopGradientBench_SpecialHardStops() 86 SkScalar* positions = fKind == Kind::k001 ? pos_001 : in onPreDraw() 87 fKind == Kind::k011 ? pos_011 : in onPreDraw() 90 int count = fKind == Kind::kCentered ? 4 : 3; in onPreDraw() 111 Kind fKind; member in HardStopGradientBench_SpecialHardStops
|
/external/skqp/src/sksl/ir/ |
D | SkSLProgram.h | 38 : fKind(kBool_Kind) in Value() 42 : fKind(kInt_Kind) in Value() 46 : fKind(kInt_Kind) in Value() 50 switch (fKind) { in literal() 68 } fKind; member 217 : fKind(kind) in Program() 258 Kind fKind; member
|
D | SkSLSymbolTable.cpp | 14 switch (s.fKind) { in GetFunctions() 81 } else if (symbol->fKind == Symbol::kFunctionDeclaration_Kind) { in addWithoutOwnership() 83 if (oldSymbol->fKind == Symbol::kFunctionDeclaration_Kind) { in addWithoutOwnership() 90 } else if (oldSymbol->fKind == Symbol::kUnresolvedFunction_Kind) { in addWithoutOwnership() 108 switch (pair.second->fKind) { in markAllFunctionsBuiltin()
|
/external/skqp/src/sksl/ast/ |
D | SkSLASTSuffix.h | 31 , fKind(kind) {} in ASTSuffix() 34 switch (fKind) { in description() 44 Kind fKind; member
|