Home
last modified time | relevance | path

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

12345

/external/skia/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/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/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,
136 sk_sp<SkVertices> vertices, const SkVertices::Bone bones[], in DrawVerticesOp() argument
158 if (mesh.fVertices->hasBones() && bones) { in DrawVerticesOp()
160 mesh.fVertices = mesh.fVertices->applyBones(bones, boneCount); in DrawVerticesOp()
162 SkASSERT(!bones || boneCount == 1); in DrawVerticesOp()
177 worldTransform.setAffine(bones[0].values); in DrawVerticesOp()
574 const SkVertices::Bone bones[], in Make() argument
585 bones, boneCount, in Make()
DGrDrawVerticesOp.h31 const SkVertices::Bone bones[],
/external/skia/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.cpp169 const SkVertices::Bone bones[], int boneCount, in onDrawVerticesObject() argument
171 fDL->drawVertices(vertices, bones, boneCount, mode, paint); in onDrawVerticesObject()
DSkOverdrawCanvas.cpp157 const SkVertices::Bone bones[], int boneCount, in onDrawVerticesObject() argument
160 bones, in onDrawVerticesObject()
/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/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.h89 void drawVertices(const SkVertices*, const SkVertices::Bone bones[], int boneCount, SkBlendMode,
248 const SkVertices::Bone bones[], int boneCount, SkBlendMode,
/external/skia/src/svg/
DSkSVGDevice.h38 void drawVertices(const SkVertices*, 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/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,

12345