Flutter Engine
The Flutter Engine
|
#include "include/core/SkBlendMode.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPath.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkStrokeRec.h"
#include "include/core/SkSurfaceProps.h"
#include "include/core/SkTypes.h"
#include "include/gpu/GpuTypes.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/GrRecordingContext.h"
#include "include/gpu/GrTypes.h"
#include "include/private/gpu/ganesh/GrTypesPriv.h"
#include "src/core/SkPathPriv.h"
#include "src/gpu/SkBackingFit.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "src/gpu/ganesh/GrPaint.h"
#include "src/gpu/ganesh/GrRecordingContextPriv.h"
#include "src/gpu/ganesh/GrResourceCache.h"
#include "src/gpu/ganesh/GrStyle.h"
#include "src/gpu/ganesh/GrUserStencilSettings.h"
#include "src/gpu/ganesh/PathRenderer.h"
#include "src/gpu/ganesh/SurfaceDrawContext.h"
#include "src/gpu/ganesh/effects/GrPorterDuffXferProcessor.h"
#include "src/gpu/ganesh/geometry/GrStyledShape.h"
#include "src/gpu/ganesh/ops/SoftwarePathRenderer.h"
#include "src/gpu/ganesh/ops/TriangulatingPathRenderer.h"
#include "tests/CtsEnforcement.h"
#include "tests/Test.h"
#include <functional>
#include <memory>
#include <utility>
Go to the source code of this file.
Functions | |
static SkPath | create_concave_path () |
static void | draw_path (GrRecordingContext *rContext, skgpu::ganesh::SurfaceDrawContext *sdc, const SkPath &path, skgpu::ganesh::PathRenderer *pr, GrAAType aaType, const GrStyle &style, float scaleX=1.f) |
static bool | cache_non_scratch_resources_equals (GrResourceCache *cache, int expected) |
static void | test_path (skiatest::Reporter *reporter, const std::function< SkPath(void)> &createPath, const std::function< skgpu::ganesh::PathRenderer *(GrRecordingContext *)> &makePathRenderer, int expected, bool checkListeners, GrAAType aaType=GrAAType::kNone, GrStyle style=GrStyle(SkStrokeRec::kFill_InitStyle)) |
DEF_GANESH_TEST (TriangulatingPathRendererCacheTest, reporter,, CtsEnforcement::kNever) | |
DEF_GANESH_TEST (SoftwarePathRendererCacheTest, reporter,, CtsEnforcement::kApiLevel_T) | |
|
static |
Definition at line 87 of file PathRendererCacheTests.cpp.
|
static |
Definition at line 46 of file PathRendererCacheTests.cpp.
DEF_GANESH_TEST | ( | SoftwarePathRendererCacheTest | , |
reporter | , | ||
CtsEnforcement::kApiLevel_T | |||
) |
Definition at line 193 of file PathRendererCacheTests.cpp.
DEF_GANESH_TEST | ( | TriangulatingPathRendererCacheTest | , |
reporter | , | ||
CtsEnforcement::kNever | |||
) |
Definition at line 167 of file PathRendererCacheTests.cpp.
|
static |
Definition at line 56 of file PathRendererCacheTests.cpp.
|
static |
Definition at line 97 of file PathRendererCacheTests.cpp.