Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions
TextureUtils.h File Reference
#include "include/core/SkImage.h"
#include "include/core/SkRefCnt.h"
#include "include/gpu/GpuTypes.h"
#include "include/gpu/graphite/Image.h"
#include "src/gpu/graphite/TextureProxyView.h"
#include <functional>
#include <tuple>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 
namespace  skif
 

Functions

std::tuple< TextureProxyView, SkColorTypeskgpu::graphite::MakeBitmapProxyView (Recorder *recorder, const SkBitmap &bitmap, sk_sp< SkMipmap > mipmapsIn, Mipmapped mipmapped, Budgeted budgeted)
 
sk_sp< TextureProxyskgpu::graphite::MakePromiseImageLazyProxy (const Caps *, SkISize dimensions, TextureInfo, Volatile, sk_sp< skgpu::RefCntedCallback > releaseHelper, SkImages::GraphitePromiseTextureFulfillProc, SkImages::GraphitePromiseTextureFulfillContext, SkImages::GraphitePromiseTextureReleaseProc)
 
sk_sp< SkImageskgpu::graphite::MakeFromBitmap (Recorder *recorder, const SkColorInfo &colorInfo, const SkBitmap &bitmap, sk_sp< SkMipmap > mipmaps, Budgeted budgeted, SkImage::RequiredProperties requiredProps)
 
size_t skgpu::graphite::ComputeSize (SkISize dimensions, const TextureInfo &info)
 
sk_sp< SkImageskgpu::graphite::RescaleImage (Recorder *recorder, const SkImage *srcImage, SkIRect srcIRect, const SkImageInfo &dstInfo, SkImage::RescaleGamma rescaleGamma, SkImage::RescaleMode rescaleMode)
 
bool skgpu::graphite::GenerateMipmaps (Recorder *recorder, sk_sp< TextureProxy > texture, const SkColorInfo &colorInfo)
 
TextureProxyView skgpu::graphite::AsView (const SkImage *image)
 
TextureProxyView skgpu::graphite::AsView (sk_sp< SkImage > image)
 
std::pair< sk_sp< SkImage >, SkSamplingOptionsskgpu::graphite::GetGraphiteBacked (Recorder *recorder, const SkImage *imageIn, SkSamplingOptions sampling)
 
SkColorType skgpu::graphite::ComputeShaderCoverageMaskTargetFormat (const Caps *caps)