Flutter Engine
The Flutter Engine
|
#include "gm/gm.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkFont.h"
#include "include/core/SkFontTypes.h"
#include "include/core/SkImage.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSize.h"
#include "include/core/SkString.h"
#include "include/core/SkSurface.h"
#include "include/core/SkTypeface.h"
#include "include/core/SkTypes.h"
#include "include/gpu/GrDirectContext.h"
#include "include/gpu/GrRecordingContext.h"
#include "include/gpu/GrTypes.h"
#include "include/private/base/SkTArray.h"
#include "src/gpu/ganesh/GrDirectContextPriv.h"
#include "src/gpu/ganesh/GrPixmap.h"
#include "src/gpu/ganesh/image/SkImage_Ganesh.h"
#include "src/image/SkImage_Base.h"
#include "tools/ToolUtils.h"
#include "tools/fonts/FontToolUtils.h"
#include "tools/gpu/ProxyUtils.h"
#include <string.h>
#include <utility>
Go to the source code of this file.
Classes | |
class | FlippityGM |
Functions | |
static sk_sp< SkImage > | make_text_image (const char *text, SkColor color) |
static sk_sp< SkImage > | make_reference_image (SkCanvas *mainCanvas, const TArray< sk_sp< SkImage > > &labels, bool bottomLeftOrigin) |
static bool | UVMatToGeomMatForImage (SkMatrix *geomMat, const SkMatrix &uvMat) |
Variables | |
static const int | kNumMatrices = 6 |
static const int | kImageSize = 128 |
static const int | kLabelSize = 32 |
static const int | kNumLabels = 4 |
static const int | kInset = 16 |
static const int | kCellSize = kImageSize+2*kLabelSize |
static const int | kGMWidth = kNumMatrices*kCellSize |
static const int | kGMHeight = 4*kCellSize |
static const SkPoint | kPoints [kNumLabels] |
static const SkMatrix | kUVMatrices [kNumMatrices] |
|
static |
Definition at line 113 of file flippity.cpp.
Definition at line 86 of file flippity.cpp.
Definition at line 157 of file flippity.cpp.
|
static |
Definition at line 49 of file flippity.cpp.
Definition at line 51 of file flippity.cpp.
|
static |
Definition at line 50 of file flippity.cpp.
|
static |
Definition at line 44 of file flippity.cpp.
|
static |
Definition at line 47 of file flippity.cpp.
|
static |
Definition at line 45 of file flippity.cpp.
|
static |
Definition at line 46 of file flippity.cpp.
|
static |
Definition at line 43 of file flippity.cpp.
|
static |
Definition at line 53 of file flippity.cpp.
|
static |
Definition at line 60 of file flippity.cpp.