Flutter Engine
The Flutter Engine
|
#include "src/core/SkAAClip.h"
#include "include/core/SkClipOp.h"
#include "include/core/SkPath.h"
#include "include/core/SkRegion.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/SkMacros.h"
#include "include/private/base/SkMalloc.h"
#include "include/private/base/SkMath.h"
#include "include/private/base/SkTDArray.h"
#include "include/private/base/SkTo.h"
#include "src/core/SkBlitter.h"
#include "src/core/SkMask.h"
#include "src/core/SkScan.h"
#include <algorithm>
#include <atomic>
#include <cstring>
Go to the source code of this file.
Classes | |
struct | SkAAClip::RunHead |
class | SkAAClip::Builder |
class | SkAAClip::Builder::Blitter |
Macros | |
#define | AUTO_AACLIP_VALIDATE(clip) |
Typedefs | |
typedef void(* | MergeAAProc) (const void *src, int width, const uint8_t *row, int initialRowCount, void *dst) |
Functions | |
static void | count_left_right_zeros (const uint8_t *row, int width, int *leftZ, int *riteZ) |
static int | trim_row_left_right (uint8_t *row, int width, int leftZ, int riteZ) |
static bool | row_is_all_zeros (const uint8_t *row, int width) |
static void | expandToRuns (const uint8_t *SK_RESTRICT data, int initialCount, int width, int16_t *SK_RESTRICT runs, SkAlpha *SK_RESTRICT aa) |
static void | merge (const uint8_t *SK_RESTRICT row, int rowN, const SkAlpha *SK_RESTRICT srcAA, const int16_t *SK_RESTRICT srcRuns, SkAlpha *SK_RESTRICT dstAA, int16_t *SK_RESTRICT dstRuns, int width) |
static void | small_memcpy (void *dst, const void *src, size_t n) |
static void | small_bzero (void *dst, size_t n) |
static uint8_t | mergeOne (uint8_t value, unsigned alpha) |
static uint16_t | mergeOne (uint16_t value, unsigned alpha) |
template<typename T > | |
void | mergeT (const void *inSrc, int srcN, const uint8_t *SK_RESTRICT row, int rowN, void *inDst) |
static MergeAAProc | find_merge_aa_proc (SkMask::Format format) |
static U8CPU | bit2byte (int bitInAByte) |
static void | upscaleBW2A8 (SkMask *dstMask, const SkMask &srcMask) |
#define AUTO_AACLIP_VALIDATE | ( | clip | ) |
Definition at line 47 of file SkAAClip.cpp.
typedef void(* MergeAAProc) (const void *src, int width, const uint8_t *row, int initialRowCount, void *dst) |
Definition at line 1788 of file SkAAClip.cpp.
Definition at line 1861 of file SkAAClip.cpp.
|
static |
Definition at line 972 of file SkAAClip.cpp.
|
static |
Definition at line 1622 of file SkAAClip.cpp.
|
static |
Definition at line 1845 of file SkAAClip.cpp.
|
static |
Definition at line 1691 of file SkAAClip.cpp.
|
inlinestatic |
Definition at line 1803 of file SkAAClip.cpp.
|
inlinestatic |
Definition at line 1799 of file SkAAClip.cpp.
void mergeT | ( | const void * | inSrc, |
int | srcN, | ||
const uint8_t *SK_RESTRICT | row, | ||
int | rowN, | ||
void * | inDst | ||
) |
Definition at line 1813 of file SkAAClip.cpp.
|
static |
|
static |
Definition at line 1795 of file SkAAClip.cpp.
|
static |
Definition at line 1791 of file SkAAClip.cpp.
Definition at line 1011 of file SkAAClip.cpp.
Definition at line 1868 of file SkAAClip.cpp.