Home
last modified time | relevance | path

Searched refs:SkAlpha (Results 1 – 25 of 92) sorted by relevance

1234

/external/skqp/src/core/
DSkBlitter.h57 virtual void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) = 0;
60 virtual void blitV(int x, int y, int height, SkAlpha alpha);
71 SkAlpha leftAlpha, SkAlpha rightAlpha);
173 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
174 void blitV(int x, int y, int height, SkAlpha alpha) override;
194 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
195 void blitV(int x, int y, int height, SkAlpha alpha) override;
198 SkAlpha leftAlpha, SkAlpha rightAlpha) override;
228 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
229 void blitV(int x, int y, int height, SkAlpha alpha) override;
[all …]
DSkScan_AAAPath.cpp97 static inline void addAlpha(SkAlpha* alpha, SkAlpha delta) { in addAlpha()
102 static inline void safelyAddAlpha(SkAlpha* alpha, SkAlpha delta) { in safelyAddAlpha()
112 virtual void blitAntiH(int x, int y, const SkAlpha antialias[], int len) = 0;
113 virtual void blitAntiH(int x, int y, const SkAlpha alpha) = 0;
114 virtual void blitAntiH(int x, int y, int width, const SkAlpha alpha) = 0;
116 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override { in blitAntiH()
120 void blitV(int x, int y, int height, SkAlpha alpha) override { in blitV()
133 SkAlpha leftAlpha, SkAlpha rightAlpha) override { in blitAntiRect()
161 void blitAntiH(int x, int y, const SkAlpha antialias[], int len) override;
165 void blitAntiH(int x, int y, const SkAlpha alpha) override;
[all …]
DSkCoverageDelta.h34 SkAlpha fLeftAlpha;
35 SkAlpha fRightAlpha;
79 SkAlpha leftAlpha, SkAlpha rightAlpha) { in setAntiRect()
121 static constexpr int MAX_SIZE = MAX_MASK_SIZE * (sizeof(SkFixed) + sizeof(SkAlpha));
132 SkAlpha* getMask() { return fMask; } in getMask()
143 SkAlpha leftAlpha, SkAlpha rightAlpha) { in setAntiRect()
162 SkAlpha* fMask;
174 static SK_ALWAYS_INLINE SkAlpha CoverageToAlpha(SkFixed coverage, bool isEvenOdd, bool isInverse) { in CoverageToAlpha()
175 SkAlpha result; in CoverageToAlpha()
234 static SK_ALWAYS_INLINE SkAlpha ConvexCoverageToAlpha(SkFixed coverage, bool isInverse) { in ConvexCoverageToAlpha()
DSkBlitter.cpp47 inline static SkAlpha ScalarToAlpha(SkScalar a) { in ScalarToAlpha()
48 SkAlpha alpha = (SkAlpha)(a * 255); in ScalarToAlpha()
68 void* storage = this->allocBlitMemory(runSize * (sizeof(int16_t) + sizeof(SkAlpha))); in blitFatAntiRect()
70 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitFatAntiRect()
107 void* storage = this->allocBlitMemory(runSize * (sizeof(int16_t) + sizeof(SkAlpha))); in blitCoverageDeltas()
109 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitCoverageDeltas()
132 SkAlpha leftAlpha = antiRect.fLeftAlpha; in blitCoverageDeltas()
133 SkAlpha rightAlpha = antiRect.fRightAlpha; in blitCoverageDeltas()
198 SkAlpha alpha = isConvex ? ConvexCoverageToAlpha(coverage, isInverse) in blitCoverageDeltas()
208 SkAlpha alpha = isConvex ? ConvexCoverageToAlpha(coverage, isInverse) in blitCoverageDeltas()
[all …]
DSkCoreBlitters.h59 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override;
60 void blitV(int x, int y, int height, SkAlpha alpha) override;
75 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override;
76 void blitV(int x, int y, int height, SkAlpha alpha) override;
112 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override;
126 void blitV(int x, int y, int height, SkAlpha alpha) override;
128 void blitAntiH(int x, int y, const SkAlpha[], const int16_t[]) override;
153 void blitAntiH(int x, int y, const SkAlpha[], const int16_t[]) override;
DSkCoverageDelta.cpp76 fMask = alloc->makeArrayDefault<SkAlpha>(size); in SkCoverageDeltaMask()
88 SkAlpha* maskRow = fMask; in convertCoverageToAlpha()
96 SkAlpha* tMask = maskRow + L; in convertCoverageToAlpha()
129 SkNx_cast<SkAlpha>(an).store(maskRow + ix); in convertCoverageToAlpha()
DSkAAClip.h113 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
114 void blitV(int x, int y, int height, SkAlpha alpha) override;
126 SkAlpha* fAA;
/external/skia/src/core/
DSkBlitter.h57 virtual void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) = 0;
60 virtual void blitV(int x, int y, int height, SkAlpha alpha);
71 SkAlpha leftAlpha, SkAlpha rightAlpha);
173 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
174 void blitV(int x, int y, int height, SkAlpha alpha) override;
194 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
195 void blitV(int x, int y, int height, SkAlpha alpha) override;
198 SkAlpha leftAlpha, SkAlpha rightAlpha) override;
228 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
229 void blitV(int x, int y, int height, SkAlpha alpha) override;
[all …]
DSkScan_AAAPath.cpp97 static inline void addAlpha(SkAlpha* alpha, SkAlpha delta) { in addAlpha()
102 static inline void safelyAddAlpha(SkAlpha* alpha, SkAlpha delta) { in safelyAddAlpha()
112 virtual void blitAntiH(int x, int y, const SkAlpha antialias[], int len) = 0;
113 virtual void blitAntiH(int x, int y, const SkAlpha alpha) = 0;
114 virtual void blitAntiH(int x, int y, int width, const SkAlpha alpha) = 0;
116 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override { in blitAntiH()
120 void blitV(int x, int y, int height, SkAlpha alpha) override { in blitV()
133 SkAlpha leftAlpha, SkAlpha rightAlpha) override { in blitAntiRect()
161 void blitAntiH(int x, int y, const SkAlpha antialias[], int len) override;
165 void blitAntiH(int x, int y, const SkAlpha alpha) override;
[all …]
DSkCoverageDelta.h34 SkAlpha fLeftAlpha;
35 SkAlpha fRightAlpha;
79 SkAlpha leftAlpha, SkAlpha rightAlpha) { in setAntiRect()
121 static constexpr int MAX_SIZE = MAX_MASK_SIZE * (sizeof(SkFixed) + sizeof(SkAlpha));
132 SkAlpha* getMask() { return fMask; } in getMask()
143 SkAlpha leftAlpha, SkAlpha rightAlpha) { in setAntiRect()
162 SkAlpha* fMask;
174 static SK_ALWAYS_INLINE SkAlpha CoverageToAlpha(SkFixed coverage, bool isEvenOdd, bool isInverse) { in CoverageToAlpha()
175 SkAlpha result; in CoverageToAlpha()
234 static SK_ALWAYS_INLINE SkAlpha ConvexCoverageToAlpha(SkFixed coverage, bool isInverse) { in ConvexCoverageToAlpha()
DSkBlitter.cpp48 inline static SkAlpha ScalarToAlpha(SkScalar a) { in ScalarToAlpha()
49 SkAlpha alpha = (SkAlpha)(a * 255); in ScalarToAlpha()
69 void* storage = this->allocBlitMemory(runSize * (sizeof(int16_t) + sizeof(SkAlpha))); in blitFatAntiRect()
71 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitFatAntiRect()
108 void* storage = this->allocBlitMemory(runSize * (sizeof(int16_t) + sizeof(SkAlpha))); in blitCoverageDeltas()
110 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitCoverageDeltas()
133 SkAlpha leftAlpha = antiRect.fLeftAlpha; in blitCoverageDeltas()
134 SkAlpha rightAlpha = antiRect.fRightAlpha; in blitCoverageDeltas()
199 SkAlpha alpha = isConvex ? ConvexCoverageToAlpha(coverage, isInverse) in blitCoverageDeltas()
209 SkAlpha alpha = isConvex ? ConvexCoverageToAlpha(coverage, isInverse) in blitCoverageDeltas()
[all …]
DSkCoreBlitters.h59 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override;
60 void blitV(int x, int y, int height, SkAlpha alpha) override;
75 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override;
76 void blitV(int x, int y, int height, SkAlpha alpha) override;
112 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override;
126 void blitV(int x, int y, int height, SkAlpha alpha) override;
128 void blitAntiH(int x, int y, const SkAlpha[], const int16_t[]) override;
153 void blitAntiH(int x, int y, const SkAlpha[], const int16_t[]) override;
DSkCoverageDelta.cpp76 fMask = alloc->makeArrayDefault<SkAlpha>(size); in SkCoverageDeltaMask()
88 SkAlpha* maskRow = fMask; in convertCoverageToAlpha()
96 SkAlpha* tMask = maskRow + L; in convertCoverageToAlpha()
129 SkNx_cast<SkAlpha>(an).store(maskRow + ix); in convertCoverageToAlpha()
DSkAAClip.h113 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
114 void blitV(int x, int y, int height, SkAlpha alpha) override;
126 SkAlpha* fAA;
/external/skqp/src/opts/
DSk4px_SSE2.h43 inline Sk4px Sk4px::Load4Alphas(const SkAlpha a[4]) { in Load4Alphas()
59 inline Sk4px Sk4px::Load4Alphas(const SkAlpha a[4]) { in Load4Alphas()
68 inline Sk4px Sk4px::Load2Alphas(const SkAlpha a[2]) { in Load2Alphas()
73 return Load4Alphas((const SkAlpha*)&alphas_and_two_zeros); in Load2Alphas()
DSkBlitMask_opts.h109 const SkAlpha* mask, size_t maskRB, in blit_mask_d32_a8_general()
116 const SkAlpha* mask, size_t maskRB, in blit_mask_d32_a8_opaque()
123 const SkAlpha* maskPtr, size_t maskRB, in blit_mask_d32_a8_black()
159 const SkAlpha* mask, size_t maskRB,
178 const SkAlpha* mask, size_t maskRB,
198 const SkAlpha* mask, size_t maskRB,
218 const SkAlpha* mask, size_t maskRB, in blit_mask_d32_a8()
/external/skia/src/opts/
DSk4px_SSE2.h43 inline Sk4px Sk4px::Load4Alphas(const SkAlpha a[4]) { in Load4Alphas()
59 inline Sk4px Sk4px::Load4Alphas(const SkAlpha a[4]) { in Load4Alphas()
68 inline Sk4px Sk4px::Load2Alphas(const SkAlpha a[2]) { in Load2Alphas()
73 return Load4Alphas((const SkAlpha*)&alphas_and_two_zeros); in Load2Alphas()
DSkBlitMask_opts.h109 const SkAlpha* mask, size_t maskRB, in blit_mask_d32_a8_general()
116 const SkAlpha* mask, size_t maskRB, in blit_mask_d32_a8_opaque()
123 const SkAlpha* maskPtr, size_t maskRB, in blit_mask_d32_a8_black()
159 const SkAlpha* mask, size_t maskRB,
178 const SkAlpha* mask, size_t maskRB,
198 const SkAlpha* mask, size_t maskRB,
218 const SkAlpha* mask, size_t maskRB, in blit_mask_d32_a8()
/external/skia/samplecode/
DSampleHairModes.cpp34 static SkScalar drawCell(SkCanvas* canvas, SkBlendMode mode, SkAlpha a0, SkAlpha a1) { in drawCell()
89 static const SkAlpha gAlphaValue[] = { 0xFF, 0x88, 0x88 }; in onDrawContent()
DSampleAARectModes.cpp34 static SkScalar drawCell(SkCanvas* canvas, SkBlendMode mode, SkAlpha a0, SkAlpha a1) { in drawCell()
92 static const SkAlpha gAlphaValue[] = { 0xFF, 0x88, 0x88 }; in onDrawContent()
/external/skqp/samplecode/
DSampleHairModes.cpp34 static SkScalar drawCell(SkCanvas* canvas, SkBlendMode mode, SkAlpha a0, SkAlpha a1) { in drawCell()
89 static const SkAlpha gAlphaValue[] = { 0xFF, 0x88, 0x88 }; in onDrawContent()
DSampleAARectModes.cpp34 static SkScalar drawCell(SkCanvas* canvas, SkBlendMode mode, SkAlpha a0, SkAlpha a1) { in drawCell()
92 static const SkAlpha gAlphaValue[] = { 0xFF, 0x88, 0x88 }; in onDrawContent()
/external/skqp/gm/
Dhairmodes.cpp33 static SkScalar drawCell(SkCanvas* canvas, SkBlendMode mode, SkAlpha a0, SkAlpha a1) { in drawCell()
88 constexpr SkAlpha gAlphaValue[] = { 0xFF, 0x88, 0x88 }; in onDraw()
/external/skia/gm/
Dhairmodes.cpp33 static SkScalar drawCell(SkCanvas* canvas, SkBlendMode mode, SkAlpha a0, SkAlpha a1) { in drawCell()
88 constexpr SkAlpha gAlphaValue[] = { 0xFF, 0x88, 0x88 }; in onDraw()
/external/skqp/src/xps/
DSkXPSDevice.h170 const SkColor skColor, const SkAlpha alpha,
177 const SkAlpha alpha,
182 const SkAlpha alpha,
189 const SkAlpha alpha,

1234