Home
last modified time | relevance | path

Searched refs:asSurfaceProxy (Results 1 – 25 of 29) sorted by relevance

12

/third_party/flutter/skia/src/gpu/
DGrSurfaceContext.h44 int width() const { return this->asSurfaceProxy()->width(); } in width()
45 int height() const { return this->asSurfaceProxy()->height(); } in height()
75 virtual GrSurfaceProxy* asSurfaceProxy() = 0;
76 virtual const GrSurfaceProxy* asSurfaceProxy() const = 0;
DGrTextureContext.h30 GrSurfaceProxy* asSurfaceProxy() override { return fTextureProxy.get(); } in asSurfaceProxy() function
31 const GrSurfaceProxy* asSurfaceProxy() const override { return fTextureProxy.get(); } in asSurfaceProxy() function
DGrSurfaceContext.cpp87 GrSurfaceProxy* srcProxy = this->asSurfaceProxy(); in readPixels()
229 if (this->asSurfaceProxy()->readOnly()) { in writePixels()
248 GrSurfaceProxy* dstProxy = this->asSurfaceProxy(); in writePixels()
419 SkASSERT(src->origin() == this->asSurfaceProxy()->origin()); in copy()
421 caps->makeConfigSpecific(this->asSurfaceProxy()->config(), in copy()
422 this->asSurfaceProxy()->backendFormat())); in copy()
424 if (!caps->canCopySurface(this->asSurfaceProxy(), src, srcRect, dstPoint)) { in copy()
456 texProxy = GrSurfaceProxy::Copy(fContext, this->asSurfaceProxy(), GrMipMapped::kNo, srcRect, in rescale()
603 auto proxy = this->asSurfaceProxy(); in transferPixels()
DGrRenderTargetContext.h483 GrSurfaceProxy* asSurfaceProxy() override { return fRenderTargetProxy.get(); } in asSurfaceProxy() function
484 const GrSurfaceProxy* asSurfaceProxy() const override { return fRenderTargetProxy.get(); } in asSurfaceProxy() function
DSkGpuDevice.cpp232 SkASSERT(rtc->asSurfaceProxy()->priv().isExact()); in replaceRenderTargetContext()
1257 this->accessRenderTargetContext()->asSurfaceProxy(), in snapSpecial()
1290 SkASSERT(rtc->asSurfaceProxy()); in snapBackImage()
1293 GrSurfaceProxy::Copy(ctx, rtc->asSurfaceProxy(), rtc->mipMapped(), subset, in snapBackImage()
1294 SkBackingFit::kApprox, rtc->asSurfaceProxy()->isBudgeted()); in snapBackImage()
1675 fRenderTargetContext->asSurfaceProxy()->isProtected() ? GrProtected::kYes in onCreateDevice()
DGrRenderTargetContext.cpp340 this->asSurfaceProxy())); in internalClear()
820 this->asSurfaceProxy()->backendFormat()); in setNeedsStencil()
2429 if (!GrClipSrcRectAndDstPoint(this->asSurfaceProxy()->isize(), src->isize(), srcRect, dstPoint, in blitTexture()
/third_party/flutter/skia/src/image/
DSkSurface_Gpu.cpp34 SkASSERT(fDevice->accessRenderTargetContext()->asSurfaceProxy()->priv().isExact()); in SkSurface_Gpu()
98 if (!rtc->asSurfaceProxy()) { in onNewImageSnapshot()
102 SkBudgeted budgeted = rtc->asSurfaceProxy()->isBudgeted(); in onNewImageSnapshot()
107 srcProxy = GrSurfaceProxy::Copy(ctx, rtc->asSurfaceProxy(), rtc->mipMapped(), *subset, in onNewImageSnapshot()
113 SkASSERT(rtc->origin() == rtc->asSurfaceProxy()->origin()); in onNewImageSnapshot()
115 srcProxy = GrSurfaceProxy::Copy(ctx, rtc->asSurfaceProxy(), rtc->mipMapped(), in onNewImageSnapshot()
167 if (rtc->asSurfaceProxy()->underlyingUniqueID() == imageProxy->underlyingUniqueID()) { in onCopyOnWrite()
211 GrBackendFormat format = rtc->asSurfaceProxy()->backendFormat(); in onCharacterize()
304 GrProtected isProtected = GrProtected(rtc->asSurfaceProxy()->isProtected()); in onIsCompatible()
309 characterization.backendFormat() == rtc->asSurfaceProxy()->backendFormat() && in onIsCompatible()
DSkImage_GpuBase.cpp313 if (!renderTargetContext->asSurfaceProxy()) { in RenderYUVAToRGBA()
/third_party/skia/gm/
Dclear_swizzle.cpp41 sfc->asSurfaceProxy()->backendFormat(), in __anon19643a6b0102()
44 sfc->asSurfaceProxy()->isProtected(), in __anon19643a6b0102()
Dpreservefillrule.cpp85 dContext->priv().flushSurface(sfc->asSurfaceProxy()); in onDraw()
/third_party/skia/src/gpu/
DSurfaceContext.cpp341 if (this->asSurfaceProxy()->readOnly()) { in internalWritePixels()
353 GrSurfaceProxy* dstProxy = this->asSurfaceProxy(); in internalWritePixels()
573 auto backendFormatOfFinalContext = this->asSurfaceProxy()->backendFormat(); in asyncRescaleAndReadPixels()
721 if (!dContext || this->asSurfaceProxy()->isProtected() == GrProtected::kYes) { in asyncReadPixels()
784 dContext->priv().flushSurface(this->asSurfaceProxy(), in asyncReadPixels()
816 if (this->asSurfaceProxy()->isProtected() == GrProtected::kYes) { in asyncRescaleAndReadPixelsYUV420()
881 yFC->asSurfaceProxy()->backendFormat(), in asyncRescaleAndReadPixelsYUV420()
1030 dContext->priv().flushSurface(this->asSurfaceProxy(), in asyncRescaleAndReadPixelsYUV420()
1046 SkASSERT(src->backendFormat() == this->asSurfaceProxy()->backendFormat()); in copy()
1048 if (this->asSurfaceProxy()->framebufferOnly()) { in copy()
[all …]
DSurfaceContext.h134 GrSurfaceProxy* asSurfaceProxy() { return fReadView.proxy(); } in asSurfaceProxy() function
135 const GrSurfaceProxy* asSurfaceProxy() const { return fReadView.proxy(); } in asSurfaceProxy() function
DSurfaceFillContext.h111 SkASSERT(this->asSurfaceProxy() == fWriteView.proxy()); in SurfaceFillContext()
DGrDirectContext.cpp554 GrSurfaceProxy* p = surfaceContext.asSurfaceProxy(); in update_texture_with_pixmaps()
/third_party/skia/src/gpu/v1/
DSurfaceFillContext_v1.cpp50 fOpsTask = sk_ref_sp(rContext->priv().drawingManager()->getLastOpsTask(this->asSurfaceProxy())); in SurfaceFillContext()
83 if (!bounds.intersect(this->asSurfaceProxy()->getBoundsRect())) { in addDrawOp()
174 GrScissorState scissorState(this->asSurfaceProxy()->backingStoreDimensions()); in internalClear()
DSurfaceDrawContext.cpp432 SkRect r = this->asSurfaceProxy()->getBoundsRect(); in drawPaint()
440 SkIRect bounds = SkIRect::MakeSize(this->asSurfaceProxy()->dimensions()); in drawPaint()
484 SkRect rtRect = this->asSurfaceProxy()->getBoundsRect(); in attemptQuadOptimization()
890 GrScissorState scissorState(this->asSurfaceProxy()->backingStoreDimensions()); in internalStencilClear()
1669 return this->asSurfaceProxy()->isBudgeted(); in isBudgeted()
1914 GrAppliedClip appliedClip(this->dimensions(), this->asSurfaceProxy()->backingStoreDimensions()); in addDrawOp()
1929 skipDraw = !bounds.intersect(this->asSurfaceProxy()->getBoundsRect()); in addDrawOp()
2086 SkIRect copyRect = SkIRect::MakeSize(this->asSurfaceProxy()->backingStoreDimensions()); in setupDstProxyView()
DSurfaceDrawContext_v1.h573 GrSurfaceProxy::UniqueID uniqueID() const { return this->asSurfaceProxy()->uniqueID(); } in uniqueID()
622 GrRenderTarget* accessRenderTarget() { return this->asSurfaceProxy()->peekRenderTarget(); } in accessRenderTarget()
DDevice.cpp707 SkASSERT(sdc->asSurfaceProxy()); in snapSpecial()
935 SkASSERT(sdc->asSurfaceProxy()->priv().isExact()); in replaceBackingProxy()
1010 fSurfaceDrawContext->asSurfaceProxy()->isProtected(), kBottomLeft_GrSurfaceOrigin, in onCreateDevice()
/third_party/skia/tests/
DDefaultPathRendererTest.cpp102 dContext->priv().flushSurface(sdc->asSurfaceProxy()); in run_test()
/third_party/flutter/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp35 SkASSERT(rtc->asSurfaceProxy()->isInstantiated()); in Make()
/third_party/flutter/skia/tests/
DEGLImageTest.cpp195 test_copy_from_surface(reporter, context0, surfaceContext->asSurfaceProxy(), in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DRectangleTextureTest.cpp107 auto origin = dstContext->asSurfaceProxy()->origin(); in test_copy_to_surface()
/third_party/skia/src/gpu/ops/
DTessellationPathRenderer.cpp182 ? args.fSurfaceDrawContext->asSurfaceProxy()->backingStoreBoundsRect() in onDrawPath()
DAtlasPathRenderer.cpp310 : args.fSurfaceDrawContext->asSurfaceProxy()->backingStoreBoundsIRect()) in onDrawPath()
/third_party/flutter/skia/tools/debugger/
DDebugCanvas.cpp167 GrSurfaceProxy::UniqueID proxyID = rtc->asSurfaceProxy()->uniqueID(); in drawTo()

12