Flutter Engine
The Flutter Engine
|
#include "include/codec/SkCodec.h"
#include "include/core/SkAlphaType.h"
#include "include/core/SkColorType.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkSwizzle.h"
#include "src/codec/SkSampler.h"
#include "src/core/SkSwizzlePriv.h"
#include "tests/Test.h"
#include <cstdint>
#include <cstring>
#include <memory>
#include "src/opts/SkOpts_SetTarget.h"
#include "src/opts/SkSwizzler_opts.inc"
#include "src/opts/SkOpts_RestoreTarget.h"
Go to the source code of this file.
Macros | |
#define | SK_OPTS_NS test |
#define | SK_OPTS_TARGET SK_OPTS_TARGET_DEFAULT |
Typedefs | |
using | fn_reciprocal = float(*)(float) |
Functions | |
static void | check_fill (skiatest::Reporter *r, const SkImageInfo &imageInfo, uint32_t startRow, uint32_t endRow, size_t rowBytes, uint32_t offset) |
DEF_TEST (SwizzlerFill, r) | |
DEF_TEST (SwizzleOpts, r) | |
DEF_TEST (PublicSwizzleOpts, r) | |
static void | test_reciprocal_alpha (skiatest::Reporter *reporter, fn_reciprocal test255, fn_reciprocal test1) |
DEF_TEST (ReciprocalAlphaOptimized, reporter) | |
DEF_TEST (ReciprocalAlphaPortable, reporter) | |
uint32_t | calcExpected (float alpha, float comp) |
DEF_TEST (UnpremulSimulatingRP, reporter) | |
#define SK_OPTS_NS test |
Definition at line 183 of file SwizzlerTest.cpp.
#define SK_OPTS_TARGET SK_OPTS_TARGET_DEFAULT |
Definition at line 184 of file SwizzlerTest.cpp.
using fn_reciprocal = float (*)(float) |
Definition at line 163 of file SwizzlerTest.cpp.
uint32_t calcExpected | ( | float | alpha, |
float | comp | ||
) |
Definition at line 222 of file SwizzlerTest.cpp.
|
static |
Definition at line 21 of file SwizzlerTest.cpp.
DEF_TEST | ( | PublicSwizzleOpts | , |
r | |||
) |
Definition at line 154 of file SwizzlerTest.cpp.
DEF_TEST | ( | ReciprocalAlphaOptimized | , |
reporter | |||
) |
Definition at line 187 of file SwizzlerTest.cpp.
DEF_TEST | ( | ReciprocalAlphaPortable | , |
reporter | |||
) |
Definition at line 193 of file SwizzlerTest.cpp.
DEF_TEST | ( | SwizzleOpts | , |
r | |||
) |
Definition at line 122 of file SwizzlerTest.cpp.
DEF_TEST | ( | SwizzlerFill | , |
r | |||
) |
Definition at line 73 of file SwizzlerTest.cpp.
DEF_TEST | ( | UnpremulSimulatingRP | , |
reporter | |||
) |
Definition at line 234 of file SwizzlerTest.cpp.
|
static |
Definition at line 164 of file SwizzlerTest.cpp.