50 typedef skgpu::ganesh::OpsTask::OpChain
OpChain;
59 if (actualNumOps == 1) {
61 }
else if (actualNumOps == expectedNumOps) {
72 static constexpr SkISize kDimensions = {16, 16};
102 {1.f, 1.f, 1.f, 1.f},
103 TextureOp::Saturate::kYes,
133 static const SkRect kOpARect{ 0, 0, 16, 16 };
134 static const SkRect kOpBRect{ 32, 0, 48, 16 };
135 static const SkRect kOpCRect{ 0, 32, 16, 48 };
136 static const SkRect kOpDRect{ 32, 32, 48, 48 };
163 chain1.prependChain(&chain2, *caps, &arena, auditTrail);
SkAssertResult(font.textToGlyphs("Hello", 5, SkTextEncoding::kUTF8, glyphs, std::size(glyphs))==count)
@ kTopLeft_GrSurfaceOrigin
@ kPremul_SkAlphaType
pixel components are premultiplied by alpha
@ kSrcOver
r = s + (1-sa)*d
static GrOp::Owner create_op(GrDirectContext *dContext, SkRect rect, const GrSurfaceProxyView &proxyView, bool isAA)
DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS(TextureOpTest, reporter, ctxInfo, CtsEnforcement::kNever)
static sk_sp< GrSurfaceProxy > create_proxy(GrRecordingContext *rContext)
static void check_chain(OpsTaskTestingAccess::OpChain *chain, SkRect firstRect, SkRect lastRect, int expectedNumOps)
static GrAppliedClip Disabled()
const GrCaps * caps() const
GrBackendFormat getDefaultBackendFormat(GrColorType, GrRenderable) const
bool dynamicStateArrayGeometryProcessorTextureSupport() const
GrDirectContextPriv priv()
std::unique_ptr< GrOp > Owner
static constexpr Analysis EmptySetAnalysis()
sk_sp< GrTextureProxy > createProxy(const GrBackendFormat &, SkISize dimensions, GrRenderable, int renderTargetSampleCnt, skgpu::Mipmapped, SkBackingFit, skgpu::Budgeted, GrProtected, std::string_view label, GrInternalSurfaceFlags=GrInternalSurfaceFlags::kNone, UseAllocator useAllocator=UseAllocator::kYes)
static GrQuad MakeFromRect(const SkRect &, const SkMatrix &)
GrAuditTrail * auditTrail()
GrProxyProvider * proxyProvider()
GrRecordingContextPriv priv()
skgpu::ganesh::OpsTask::OpChain OpChain
static const SkMatrix & I()
static constexpr Swizzle RGBA()
uint32_t uint32_t * format
SK_API sk_sp< SkDocument > Make(SkWStream *dst, const SkSerialProcs *=nullptr, std::function< void(const SkPicture *)> onEndPage=nullptr)
sk_sp< SkBlender > blender SkRect rect
SkRect makeOutset(float dx, float dy) const