Flutter Engine
The Flutter Engine
Namespaces | Typedefs | Functions
SkImageChromium.h File Reference
#include "include/core/SkRefCnt.h"
#include "include/private/base/SkAPI.h"

Go to the source code of this file.

Namespaces

namespace  skgpu
 
namespace  SkImages
 

Typedefs

using SkImages::PromiseImageTextureContext = void *
 
using SkImages::PromiseImageTextureFulfillProc = sk_sp< GrPromiseImageTexture >(*)(PromiseImageTextureContext)
 
using SkImages::PromiseImageTextureReleaseProc = void(*)(PromiseImageTextureContext)
 

Functions

SK_API sk_sp< SkImageSkImages::PromiseTextureFrom (sk_sp< GrContextThreadSafeProxy > gpuContextProxy, const GrBackendFormat &backendFormat, SkISize dimensions, skgpu::Mipmapped mipmapped, GrSurfaceOrigin origin, SkColorType colorType, SkAlphaType alphaType, sk_sp< SkColorSpace > colorSpace, PromiseImageTextureFulfillProc textureFulfillProc, PromiseImageTextureReleaseProc textureReleaseProc, PromiseImageTextureContext textureContext)
 
SK_API sk_sp< SkImageSkImages::PromiseTextureFromYUVA (sk_sp< GrContextThreadSafeProxy > gpuContextProxy, const GrYUVABackendTextureInfo &backendTextureInfo, sk_sp< SkColorSpace > imageColorSpace, PromiseImageTextureFulfillProc textureFulfillProc, PromiseImageTextureReleaseProc textureReleaseProc, PromiseImageTextureContext textureContexts[])
 
SK_API GrDirectContextSkImages::GetContext (const SkImage *src)
 
GrDirectContextSkImages::GetContext (const sk_sp< const SkImage > &src)