|
| SurfaceDrawContext (GrRecordingContext *, GrSurfaceProxyView readView, GrSurfaceProxyView writeView, GrColorType, sk_sp< SkColorSpace >, const SkSurfaceProps &) |
|
| ~SurfaceDrawContext () override |
|
void | drawPaint (const GrClip *, GrPaint &&, const SkMatrix &viewMatrix) |
|
void | drawRect (const GrClip *, GrPaint &&paint, GrAA, const SkMatrix &viewMatrix, const SkRect &, const GrStyle *style=nullptr) |
|
void | fillRectToRect (const GrClip *, GrPaint &&, GrAA, const SkMatrix &, const SkRect &rectToDraw, const SkRect &localRect) |
|
void | fillPixelsWithLocalMatrix (const GrClip *clip, GrPaint &&paint, const SkIRect &bounds, const SkMatrix &localMatrix) |
|
void | fillRectWithEdgeAA (const GrClip *clip, GrPaint &&paint, GrQuadAAFlags edgeAA, const SkMatrix &viewMatrix, const SkRect &rect, const SkRect *optionalLocalRect=nullptr) |
|
void | fillQuadWithEdgeAA (const GrClip *clip, GrPaint &&paint, GrQuadAAFlags edgeAA, const SkMatrix &viewMatrix, const SkPoint points[4], const SkPoint optionalLocalPoints[4]) |
|
void | drawQuadSet (const GrClip *clip, GrPaint &&paint, const SkMatrix &viewMatrix, const GrQuadSetEntry[], int cnt) |
|
void | drawTexture (const GrClip *, GrSurfaceProxyView, SkAlphaType, GrSamplerState::Filter, GrSamplerState::MipmapMode, SkBlendMode, const SkPMColor4f &, const SkRect &srcRect, const SkRect &dstRect, GrQuadAAFlags, SkCanvas::SrcRectConstraint, const SkMatrix &, sk_sp< GrColorSpaceXform >) |
|
void | drawTextureQuad (const GrClip *clip, GrSurfaceProxyView view, GrColorType srcColorType, SkAlphaType srcAlphaType, GrSamplerState::Filter filter, GrSamplerState::MipmapMode mm, SkBlendMode mode, const SkPMColor4f &color, const SkPoint srcQuad[4], const SkPoint dstQuad[4], GrQuadAAFlags edgeAA, const SkRect *subset, const SkMatrix &viewMatrix, sk_sp< GrColorSpaceXform > texXform) |
|
void | drawTextureSet (const GrClip *, GrTextureSetEntry[], int cnt, int proxyRunCnt, GrSamplerState::Filter, GrSamplerState::MipmapMode, SkBlendMode mode, SkCanvas::SrcRectConstraint, const SkMatrix &viewMatrix, sk_sp< GrColorSpaceXform > texXform) |
|
void | drawRRect (const GrClip *, GrPaint &&, GrAA, const SkMatrix &viewMatrix, const SkRRect &rrect, const GrStyle &style) |
|
bool | drawFastShadow (const GrClip *, const SkMatrix &viewMatrix, const SkPath &path, const SkDrawShadowRec &rec) |
|
void | drawPath (const GrClip *, GrPaint &&, GrAA, const SkMatrix &viewMatrix, const SkPath &, const GrStyle &) |
|
void | drawShape (const GrClip *, GrPaint &&, GrAA, const SkMatrix &viewMatrix, GrStyledShape &&) |
|
void | drawVertices (const GrClip *, GrPaint &&paint, const SkMatrix &viewMatrix, sk_sp< SkVertices > vertices, GrPrimitiveType *overridePrimType=nullptr, bool skipColorXform=false) |
|
void | drawMesh (const GrClip *, GrPaint &&paint, const SkMatrix &viewMatrix, const SkMesh &mesh, skia_private::TArray< std::unique_ptr< GrFragmentProcessor > > children) |
|
void | drawAtlas (const GrClip *, GrPaint &&paint, const SkMatrix &viewMatrix, int spriteCount, const SkRSXform xform[], const SkRect texRect[], const SkColor colors[]) |
|
void | drawRegion (const GrClip *, GrPaint &&paint, GrAA aa, const SkMatrix &viewMatrix, const SkRegion ®ion, const GrStyle &style, const GrUserStencilSettings *ss=nullptr) |
|
void | drawOval (const GrClip *, GrPaint &&paint, GrAA, const SkMatrix &viewMatrix, const SkRect &oval, const GrStyle &style) |
|
void | drawArc (const GrClip *, GrPaint &&paint, GrAA, const SkMatrix &viewMatrix, const SkArc &arc, const GrStyle &style) |
|
void | drawImageLattice (const GrClip *, GrPaint &&, const SkMatrix &viewMatrix, GrSurfaceProxyView, SkAlphaType alphaType, sk_sp< GrColorSpaceXform >, GrSamplerState::Filter, std::unique_ptr< SkLatticeIter >, const SkRect &dst) |
|
void | drawGlyphRunList (SkCanvas *, const GrClip *, const SkMatrix &viewMatrix, const sktext::GlyphRunList &glyphRunList, SkStrikeDeviceInfo strikeDeviceInfo, const SkPaint &paint) |
|
void | drawDrawable (std::unique_ptr< SkDrawable::GpuDrawHandler >, const SkRect &bounds) |
|
void | setLastClip (uint32_t clipStackGenID, const SkIRect &devClipBounds, int numClipAnalyticElements) |
|
bool | mustRenderClip (uint32_t clipStackGenID, const SkIRect &devClipBounds, int numClipAnalyticElements) |
|
void | clearStencilClip (const SkIRect &scissor, bool insideStencilMask) |
|
void | stencilRect (const GrClip *clip, const GrUserStencilSettings *ss, GrPaint &&paint, GrAA doStencilMSAA, const SkMatrix &viewMatrix, const SkRect &rect, const SkMatrix *localMatrix=nullptr) |
|
bool | stencilPath (const GrHardClip *, GrAA doStencilMSAA, const SkMatrix &viewMatrix, const SkPath &) |
|
bool | drawAndStencilPath (const GrHardClip *, const GrUserStencilSettings *, SkRegion::Op op, bool invert, GrAA doStencilMSAA, const SkMatrix &viewMatrix, const SkPath &) |
|
skgpu::Budgeted | isBudgeted () const |
|
int | maxWindowRectangles () const |
|
GrSurfaceProxy::UniqueID | uniqueID () const |
|
void | addDrawOp (const GrClip *, GrOp::Owner, const std::function< WillAddOpFn > &=std::function< WillAddOpFn >()) |
|
void | addDrawOp (GrOp::Owner op) |
|
bool | refsWrappedObjects () const |
|
bool | waitOnSemaphores (int numSemaphores, const GrBackendSemaphore waitSemaphores[], bool deleteSemaphoresAfterWait) |
|
int | numSamples () const |
|
const SkSurfaceProps & | surfaceProps () const |
|
bool | canUseDynamicMSAA () const |
|
bool | wrapsVkSecondaryCB () const |
|
bool | alwaysAntialias () const |
|
GrAA | chooseAA (const SkPaint &paint) |
|
GrAAType | chooseAAType (GrAA aa) |
|
GrRenderTarget * | accessRenderTarget () |
|
void | drawStrokedLine (const GrClip *, GrPaint &&, GrAA, const SkMatrix &, const SkPoint[2], const SkStrokeRec &) |
|
| SurfaceFillContext (GrRecordingContext *rContext, GrSurfaceProxyView readView, GrSurfaceProxyView writeView, const GrColorInfo &colorInfo) |
|
SurfaceFillContext * | asFillContext () override |
|
OpsTask * | getOpsTask () |
|
void | discard () |
|
void | resolveMSAA () |
|
template<SkAlphaType AlphaType> |
void | clear (const SkIRect &rect, const SkRGBA4f< AlphaType > &color) |
|
template<SkAlphaType AlphaType> |
void | clear (const SkRGBA4f< AlphaType > &color) |
|
template<SkAlphaType AlphaType> |
void | clearAtLeast (const SkIRect &scissor, const SkRGBA4f< AlphaType > &color) |
|
void | fillRectWithFP (const SkIRect &dstRect, std::unique_ptr< GrFragmentProcessor >) |
|
void | fillRectWithFP (const SkIRect &dstRect, const SkMatrix &localMatrix, std::unique_ptr< GrFragmentProcessor >) |
|
void | fillRectToRectWithFP (const SkRect &srcRect, const SkIRect &dstRect, std::unique_ptr< GrFragmentProcessor > fp) |
|
void | fillRectToRectWithFP (const SkIRect &srcRect, const SkIRect &dstRect, std::unique_ptr< GrFragmentProcessor > fp) |
|
void | fillWithFP (std::unique_ptr< GrFragmentProcessor > fp) |
|
bool | blitTexture (GrSurfaceProxyView, const SkIRect &srcRect, const SkIPoint &dstPoint) |
|
sk_sp< GrRenderTask > | refRenderTask () |
|
int | numSamples () const |
|
bool | wrapsVkSecondaryCB () const |
|
SkArenaAlloc * | arenaAlloc () |
|
sktext::gpu::SubRunAllocator * | subRunAlloc () |
|
const GrSurfaceProxyView & | writeSurfaceView () const |
|
| SurfaceContext (GrRecordingContext *, GrSurfaceProxyView readView, const GrColorInfo &) |
|
virtual | ~SurfaceContext ()=default |
|
GrRecordingContext * | recordingContext () const |
|
const GrColorInfo & | colorInfo () const |
|
GrImageInfo | imageInfo () const |
|
GrSurfaceOrigin | origin () const |
|
skgpu::Swizzle | readSwizzle () const |
|
GrSurfaceProxyView | readSurfaceView () |
|
SkISize | dimensions () const |
|
int | width () const |
|
int | height () const |
|
skgpu::Mipmapped | mipmapped () const |
|
const GrCaps * | caps () const |
|
bool | readPixels (GrDirectContext *dContext, GrPixmap dst, SkIPoint srcPt) |
|
void | asyncRescaleAndReadPixels (GrDirectContext *, const SkImageInfo &info, const SkIRect &srcRect, RescaleGamma rescaleGamma, RescaleMode, ReadPixelsCallback callback, ReadPixelsContext callbackContext) |
|
void | asyncRescaleAndReadPixelsYUV420 (GrDirectContext *, SkYUVColorSpace yuvColorSpace, bool readAlpha, sk_sp< SkColorSpace > dstColorSpace, const SkIRect &srcRect, SkISize dstSize, RescaleGamma rescaleGamma, RescaleMode, ReadPixelsCallback callback, ReadPixelsContext context) |
|
bool | writePixels (GrDirectContext *dContext, GrCPixmap src, SkIPoint dstPt) |
|
bool | writePixels (GrDirectContext *dContext, const GrCPixmap src[], int numLevels) |
|
GrSurfaceProxy * | asSurfaceProxy () |
|
const GrSurfaceProxy * | asSurfaceProxy () const |
|
sk_sp< GrSurfaceProxy > | asSurfaceProxyRef () |
|
GrTextureProxy * | asTextureProxy () |
|
const GrTextureProxy * | asTextureProxy () const |
|
sk_sp< GrTextureProxy > | asTextureProxyRef () |
|
GrRenderTargetProxy * | asRenderTargetProxy () |
|
const GrRenderTargetProxy * | asRenderTargetProxy () const |
|
sk_sp< GrRenderTargetProxy > | asRenderTargetProxyRef () |
|
virtual SurfaceFillContext * | asFillContext () |
|
std::unique_ptr< SurfaceFillContext > | rescale (const GrImageInfo &info, GrSurfaceOrigin, SkIRect srcRect, SkImage::RescaleGamma, SkImage::RescaleMode) |
|
bool | rescaleInto (SurfaceFillContext *dst, SkIRect dstRect, SkIRect srcRect, SkImage::RescaleGamma, SkImage::RescaleMode) |
|
A helper object to orchestrate commands (draws, etc...) for GrSurfaces that are GrRenderTargets.
Definition at line 65 of file SurfaceDrawContext.h.