/third_party/ltp/testcases/realtime/func/matrix_mult/ |
D | matrix_mult.c | 50 struct matrices { struct 97 static void matrix_mult(struct matrices *matrices) in matrix_mult() argument 101 matrix_init(matrices->A, matrices->B); in matrix_mult() 105 double sum = matrices->A[i_m][j] * matrices->B[j][i]; in matrix_mult() 107 sum += matrices->A[i_m][k] * matrices->B[k][j]; in matrix_mult() 108 matrices->C[i][j] = sum; in matrix_mult() 113 static void matrix_mult_record(struct matrices *matrices, int index) in matrix_mult_record() argument 120 matrix_mult(matrices); in matrix_mult_record() 152 struct matrices *matrices = (struct matrices *) t->arg; in concurrent_thread() local 167 matrix_mult_record(matrices, index++); in concurrent_thread() [all …]
|
/third_party/flutter/skia/gm/ |
D | drawimageset.cpp | 117 SkMatrix matrices[4]; in onDraw() local 119 matrices[0].setRotate(30); in onDraw() 120 matrices[0].postTranslate(d / 3, 0); in onDraw() 128 SkAssertResult(matrices[1].setPolyToPoly(src, dst, 4)); in onDraw() 129 matrices[1].postTranslate(d, 50.f); in onDraw() 131 matrices[2].setRotate(-60.f); in onDraw() 132 matrices[2].postSkew(0.5f, -1.15f); in onDraw() 133 matrices[2].postScale(0.6f, 1.05f); in onDraw() 134 matrices[2].postTranslate(d, 2.6f * d); in onDraw() 140 SkAssertResult(matrices[3].setPolyToPoly(src, dst, 4)); in onDraw() [all …]
|
D | perspimages.cpp | 47 SkTDArray<SkMatrix> matrices; in onDraw() local 48 matrices.push()->setAll(1.f, 0.f, 0.f, in onDraw() 51 matrices.push()->setAll(1.f, 0.f, 0.f, in onDraw() 54 matrices[1].preSkew(0.2f, -0.1f); in onDraw() 55 matrices[1].preRotate(-65.f); in onDraw() 56 matrices[1].preScale(1.2f, .8f); in onDraw() 57 matrices[1].postTranslate(0.f, 60.f); in onDraw() 63 for (const auto& m : matrices) { in onDraw() 78 for (const auto& m : matrices) { in onDraw()
|
/third_party/skia/gm/ |
D | drawimageset.cpp | 117 SkMatrix matrices[4]; in onDraw() local 119 matrices[0].setRotate(30); in onDraw() 120 matrices[0].postTranslate(d / 3, 0); in onDraw() 128 SkAssertResult(matrices[1].setPolyToPoly(src, dst, 4)); in onDraw() 129 matrices[1].postTranslate(d, 50.f); in onDraw() 131 matrices[2].setRotate(-60.f); in onDraw() 132 matrices[2].postSkew(0.5f, -1.15f); in onDraw() 133 matrices[2].postScale(0.6f, 1.05f); in onDraw() 134 matrices[2].postTranslate(d, 2.6f * d); in onDraw() 140 SkAssertResult(matrices[3].setPolyToPoly(src, dst, 4)); in onDraw() [all …]
|
D | perspimages.cpp | 46 SkTDArray<SkMatrix> matrices; in onDraw() local 47 matrices.push()->setAll(1.f, 0.f, 0.f, in onDraw() 50 matrices.push()->setAll(1.f, 0.f, 0.f, in onDraw() 53 matrices[1].preSkew(0.2f, -0.1f); in onDraw() 54 matrices[1].preRotate(-65.f); in onDraw() 55 matrices[1].preScale(1.2f, .8f); in onDraw() 56 matrices[1].postTranslate(0.f, 60.f); in onDraw() 62 for (const auto& m : matrices) { in onDraw() 77 for (const auto& m : matrices) { in onDraw()
|
D | circulararcs.cpp | 279 SkTArray<SkMatrix> matrices; variable 280 matrices.push_back().setRotate(kRadius, kRadius, 45.f); 281 matrices.push_back(SkMatrix::I()); 282 matrices.push_back().setAll(-1, 0, 2*kRadius, 285 matrices.push_back().setAll( 1, 0, 0, 288 matrices.push_back().setAll( 1, 0, 0, 291 matrices.push_back().setAll( 0, -1, 2*kRadius, 294 matrices.push_back().setAll( 0, -1, 2*kRadius, 297 matrices.push_back().setAll( 0, 1, 0, 300 matrices.push_back().setAll( 0, 1, 0, [all …]
|
D | blurrect.cpp | 516 std::vector<SkMatrix> matrices; local 518 matrices.push_back(SkMatrix::RotateDeg(4.f, c)); 520 matrices.push_back(SkMatrix::RotateDeg(63.f, c)); 522 matrices.push_back(SkMatrix::RotateDeg(30.f, c)); 523 matrices.back().preScale(1.1f, .5f); 525 matrices.push_back(SkMatrix::RotateDeg(147.f, c)); 526 matrices.back().preScale(3.f, .1f); 532 matrices.push_back(SkMatrix::Concat(mirror, matrices.back())); 534 matrices.push_back(SkMatrix::RotateDeg(197.f, c)); 535 matrices.back().preSkew(.3f, -.5f); [all …]
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkPipelineStateDataManager.h | 48 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; 49 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; 50 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; 73 const float matrices[]) const;
|
/third_party/skia/src/gpu/gl/ |
D | GrGLProgramDataManager.h | 72 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; 73 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; 74 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; 90 const float matrices[]) const;
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlPipelineStateDataManager.h | 48 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; 49 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; 50 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; 72 const float matrices[]) const;
|
/third_party/skia/src/gpu/ |
D | GrUniformDataManager.h | 47 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; 48 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; 49 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; 70 inline void setMatrices(UniformHandle, int arrayCount, const float matrices[]) const;
|
/third_party/flutter/skia/src/gpu/dawn/ |
D | GrDawnProgramDataManager.h | 50 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; 51 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; 52 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; 73 const float matrices[]) const;
|
/third_party/boost/libs/compute/example/ |
D | batched_determinant.cpp | 47 std::vector<Eigen::Matrix4f> matrices(n); in main() local 49 matrices[i] = Eigen::Matrix4f::Random(); in main() 56 matrices.begin(), matrices.end(), input.begin(), queue in main() 85 float det = matrices[i].determinant(); in main()
|
/third_party/skia/third_party/externals/opengl-registry/extensions/OES/ |
D | OES_matrix_palette.txt | 40 This extension allow OpenGL ES to support a palette of matrices. The matrix 41 palette defines a set of matrices that can be used to transform a vertex. 45 The n vertex units use a palette of m modelview matrices (where n and m are 51 vertex by the modelview matrices specified by the vertices' 101 No, the MODELVIEW_MATRIXn matrices are unused when 105 Should there be a way to specify that the modelview matrices 170 matrix indices used to blend corresponding matrices for a given vertex. 194 matrix palette, the matrices specified by the indices per vertex 228 "The projection matrix and model-view matrices are set 243 defines which of the palette's matrices is affected by [all …]
|
/third_party/openGLES/extensions/OES/ |
D | OES_matrix_palette.txt | 50 This extension allow OpenGL ES to support a palette of matrices. The matrix 51 palette defines a set of matrices that can be used to transform a vertex. 55 The n vertex units use a palette of m modelview matrices (where n and m are 61 vertex by the modelview matrices specified by the vertices' 111 No, the MODELVIEW_MATRIXn matrices are unused when 115 Should there be a way to specify that the modelview matrices 180 matrix indices used to blend corresponding matrices for a given vertex. 204 matrix palette, the matrices specified by the indices per vertex 238 "The projection matrix and model-view matrices are set 253 defines which of the palette's matrices is affected by [all …]
|
/third_party/flutter/skia/src/gpu/gl/ |
D | GrGLProgramDataManager.h | 74 void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const override; 75 void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const override; 76 void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const override; 107 const float matrices[]) const;
|
/third_party/flutter/skia/tests/ |
D | GrCCPRTest.cpp | 368 void drawPathsAndFlush(CCPRPathDrawer& ccpr, const SkMatrix* matrices, int numMatrices) { in drawPathsAndFlush() argument 371 ccpr.drawPath(fPaths[i], matrices[i % numMatrices]); in drawPathsAndFlush() 383 ccpr.drawPath(fPaths[idx], matrices[idx % numMatrices]); in drawPathsAndFlush() 503 SkMatrix matrices[3] = { in onRun() local 510 this->drawPathsAndFlush(ccpr, matrices, 3); in onRun() 526 this->drawPathsAndFlush(ccpr, matrices, 2); in onRun() 532 this->drawPathsAndFlush(ccpr, matrices, 2); in onRun() 537 this->drawPathsAndFlush(ccpr, matrices, 2); in onRun() 543 matrices[1].postTranslate(SkScalarFloorToInt(kCanvasSize * -.25f), in onRun() 546 this->drawPathsAndFlush(ccpr, matrices, 2); in onRun() [all …]
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLProgramDataManager.h | 52 virtual void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const = 0; 53 virtual void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const = 0; 54 virtual void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
|
/third_party/flutter/skia/src/gpu/glsl/ |
D | GrGLSLProgramDataManager.h | 52 virtual void setMatrix2fv(UniformHandle, int arrayCount, const float matrices[]) const = 0; 53 virtual void setMatrix3fv(UniformHandle, int arrayCount, const float matrices[]) const = 0; 54 virtual void setMatrix4fv(UniformHandle, int arrayCount, const float matrices[]) const = 0;
|
/third_party/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | EXT_vertex_weighting.txt | 45 geometry based on two slightly differing modelview matrices. 51 transformed by both the primary and secondary modelview matrices; 53 inverses of both the primary and secondary modelview matrices. 64 weights and modelview matrices? 67 matrices. If more than two is useful, that can be handled with 77 Should the weights and modelview matrices be labeled 1 & 2 or 0 & 1? 86 LoadMatrix, MultMatrix, etc. the two modelview matrices together? 89 calls to keep the matrices in sync if desired. 99 modelview matrices. 109 What is the "correct" way to blend matrices, particularly when wo is [all …]
|
/third_party/openGLES/extensions/EXT/ |
D | EXT_vertex_weighting.txt | 45 geometry based on two slightly differing modelview matrices. 51 transformed by both the primary and secondary modelview matrices; 53 inverses of both the primary and secondary modelview matrices. 64 weights and modelview matrices? 67 matrices. If more than two is useful, that can be handled with 77 Should the weights and modelview matrices be labeled 1 & 2 or 0 & 1? 86 LoadMatrix, MultMatrix, etc. the two modelview matrices together? 89 calls to keep the matrices in sync if desired. 99 modelview matrices. 109 What is the "correct" way to blend matrices, particularly when wo is [all …]
|
/third_party/flutter/skia/platform_tools/android/apps/skar_java/src/main/java/com/google/skar/examples/helloskar/rendering/ |
D | DrawManager.java | 174 float[][] matrices = { scaleMatrix, rotateMatrix, modelMatrices.get(0), viewMatrix, in drawText() local 181 CanvasMatrixUtil.multiplyMatrices4x4(matrices))); in drawText() 209 float[][] matrices = {scale, initRot, modelTranslate, viewMatrix, projectionMatrix, in drawFingerPainting() local 212 CanvasMatrixUtil.createMatrixFrom4x4(CanvasMatrixUtil.multiplyMatrices4x4(matrices)); in drawFingerPainting() 260 float[][] matrices = {viewMatrix, projectionMatrix, in drawPointCloud() local 262 float[] vpv = CanvasMatrixUtil.multiplyMatrices4x4(matrices); in drawPointCloud() 310 float[][] matrices = {initRot, model, viewMatrix, projectionMatrix, in drawPlanes() local 314 CanvasMatrixUtil.multiplyMatrices4x4(matrices)); in drawPlanes()
|
/third_party/flutter/skia/samplecode/ |
D | SampleShadowUtils.cpp | 173 SkTDArray<SkMatrix> matrices; in onDrawContent() local 174 matrices.push()->reset(); in onDrawContent() 175 SkMatrix* m = matrices.push(); in onDrawContent() 184 for (auto& m : matrices) { in onDrawContent() 218 for (auto& m : matrices) { in onDrawContent()
|
/third_party/skia/samplecode/ |
D | SampleShadowUtils.cpp | 172 SkTDArray<SkMatrix> matrices; in onDrawContent() local 173 matrices.push()->reset(); in onDrawContent() 174 matrices.push()->setRotate(33.f, 25.f, 25.f).postScale(1.2f, 0.8f, 25.f, 25.f); in onDrawContent() 181 for (auto& m : matrices) { in onDrawContent() 215 for (auto& m : matrices) { in onDrawContent()
|
/third_party/skia/third_party/externals/spirv-cross/shaders/vulkan/comp/ |
D | ray-query.nocompat.spv14.vk.comp | 31 mat4x3 matrices; 56 matrices = rayQueryGetIntersectionObjectToWorldEXT(q, false); 57 matrices = rayQueryGetIntersectionWorldToObjectEXT(q2[1], true);
|