Home
last modified time | relevance | path

Searched refs:SkOperand (Results 1 – 21 of 21) sorted by relevance

/external/skia/src/animator/
DSkOperandIterpolator.cpp28 fStorage = sk_malloc_throw((sizeof(SkOperand) * elemCount + sizeof(SkTimeCode)) * frameCount); in reset()
30 fValues = (SkOperand*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount); in reset()
33 fValuesArray = (SkOperand(*)[10]) fValues; in reset()
37 bool SkOperandInterpolator::setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar … in setKeyFrame()
51 SkOperand* dst = &fValues[fElemCount * index]; in setKeyFrame()
52 memcpy(dst, values, fElemCount * sizeof(SkOperand)); in setKeyFrame()
57 SkInterpolatorBase::Result SkOperandInterpolator::timeToValues(SkMSec time, SkOperand values[]) con… in timeToValues()
65 const SkOperand* nextSrc = &fValues[index * fElemCount]; in timeToValues()
73 const SkOperand* prevSrc = nextSrc - fElemCount; in timeToValues()
85 memcpy(values, prevSrc, sizeof(SkOperand) * fElemCount); in timeToValues()
[all …]
DSkOperandInterpolator.h21 SkOperand* getValues() { return fValues; } in getValues()
35 …bool setKeyFrame(int index, SkMSec time, const SkOperand values[], SkScalar blend = SK_Scalar1);
36 Result timeToValues(SkMSec time, SkOperand values[]) const;
40 SkOperand* fValues; // pointer into fStorage
42 SkOperand(* fValuesArray)[10];
DSkMemberInfo.cpp83 bool SkMemberInfo::getArrayValue(const SkDisplayable* displayable, int index, SkOperand* value) con… in getArrayValue()
85 char* valuePtr = (char*) *(SkOperand**) memberData(displayable); in getArrayValue()
138 void SkMemberInfo::getValue(const SkDisplayable* displayable, SkOperand value[], int count) const { in getValue()
153 void SkMemberInfo::setValue(SkDisplayable* displayable, const SkOperand values[], in setValue()
162 memcpy(dst, values, count * sizeof(SkOperand)); in setValue()
360 SkOperand* storage = untypedStorage ? (SkOperand*) untypedStorage : arrayStorage ? in writeValue()
399 …(&(*arrayStorage)[storageOffset], scriptValue.fOperand.fArray->begin(), count * sizeof(SkOperand)); in writeValue()
420 …stArray->begin() + storageOffset, scriptValue.fOperand.fArray->begin(), sizeof(SkOperand) * count); in writeValue()
448 SkASSERT(sizeof(SkScalar) == sizeof(SkOperand)); // !!! no 64 bit pointer support yet in writeValue()
452 memcpy(storage, scriptValue.fOperand.fArray->begin(), count * sizeof(SkOperand)); in writeValue()
[all …]
DSkIntArray.h31 union SkOperand;
52 typedef SkLongArray(SkOperand) SkTDOperandArray;
53 typedef SkLongArray(SkOperand*) SkTDOperandPtrArray;
DSkDisplayable.h107 void dumpValues(const SkMemberInfo* info, SkDisplayTypes type, SkOperand op, SkOperand blankOp,
108 SkOperand op2, SkOperand blankOp2);
DSkAnimateActive.cpp182 SkAutoSTMalloc<16, SkOperand> values(count); in create()
220 SkAutoSTMalloc<16, SkOperand> values(count); in immediate()
240 SkOperand* values = animate->getValues(); in fixInterpolator()
278 SkOperand* from = animate->getValues(); in initState()
304 SkOperand* from = animate->getValues(); in pickUp()
305 SkOperand* to = &from[animate->components()]; in pickUp()
333 SkOperand* values = animate->getValues(); in resetInterpolators()
358 memcpy(interpolator.getValues(), fSaveInterpolators[index], count * sizeof(SkOperand)); in restoreInterpolatorValues()
365SkOperand* cache = new SkOperand[count]; // this should use sk_malloc/sk_free since SkOperand d… in saveInterpolatorValues()
367 memcpy(cache, interpolator.getValues(), count * sizeof(SkOperand)); in saveInterpolatorValues()
[all …]
DSkDisplayable.cpp159 SkOperand values[2]; in dumpAttrs()
160 SkOperand blankValues[2]; in dumpAttrs()
198 for (SkOperand* op = array->begin(); op < array->end(); op++) { in dumpAttrs()
295 …layable::dumpValues(const SkMemberInfo* info, SkDisplayTypes type, SkOperand op, SkOperand blankOp, in dumpValues()
296 SkOperand op2, SkOperand blankOp2) { in dumpValues()
404 for (SkOperand* op = values->begin(); op < values->end(); op++) { in executeFunction()
DSkAnimator.cpp227 int index, SkOperand* operand) { in getArrayCommon()
236 SkOperand operand; in getArrayInt()
253 SkOperand operand; in getArrayScalar()
270 SkOperand operand; in getArrayString()
313 SkOperand operand; in getInt()
339 SkOperand operand; in getScalar()
522 SkOperand op; in setArrayString()
533 SkOperand op; in setArrayInt()
569 SkOperand operand; in setInt()
594 SkOperand operand; in setScalar()
DSkOperand.h20 union SkOperand { union
34 SkOperand fOperand;
DSkDisplayApply.cpp107 void SkApply::applyValues(int animatorIndex, SkOperand* values, int count, in applyValues()
465 SkOperand* last = new SkOperand[count]; in endSave()
466 SkAutoTDelete<SkOperand> autoLast(last); in endSave()
469 SkOperand* saveOperand = fActive->fSaveRestore[activeIndex]; in endSave()
480 SkOperand* save = fActive->fSaveRestore[activeIndex]; in endSave()
482 memcpy(save, last, count * sizeof(SkOperand)); in endSave()
616 SkAutoSTMalloc<16, SkOperand> values(count); in interpolate()
752 fActive->fSaveRestore[activeIndex] = new SkOperand[count]; in save()
756 memcpy(last.begin(), fActive->fSaveRestore[activeIndex], count * sizeof(SkOperand)); in save()
DSkMemberInfo.h54 bool getArrayValue(const SkDisplayable* displayable, int index, SkOperand* value) const;
66 void getValue(const SkDisplayable* , SkOperand values[], int count) const;
86 void setValue(SkDisplayable* , const SkOperand values[], int count) const;
DSkTypedArray.h20 bool getIndex(int index, SkOperand* operand);
DSkScript.h192 void convertToString(SkOperand& operand, SkDisplayTypes type) { in convertToString()
232 SkTDStack<SkOperand> fOperandStack;
DSkAnimateActive.h33 void setInterpolator(int index, SkOperand* from);
DSkAnimateBase.h38 SkOperand* getValues() { return fValues.begin(); } in getValues()
DSkScript.cpp532 SkOperand operand; in innerScript()
828 SkOperand operand; in innerScript()
1158 SkOperand indexOperand; in logicalOp()
1168 SkOperand arrayOperand; in logicalOp()
1171 SkOperand operand; in logicalOp()
1261 SkOperand operand2; in processOp()
1263 SkOperand operand1 = operand2; // !!! not really needed, suppresses warning in processOp()
1499 SkOperand& operand = value->fOperand; in ConvertTo()
DSkDisplayApply.h39 void applyValues(int animatorIndex, SkOperand* values, int count,
DSkTypedArray.cpp18 bool SkTypedArray::getIndex(int index, SkOperand* operand) { in getIndex()
DSkAnimatorScript.cpp262 memcpy(array->begin(), displayableArray->begin(), count * sizeof(SkOperand)); in EvalMemberCommon()
/external/skia/gyp/
Danimator.gyp152 '../src/animator/SkOperand.h',
/external/skia/experimental/iOSSampleApp/iOSSampleApp.xcodeproj/
Dproject.pbxproj1254 …13B127E00064D447 /* SkOperand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
2620 260E073413B127E00064D447 /* SkOperand.h */,