Home
last modified time | relevance | path

Searched refs:GrTextureProxy (Results 1 – 25 of 145) sorted by relevance

123456

/external/skia/src/gpu/
DGrTextureProxy.cpp13 GrTextureProxy::GrTextureProxy(const GrSurfaceDesc& srcDesc, SkBackingFit fit, SkBudgeted budgeted, in GrTextureProxy() function in GrTextureProxy
19 GrTextureProxy::GrTextureProxy(sk_sp<GrSurface> surf) in GrTextureProxy() function in GrTextureProxy
23 GrTexture* GrTextureProxy::instantiate(GrResourceProvider* resourceProvider) { in instantiate()
32 void GrTextureProxy::setMipColorMode(SkDestinationSurfaceColorMode colorMode) { in setMipColorMode()
42 size_t GrTextureProxy::onGpuMemorySize() const { in onGpuMemorySize()
DGrTextureAdjuster.h26 sk_sp<GrTextureProxy> refTextureProxySafeForParams(const GrSamplerParams&, SkIPoint* outOffset,
39 GrTextureAdjuster(GrContext*, sk_sp<GrTextureProxy>, SkAlphaType, const SkIRect& area,
48 GrTextureProxy* originalProxy() const { return fOriginal.get(); } in originalProxy()
49 sk_sp<GrTextureProxy> originalProxyRef() const { return fOriginal; } in originalProxyRef()
57 sk_sp<GrTextureProxy> fOriginal;
62 sk_sp<GrTextureProxy> refTextureProxyCopy(const CopyParams &copyParams);
DGrSurfaceProxy.cpp128 return sk_sp<GrSurfaceProxy>(new GrTextureProxy(std::move(surf))); in MakeWrapped()
138 sk_sp<GrTextureProxy> GrSurfaceProxy::MakeWrapped(sk_sp<GrTexture> tex) { in MakeWrapped()
144 return sk_sp<GrTextureProxy>(new GrTextureRenderTargetProxy(std::move(tex))); in MakeWrapped()
146 return sk_sp<GrTextureProxy>(new GrTextureProxy(std::move(tex))); in MakeWrapped()
152 sk_sp<GrTextureProxy> GrSurfaceProxy::MakeDeferred(GrResourceProvider* resourceProvider, in MakeDeferred()
206 return sk_sp<GrTextureProxy>(new GrTextureRenderTargetProxy(*caps, copyDesc, fit, in MakeDeferred()
210 return sk_sp<GrTextureProxy>(new GrTextureProxy(copyDesc, fit, budgeted, nullptr, 0, flags)); in MakeDeferred()
213 sk_sp<GrTextureProxy> GrSurfaceProxy::MakeDeferred(GrResourceProvider* resourceProvider, in MakeDeferred()
243 sk_sp<GrTextureProxy> GrSurfaceProxy::Copy(GrContext* context, in Copy()
270 sk_sp<GrTextureProxy> GrSurfaceProxy::Copy(GrContext* context, GrSurfaceProxy* src, in Copy()
DGrTextureAdjuster.cpp17 GrTextureAdjuster::GrTextureAdjuster(GrContext* context, sk_sp<GrTextureProxy> original, in GrTextureAdjuster()
47 sk_sp<GrTextureProxy> GrTextureAdjuster::refTextureProxyCopy(const CopyParams& copyParams) { in refTextureProxyCopy()
51 sk_sp<GrTextureProxy> cachedCopy = fContext->resourceProvider()->findProxyByUniqueKey(key); in refTextureProxyCopy()
57 sk_sp<GrTextureProxy> proxy = this->originalProxyRef(); in refTextureProxyCopy()
60 sk_sp<GrTextureProxy> copy = CopyOnGpu(fContext, std::move(proxy), contentArea, copyParams); in refTextureProxyCopy()
70 sk_sp<GrTextureProxy> GrTextureAdjuster::refTextureProxySafeForParams( in refTextureProxySafeForParams()
74 sk_sp<GrTextureProxy> proxy = this->originalProxyRef(); in refTextureProxySafeForParams()
101 sk_sp<GrTextureProxy> copy = this->refTextureProxyCopy(copyParams); in refTextureProxySafeForParams()
134 sk_sp<GrTextureProxy> proxy(this->refTextureProxySafeForParams(params, nullptr, scaleAdjust)); in createFragmentProcessor()
DGrTextureContext.h18 class GrTextureProxy; variable
34 GrTextureProxy* asTextureProxy() override { return fTextureProxy.get(); } in asTextureProxy()
35 sk_sp<GrTextureProxy> asTextureProxyRef() override { return fTextureProxy; } in asTextureProxyRef()
41 GrTextureContext(GrContext*, GrDrawingManager*, sk_sp<GrTextureProxy>,
57 sk_sp<GrTextureProxy> fTextureProxy;
DGrTextureMaker.cpp14 sk_sp<GrTextureProxy> GrTextureMaker::refTextureProxyForParams(const GrSamplerParams& params, in refTextureProxyForParams()
36 sk_sp<GrTextureProxy> result(fContext->resourceProvider()->findProxyByUniqueKey(copyKey)); in refTextureProxyForParams()
42 sk_sp<GrTextureProxy> result(this->generateTextureProxyForParams(copyParams, willBeMipped, in refTextureProxyForParams()
84 sk_sp<GrTextureProxy> proxy(this->refTextureProxyForParams(params, dstColorSpace, in createFragmentProcessor()
106 sk_sp<GrTextureProxy> GrTextureMaker::generateTextureProxyForParams(const CopyParams& copyParams, in generateTextureProxyForParams()
109 sk_sp<GrTextureProxy> original(this->refOriginalTextureProxy(willBeMipped, dstColorSpace)); in generateTextureProxyForParams()
DGrTextureProducer.h17 class GrTextureProxy; variable
122 static sk_sp<GrTextureProxy> CopyOnGpu(GrContext*, sk_sp<GrTextureProxy> inputProxy,
129 GrTextureProxy*,
136 sk_sp<GrTextureProxy> proxy,
DGrClipStackClip.h15 class GrTextureProxy; variable
36 sk_sp<GrTextureProxy> testingOnly_createClipMask(GrContext*) const;
50 sk_sp<GrTextureProxy> createAlphaClipMask(GrContext*, const GrReducedClip&) const;
53 sk_sp<GrTextureProxy> createSoftwareClipMask(GrContext*, const GrReducedClip&) const;
DSkGr.h31 class GrTextureProxy; variable
206 sk_sp<GrTextureProxy> GrRefCachedBitmapTextureProxy(GrContext*,
216 sk_sp<GrTextureProxy> GrUploadBitmapToTextureProxy(GrResourceProvider*, const SkBitmap&);
218 sk_sp<GrTextureProxy> GrGenerateMipMapsAndUploadToTextureProxy(GrContext*, const SkBitmap&,
224 sk_sp<GrTextureProxy> GrUploadPixmapToTextureProxy(GrResourceProvider*,
230 sk_sp<GrTextureProxy> GrUploadMipMapToTextureProxy(GrContext*, const SkImageInfo&,
246 sk_sp<GrTextureProxy> GrMakeCachedBitmapProxy(GrResourceProvider*, const SkBitmap& bitmap);
DGrPaint.h21 class GrTextureProxy; variable
114 void addColorTextureProcessor(GrResourceProvider*, sk_sp<GrTextureProxy>,
116 void addColorTextureProcessor(GrResourceProvider*, sk_sp<GrTextureProxy>,
120 void addCoverageTextureProcessor(GrResourceProvider*, sk_sp<GrTextureProxy>, const SkMatrix&);
121 void addCoverageTextureProcessor(GrResourceProvider*, sk_sp<GrTextureProxy>,
DGrPaint.cpp23 sk_sp<GrTextureProxy> proxy, in addColorTextureProcessor()
32 sk_sp<GrTextureProxy> proxy, in addColorTextureProcessor()
43 sk_sp<GrTextureProxy> proxy, in addCoverageTextureProcessor()
51 sk_sp<GrTextureProxy> proxy, in addCoverageTextureProcessor()
DGrTextureMaker.h26 sk_sp<GrTextureProxy> refTextureProxyForParams(const GrSamplerParams&,
48 virtual sk_sp<GrTextureProxy> refOriginalTextureProxy(bool willBeMipped,
67 virtual sk_sp<GrTextureProxy> generateTextureProxyForParams(const CopyParams&,
/external/skia/include/private/
DGrTextureProxy.h19 class GrTextureProxy : virtual public GrSurfaceProxy {
21 GrTextureProxy* asTextureProxy() override { return this; } in asTextureProxy()
22 const GrTextureProxy* asTextureProxy() const override { return this; } in asTextureProxy()
33 GrTextureProxy(const GrSurfaceDesc& srcDesc, SkBackingFit, SkBudgeted,
36 GrTextureProxy(sk_sp<GrSurface>);
DGrSurfaceProxy.h23 class GrTextureProxy; variable
171 static sk_sp<GrTextureProxy> MakeWrapped(sk_sp<GrTexture>);
173 static sk_sp<GrTextureProxy> MakeDeferred(GrResourceProvider*,
179 static sk_sp<GrTextureProxy> MakeDeferred(GrResourceProvider*,
248 virtual GrTextureProxy* asTextureProxy() { return nullptr; } in asTextureProxy()
249 virtual const GrTextureProxy* asTextureProxy() const { return nullptr; } in asTextureProxy()
286 static sk_sp<GrTextureProxy> Copy(GrContext*, GrSurfaceProxy* src,
291 static sk_sp<GrTextureProxy> Copy(GrContext* context, GrSurfaceProxy* src,
/external/skia/src/image/
DSkImage_Gpu.h25 SkImage_Gpu(GrContext*, uint32_t uniqueID, SkAlphaType, sk_sp<GrTextureProxy>,
35 GrTextureProxy* peekProxy() const override { in peekProxy()
41 sk_sp<GrTextureProxy> asTextureProxyRef() const override { in asTextureProxyRef()
44 sk_sp<GrTextureProxy> asTextureProxyRef(GrContext*, const GrSamplerParams&, SkColorSpace*,
48 sk_sp<GrTextureProxy> refPinnedTextureProxy(uint32_t* uniqueID) const override { in refPinnedTextureProxy()
69 sk_sp<GrTextureProxy> fProxy;
DSkImage_Base.h53 virtual GrTextureProxy* peekProxy() const { return nullptr; } in peekProxy()
54 virtual sk_sp<GrTextureProxy> asTextureProxyRef() const { return nullptr; } in asTextureProxyRef()
55 virtual sk_sp<GrTextureProxy> asTextureProxyRef(GrContext*, const GrSamplerParams&,
58 virtual sk_sp<GrTextureProxy> refPinnedTextureProxy(uint32_t* uniqueID) const { in refPinnedTextureProxy()
/external/skia/tests/
DProxyConversionTest.cpp86 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
97 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
111 GrTextureProxy* tProxy = sProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
130 sk_sp<GrTextureProxy> proxy(GrSurfaceProxy::MakeDeferred(resourceProvider, desc, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
137 GrTextureProxy* tProxy = rtProxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
144 sk_sp<GrTextureProxy> proxy(GrSurfaceProxy::MakeDeferred(resourceProvider, desc, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
149 GrTextureProxy* tProxy = proxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
160 sk_sp<GrTextureProxy> proxy(GrSurfaceProxy::MakeDeferred(resourceProvider, desc, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
165 GrTextureProxy* tProxy = proxy->asTextureProxy(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skia/src/gpu/effects/
DGrYUVEffect.h15 class GrTextureProxy; variable
23 sk_sp<GrTextureProxy> yProxy,
24 sk_sp<GrTextureProxy> uProxy,
25 sk_sp<GrTextureProxy> vProxy, const SkISize sizes[3],
DGrSingleTextureEffect.h17 class GrTextureProxy; variable
47 GrSingleTextureEffect(GrResourceProvider*, OptimizationFlags, sk_sp<GrTextureProxy>,
50 GrSingleTextureEffect(GrResourceProvider*, OptimizationFlags, sk_sp<GrTextureProxy>,
53 GrSingleTextureEffect(GrResourceProvider*, OptimizationFlags, sk_sp<GrTextureProxy>,
DGrBicubicEffect.h33 sk_sp<GrTextureProxy> proxy, in Make()
46 sk_sp<GrTextureProxy> proxy, in Make()
66 GrBicubicEffect(GrResourceProvider*, sk_sp<GrTextureProxy>, sk_sp<GrColorSpaceXform>,
68 GrBicubicEffect(GrResourceProvider*, sk_sp<GrTextureProxy>, sk_sp<GrColorSpaceXform>,
DGrTextureDomain.h47 static const GrTextureDomain gDomain((GrTextureProxy*)nullptr, in IgnoredDomain()
58 GrTextureDomain(GrTextureProxy*, const SkRect& domain, Mode, int index = -1);
157 sk_sp<GrTextureProxy>,
179 sk_sp<GrTextureProxy>,
201 static sk_sp<GrFragmentProcessor> Make(GrResourceProvider*, sk_sp<GrTextureProxy>,
222 GrDeviceSpaceTextureDecalFragmentProcessor(GrResourceProvider*, sk_sp<GrTextureProxy>,
DGrDistanceFieldGeoProc.h54 sk_sp<GrTextureProxy> proxy, in Make()
64 sk_sp<GrTextureProxy> proxy,
94 sk_sp<GrTextureProxy> proxy, const GrSamplerParams& params,
127 const SkMatrix& viewMatrix, sk_sp<GrTextureProxy> proxy, in Make()
153 sk_sp<GrTextureProxy>, const GrSamplerParams&, uint32_t flags,
195 sk_sp<GrTextureProxy> proxy, in Make()
224 sk_sp<GrTextureProxy> proxy, const GrSamplerParams& params,
DGrSimpleTextureEffect.h51 sk_sp<GrTextureProxy> proxy, in Make()
62 sk_sp<GrTextureProxy> proxy, in Make()
73 sk_sp<GrTextureProxy> proxy, in Make()
106 GrSimpleTextureEffect(GrResourceProvider*, sk_sp<GrTextureProxy>,
110 GrSimpleTextureEffect(GrResourceProvider*, sk_sp<GrTextureProxy>,
DGrYUVEffect.cpp66 sk_sp<GrTextureProxy> yProxy, in Make()
67 sk_sp<GrTextureProxy> uProxy, in Make()
68 sk_sp<GrTextureProxy> vProxy, const SkISize sizes[3], in Make()
157 sk_sp<GrTextureProxy> yProxy, sk_sp<GrTextureProxy> uProxy, in YUVtoRGBEffect()
158 sk_sp<GrTextureProxy> vProxy, const SkMatrix yuvMatrix[3], in YUVtoRGBEffect()
366 sk_sp<GrTextureProxy> yProxy, in MakeYUVToRGB()
367 sk_sp<GrTextureProxy> uProxy, in MakeYUVToRGB()
368 sk_sp<GrTextureProxy> vProxy, in MakeYUVToRGB()
/external/skia/src/effects/
DGrAlphaThresholdFragmentProcessor.h24 sk_sp<GrTextureProxy> proxy, in Make()
26 sk_sp<GrTextureProxy> maskProxy, in Make()
50 sk_sp<GrTextureProxy> proxy,
52 sk_sp<GrTextureProxy> maskProxy,

123456