Flutter Engine
The Flutter Engine
|
#include "include/core/SkAlphaType.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkString.h"
#include "include/gpu/GpuTypes.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/GrTypes.h"
#include "include/private/base/SkTDArray.h"
#include "include/private/gpu/ganesh/GrTypesPriv.h"
#include "src/base/SkHalf.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "src/gpu/ganesh/GrImageInfo.h"
#include "src/gpu/ganesh/GrPixmap.h"
#include "src/gpu/ganesh/GrSurfaceProxyView.h"
#include "src/gpu/ganesh/SurfaceContext.h"
#include "tests/CtsEnforcement.h"
#include "tests/Test.h"
#include "tools/gpu/ProxyUtils.h"
#include <cstring>
#include <initializer_list>
#include <memory>
#include <utility>
Go to the source code of this file.
Functions | |
template<typename T > | |
void | runFPTest (skiatest::Reporter *reporter, GrDirectContext *dContext, T min, T max, T epsilon, T maxInt, int arraySize, GrColorType colorType) |
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS (HalfFloatAlphaTextureTest, reporter, ctxInfo, CtsEnforcement::kApiLevel_T) | |
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS (HalfFloatRGBATextureTest, reporter, ctxInfo, CtsEnforcement::kApiLevel_T) | |
Variables | |
static const int | DEV_W = 100 |
static const int | DEV_H = 100 |
static const int | HALF_ALPHA_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 1 |
static const SkHalf | kMaxIntegerRepresentableInHalfFloatingPoint = 0x6800 |
static const int | HALF_RGBA_CONTROL_ARRAY_SIZE = DEV_W * DEV_H * 4 |
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | HalfFloatAlphaTextureTest | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 90 of file FloatingPointTextureTest.cpp.
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS | ( | HalfFloatRGBATextureTest | , |
reporter | , | ||
ctxInfo | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 103 of file FloatingPointTextureTest.cpp.
void runFPTest | ( | skiatest::Reporter * | reporter, |
GrDirectContext * | dContext, | ||
T | min, | ||
T | max, | ||
T | epsilon, | ||
T | maxInt, | ||
int | arraySize, | ||
GrColorType | colorType | ||
) |
Definition at line 44 of file FloatingPointTextureTest.cpp.
|
static |
Definition at line 41 of file FloatingPointTextureTest.cpp.
|
static |
Definition at line 41 of file FloatingPointTextureTest.cpp.
Definition at line 87 of file FloatingPointTextureTest.cpp.
Definition at line 101 of file FloatingPointTextureTest.cpp.
|
static |
Definition at line 88 of file FloatingPointTextureTest.cpp.