Home
last modified time | relevance | path

Searched refs:SkScriptEngine2 (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/animator/
DSkScriptRuntime.cpp64 SkScriptEngine2::TypeOp op; in executeTokens()
70 switch ((op = (SkScriptEngine2::TypeOp) *opCode++)) { in executeTokens()
71 case SkScriptEngine2::kArrayToken: // create an array in executeTokens()
74 case SkScriptEngine2::kArrayIndex: // array accessor in executeTokens()
82 case SkScriptEngine2::kArrayParam: // array initializer, or function param in executeTokens()
85 case SkScriptEngine2::kCallback: in executeTokens()
90 case SkScriptEngine2::kFunctionCall: { in executeTokens()
100 case SkScriptEngine2::kMemberOp: { in executeTokens()
109 case SkScriptEngine2::kPropertyOp: { in executeTokens()
118 case SkScriptEngine2::kAccumulatorPop: in executeTokens()
[all …]
DSkScriptDecompile.cpp14 #define TypeOpName(op) {SkScriptEngine2::op, #op }
17 SkScriptEngine2::TypeOp fOp;
107 void SkScriptEngine2::ValidateDecompileTable() { in ValidateDecompileTable()
108 SkScriptEngine2::TypeOp op = SkScriptEngine2::kNop; in ValidateDecompileTable()
112 op = (SkScriptEngine2::TypeOp) (op + 1); in ValidateDecompileTable()
123 void SkScriptEngine2::decompile(const unsigned char* start, size_t length) { in decompile()
128 SkScriptEngine2::TypeOp op = (SkScriptEngine2::TypeOp) *opCode++; in decompile()
132 case SkScriptEngine2::kCallback: { in decompile()
138 case SkScriptEngine2::kFunctionCall: in decompile()
139 case SkScriptEngine2::kMemberOp: in decompile()
[all …]
DSkScriptTokenizer.cpp18 const SkScriptEngine2::OperatorAttributes SkScriptEngine2::gOpAttributes[] = {
52 const signed char SkScriptEngine2::gPrecedence[] = {
78 const SkScriptEngine2::TypeOp SkScriptEngine2::gTokens[] = {
122 SkScriptEngine2::SkScriptEngine2(SkOperand2::OpType returnType) : fActiveStream(&fStream), in SkScriptEngine2() function in SkScriptEngine2
132 SkScriptEngine2::~SkScriptEngine2() { in ~SkScriptEngine2()
139 void SkScriptEngine2::addToken(SkScriptEngine2::TypeOp op) { in addToken()
154 void SkScriptEngine2::addTokenConst(SkScriptValue2* value, AddTokenRegister reg, in addTokenConst()
155 SkOperand2::OpType toType, SkScriptEngine2::TypeOp op) { in addTokenConst()
164 void SkScriptEngine2::addTokenInt(int integer) { in addTokenInt()
168 void SkScriptEngine2::addTokenScalar(SkScalar scalar) { in addTokenScalar()
[all …]
DSkScript2.h23 class SkScriptEngine2 {
39 SkScriptEngine2(SkOperand2::OpType returnType);
40 ~SkScriptEngine2();
53 static bool ConvertTo(SkScriptEngine2* , SkOperand2::OpType toType, SkScriptValue2* value);
DSkAnimatorScript2.h25 class SkAnimatorScript2 : public SkScriptEngine2 {
DSkAnimatorScript2.cpp367 SkScriptEngine2(ToOpType(type)), fMaker(maker), fWorking(working) { in SkAnimatorScript2()