Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions | Variables
encode_srgb.cpp File Reference
#include "gm/gm.h"
#include "include/codec/SkCodec.h"
#include "include/codec/SkEncodedImageFormat.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColorSpace.h"
#include "include/core/SkData.h"
#include "include/core/SkImage.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkPixmap.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSize.h"
#include "include/core/SkStream.h"
#include "include/core/SkString.h"
#include "include/core/SkTypes.h"
#include "include/encode/SkJpegEncoder.h"
#include "include/encode/SkPngEncoder.h"
#include "include/encode/SkWebpEncoder.h"
#include "tools/Resources.h"
#include <memory>

Go to the source code of this file.

Classes

class  skiagm::EncodeSRGBGM
 

Namespaces

namespace  skiagm
 

Functions

static void skiagm::make (SkBitmap *bitmap, SkColorType colorType, SkAlphaType alphaType, sk_sp< SkColorSpace > colorSpace)
 
static sk_sp< SkDataskiagm::encode_data (const SkBitmap &bitmap, SkEncodedImageFormat format)
 

Variables

static const int skiagm::imageWidth = 128
 
static const int skiagm::imageHeight = 128