Flutter Engine
The Flutter Engine
|
#include "include/core/SkColor.h"
#include "include/core/SkTypes.h"
#include "include/core/SkUnPreMultiply.h"
#include "include/private/SkColorData.h"
#include "include/private/base/SkCPUTypes.h"
#include "src/base/SkMathPriv.h"
#include "src/base/SkRandom.h"
#include "tests/Test.h"
Go to the source code of this file.
Functions | |
DEF_TEST (ColorPremul, reporter) | |
DEF_TEST (ColorInterp, reporter) | |
DEF_TEST (ColorFastIterp, reporter) | |
DEF_TEST | ( | ColorFastIterp | , |
reporter | |||
) |
Definition at line 61 of file ColorTest.cpp.
DEF_TEST | ( | ColorInterp | , |
reporter | |||
) |
This test fails: SkFourByteInterp does not preserve opaque destinations. SkAlpha255To256 implemented as (alpha + 1) is faster than (alpha + (alpha >> 7)), but inaccurate, and Skia intends to phase it out.
Definition at line 43 of file ColorTest.cpp.
DEF_TEST | ( | ColorPremul | , |
reporter | |||
) |
Definition at line 17 of file ColorTest.cpp.