Home
last modified time | relevance | path

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

12

/external/skia/src/image/
DSkImage_Gpu.cpp47 inline SkImage_Gpu::ProxyChooser::ProxyChooser(sk_sp<GrSurfaceProxy> stableProxy) in ProxyChooser()
52 inline SkImage_Gpu::ProxyChooser::ProxyChooser(sk_sp<GrSurfaceProxy> stableProxy, in ProxyChooser()
65 inline SkImage_Gpu::ProxyChooser::~ProxyChooser() { in ~ProxyChooser()
73 inline sk_sp<GrSurfaceProxy> SkImage_Gpu::ProxyChooser::chooseProxy(GrRecordingContext* context) { in chooseProxy()
91 inline sk_sp<GrSurfaceProxy> SkImage_Gpu::ProxyChooser::switchToStableProxy() { in switchToStableProxy()
98 inline sk_sp<GrSurfaceProxy> SkImage_Gpu::ProxyChooser::makeVolatileProxyStable() { in makeVolatileProxyStable()
108 inline bool SkImage_Gpu::ProxyChooser::surfaceMustCopyOnWrite(GrSurfaceProxy* surfaceProxy) const { in surfaceMustCopyOnWrite()
113 inline size_t SkImage_Gpu::ProxyChooser::gpuMemorySize() const { in gpuMemorySize()
122 inline GrMipmapped SkImage_Gpu::ProxyChooser::mipmapped() const { in mipmapped()
132 inline GrBackendFormat SkImage_Gpu::ProxyChooser::backendFormat() { in backendFormat()
[all …]
DSkImage_Gpu.h24 class SkImage_Gpu final : public SkImage_GpuBase {
26 SkImage_Gpu(sk_sp<GrImageContext> context,
35 ~SkImage_Gpu() override;
77 SkImage_Gpu(sk_sp<GrDirectContext>,
DSkSurface_Gpu.cpp128 return SkImage_Gpu::MakeWithVolatileSrc(sk_ref_sp(rContext), in onNewImageSnapshot()
144 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(rContext), in onNewImageSnapshot()
206 if (static_cast<SkImage_Gpu*>(image.get())->surfaceMustCopyOnWrite(sdc->asSurfaceProxy())) { in onCopyOnWrite()
306 image = sk_make_sp<SkImage_Gpu>(sk_ref_sp(canvasContext), in onDraw()
DSkImage_GpuBase.cpp154 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(direct), in onMakeSubset()
/external/skqp/src/image/
DSkImage_Gpu.cpp46 SkImage_Gpu::SkImage_Gpu(sk_sp<GrContext> context, uint32_t uniqueID, SkAlphaType at, in SkImage_Gpu() function in SkImage_Gpu
52 SkImage_Gpu::~SkImage_Gpu() {} in ~SkImage_Gpu()
54 SkImageInfo SkImage_Gpu::onImageInfo() const { in onImageInfo()
63 sk_sp<SkImage> SkImage_Gpu::onMakeColorTypeAndColorSpace(SkColorType targetCT, in onMakeColorTypeAndColorSpace()
98 return sk_make_sp<SkImage_Gpu>(fContext, kNeedNewImageUniqueID, fAlphaType, in onMakeColorTypeAndColorSpace()
122 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(ctx), kNeedNewImageUniqueID, at, std::move(proxy), in new_wrapped_texture_common()
181 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(context), kNeedNewImageUniqueID, kOpaque_SkAlphaType, in MakeFromCompressed()
185 sk_sp<SkImage> SkImage_Gpu::ConvertYUVATexturesToRGB(GrContext* ctx, SkYUVColorSpace yuvColorSpace, in ConvertYUVATexturesToRGB()
211 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(ctx), kNeedNewImageUniqueID, at, in ConvertYUVATexturesToRGB()
238 return SkImage_Gpu::ConvertYUVATexturesToRGB(ctx, yuvColorSpace, yuvaTextures, yuvaIndices, in MakeFromYUVATexturesCopy()
[all …]
DSkImage_Gpu.h23 class SkImage_Gpu : public SkImage_GpuBase {
25 SkImage_Gpu(sk_sp<GrContext>, uint32_t uniqueID, SkAlphaType, sk_sp<GrTextureProxy>,
27 ~SkImage_Gpu() override;
DSkImage_GpuBase.cpp137 return sk_make_sp<SkImage_Gpu>(fContext, kNeedNewImageUniqueID, fAlphaType, in onMakeSubset()
DSkSurface_Gpu.cpp121 image = sk_make_sp<SkImage_Gpu>(sk_ref_sp(ctx), kNeedNewImageUniqueID, info.alphaType(), in onNewImageSnapshot()
/external/skia/tests/
DPromiseImageTest.cpp143 sk_sp<SkImage> refImg(SkImage_Gpu::MakePromiseTexture(ctx->threadSafeProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
250 sk_sp<SkImage> image(SkImage_Gpu::MakePromiseTexture(ctx->threadSafeProxy(), in DEF_GPUTEST()
294 sk_sp<SkImage> image(SkImage_Gpu::MakePromiseTexture(dContext->threadSafeProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
373 sk_sp<SkImage> refImg(SkImage_Gpu::MakePromiseTexture(dContext->threadSafeProxy(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/tests/
DPromiseImageTest.cpp154 SkImage_Gpu::MakePromiseTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
310 SkImage_Gpu::MakePromiseTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
441 SkImage_Gpu::MakePromiseTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
625 SkImage_Gpu::MakePromiseTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
722 sk_sp<SkImage> alphaImg(SkImage_Gpu::MakePromiseTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
729 sk_sp<SkImage> grayImg(SkImage_Gpu::MakePromiseTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
829 sk_sp<SkImage> image(SkImage_Gpu::MakePromiseTexture( in DEF_GPUTEST()
878 sk_sp<SkImage> image(SkImage_Gpu::MakePromiseTexture( in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DSurfaceTest.cpp537 return ((SkImage_Gpu*)image)->peekProxy()->isBudgeted(); in is_budgeted()
781 SkImage_Gpu* gpuImage = (SkImage_Gpu *) as_IB(i); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()
/external/skqp/include/gpu/
DGrBackendSurface.h210 friend class SkImage_Gpu; variable
342 friend class SkImage_Gpu; variable
/external/skia/src/gpu/
DGrDirectContextPriv.cpp181 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(fContext), in testingOnly_getFontAtlasImage()
DSkGpuDevice_drawTexture.cpp701 SkImage_Gpu image(sk_ref_sp(special->getContext()), in drawSpecial()
/external/skia/src/core/
DSkSpecialImage.cpp326 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(context), in wrap_proxy_in_image()
365 new SkImage_Gpu(sk_ref_sp(canvas->recordingContext()), in onDraw()
/external/skqp/src/core/
DSkDeferredDisplayListRecorder.cpp231 return SkImage_Gpu::MakePromiseTexture(fContext.get(), in makePromiseTexture()
DSkSpecialImage.cpp367 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(context), kNeedNewImageUniqueID, alphaType, in wrap_proxy_in_image()
405 sk_sp<SkImage>(new SkImage_Gpu(sk_ref_sp(canvas->getGrContext()), this->uniqueID(), in onDraw()
/external/skqp/gm/
Dflippity.cpp118 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(context), kNeedNewImageUniqueID, kOpaque_SkAlphaType, in make_reference_image()
Dimage_pict.cpp283 sk_sp<SkImage> texImage(new SkImage_Gpu(sk_ref_sp(canvas->getGrContext()), in draw_as_tex()
/external/skia/gm/
Dflippity.cpp141 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(context), in make_reference_image()
Dimage_pict.cpp315 sk_sp<SkImage> texImage(new SkImage_Gpu(sk_ref_sp(canvas->recordingContext()), in draw_as_tex()
/external/skqp/tools/gpu/
DGrTest.cpp112 sk_sp<SkImage> image(new SkImage_Gpu(sk_ref_sp(fContext), kNeedNewImageUniqueID, in getFontAtlasImage_ForTesting()
/external/skqp/gn/
Dgpu.gni511 "$_src/image/SkImage_Gpu.h",
512 "$_src/image/SkImage_Gpu.cpp",
Dcore.gni322 # "$_src/image/SkImage_Gpu.cpp",
/external/skia/gn/
Dgpu.gni550 "$_src/image/SkImage_Gpu.cpp",
551 "$_src/image/SkImage_Gpu.h",

12