Flutter Engine
The Flutter Engine
|
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkData.h"
#include "include/core/SkDataTable.h"
#include "include/core/SkFont.h"
#include "include/core/SkImage.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPicture.h"
#include "include/core/SkPictureRecorder.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSamplingOptions.h"
#include "include/core/SkSerialProcs.h"
#include "include/core/SkSurface.h"
#include "include/core/SkTileMode.h"
#include "include/core/SkTypeface.h"
#include "include/core/SkTypes.h"
#include "include/encode/SkPngEncoder.h"
#include "include/private/base/SkTDArray.h"
#include "tests/Test.h"
#include "tools/DecodeUtils.h"
#include "tools/Resources.h"
#include "tools/ToolUtils.h"
#include "tools/fonts/FontToolUtils.h"
#include <algorithm>
#include <cstring>
#include <functional>
#include <iterator>
Go to the source code of this file.
Classes | |
struct | State |
struct | Context |
Functions | |
static sk_sp< SkImage > | picture_to_image (const sk_sp< SkPicture > &pic) |
DEF_TEST (serial_procs_image, reporter) | |
static sk_sp< SkPicture > | make_pic (const std::function< void(SkCanvas *)> &drawer) |
static SkSerialProcs | makes (SkSerialPictureProc proc, void *ctx=nullptr) |
static SkDeserialProcs | maked (SkDeserialPictureProc proc, const void *ctx=nullptr) |
static sk_sp< SkData > | array_serial_proc (SkPicture *pic, void *ctx) |
static sk_sp< SkPicture > | array_deserial_proc (const void *data, size_t size, void *ctx) |
static void | test_pictures (skiatest::Reporter *reporter, sk_sp< SkPicture > p0, int count, bool skipRoot) |
DEF_TEST (serial_procs_picture, reporter) | |
static sk_sp< SkPicture > | make_picture (const sk_sp< SkTypeface > &tf0, const sk_sp< SkTypeface > &tf1) |
DEF_TEST (serial_typeface, reporter) | |
Definition at line 140 of file SerialProcsTest.cpp.
Definition at line 131 of file SerialProcsTest.cpp.
DEF_TEST | ( | serial_procs_image | , |
reporter | |||
) |
Definition at line 51 of file SerialProcsTest.cpp.
DEF_TEST | ( | serial_procs_picture | , |
reporter | |||
) |
Definition at line 171 of file SerialProcsTest.cpp.
DEF_TEST | ( | serial_typeface | , |
reporter | |||
) |
Definition at line 214 of file SerialProcsTest.cpp.
|
static |
Definition at line 105 of file SerialProcsTest.cpp.
|
static |
Definition at line 202 of file SerialProcsTest.cpp.
|
static |
Definition at line 118 of file SerialProcsTest.cpp.
|
static |
Definition at line 111 of file SerialProcsTest.cpp.
Definition at line 39 of file SerialProcsTest.cpp.
|
static |
Definition at line 156 of file SerialProcsTest.cpp.