Home
last modified time | relevance | path

Searched refs:fDirection (Results 1 – 25 of 27) sorted by relevance

12

/third_party/skia/src/effects/
DSkEmbossMaskFilter.cpp33 normalize3(newLight.fDirection, light.fDirection); in Make()
34 if (!SkScalarsAreFinite(newLight.fDirection, 3)) { in Make()
50 memcpy(light.fDirection, direction, sizeof(light.fDirection)); in MakeEmboss()
67 SkASSERT(SkScalarsAreFinite(fLight.fDirection, 3)); in SkEmbossMaskFilter()
110 matrix.mapVectors((SkVector*)(void*)light.fDirection, in filterMask()
111 (SkVector*)(void*)fLight.fDirection, 1); in filterMask()
115 SkVector* vec = (SkVector*)(void*)light.fDirection; in filterMask()
116 vec->setLength(light.fDirection[0], in filterMask()
117 light.fDirection[1], in filterMask()
118 SkPoint::Length(fLight.fDirection[0], fLight.fDirection[1])); in filterMask()
DSkEmbossMask.cpp53 SkFixed lx = SkScalarToFixed(light.fDirection[0]); in Emboss()
54 SkFixed ly = SkScalarToFixed(light.fDirection[1]); in Emboss()
55 SkFixed lz = SkScalarToFixed(light.fDirection[2]); in Emboss()
DSkEmbossMaskFilter.h20 SkScalar fDirection[3]; // x,y,z member
/third_party/skia/modules/sksg/include/
DSkSGRect.h52 uint8_t fDirection : 1; member
56 return static_cast<SkPathDirection>(fDirection); in getDirection()
58 void setDirection(SkPathDirection dir) { fDirection = SkTo<uint8_t>(dir); } in setDirection()
95 uint8_t fDirection : 1; member
99 return static_cast<SkPathDirection>(fDirection); in getDirection()
101 void setDirection(SkPathDirection dir) { fDirection = SkTo<uint8_t>(dir); } in setDirection()
/third_party/skia/src/gpu/effects/
DGrBicubicEffect.cpp43 if (bicubicEffect.fDirection == GrBicubicEffect::Direction::kXY) { in emitCode()
68 const char* d = bicubicEffect.fDirection == Direction::kX ? "x" : "y"; in emitCode()
77 if (bicubicEffect.fDirection == Direction::kX) { in emitCode()
204 , fDirection(direction) in GrBicubicEffect()
213 , fDirection(that.fDirection) in GrBicubicEffect()
217 uint32_t key = (static_cast<uint32_t>(fDirection) << 0) | (static_cast<uint32_t>(fClamp) << 2); in onAddToKey()
227 return fDirection == that.fDirection && in onIsEqual()
DGrGaussianConvolutionFragmentProcessor.cpp125 increment[static_cast<int>(conv.fDirection)] = 1; in onSetData()
206 , fDirection(direction) { in GrGaussianConvolutionFragmentProcessor()
217 , fDirection(that.fDirection) { in GrGaussianConvolutionFragmentProcessor()
236 return fRadius == that.fRadius && fDirection == that.fDirection && in onIsEqual()
DGrGaussianConvolutionFragmentProcessor.h67 Direction::kX == fDirection ? "X" : "Y", fRadius); in onDumpInfo()
86 Direction fDirection; variable
DGrBicubicEffect.h124 Direction fDirection; variable
/third_party/skia/samplecode/
DSampleEmboss.cpp28 fLight.fDirection[0] = SK_Scalar1; in EmbossView()
29 fLight.fDirection[1] = SK_Scalar1; in EmbossView()
30 fLight.fDirection[2] = SK_Scalar1; in EmbossView()
/third_party/skia/modules/skottie/src/effects/
DDirectionalBlur.cpp34 .bind( kDirection_Index, fDirection) in DirectionalBlurAdapter()
39 const auto rot = fDirection - 90; in onSync()
49 ScalarValue fDirection = 0; member in skottie::internal::__anon70bff3fa0111::DirectionalBlurAdapter
DDropShadowEffect.cpp39 .bind( kDirection_Index, adapter->fDirection) in Make()
60 const auto rad = SkDegreesToRadians(90 - fDirection); in onSync()
77 fDirection = 0, member in skottie::internal::__anon8b3b9d1f0111::DropShadowAdapter
DVenetianBlindsEffect.cpp47 .bind( kDirection_Index, fDirection ) in VenetianBlindsAdapter()
69 angle = SkDegreesToRadians(-fDirection), in onMakeMask()
151 fDirection = 0, member in skottie::internal::__anondff5d6fa0111::VenetianBlindsAdapter
/third_party/icu/icu4c/source/layoutex/layout/
DParagraphLayout.h333 const UBiDiDirection fDirection; variable
687 return fDirection; in getDirection()
726 …: UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), … in VisualRun()
732 …: UObject(), fFont(NULL), fDirection(UBIDI_LTR), fGlyphCount(0), fGlyphs(NULL), fPositions(NULL), … in VisualRun()
739 : fFont(font), fDirection(direction), fGlyphCount(glyphCount), in VisualRun()
/third_party/skia/src/pathops/
DSkPathOpsAsWinding.cpp34 Direction fDirection{Direction::kNone}; member
245 if (direction == contour.fDirection) { in nextEdge()
255 contour.fDirection = direction; in nextEdge()
316 if (parent && parent->fDirection == child->fDirection) { in markReverse()
318 child->fDirection = (Contour::Direction) -(int) child->fDirection; in markReverse()
/third_party/skia/tools/viewer/
DTouchGesture.cpp52 fDirection.set(sx, sy); in reset()
53 fSpeed0 = SkPoint::Normalize(&fDirection); in reset()
57 unit_axis_align(&fDirection); in reset()
78 float tx = fDirection.fX * dist; in evaluateMatrix()
79 float ty = fDirection.fY * dist; in evaluateMatrix()
DTouchGesture.h69 *dir = fDirection; in get()
74 SkPoint fDirection;
/third_party/skia/src/effects/imagefilters/
DSkMorphologyImageFilter.cpp202 MorphDirection fDirection; member in GrMorphologyEffect
244 char dir = me.fDirection == MorphDirection::kX ? 'x' : 'y'; in onMakeProgramImpl()
292 key |= (static_cast<uint32_t>(fDirection) << 9); in onAddToKey()
307 , fDirection(direction) in GrMorphologyEffect()
323 , fDirection(that.fDirection) in GrMorphologyEffect()
336 this->fDirection == s.fDirection && in onIsEqual()
DSkLightingImageFilter.cpp862 : INHERITED(color), fDirection(direction) { in SkDistantLight()
866 return fDirection; in surfaceToLight()
870 const SkPoint3& direction() const { return fDirection; } in direction()
887 fDirection == o.fDirection; in isEqual()
891 fDirection = read_point3(buffer); in SkDistantLight()
896 : INHERITED(color), fDirection(direction) { in SkDistantLight()
902 write_point3(fDirection, buffer); in onFlattenLight()
906 SkPoint3 fDirection; member in __anonabc3e6450411::SkDistantLight
/third_party/skia/modules/skottie/src/
DSkottieProperty.cpp29 && fDirection == other.fDirection in operator ==()
/third_party/skia/modules/skottie/src/text/
DSkottieShaper.h117 Direction fDirection; member
DSkottieShaper.cpp243 const auto shape_ltr = fDesc.fDirection == Shaper::Direction::kLTR; in shapeLine()
/third_party/skia/src/utils/
DSkShadowTessellator.cpp118 SkScalar fDirection; member in SkBaseShadowTessellator
169 , fDirection(1)
243 fDirection = fArea > 0 ? -1 : 1; in finishPathPolygon()
305 if (!compute_normal(fPathPolygon[polyCount - 1], fPathPolygon[0], fDirection, &fFirstOutset)) { in computeConvexShadow()
338 if (!compute_normal(fPrevPoint, fPathPolygon[i], fDirection, &normal)) { in computeConvexShadow()
/third_party/skia/modules/skottie/include/
DSkottieProperty.h53 Shaper::Direction fDirection = Shaper::Direction::kLTR; member
/third_party/skia/src/gpu/geometry/
DGrTriangulator.h495 Comparator(Direction direction) : fDirection(direction) {} in Comparator()
497 Direction fDirection; member
DGrTriangulator.cpp80 return fDirection == Direction::kHorizontal ? sweep_lt_horiz(a, b) : sweep_lt_vert(a, b); in sweep_lt()
1022 if (c.fDirection == Comparator::Direction::kHorizontal) { in clamp()
1196 if (c.fDirection == Comparator::Direction::kHorizontal) { in SortedMerge()
1491 if (c.fDirection == Comparator::Direction::kHorizontal) { in SortMesh()

12