• Home
  • Raw
  • Download

Lines Matching refs:SkImage_Gpu

47 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()
143 SkImage_Gpu::SkImage_Gpu(sk_sp<GrImageContext> context, in SkImage_Gpu() function in SkImage_Gpu
162 SkImage_Gpu::SkImage_Gpu(sk_sp<GrDirectContext> dContext, in SkImage_Gpu() function in SkImage_Gpu
187 sk_sp<SkImage> SkImage_Gpu::MakeWithVolatileSrc(sk_sp<GrRecordingContext> rContext, in MakeWithVolatileSrc()
210 return sk_sp<SkImage>(new SkImage_Gpu(std::move(direct), in MakeWithVolatileSrc()
218 return sk_make_sp<SkImage_Gpu>(std::move(rContext), in MakeWithVolatileSrc()
224 SkImage_Gpu::~SkImage_Gpu() = default;
226 bool SkImage_Gpu::surfaceMustCopyOnWrite(GrSurfaceProxy* surfaceProxy) const { in surfaceMustCopyOnWrite()
230 bool SkImage_Gpu::onHasMipmaps() const { return fChooser.mipmapped() == GrMipmapped::kYes; } in onHasMipmaps()
232 GrSemaphoresSubmitted SkImage_Gpu::onFlush(GrDirectContext* dContext, const GrFlushInfo& info) { in onFlush()
249 GrBackendTexture SkImage_Gpu::onGetBackendTexture(bool flushPendingGrContextIO, in onGetBackendTexture()
285 size_t SkImage_Gpu::onTextureSize() const { return fChooser.gpuMemorySize(); } in onTextureSize()
287 sk_sp<SkImage> SkImage_Gpu::onMakeColorTypeAndColorSpace(SkColorType targetCT, in onMakeColorTypeAndColorSpace()
314 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(direct), in onMakeColorTypeAndColorSpace()
320 sk_sp<SkImage> SkImage_Gpu::onReinterpretColorSpace(sk_sp<SkColorSpace> newCS) const { in onReinterpretColorSpace()
324 return sk_make_sp<SkImage_Gpu>(fContext, in onReinterpretColorSpace()
330 void SkImage_Gpu::onAsyncRescaleAndReadPixels(const SkImageInfo& info, in onAsyncRescaleAndReadPixels()
353 void SkImage_Gpu::onAsyncRescaleAndReadPixelsYUV420(SkYUVColorSpace yuvColorSpace, in onAsyncRescaleAndReadPixelsYUV420()
385 void SkImage_Gpu::generatingSurfaceIsDeleted() { fChooser.makeVolatileProxyStable(); } in generatingSurfaceIsDeleted()
411 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(rContext), in new_wrapped_texture_common()
447 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(rContext), in MakeFromCompressedTexture()
530 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(direct), in MakeTextureFromCompressed()
567 return sk_make_sp<SkImage_Gpu>(sk_ref_sp(dContext), in makeTextureImage()
627 return sk_make_sp<SkImage_Gpu>(std::move(ctx), in MakePromiseTexture()
756 sk_sp<SkImage> image = sk_make_sp<SkImage_Gpu>(sk_ref_sp(dContext), in MakeFromAHardwareBufferWithData()
830 std::tuple<GrSurfaceProxyView, GrColorType> SkImage_Gpu::onAsView( in onAsView()
851 std::unique_ptr<GrFragmentProcessor> SkImage_Gpu::onAsFragmentProcessor( in onAsFragmentProcessor()
872 GrSurfaceProxyView SkImage_Gpu::makeView(GrRecordingContext* rContext) const { in makeView()