Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkBlitter.h51 virtual void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) = 0;
54 virtual void blitV(int x, int y, int height, SkAlpha alpha);
65 SkAlpha leftAlpha, SkAlpha rightAlpha);
171 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
172 void blitV(int x, int y, int height, SkAlpha alpha) override;
192 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
193 void blitV(int x, int y, int height, SkAlpha alpha) override;
196 SkAlpha leftAlpha, SkAlpha rightAlpha) override;
226 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
227 void blitV(int x, int y, int height, SkAlpha alpha) override;
[all …]
DSkScan_AAAPath.cpp92 static void add_alpha(SkAlpha* alpha, SkAlpha delta) { in add_alpha()
97 static void safely_add_alpha(SkAlpha* alpha, SkAlpha delta) { in safely_add_alpha()
107 virtual void blitAntiH(int x, int y, const SkAlpha antialias[], int len) = 0;
108 virtual void blitAntiH(int x, int y, const SkAlpha alpha) = 0;
109 virtual void blitAntiH(int x, int y, int width, const SkAlpha alpha) = 0;
111 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override { in blitAntiH()
115 void blitV(int x, int y, int height, SkAlpha alpha) override { in blitV()
127 void blitAntiRect(int x, int y, int width, int height, SkAlpha leftAlpha, SkAlpha rightAlpha) in blitAntiRect()
156 void blitAntiH(int x, int y, const SkAlpha antialias[], int len) override;
160 void blitAntiH(int x, int y, const SkAlpha alpha) override;
[all …]
DSkBlitter.cpp56 inline static SkAlpha ScalarToAlpha(SkScalar a) { in ScalarToAlpha()
57 SkAlpha alpha = (SkAlpha)(a * 255); in ScalarToAlpha()
77 void* storage = this->allocBlitMemory(runSize * (sizeof(int16_t) + sizeof(SkAlpha))); in blitFatAntiRect()
79 SkAlpha* alphas = reinterpret_cast<SkAlpha*>(runs + runSize); in blitFatAntiRect()
113 void SkBlitter::blitV(int x, int y, int height, SkAlpha alpha) { in blitV()
138 SkAlpha leftAlpha, SkAlpha rightAlpha) { in blitAntiRect()
314 void SkNullBlitter::blitAntiH(int x, int y, const SkAlpha antialias[], in blitAntiH()
317 void SkNullBlitter::blitV(int x, int y, int height, SkAlpha alpha) {} in blitV()
377 void SkRectClipBlitter::blitAntiH(int left, int y, const SkAlpha aa[], in blitAntiH()
412 void SkRectClipBlitter::blitV(int x, int y, int height, SkAlpha alpha) { in blitV()
[all …]
DSkCoreBlitters.h61 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override;
62 void blitV(int x, int y, int height, SkAlpha alpha) override;
77 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override;
78 void blitV(int x, int y, int height, SkAlpha alpha) override;
114 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override;
128 void blitV(int x, int y, int height, SkAlpha alpha) override;
130 void blitAntiH(int x, int y, const SkAlpha[], const int16_t[]) override;
DSkAAClip.h99 void blitAntiH(int x, int y, const SkAlpha[], const int16_t runs[]) override;
100 void blitV(int x, int y, int height, SkAlpha alpha) override;
112 SkAlpha* fAA;
DSkSpriteBlitter.h28 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override;
29 void blitV(int x, int y, int height, SkAlpha alpha) override;
DSk4px.h54 static Sk4px Load4Alphas(const SkAlpha alphas[4]) { in Load4Alphas()
59 static Sk4px Load2Alphas(const SkAlpha alphas[2]) { in Load2Alphas()
179 [[maybe_unused]] static void MapDstAlpha(int n, SkPMColor* dst, const SkAlpha* a, in MapDstAlpha()
211 const SkAlpha* a, const Fn& fn) { in MapDstSrcAlpha()
DSkBlitter_A8.cpp20 void SkA8_Coverage_Blitter::blitAntiH(int x, int y, const SkAlpha antialias[], in blitAntiH()
47 void SkA8_Coverage_Blitter::blitV(int x, int y, int height, SkAlpha alpha) { in blitV()
DSkAAClip.cpp338 SkAlpha leftAlpha, SkAlpha rightAlpha) { in addAntiRectRun()
718 void blitV(int x, int y, int height, SkAlpha alpha) override { in blitV()
722 const SkAlpha alphas[2] = {alpha, 0}; in blitV()
740 SkAlpha leftAlpha, SkAlpha rightAlpha) override { in blitAntiRect()
760 void blitAntiH(int x, int y, const SkAlpha alpha[], const int16_t runs[]) override { in blitAntiH()
1618 int16_t* SK_RESTRICT runs, SkAlpha* SK_RESTRICT aa) { in expandToRuns()
1656 fAA = (SkAlpha*)(fRuns + count); in ensureRunsAndAA()
1670 SkAlpha alpha = row[1]; in blitH()
1687 const SkAlpha* SK_RESTRICT srcAA, in merge()
1689 SkAlpha* SK_RESTRICT dstAA, in merge()
[all …]
DSkBitmapProcState.h53 SkAlpha fPaintAlpha;
100 bool init(const SkMatrix& inverse, SkAlpha, const SkSamplingOptions&);
DSkXfermodePriv.h24 const SkAlpha aa[]) const = 0;
DSkBlitter_Sprite.cpp40 void SkSpriteBlitter::blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) { in blitAntiH()
46 void SkSpriteBlitter::blitV(int x, int y, int height, SkAlpha alpha) { in blitV()
DSkRasterPipelineBlitter.cpp46 void blitAntiH (int x, int y, const SkAlpha[], const int16_t[]) override;
51 void blitV (int x, int y, int height, SkAlpha alpha) override;
394 void SkRasterPipelineBlitter::blitAntiH(int x, int y, const SkAlpha aa[], const int16_t runs[]) { in blitAntiH()
457 void SkRasterPipelineBlitter::blitV(int x, int y, int height, SkAlpha alpha) { in blitV()
DSkOpts.h79 extern void (*blit_mask_d32_a8)(SkPMColor*, size_t, const SkAlpha*, size_t, SkColor, int, int);
DSkScan_AntiPath.cpp47 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override { in blitAntiH()
51 void blitV(int x, int y, int height, SkAlpha alpha) override { in blitV()
145 fRuns.fAlpha = reinterpret_cast<SkAlpha*>(fRuns.fRuns + fWidth + 1); in advanceRuns()
/external/skia/src/opts/
DSkBlitMask_opts.h115 const SkAlpha* mask, size_t maskRB, in blit_mask_d32_a8_general()
122 const SkAlpha* mask, size_t maskRB, in blit_mask_d32_a8_opaque()
129 const SkAlpha* maskPtr, size_t maskRB, in blit_mask_d32_a8_black()
166 const SkAlpha* mask, size_t maskRB,
185 const SkAlpha* mask, size_t maskRB,
205 const SkAlpha* mask, size_t maskRB,
225 const SkAlpha* mask, size_t maskRB, in blit_mask_d32_a8()
/external/skia/gm/
Dhairmodes.cpp45 static SkScalar drawCell(SkCanvas* canvas, SkBlendMode mode, SkAlpha a0, SkAlpha a1) { in drawCell()
99 constexpr SkAlpha gAlphaValue[] = { 0xFF, 0x88, 0x88 }; in onDraw()
Daarectmodes.cpp93 static SkScalar drawCell(SkCanvas* canvas, SkBlendMode mode, SkAlpha a0, SkAlpha a1) { in drawCell()
136 constexpr SkAlpha gAlphaValue[] = { 0xFF, 0x88, 0x88 };
Dcomposeshader.cpp312 SkBlendMode mode, SkAlpha alpha) { in draw_cell()
331 SkBlendMode mode, SkAlpha alpha) { in draw_composed()
349 SkAlpha alpha = 0xFF; in draw_pair()
/external/skia/src/xps/
DSkXPSDevice.h165 const SkColor skColor, const SkAlpha alpha,
172 const SkAlpha alpha,
177 const SkAlpha alpha,
184 const SkAlpha alpha,
/external/skia/include/core/
DSkColor.h26 typedef uint8_t SkAlpha; typedef
89 constexpr SkAlpha SK_AlphaTRANSPARENT = 0x00;
94 constexpr SkAlpha SK_AlphaOPAQUE = 0xFF;
/external/skia/docs/examples/
DColorGetA.cpp12 SkAlpha alphaInPaint = SkColorGetA(paint.getColor()); in draw()
/external/skia/tests/
DFillPathTest.cpp28 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override { in blitAntiH()
DBlitMaskClip.cpp32 void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override { in blitAntiH()
/external/skia/modules/sksg/src/
DSkSGRenderNode.cpp53 static SkAlpha ScaleAlpha(SkAlpha alpha, float opacity) { in ScaleAlpha()

12