100 paint.setColorFragmentProcessor(std::move(
fp));
122 paint.setColorFragmentProcessor(std::move(
fp));
145 auto ctx = ctxInfo.directContext();
DEF_GANESH_TEST_FOR_CONTEXTS(DefaultPathRendererTest, skgpu::IsRenderingContext, reporter, ctxInfo, only_allow_default, CtsEnforcement::kApiLevel_T)
static SkBitmap read_back(GrDirectContext *dContext, skgpu::ganesh::SurfaceDrawContext *sdc, int width, int height)
static void only_allow_default(GrContextOptions *options)
static void run_test(GrDirectContext *dContext, skiatest::Reporter *reporter)
static const int kBigSize
static SkPath make_path(const SkRect &outer, int inset, SkPathFillType fill)
constexpr SkPMColor4f SK_PMColor4fBLACK
constexpr SkColor SK_ColorBLACK
#define REPORTER_ASSERT(r, cond,...)
GrSemaphoresSubmitted flushSurface(GrSurfaceProxy *proxy, SkSurfaces::BackendSurfaceAccess access=SkSurfaces::BackendSurfaceAccess::kNoAccess, const GrFlushInfo &info={}, const skgpu::MutableTextureState *newState=nullptr)
GrDirectContextPriv priv()
static std::unique_ptr< GrFragmentProcessor > MakeColor(SkPMColor4f color)
void allocPixels(const SkImageInfo &info, size_t rowBytes)
SkColor getColor(int x, int y) const
const SkPixmap & pixmap() const
static const SkMatrix & I()
bool readPixels(GrDirectContext *dContext, GrPixmap dst, SkIPoint srcPt)
static std::unique_ptr< SurfaceDrawContext > Make(GrRecordingContext *, GrColorType, sk_sp< GrSurfaceProxy >, sk_sp< SkColorSpace >, GrSurfaceOrigin, const SkSurfaceProps &)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
bool IsRenderingContext(skgpu::ContextType type)
static SkRect inset(const SkRect &r)
static SkImageInfo MakeN32Premul(int width, int height)
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)
SkRect makeInset(float dx, float dy) const