Home
last modified time | relevance | path

Searched refs:SkV4 (Results 1 - 16 of 16) sorted by relevance

/third_party/skia/include/core/
H A DSkM44.h93 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 DM44Test.cpp91 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 DSkSLTest.cpp70 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 DSkArithmeticImageFilter.cpp65 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 DSkMagnifierImageFilter.cpp133 SkV4 boundsUniform = {static_cast<float>(bounds.x()), in make_magnifier_fp()
/third_party/skia/bench/
H A DMatrix44Bench.cpp119 SkV4 v = {1, 2, 3, 4};
125 SkV4 fV;
/third_party/skia/tools/viewer/
H A DSkSLSlide.h53 SkV4 fMousePos;
/third_party/skia/src/gpu/
H A DGrFragmentProcessor.cpp515 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 DSkM44.cpp131 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 DSkBlurMF.cpp866 SkV4 circleData = {circle.centerX(), circle.centerY(), solidRadius, 1.f / textureRadius}; in make_circle_blur()
/third_party/skia/gm/
H A Druntimeshader.cpp212 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 Dcrbug_224618.cpp66 SkV4 axisAngles[6] = {
/third_party/skia/tools/debugger/
H A DJsonWriteBuffer.cpp147 SkV4 v = matrix.row(r); in write()
/third_party/skia/src/gpu/effects/
H A DGrSkSLFP.h43 UNIFORM_TYPE(kFloat4, SkV4);
/third_party/skia/src/gpu/gradients/
H A DGrGradientShader.cpp328 "thresholds", SkMakeSpan((const SkV4*)thresholds, intervalChunks), in make_looping_colorizer()
/third_party/skia/src/shaders/
H A DSkImageShader.cpp847 SkV4 r = weights.row(row); in makeProgram()

Completed in 15 milliseconds