Flutter Engine
The Flutter Engine
|
#include "include/core/SkBlendMode.h"
#include "include/core/SkColorType.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkTypes.h"
#include "include/gpu/GpuTypes.h"
#include "include/gpu/GrBackendSurface.h"
#include "include/gpu/GrContextOptions.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/GrTypes.h"
#include "include/gpu/mock/GrMockTypes.h"
#include "include/private/SkColorData.h"
#include "include/private/gpu/ganesh/GrTypesPriv.h"
#include "src/gpu/Blend.h"
#include "src/gpu/Swizzle.h"
#include "src/gpu/ganesh/GrCaps.h"
#include "src/gpu/ganesh/GrColor.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "src/gpu/ganesh/GrDstProxyView.h"
#include "src/gpu/ganesh/GrGpu.h"
#include "src/gpu/ganesh/GrPaint.h"
#include "src/gpu/ganesh/GrProcessorAnalysis.h"
#include "src/gpu/ganesh/GrProcessorSet.h"
#include "src/gpu/ganesh/GrProxyProvider.h"
#include "src/gpu/ganesh/GrShaderCaps.h"
#include "src/gpu/ganesh/GrSurfaceProxy.h"
#include "src/gpu/ganesh/GrUserStencilSettings.h"
#include "src/gpu/ganesh/GrXferProcessor.h"
#include "src/gpu/ganesh/effects/GrPorterDuffXferProcessor.h"
#include "tests/CtsEnforcement.h"
#include "tests/Test.h"
#include "tools/gpu/ContextType.h"
#include "tools/gpu/ManagedBackendTexture.h"
#include <initializer_list>
#include <utility>
Go to the source code of this file.
Classes | |
class | GrPorterDuffTest |
struct | GrPorterDuffTest::XPInfo |
Macros | |
#define | TEST_ASSERT(...) REPORTER_ASSERT(reporter, __VA_ARGS__) |
Enumerations | |
enum | { kNone_OutputType , kCoverage_OutputType , kModulate_OutputType , kSAModulate_OutputType , kISAModulate_OutputType , kISCModulate_OutputType } |
Functions | |
static void | test_color_unknown_with_coverage (skiatest::Reporter *reporter, const GrCaps &caps) |
static void | test_color_not_opaque_no_coverage (skiatest::Reporter *reporter, const GrCaps &caps) |
static void | test_color_opaque_with_coverage (skiatest::Reporter *reporter, const GrCaps &caps) |
static void | test_color_opaque_no_coverage (skiatest::Reporter *reporter, const GrCaps &caps) |
static void | test_lcd_coverage (skiatest::Reporter *reporter, const GrCaps &caps) |
static void | test_lcd_coverage_fallback_case (skiatest::Reporter *reporter, const GrCaps &caps) |
DEF_GANESH_TEST (GrPorterDuff, reporter,, CtsEnforcement::kApiLevel_T) | |
static GrProcessorSet::Analysis | do_analysis (const GrXPFactory *xpf, const GrProcessorAnalysisColor &colorInput, GrProcessorAnalysisCoverage coverageInput, const GrCaps &caps) |
DEF_GANESH_TEST (PorterDuffNoDualSourceBlending, reporter, options, CtsEnforcement::kApiLevel_T) | |
Variables | |
static const int | kInvalid_OutputType = -1 |
#define TEST_ASSERT | ( | ... | ) | REPORTER_ASSERT(reporter, __VA_ARGS__) |
Definition at line 75 of file GrPorterDuffTest.cpp.
anonymous enum |
Enumerator | |
---|---|
kNone_OutputType | |
kCoverage_OutputType | |
kModulate_OutputType | |
kSAModulate_OutputType | |
kISAModulate_OutputType | |
kISCModulate_OutputType |
Definition at line 77 of file GrPorterDuffTest.cpp.
DEF_GANESH_TEST | ( | GrPorterDuff | , |
reporter | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 55 of file GrPorterDuffTest.cpp.
DEF_GANESH_TEST | ( | PorterDuffNoDualSourceBlending | , |
reporter | , | ||
options | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 1086 of file GrPorterDuffTest.cpp.
|
static |
Definition at line 87 of file GrPorterDuffTest.cpp.
|
static |
Definition at line 508 of file GrPorterDuffTest.cpp.
|
static |
Definition at line 867 of file GrPorterDuffTest.cpp.
|
static |
Definition at line 689 of file GrPorterDuffTest.cpp.
|
static |
Definition at line 328 of file GrPorterDuffTest.cpp.
|
static |
Definition at line 149 of file GrPorterDuffTest.cpp.
|
static |
Definition at line 1053 of file GrPorterDuffTest.cpp.
|
static |
Definition at line 85 of file GrPorterDuffTest.cpp.