46namespace skgpu {
class UniqueKey; }
106 std::unique_ptr<GrFragmentProcessor> shaderFP,
156 std::string_view label,
177 std::string_view label,
static GrColor GrColorPackRGBA(unsigned r, unsigned g, unsigned b, unsigned a)
#define SkGetPackedB32(packed)
#define SkGetPackedR32(packed)
#define SkGetPackedA32(packed)
#define SkGetPackedG32(packed)
#define SkColorGetR(color)
#define SkColorGetG(color)
SK_API SkPMColor SkPreMultiplyColor(SkColor c)
#define SkColorGetA(color)
#define SkColorGetB(color)
@ kNew_Uncached_Unbudgeted
bool SkPaintToGrPaintReplaceShader(GrRecordingContext *, const GrColorInfo &dstColorInfo, const SkPaint &skPaint, const SkMatrix &ctm, std::unique_ptr< GrFragmentProcessor > shaderFP, const SkSurfaceProps &surfaceProps, GrPaint *grPaint)
void GrMakeKeyFromImageID(skgpu::UniqueKey *key, uint32_t imageID, const SkIRect &imageBounds)
static GrColor SkColorToUnpremulGrColor(SkColor c)
SkPMColor4f SkColorToPMColor4f(SkColor, const GrColorInfo &)
static GrColor SkColorToPremulGrColor(SkColor c)
static constexpr GrSamplerState::WrapMode SkTileModeToWrapMode(SkTileMode tileMode)
SkColor4f SkColor4fPrepForDst(SkColor4f, const GrColorInfo &)
static bool GrValidCubicResampler(SkCubicResampler cubic)
bool SkPaintToGrPaintWithBlend(GrRecordingContext *context, const GrColorInfo &dstColorInfo, const SkPaint &skPaint, const SkMatrix &ctm, SkBlender *primColorBlender, const SkSurfaceProps &surfaceProps, GrPaint *grPaint)
std::tuple< GrSurfaceProxyView, GrColorType > GrMakeUncachedBitmapProxyView(GrRecordingContext *, const SkBitmap &, skgpu::Mipmapped=skgpu::Mipmapped::kNo, SkBackingFit=SkBackingFit::kExact, skgpu::Budgeted=skgpu::Budgeted::kYes)
sk_sp< GrSurfaceProxy > GrCopyBaseMipMapToTextureProxy(GrRecordingContext *, sk_sp< GrSurfaceProxy > baseProxy, GrSurfaceOrigin origin, std::string_view label, skgpu::Budgeted=skgpu::Budgeted::kYes)
std::tuple< GrSurfaceProxyView, GrColorType > GrMakeCachedBitmapProxyView(GrRecordingContext *, const SkBitmap &, std::string_view label, skgpu::Mipmapped=skgpu::Mipmapped::kNo)
bool SkPaintToGrPaint(GrRecordingContext *, const GrColorInfo &dstColorInfo, const SkPaint &skPaint, const SkMatrix &ctm, const SkSurfaceProps &surfaceProps, GrPaint *grPaint)
sk_sp< SkIDChangeListener > GrMakeUniqueKeyInvalidationListener(skgpu::UniqueKey *, uint32_t contextID)
GrSurfaceProxyView GrCopyBaseMipMapToView(GrRecordingContext *, GrSurfaceProxyView, skgpu::Budgeted=skgpu::Budgeted::kYes)