/third_party/skia/include/core/ |
H A D | SkM44.h | 93 struct SK_API SkV4 { struct 96 bool operator==(const SkV4& v) const { in operator ==() 99 bool operator!=(const SkV4& v) const { return !(*this == v); } in operator !=() 101 SkV4 operator-() const { return {-x, -y, -z, -w}; } in operator -() 102 SkV4 operator+(const SkV4& v) const { return { x + v.x, y + v.y, z + v.z, w + v.w }; } in operator +() 103 SkV4 operator-(const SkV4& v) const { return { x - v.x, y - v.y, z - v.z, w - v.w }; } in operator -() 105 SkV4 operator*(const SkV4 [all...] |
/third_party/skia/tests/ |
H A D | M44Test.cpp | 91 SkV4 d = m.map(4, 3, 2, 1); in DEF_TEST() 92 REPORTER_ASSERT(reporter, (d == SkV4{11, 8, 7, 1})); in DEF_TEST() 101 SkV4 r0 = m.row(0), in DEF_TEST() 106 REPORTER_ASSERT(reporter, (r0 == SkV4{ 1, 2, 3, 4})); in DEF_TEST() 107 REPORTER_ASSERT(reporter, (r1 == SkV4{ 5, 6, 7, 8})); in DEF_TEST() 108 REPORTER_ASSERT(reporter, (r2 == SkV4{ 9, 10, 11, 12})); in DEF_TEST() 109 REPORTER_ASSERT(reporter, (r3 == SkV4{13, 14, 15, 16})); in DEF_TEST() 113 SkV4 c0 = m.col(0), in DEF_TEST() 118 REPORTER_ASSERT(reporter, (c0 == SkV4{1, 5, 9, 13})); in DEF_TEST() 119 REPORTER_ASSERT(reporter, (c1 == SkV4{ in DEF_TEST() [all...] |
H A D | SkSLTest.cpp | 70 set_uniform(&builder, "colorBlack", SkV4{0, 0, 0, 1}); in test_one_permutation() 71 set_uniform(&builder, "colorRed", SkV4{1, 0, 0, 1}); in test_one_permutation() 72 set_uniform(&builder, "colorGreen", SkV4{0, 1, 0, 1}); in test_one_permutation() 73 set_uniform(&builder, "colorBlue", SkV4{0, 0, 1, 1}); in test_one_permutation() 74 set_uniform(&builder, "colorWhite", SkV4{1, 1, 1, 1}); in test_one_permutation() 75 set_uniform(&builder, "testInputs", SkV4{-1.25, 0, 0.75, 2.25}); in test_one_permutation()
|
/third_party/skia/src/effects/imagefilters/ |
H A D | SkArithmeticImageFilter.cpp | 65 SkV4 fK; 138 void arith_span(const SkV4& k, SkPMColor dst[], const SkPMColor src[], int count) { in arith_span() 157 template<bool EnforcePMColor> void arith_transparent(const SkV4& k, SkPMColor dst[], int count) { in arith_transparent() 310 const SkV4& k, in make_arithmetic_fp()
|
H A D | SkMagnifierImageFilter.cpp | 133 SkV4 boundsUniform = {static_cast<float>(bounds.x()), in make_magnifier_fp()
|
/third_party/skia/bench/ |
H A D | Matrix44Bench.cpp | 119 SkV4 v = {1, 2, 3, 4}; 125 SkV4 fV;
|
/third_party/skia/tools/viewer/ |
H A D | SkSLSlide.h | 53 SkV4 fMousePos;
|
/third_party/skia/src/gpu/ |
H A D | GrFragmentProcessor.cpp | 515 SkV4 v4 = {matrix[4], matrix[9], matrix[14], matrix[19]}; 715 SkV4 circle = {center.fX, center.fY, effectiveRadius, SkScalarInvert(effectiveRadius)}; 759 SkV4 circle = {center.fX, center.fY, effectiveRadius, SkScalarInvert(effectiveRadius)}; 854 SkV4 ellipse = {center.fX, center.fY, invRXSqd, invRYSqd};
|
/third_party/skia/src/core/ |
H A D | SkM44.cpp | 131 SkV4 SkM44::map(float x, float y, float z, float w) const { in map() 137 SkV4 v; in map() 346 static SkV4 v4(SkV3 v, SkScalar w) { return {v.x, v.y, v.z, w}; } in v4()
|
H A D | SkBlurMF.cpp | 866 SkV4 circleData = {circle.centerX(), circle.centerY(), solidRadius, 1.f / textureRadius}; in make_circle_blur()
|
/third_party/skia/gm/ |
H A D | runtimeshader.cpp | 212 builder.uniform("in_colors0") = SkV4{1, 0, 0, 1}; 213 builder.uniform("in_colors1") = SkV4{0, 1, 0, 1}; 536 builder.uniform("derivatives") = SkV4{d*dx, -c*dy, -b*dx, a*dy}; in drawSuperRRect()
|
H A D | crbug_224618.cpp | 66 SkV4 axisAngles[6] = {
|
/third_party/skia/tools/debugger/ |
H A D | JsonWriteBuffer.cpp | 147 SkV4 v = matrix.row(r); in write()
|
/third_party/skia/src/gpu/effects/ |
H A D | GrSkSLFP.h | 43 UNIFORM_TYPE(kFloat4, SkV4);
|
/third_party/skia/src/gpu/gradients/ |
H A D | GrGradientShader.cpp | 328 "thresholds", SkMakeSpan((const SkV4*)thresholds, intervalChunks), in make_looping_colorizer()
|
/third_party/skia/src/shaders/ |
H A D | SkImageShader.cpp | 847 SkV4 r = weights.row(row); in makeProgram()
|