Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Namespaces | Functions
GrImageUtils.h File Reference
#include "include/core/SkRefCnt.h"
#include "include/core/SkSamplingOptions.h"
#include "include/core/SkYUVAPixmaps.h"
#include "src/gpu/ganesh/GrFragmentProcessor.h"
#include "src/gpu/ganesh/GrSurfaceProxyView.h"
#include "src/gpu/ganesh/SkGr.h"
#include <cstdint>
#include <memory>
#include <string_view>
#include <tuple>

Go to the source code of this file.

Namespaces

namespace  skgpu
 
namespace  skgpu::ganesh
 
namespace  skif
 

Functions

std::tuple< GrSurfaceProxyView, GrColorTypeskgpu::ganesh::AsView (GrRecordingContext *rContext, const SkImage *img, skgpu::Mipmapped mipmapped, GrImageTexGenPolicy policy)
 
std::tuple< GrSurfaceProxyView, GrColorTypeskgpu::ganesh::AsView (GrRecordingContext *ctx, const sk_sp< const SkImage > &img, skgpu::Mipmapped mm, GrImageTexGenPolicy policy=GrImageTexGenPolicy::kDraw)
 
std::tuple< GrSurfaceProxyView, GrColorTypeskgpu::ganesh::RasterAsView (GrRecordingContext *rContext, const SkImage_Raster *raster, skgpu::Mipmapped mipmapped, GrImageTexGenPolicy policy)
 
GrSurfaceProxyView skgpu::ganesh::CopyView (GrRecordingContext *context, GrSurfaceProxyView src, skgpu::Mipmapped mipmapped, GrImageTexGenPolicy policy, std::string_view label)
 
GrSurfaceProxyView skgpu::ganesh::LockTextureProxyView (GrRecordingContext *rContext, const SkImage_Lazy *img, GrImageTexGenPolicy texGenPolicy, skgpu::Mipmapped mipmapped)
 
GrColorType skgpu::ganesh::ColorTypeOfLockTextureProxy (const GrCaps *caps, SkColorType sct)
 
std::unique_ptr< GrFragmentProcessorskgpu::ganesh::AsFragmentProcessor (GrRecordingContext *rContext, const SkImage *img, SkSamplingOptions sampling, const SkTileMode tileModes[2], const SkMatrix &m, const SkRect *subset, const SkRect *domain)
 
std::unique_ptr< GrFragmentProcessorskgpu::ganesh::AsFragmentProcessor (GrRecordingContext *ctx, const sk_sp< const SkImage > &img, SkSamplingOptions opt, const SkTileMode tm[2], const SkMatrix &m, const SkRect *subset=nullptr, const SkRect *domain=nullptr)
 
std::unique_ptr< GrFragmentProcessorskgpu::ganesh::MakeFragmentProcessorFromView (GrRecordingContext *rContext, GrSurfaceProxyView view, SkAlphaType at, SkSamplingOptions sampling, const SkTileMode tileModes[2], const SkMatrix &m, const SkRect *subset, const SkRect *domain)
 
GrSurfaceProxyView skgpu::ganesh::FindOrMakeCachedMipmappedView (GrRecordingContext *rContext, GrSurfaceProxyView view, uint32_t imageUniqueID)
 
SkYUVAPixmapInfo::SupportedDataTypes skgpu::ganesh::SupportedTextureFormats (const GrImageContext &context)
 
sk_sp< Backendskif::MakeGaneshBackend (sk_sp< GrRecordingContext > context, GrSurfaceOrigin origin, const SkSurfaceProps &surfaceProps, SkColorType colorType)