Home
last modified time | relevance | path

Searched refs:bones (Results 1 – 25 of 110) sorted by relevance

12345

/external/skqp/gm/
Dskinning.cpp120 const SkVertices::Bone* bones[kBoneCount]; in onDraw() local
122 bones[i] = &kBones[i]; in onDraw()
126 drawPermutations(canvas, xpos, ypos, bones, 1); in onDraw()
133 const SkVertices::Bone** bones, in drawPermutations() argument
142 copiedBones[i] = *bones[i]; in drawPermutations()
182 swap(bones + start, bones + i); in drawPermutations()
185 drawPermutations(canvas, xpos, ypos, bones, start + 1); in drawPermutations()
188 swap(bones + i, bones + start); in drawPermutations()
/external/skia/gm/
Dskinning.cpp125 const SkVertices::Bone* bones[kBoneCount]; in onDraw() local
127 bones[i] = &kBones[i]; in onDraw()
131 drawPermutations(canvas, xpos, ypos, bones, 1); in onDraw()
138 const SkVertices::Bone** bones, in drawPermutations() argument
147 copiedBones[i] = *bones[i]; in drawPermutations()
187 swap(bones + start, bones + i); in drawPermutations()
190 drawPermutations(canvas, xpos, ypos, bones, start + 1); in drawPermutations()
193 swap(bones + i, bones + start); in drawPermutations()
/external/skqp/src/gpu/ops/
DGrDrawVerticesOp.cpp18 const SkVertices::Bone bones[], in Make() argument
28 bones, boneCount, primType, aaType, in Make()
33 sk_sp<SkVertices> vertices, const SkVertices::Bone bones[], in GrDrawVerticesOp() argument
56 if (mesh.fVertices->hasBones() && bones) { in GrDrawVerticesOp()
58 mesh.fVertices = mesh.fVertices->applyBones(bones, boneCount); in GrDrawVerticesOp()
60 if (bones && boneCount > 1) { in GrDrawVerticesOp()
65 fBones.assign(bones, bones + boneCount); in GrDrawVerticesOp()
84 worldTransform.setAffine(bones[0].values); in GrDrawVerticesOp()
99 const SkRect originalBounds = bones[0].mapRect(mesh.fVertices->bounds()); in GrDrawVerticesOp()
101 const SkVertices::Bone& matrix = bones[i]; in GrDrawVerticesOp()
[all …]
DGrDrawVerticesOp.h41 const SkVertices::Bone bones[],
49 const SkVertices::Bone bones[], int boneCount, GrPrimitiveType, GrAAType,
/external/skqp/src/gpu/
DGrDefaultGeoProcFactory.cpp50 const float* bones, in Make() argument
54 coverage, localCoordsWillBeRead, bones, boneCount)); in Make()
66 const float* bones() const { return fBones; } in bones() function in DefaultGeoProc
267 pdman.set2fv(fBonesUniform, dgp.boneCount() * kNumVec2sPerBone, dgp.bones()); in setData()
331 const float* bones, in DefaultGeoProc() argument
341 , fBones(bones) in DefaultGeoProc()
356 SkASSERT(bones && (boneCount > 0)); in DefaultGeoProc()
502 const Bones& bones, in MakeWithBones() argument
531 bones.fBones, in MakeWithBones()
532 bones.fBoneCount); in MakeWithBones()
DGrDefaultGeoProcFactory.h82 Bones(const float bones[], int boneCount) in Bones()
83 : fBones(bones) in Bones()
DSkGpuDevice.h90 void drawVertices(const SkVertices*, const SkVertices::Bone bones[], int boneCount, SkBlendMode,
243 const SkVertices::Bone bones[], int boneCount, SkBlendMode,
/external/skia/src/gpu/ops/
DGrDrawVerticesOp.cpp26 const SkVertices::Bone bones[], int boneCount, GrPrimitiveType, GrAAType,
137 sk_sp<SkVertices> vertices, const SkVertices::Bone bones[], in DrawVerticesOp() argument
159 if (mesh.fVertices->hasBones() && bones) { in DrawVerticesOp()
161 mesh.fVertices = mesh.fVertices->applyBones(bones, boneCount); in DrawVerticesOp()
163 SkASSERT(!bones || boneCount == 1); in DrawVerticesOp()
178 worldTransform.setAffine(bones[0].values); in DrawVerticesOp()
582 const SkVertices::Bone bones[], in Make() argument
593 bones, boneCount, in Make()
DGrDrawVerticesOp.h31 const SkVertices::Bone bones[],
/external/skqp/src/core/
DSkDraw_vertices.cpp166 const SkPaint& paint, const SkVertices::Bone bones[], in drawVertices() argument
213 if (bones && boneCount) { in drawVertices()
224 SkPoint worldPoint = bones[0].mapPoint(vertices[i]); in drawVertices()
240 deformed[i] += bones[index].mapPoint(worldPoint) * weight; in drawVertices()
246 worldTransform.setAffine(bones[0].values); in drawVertices()
DSkVertices.cpp218 sk_sp<SkVertices> SkVertices::applyBones(const SkVertices::Bone bones[], int boneCount) const { in applyBones() argument
222 if (!bones || !boneCount) { in applyBones()
243 position = bones[0].mapPoint(position); in applyBones()
262 result += bones[index].mapPoint(position) * weight; in applyBones()
DSkLiteRecorder.cpp166 const SkVertices::Bone bones[], int boneCount, in onDrawVerticesObject() argument
168 fDL->drawVertices(vertices, bones, boneCount, mode, paint); in onDrawVerticesObject()
DSkOverdrawCanvas.cpp153 const SkVertices::Bone bones[], int boneCount, in onDrawVerticesObject() argument
156 bones, in onDrawVerticesObject()
/external/skia/src/core/
DSkDraw_vertices.cpp232 const SkPaint& paint, const SkVertices::Bone bones[], in drawVertices() argument
279 if (bones && boneCount) { in drawVertices()
290 SkPoint worldPoint = bones[0].mapPoint(vertices[i]); in drawVertices()
306 deformed[i] += bones[index].mapPoint(worldPoint) * weight; in drawVertices()
312 worldTransform.setAffine(bones[0].values); in drawVertices()
DSkVertices.cpp218 sk_sp<SkVertices> SkVertices::applyBones(const SkVertices::Bone bones[], int boneCount) const { in applyBones() argument
222 if (!bones || !boneCount) { in applyBones()
243 position = bones[0].mapPoint(position); in applyBones()
262 result += bones[index].mapPoint(position) * weight; in applyBones()
DSkOverdrawCanvas.cpp135 const SkVertices::Bone bones[], int boneCount, in onDrawVerticesObject() argument
138 bones, in onDrawVerticesObject()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/OGLES2/
DSkinnedVertShader.vsh2 If the current vertex is affected by bones then the vertex position and
9 weights which should always total 1. So if a vertex is affected by 2 bones
/external/python/cpython2/Demo/tkinter/matt/
DREADME6 are the ones to start with if you're looking for a bare-bones usage of
/external/skia/src/gpu/
DSkGpuDevice.h90 void drawVertices(const SkVertices*, const SkVertices::Bone bones[], int boneCount, SkBlendMode,
234 const SkVertices::Bone bones[], int boneCount, SkBlendMode,
/external/skqp/src/svg/
DSkSVGDevice.h39 void drawVertices(const SkVertices*, const SkVertices::Bone bones[], int boneCount, SkBlendMode,
/external/swiftshader/third_party/PowerVR_SDK/Examples/Advanced/ChameleonMan/
DChameleonMan.txt10 …f blend weights assigned to those matrices. The ChameleonMan model has 19 bones and an animation c…
/external/skia/src/svg/
DSkSVGDevice.h40 void drawVertices(const SkVertices*, const SkVertices::Bone bones[], int boneCount, SkBlendMode,
/external/skqp/include/core/
DSkOverdrawCanvas.h36 void onDrawVerticesObject(const SkVertices*, const SkVertices::Bone bones[], int boneCount,
/external/skqp/include/utils/
DSkLuaCanvas.h52 void onDrawVerticesObject(const SkVertices*, const SkVertices::Bone bones[], int boneCount,
/external/skia/include/utils/
DSkLuaCanvas.h55 void onDrawVerticesObject(const SkVertices*, const SkVertices::Bone bones[], int boneCount,

12345