Flutter Engine
The Flutter Engine
Namespaces | Typedefs | Enumerations | Functions
Image.h File Reference
#include "include/core/SkColorSpace.h"
#include "include/core/SkImage.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSpan.h"
#include "include/gpu/GpuTypes.h"
#include <string_view>

Go to the source code of this file.

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 
namespace  SkImages
 

Typedefs

using SkImages::GraphitePromiseImageContext = void *
 
using SkImages::GraphitePromiseTextureFulfillContext = void *
 
using SkImages::GraphitePromiseTextureReleaseContext = void *
 
using SkImages::GraphitePromiseTextureFulfillProc = std::tuple< skgpu::graphite::BackendTexture, GraphitePromiseTextureReleaseContext >(*)(GraphitePromiseTextureFulfillContext)
 
using SkImages::GraphitePromiseImageReleaseProc = void(*)(GraphitePromiseImageContext)
 
using SkImages::GraphitePromiseTextureReleaseProc = void(*)(GraphitePromiseTextureReleaseContext)
 

Enumerations

enum class  SkImages::GenerateMipmapsFromBase : bool { SkImages::kNo , SkImages::kYes }
 

Functions

SK_API sk_sp< SkImageSkImages::WrapTexture (skgpu::graphite::Recorder *, const skgpu::graphite::BackendTexture &, SkColorType colorType, SkAlphaType alphaType, sk_sp< SkColorSpace > colorSpace, skgpu::Origin origin, GenerateMipmapsFromBase generateMipmapsFromBase, TextureReleaseProc=nullptr, ReleaseContext=nullptr, std::string_view label={})
 
SK_API sk_sp< SkImageSkImages::WrapTexture (skgpu::graphite::Recorder *, const skgpu::graphite::BackendTexture &, SkColorType colorType, SkAlphaType alphaType, sk_sp< SkColorSpace > colorSpace, skgpu::Origin origin, TextureReleaseProc=nullptr, ReleaseContext=nullptr, std::string_view label={})
 
SK_API sk_sp< SkImageSkImages::WrapTexture (skgpu::graphite::Recorder *, const skgpu::graphite::BackendTexture &, SkColorType colorType, SkAlphaType alphaType, sk_sp< SkColorSpace > colorSpace, TextureReleaseProc=nullptr, ReleaseContext=nullptr, std::string_view label={})
 
sk_sp< SkImageSkImages::AdoptTextureFrom (skgpu::graphite::Recorder *recorder, const skgpu::graphite::BackendTexture &tex, SkColorType colorType, SkAlphaType alphaType, sk_sp< SkColorSpace > colorSpace, skgpu::Origin origin, TextureReleaseProc trProc=nullptr, ReleaseContext ctx=nullptr)
 
sk_sp< SkImageSkImages::AdoptTextureFrom (skgpu::graphite::Recorder *recorder, const skgpu::graphite::BackendTexture &tex, SkColorType colorType, SkAlphaType alphaType, sk_sp< SkColorSpace > colorSpace, TextureReleaseProc trProc=nullptr, ReleaseContext ctx=nullptr)
 
SK_API sk_sp< SkImageSkImages::PromiseTextureFrom (skgpu::graphite::Recorder *, SkISize dimensions, const skgpu::graphite::TextureInfo &, const SkColorInfo &, skgpu::Origin origin, skgpu::graphite::Volatile, GraphitePromiseTextureFulfillProc, GraphitePromiseImageReleaseProc, GraphitePromiseTextureReleaseProc, GraphitePromiseImageContext, std::string_view label={})
 
SK_API sk_sp< SkImageSkImages::PromiseTextureFrom (skgpu::graphite::Recorder *, SkISize dimensions, const skgpu::graphite::TextureInfo &, const SkColorInfo &, skgpu::graphite::Volatile, GraphitePromiseTextureFulfillProc, GraphitePromiseImageReleaseProc, GraphitePromiseTextureReleaseProc, GraphitePromiseImageContext)
 
SK_API sk_sp< SkImageSkImages::PromiseTextureFromYUVA (skgpu::graphite::Recorder *, const skgpu::graphite::YUVABackendTextureInfo &, sk_sp< SkColorSpace > imageColorSpace, skgpu::graphite::Volatile, GraphitePromiseTextureFulfillProc, GraphitePromiseImageReleaseProc, GraphitePromiseTextureReleaseProc, GraphitePromiseImageContext imageContext, GraphitePromiseTextureFulfillContext planeContexts[], std::string_view label={})
 
SK_API sk_sp< SkImageSkImages::TextureFromImage (skgpu::graphite::Recorder *, const SkImage *, SkImage::RequiredProperties={})
 
sk_sp< SkImageSkImages::TextureFromImage (skgpu::graphite::Recorder *r, const sk_sp< const SkImage > &img, SkImage::RequiredProperties props={})
 
SK_API sk_sp< SkImageSkImages::TextureFromYUVAPixmaps (skgpu::graphite::Recorder *, const SkYUVAPixmaps &pixmaps, SkImage::RequiredProperties={}, bool limitToMaxTextureSize=false, sk_sp< SkColorSpace > imgColorSpace=nullptr, std::string_view label={})
 
SK_API sk_sp< SkImageSkImages::TextureFromYUVATextures (skgpu::graphite::Recorder *recorder, const skgpu::graphite::YUVABackendTextures &yuvaBackendTextures, sk_sp< SkColorSpace > imageColorSpace, TextureReleaseProc=nullptr, ReleaseContext=nullptr, std::string_view label={})
 
SK_API sk_sp< SkImageSkImages::TextureFromYUVAImages (skgpu::graphite::Recorder *recorder, const SkYUVAInfo &yuvaInfo, SkSpan< const sk_sp< SkImage > > images, sk_sp< SkColorSpace > imageColorSpace)
 
SK_API sk_sp< SkImageSkImages::SubsetTextureFrom (skgpu::graphite::Recorder *recorder, const SkImage *img, const SkIRect &subset, SkImage::RequiredProperties props={})
 
SK_API sk_sp< SkImageSkImages::MakeWithFilter (skgpu::graphite::Recorder *recorder, sk_sp< SkImage > src, const SkImageFilter *filter, const SkIRect &subset, const SkIRect &clipBounds, SkIRect *outSubset, SkIPoint *offset)