/external/skqp/src/gpu/ |
D | GrSurfaceContext.h | 39 int width() const { return this->asSurfaceProxy()->width(); } in width() 40 int height() const { return this->asSurfaceProxy()->height(); } in height() 92 virtual GrSurfaceProxy* asSurfaceProxy() = 0; 93 virtual const GrSurfaceProxy* asSurfaceProxy() const = 0;
|
D | GrSurfaceContext.cpp | 48 !GrPixelConfigIsOpaque(this->asSurfaceProxy()->config())) { in readPixels() 85 if (!fContext->contextPriv().caps()->canCopySurface(this->asSurfaceProxy(), src, srcRect, in copy() 90 return this->getOpList()->copySurface(fContext, this->asSurfaceProxy(), in copy()
|
D | GrTextureContext.h | 30 GrSurfaceProxy* asSurfaceProxy() override { return fTextureProxy.get(); } in asSurfaceProxy() function 31 const GrSurfaceProxy* asSurfaceProxy() const override { return fTextureProxy.get(); } in asSurfaceProxy() function
|
D | GrContext.cpp | 405 ASSERT_OWNED_PROXY_PRIV(dst->asSurfaceProxy()); in writeSurfacePixels() 412 if (!dst->asSurfaceProxy()->instantiate(this->resourceProvider())) { in writeSurfacePixels() 416 GrSurfaceProxy* dstProxy = dst->asSurfaceProxy(); in writeSurfacePixels() 591 ASSERT_OWNED_PROXY_PRIV(src->asSurfaceProxy()); in readSurfacePixels() 600 if (!src->asSurfaceProxy()->instantiate(this->resourceProvider())) { in readSurfacePixels() 604 GrSurfaceProxy* srcProxy = src->asSurfaceProxy(); in readSurfacePixels()
|
D | GrRenderTargetContext.h | 404 GrSurfaceProxy* asSurfaceProxy() override { return fRenderTargetProxy.get(); } in asSurfaceProxy() function 405 const GrSurfaceProxy* asSurfaceProxy() const override { return fRenderTargetProxy.get(); } in asSurfaceProxy() function
|
D | SkGpuDevice.cpp | 268 SkASSERT(newRTC->asSurfaceProxy()->priv().isExact()); in replaceRenderTargetContext() 274 newRTC->copy(fRenderTargetContext->asSurfaceProxy()); in replaceRenderTargetContext() 1266 this->accessRenderTargetContext()->asSurfaceProxy(), in snapSpecial() 1299 SkASSERT(rtc->asSurfaceProxy()); in snapBackImage() 1302 GrSurfaceProxy::Copy(ctx, rtc->asSurfaceProxy(), rtc->mipMapped(), subset, in snapBackImage() 1303 SkBackingFit::kApprox, rtc->asSurfaceProxy()->isBudgeted()); in snapBackImage() 1808 const GrBackendFormat& origFormat = fRenderTargetContext->asSurfaceProxy()->backendFormat(); in onCreateDevice()
|
/external/skqp/gm/ |
D | clockwise.cpp | 157 rtc->asSurfaceProxy()->backendFormat(), SkBackingFit::kExact, 100, 200, in onDraw() 158 rtc->asSurfaceProxy()->config(), nullptr, 1, GrMipMapped::kNo, in onDraw() 173 rtc->asSurfaceProxy()->backendFormat(), SkBackingFit::kExact, 100, 200, in onDraw() 174 rtc->asSurfaceProxy()->config(), nullptr, 1, GrMipMapped::kNo, in onDraw()
|
/external/skia/src/image/ |
D | SkSurface_Gpu.cpp | 35 SkASSERT(fDevice->surfaceDrawContext()->asSurfaceProxy()->priv().isExact()); in SkSurface_Gpu() 66 dContext->priv().flushSurface(sdc->asSurfaceProxy()); in prepare_rt_for_external_access() 113 if (!sdc->asSurfaceProxy()) { in onNewImageSnapshot() 119 SkBudgeted budgeted = sdc->asSurfaceProxy()->isBudgeted(); in onNewImageSnapshot() 206 if (static_cast<SkImage_Gpu*>(image.get())->surfaceMustCopyOnWrite(sdc->asSurfaceProxy())) { in onCopyOnWrite() 225 return dContext->priv().flushSurface(sdc->asSurfaceProxy(), access, info, newState); in onFlush() 261 GrBackendFormat format = sdc->asSurfaceProxy()->backendFormat(); in onCharacterize() 370 GrProtected isProtected = sdc->asSurfaceProxy()->isProtected(); in onIsCompatible() 376 characterization.backendFormat() == sdc->asSurfaceProxy()->backendFormat() && in onIsCompatible()
|
/external/skia/gm/ |
D | clear_swizzle.cpp | 31 rtCtx->asSurfaceProxy()->backendFormat(), in __anon219885010102() 34 rtCtx->asSurfaceProxy()->isProtected(), in __anon219885010102()
|
D | preservefillrule.cpp | 96 dContext->priv().flushSurface(rtc->asSurfaceProxy()); in onDraw()
|
/external/skqp/src/image/ |
D | SkSurface_Gpu.cpp | 30 SkASSERT(fDevice->accessRenderTargetContext()->asSurfaceProxy()->priv().isExact()); in SkSurface_Gpu() 94 if (!rtc->asSurfaceProxy()) { in onNewImageSnapshot() 98 SkBudgeted budgeted = rtc->asSurfaceProxy()->isBudgeted(); in onNewImageSnapshot() 103 srcProxy = GrSurfaceProxy::Copy(ctx, rtc->asSurfaceProxy(), rtc->mipMapped(), *subset, in onNewImageSnapshot() 109 SkASSERT(rtc->origin() == rtc->asSurfaceProxy()->origin()); in onNewImageSnapshot() 111 srcProxy = GrSurfaceProxy::Copy(ctx, rtc->asSurfaceProxy(), rtc->mipMapped(), in onNewImageSnapshot() 145 if (rtc->asSurfaceProxy()->underlyingUniqueID() == imageProxy->underlyingUniqueID()) { in onCopyOnWrite()
|
D | SkImage_GpuBase.cpp | 349 if (!renderTargetContext->asSurfaceProxy()) { in RenderYUVAToRGBA() 363 ctx->contextPriv().flushSurfaceWrites(renderTargetContext->asSurfaceProxy()); in RenderYUVAToRGBA()
|
/external/skia/src/gpu/ |
D | GrSurfaceContext.cpp | 436 if (this->asSurfaceProxy()->readOnly()) { in internalWritePixels() 448 GrSurfaceProxy* dstProxy = this->asSurfaceProxy(); in internalWritePixels() 662 auto backendFormatOfFinalContext = this->asSurfaceProxy()->backendFormat(); in asyncRescaleAndReadPixels() 810 if (!dContext || this->asSurfaceProxy()->isProtected() == GrProtected::kYes) { in asyncReadPixels() 869 dContext->priv().flushSurface(this->asSurfaceProxy(), in asyncReadPixels() 901 if (this->asSurfaceProxy()->isProtected() == GrProtected::kYes) { in asyncRescaleAndReadPixelsYUV420() 1102 dContext->priv().flushSurface(this->asSurfaceProxy(), in asyncRescaleAndReadPixelsYUV420() 1118 SkASSERT(src->backendFormat() == this->asSurfaceProxy()->backendFormat()); in copy() 1120 if (this->asSurfaceProxy()->framebufferOnly()) { in copy() 1124 if (!caps->canCopySurface(this->asSurfaceProxy(), src.get(), srcRect, dstPoint)) { in copy() [all …]
|
D | GrSurfaceFillContext.cpp | 265 fOpsTask = sk_ref_sp(context->priv().drawingManager()->getLastOpsTask(this->asSurfaceProxy())); in GrSurfaceFillContext() 266 SkASSERT(this->asSurfaceProxy() == fWriteView.proxy()); in GrSurfaceFillContext() 300 if (!bounds.intersect(this->asSurfaceProxy()->getBoundsRect())) { in addDrawOp() 382 GrScissorState scissorState(this->asSurfaceProxy()->backingStoreDimensions()); in internalClear()
|
D | GrSurfaceContext.h | 151 GrSurfaceProxy* asSurfaceProxy() { return fReadView.proxy(); } in asSurfaceProxy() function 152 const GrSurfaceProxy* asSurfaceProxy() const { return fReadView.proxy(); } in asSurfaceProxy() function
|
D | GrSurfaceDrawContext.cpp | 460 SkRect r = this->asSurfaceProxy()->getBoundsRect(); in drawPaint() 468 SkIRect bounds = SkIRect::MakeSize(this->asSurfaceProxy()->dimensions()); in drawPaint() 512 SkRect rtRect = this->asSurfaceProxy()->getBoundsRect(); in attemptQuadOptimization() 891 GrScissorState scissorState(this->asSurfaceProxy()->backingStoreDimensions()); in internalStencilClear() 1655 return this->asSurfaceProxy()->isBudgeted(); in isBudgeted() 1916 GrAppliedClip appliedClip(this->dimensions(), this->asSurfaceProxy()->backingStoreDimensions()); in addDrawOp() 1938 skipDraw = !bounds.intersect(this->asSurfaceProxy()->getBoundsRect()); in addDrawOp() 2014 SkIRect copyRect = SkIRect::MakeSize(this->asSurfaceProxy()->backingStoreDimensions()); in setupDstProxyView()
|
D | GrSurfaceDrawContext.h | 613 GrSurfaceProxy::UniqueID uniqueID() const { return this->asSurfaceProxy()->uniqueID(); } in uniqueID() 653 GrRenderTarget* accessRenderTarget() { return this->asSurfaceProxy()->peekRenderTarget(); } in accessRenderTarget()
|
D | SkGpuDevice.cpp | 214 SkASSERT(sdc->asSurfaceProxy()->priv().isExact()); 728 SkASSERT(sdc->asSurfaceProxy()); 995 fSurfaceDrawContext->asSurfaceProxy()->isProtected(), kBottomLeft_GrSurfaceOrigin,
|
/external/skia/src/gpu/vk/ |
D | GrVkSecondaryCBDrawContext.cpp | 36 SkASSERT(rtc->asSurfaceProxy()->isInstantiated()); in Make() 68 dContext->priv().flushSurface(fDevice->surfaceDrawContext()->asSurfaceProxy()); in flush()
|
/external/skia/tests/ |
D | DefaultPathRendererTest.cpp | 100 dContext->priv().flushSurface(rtc->asSurfaceProxy()); in run_test()
|
D | WrappedSurfaceCopyOnWriteTest.cpp | 40 return sdc->asSurfaceProxy()->uniqueID(); in DEF_GPUTEST_FOR_ALL_CONTEXTS()
|
/external/skqp/tests/ |
D | EGLImageTest.cpp | 196 test_copy_from_surface(reporter, context0, surfaceContext->asSurfaceProxy(), in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
|
/external/skia/src/gpu/ccpr/ |
D | GrCCPerFlushResources.cpp | 168 if (surfaceDrawContext->asSurfaceProxy()->requiresManualMSAAResolve()) { in flushRenderedPaths()
|
/external/skia/src/gpu/tessellate/ |
D | GrTessellationPathRenderer.cpp | 446 if (rtc->asSurfaceProxy()->requiresManualMSAAResolve()) { in renderAtlas()
|
/external/skqp/tools/debugger/ |
D | SkDebugCanvas.cpp | 172 GrSurfaceProxy::UniqueID proxyID = rtc->asSurfaceProxy()->uniqueID(); in drawTo()
|