Flutter Engine
The Flutter Engine
|
#include "include/core/SkColor.h"
#include "include/core/SkColorPriv.h"
#include "include/core/SkColorType.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPixmap.h"
#include "include/core/SkRect.h"
#include "include/core/SkTypes.h"
#include "include/private/SkColorData.h"
#include "include/private/base/SkCPUTypes.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkMalloc.h"
#include "include/private/base/SkTo.h"
#include "src/base/SkUtils.h"
#include "src/base/SkVx.h"
#include "src/core/SkBlitMask.h"
#include "src/core/SkBlitRow.h"
#include "src/core/SkCoreBlitters.h"
#include "src/core/SkMask.h"
#include "src/core/SkMemset.h"
#include "src/shaders/SkShaderBase.h"
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <emmintrin.h>
#include "src/core/SkBlitBWMaskTemplate.h"
Go to the source code of this file.
Typedefs | |
using | U32 = skvx::Vec< 4, uint32_t > |
using | U8x4 = skvx::Vec< 16, uint8_t > |
using | U8 = skvx::Vec< 4, uint8_t > |
Functions | |
static int | upscale_31_to_32 (int value) |
static int | blend_32 (int src, int dst, int scale) |
static SkPMColor | blend_lcd16 (int srcA, int srcR, int srcG, int srcB, SkPMColor dst, uint16_t mask) |
static SkPMColor | blend_lcd16_opaque (int srcR, int srcG, int srcB, SkPMColor dst, uint16_t mask, SkPMColor opaqueDst) |
static __m128i | blend_lcd16_sse2 (__m128i &src, __m128i &dst, __m128i &mask, __m128i &srcA) |
static __m128i | blend_lcd16_opaque_sse2 (__m128i &src, __m128i &dst, __m128i &mask) |
void | blit_row_lcd16 (SkPMColor dst[], const uint16_t mask[], SkColor src, int width, SkPMColor) |
void | blit_row_lcd16_opaque (SkPMColor dst[], const uint16_t mask[], SkColor src, int width, SkPMColor opaqueDst) |
static bool | blit_color (const SkPixmap &device, const SkMask &mask, const SkIRect &clip, SkColor color) |
static void | SkARGB32_Blit32 (const SkPixmap &device, const SkMask &mask, const SkIRect &clip, SkPMColor srcColor) |
static void | drive (SkPMColor *dst, const SkPMColor *src, const uint8_t *cov, int n, U8x4(*kernel)(U8x4, U8x4, U8x4)) |
static void | blend_row_A8 (SkPMColor *dst, const void *mask, const SkPMColor *src, int n) |
static void | blend_row_A8_opaque (SkPMColor *dst, const void *mask, const SkPMColor *src, int n) |
static void | blend_row_lcd16 (SkPMColor *dst, const void *vmask, const SkPMColor *src, int n) |
static void | blend_row_LCD16_opaque (SkPMColor *dst, const void *vmask, const SkPMColor *src, int n) |
#define blend_8_pixels | ( | mask, | |
dst, | |||
sc, | |||
dst_scale | |||
) |
Definition at line 1540 of file SkBlitter_ARGB32.cpp.
#define SK_B16x5_B32x5_SHIFT (SK_B32_SHIFT - SK_B16_SHIFT - SK_B16_BITS + 5) |
Definition at line 134 of file SkBlitter_ARGB32.cpp.
Definition at line 1553 of file SkBlitter_ARGB32.cpp.
#define SK_BLITBWMASK_ARGS , uint32_t sc, unsigned dst_scale |
Definition at line 1553 of file SkBlitter_ARGB32.cpp.
#define SK_BLITBWMASK_BLIT8 | ( | mask, | |
dst | |||
) | solid_8_pixels(mask, dst, color) |
Definition at line 1554 of file SkBlitter_ARGB32.cpp.
#define SK_BLITBWMASK_BLIT8 | ( | mask, | |
dst | |||
) | blend_8_pixels(mask, dst, sc, dst_scale) |
Definition at line 1554 of file SkBlitter_ARGB32.cpp.
#define SK_BLITBWMASK_DEVTYPE uint32_t |
Definition at line 1556 of file SkBlitter_ARGB32.cpp.
#define SK_BLITBWMASK_DEVTYPE uint32_t |
Definition at line 1556 of file SkBlitter_ARGB32.cpp.
#define SK_BLITBWMASK_GETADDR writable_addr32 |
Definition at line 1555 of file SkBlitter_ARGB32.cpp.
#define SK_BLITBWMASK_GETADDR writable_addr32 |
Definition at line 1555 of file SkBlitter_ARGB32.cpp.
#define SK_BLITBWMASK_NAME SkARGB32_BlitBW |
Definition at line 1552 of file SkBlitter_ARGB32.cpp.
#define SK_BLITBWMASK_NAME SkARGB32_BlendBW |
Definition at line 1552 of file SkBlitter_ARGB32.cpp.
#define SK_G16x5_G32x5_SHIFT (SK_G32_SHIFT - SK_G16_SHIFT - SK_G16_BITS + 5) |
Definition at line 133 of file SkBlitter_ARGB32.cpp.
#define SK_R16x5_R32x5_SHIFT (SK_R32_SHIFT - SK_R16_SHIFT - SK_R16_BITS + 5) |
Definition at line 132 of file SkBlitter_ARGB32.cpp.
#define SkPackedB16x5ToUnmaskedB32x5_SSE2 | ( | x | ) | (_mm_slli_epi32(x, SK_B16x5_B32x5_SHIFT)) |
Definition at line 155 of file SkBlitter_ARGB32.cpp.
#define SkPackedG16x5ToUnmaskedG32x5_SSE2 | ( | x | ) | (_mm_slli_epi32(x, SK_G16x5_G32x5_SHIFT)) |
Definition at line 147 of file SkBlitter_ARGB32.cpp.
#define SkPackedR16x5ToUnmaskedR32x5_SSE2 | ( | x | ) | (_mm_slli_epi32(x, SK_R16x5_R32x5_SHIFT)) |
Definition at line 139 of file SkBlitter_ARGB32.cpp.
#define solid_8_pixels | ( | mask, | |
dst, | |||
color | |||
) |
Definition at line 1521 of file SkBlitter_ARGB32.cpp.
Definition at line 1834 of file SkBlitter_ARGB32.cpp.
Definition at line 1836 of file SkBlitter_ARGB32.cpp.
Definition at line 1835 of file SkBlitter_ARGB32.cpp.
Definition at line 38 of file SkBlitter_ARGB32.cpp.
|
inlinestatic |
Definition at line 45 of file SkBlitter_ARGB32.cpp.
|
inlinestatic |
Definition at line 84 of file SkBlitter_ARGB32.cpp.
|
static |
Definition at line 262 of file SkBlitter_ARGB32.cpp.
|
static |
Definition at line 160 of file SkBlitter_ARGB32.cpp.
|
static |
Definition at line 1862 of file SkBlitter_ARGB32.cpp.
|
static |
Definition at line 1871 of file SkBlitter_ARGB32.cpp.
|
static |
Definition at line 1879 of file SkBlitter_ARGB32.cpp.
|
static |
Definition at line 1923 of file SkBlitter_ARGB32.cpp.
|
static |
Definition at line 1379 of file SkBlitter_ARGB32.cpp.
Definition at line 342 of file SkBlitter_ARGB32.cpp.
void blit_row_lcd16_opaque | ( | SkPMColor | dst[], |
const uint16_t | mask[], | ||
SkColor | src, | ||
int | width, | ||
SkPMColor | opaqueDst | ||
) |
Definition at line 412 of file SkBlitter_ARGB32.cpp.
|
static |
Definition at line 1838 of file SkBlitter_ARGB32.cpp.
|
static |
Definition at line 1419 of file SkBlitter_ARGB32.cpp.
Definition at line 33 of file SkBlitter_ARGB32.cpp.