Home
last modified time | relevance | path

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

12

/external/skqp/src/gpu/
DGrSurfaceContext.h39 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;
DGrSurfaceContext.cpp48 !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()
DGrTextureContext.h30 GrSurfaceProxy* asSurfaceProxy() override { return fTextureProxy.get(); } in asSurfaceProxy() function
31 const GrSurfaceProxy* asSurfaceProxy() const override { return fTextureProxy.get(); } in asSurfaceProxy() function
DGrContext.cpp405 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()
DGrRenderTargetContext.h404 GrSurfaceProxy* asSurfaceProxy() override { return fRenderTargetProxy.get(); } in asSurfaceProxy() function
405 const GrSurfaceProxy* asSurfaceProxy() const override { return fRenderTargetProxy.get(); } in asSurfaceProxy() function
DSkGpuDevice.cpp268 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/skia/src/gpu/
DGrSurfaceContext.h39 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;
DGrSurfaceContext.cpp59 !GrPixelConfigIsOpaque(this->asSurfaceProxy()->config())) { in readPixels()
108 if (!fContext->priv().caps()->canCopySurface(this->asSurfaceProxy(), src, srcRect, in copy()
113 return this->getOpList()->copySurface(fContext, this->asSurfaceProxy(), in copy()
DGrTextureContext.h30 GrSurfaceProxy* asSurfaceProxy() override { return fTextureProxy.get(); } in asSurfaceProxy() function
31 const GrSurfaceProxy* asSurfaceProxy() const override { return fTextureProxy.get(); } in asSurfaceProxy() function
DGrContextPriv.cpp305 ASSERT_OWNED_PROXY_PRIV(src->asSurfaceProxy()); in readSurfacePixels()
314 if (!src->asSurfaceProxy()->instantiate(this->resourceProvider())) { in readSurfacePixels()
318 GrSurfaceProxy* srcProxy = src->asSurfaceProxy(); in readSurfacePixels()
500 ASSERT_OWNED_PROXY_PRIV(dst->asSurfaceProxy()); in writeSurfacePixels()
507 if (!dst->asSurfaceProxy()->instantiate(this->resourceProvider())) { in writeSurfacePixels()
511 GrSurfaceProxy* dstProxy = dst->asSurfaceProxy(); in writeSurfacePixels()
DGrRenderTargetContext.h440 GrSurfaceProxy* asSurfaceProxy() override { return fRenderTargetProxy.get(); } in asSurfaceProxy() function
441 const GrSurfaceProxy* asSurfaceProxy() const override { return fRenderTargetProxy.get(); } in asSurfaceProxy() function
DSkGpuDevice.cpp263 SkASSERT(newRTC->asSurfaceProxy()->priv().isExact()); in replaceRenderTargetContext()
269 newRTC->copy(fRenderTargetContext->asSurfaceProxy()); in replaceRenderTargetContext()
1232 this->accessRenderTargetContext()->asSurfaceProxy(), in snapSpecial()
1265 SkASSERT(rtc->asSurfaceProxy()); in snapBackImage()
1268 GrSurfaceProxy::Copy(ctx, rtc->asSurfaceProxy(), rtc->mipMapped(), subset, in snapBackImage()
1269 SkBackingFit::kApprox, rtc->asSurfaceProxy()->isBudgeted()); in snapBackImage()
1653 const GrBackendFormat& origFormat = fRenderTargetContext->asSurfaceProxy()->backendFormat(); in onCreateDevice()
/external/skia/gm/
Dclockwise.cpp154 rtc->asSurfaceProxy()->backendFormat(), SkBackingFit::kExact, 100, 200, in onDraw()
155 rtc->asSurfaceProxy()->config(), nullptr, 1, GrMipMapped::kNo, in onDraw()
171 rtc->asSurfaceProxy()->backendFormat(), SkBackingFit::kExact, 100, 200, in onDraw()
172 rtc->asSurfaceProxy()->config(), nullptr, 1, GrMipMapped::kNo, in onDraw()
Dsamplelocations.cpp243 rtc->asSurfaceProxy()->backendFormat(), SkBackingFit::kExact, 200, 200, in onDraw()
244 rtc->asSurfaceProxy()->config(), nullptr, rtc->numStencilSamples(), GrMipMapped::kNo, in onDraw()
/external/skqp/gm/
Dclockwise.cpp157 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/skqp/src/image/
DSkSurface_Gpu.cpp30 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()
DSkImage_GpuBase.cpp349 if (!renderTargetContext->asSurfaceProxy()) { in RenderYUVAToRGBA()
363 ctx->contextPriv().flushSurfaceWrites(renderTargetContext->asSurfaceProxy()); in RenderYUVAToRGBA()
/external/skia/src/image/
DSkSurface_Gpu.cpp34 SkASSERT(fDevice->accessRenderTargetContext()->asSurfaceProxy()->priv().isExact()); in SkSurface_Gpu()
99 if (!rtc->asSurfaceProxy()) { in onNewImageSnapshot()
103 SkBudgeted budgeted = rtc->asSurfaceProxy()->isBudgeted(); in onNewImageSnapshot()
108 srcProxy = GrSurfaceProxy::Copy(ctx, rtc->asSurfaceProxy(), rtc->mipMapped(), *subset, in onNewImageSnapshot()
114 SkASSERT(rtc->origin() == rtc->asSurfaceProxy()->origin()); in onNewImageSnapshot()
116 srcProxy = GrSurfaceProxy::Copy(ctx, rtc->asSurfaceProxy(), rtc->mipMapped(), in onNewImageSnapshot()
150 if (rtc->asSurfaceProxy()->underlyingUniqueID() == imageProxy->underlyingUniqueID()) { in onCopyOnWrite()
DSkImage_GpuBase.cpp361 if (!renderTargetContext->asSurfaceProxy()) { in RenderYUVAToRGBA()
378 ctx->priv().flushSurfaceWrites(renderTargetContext->asSurfaceProxy()); in RenderYUVAToRGBA()
/external/skqp/tests/
DEGLImageTest.cpp196 test_copy_from_surface(reporter, context0, surfaceContext->asSurfaceProxy(), in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DSurfaceTest.cpp145 storedCnt, rtc->asSurfaceProxy()->config()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
161 storedCnt, rtc->asSurfaceProxy()->config()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/tests/
DEGLImageTest.cpp196 test_copy_from_surface(reporter, context0, surfaceContext->asSurfaceProxy(), in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
DSurfaceTest.cpp145 storedCnt, rtc->asSurfaceProxy()->config()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
161 storedCnt, rtc->asSurfaceProxy()->config()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tools/debugger/
DSkDebugCanvas.cpp172 GrSurfaceProxy::UniqueID proxyID = rtc->asSurfaceProxy()->uniqueID(); in drawTo()
/external/skia/tools/debugger/
DSkDebugCanvas.cpp173 GrSurfaceProxy::UniqueID proxyID = rtc->asSurfaceProxy()->uniqueID(); in drawTo()

12