Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
SkSpecialImage.cpp File Reference
#include "src/core/SkSpecialImage.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColorType.h"
#include "include/core/SkImage.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPoint.h"
#include "include/core/SkShader.h"
#include "include/private/base/SkAssert.h"
#include "src/core/SkNextID.h"
#include "src/image/SkImage_Base.h"
#include "src/shaders/SkImageShader.h"

Go to the source code of this file.

Classes

class  SkSpecialImage_Raster
 

Namespaces

namespace  SkSpecialImages
 

Functions

static bool valid_for_imagefilters (const SkImageInfo &info)
 
sk_sp< SkSpecialImageSkSpecialImages::MakeFromRaster (const SkIRect &subset, const SkBitmap &bm, const SkSurfaceProps &props)
 
sk_sp< SkSpecialImageSkSpecialImages::CopyFromRaster (const SkIRect &subset, const SkBitmap &bm, const SkSurfaceProps &props)
 
sk_sp< SkSpecialImageSkSpecialImages::MakeFromRaster (const SkIRect &subset, sk_sp< SkImage > image, const SkSurfaceProps &props)
 
bool SkSpecialImages::AsBitmap (const SkSpecialImage *img, SkBitmap *result)
 

Function Documentation

◆ valid_for_imagefilters()

static bool valid_for_imagefilters ( const SkImageInfo info)
static

Definition at line 24 of file SkSpecialImage.cpp.

24 {
25 // no support for other swizzles/depths yet
26 return info.colorType() == kN32_SkColorType;
27}
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
Definition: DM.cpp:213