Flutter Engine
The Flutter Engine
|
#include "include/core/SkBBHFactory.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkClipOp.h"
#include "include/core/SkColor.h"
#include "include/core/SkData.h"
#include "include/core/SkFont.h"
#include "include/core/SkFontStyle.h"
#include "include/core/SkImage.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPath.h"
#include "include/core/SkPathTypes.h"
#include "include/core/SkPicture.h"
#include "include/core/SkPictureRecorder.h"
#include "include/core/SkPixelRef.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSamplingOptions.h"
#include "include/core/SkScalar.h"
#include "include/core/SkStream.h"
#include "include/core/SkTypeface.h"
#include "include/core/SkTypes.h"
#include "src/base/SkRandom.h"
#include "src/core/SkBigPicture.h"
#include "src/core/SkPicturePriv.h"
#include "src/core/SkRectPriv.h"
#include "tests/Test.h"
#include "tools/fonts/FontToolUtils.h"
#include <cstddef>
#include <memory>
#include <vector>
Go to the source code of this file.
Classes | |
class | SaveCountingCanvas |
class | SkPictureRecorderReplayTester |
class | ClipCountingCanvas |
struct | CountingBBH |
class | SpoonFedBBHFactory |
Functions | |
static void | make_bm (SkBitmap *bm, int w, int h, SkColor color, bool immutable) |
static void | rand_op (SkCanvas *canvas, SkRandom &rand) |
static void | set_canvas_to_save_count_4 (SkCanvas *canvas) |
void | check_save_state (skiatest::Reporter *reporter, SkPicture *picture, unsigned int numSaves, unsigned int numSaveLayers, unsigned int numRestores) |
static void | create_imbalance (SkCanvas *canvas) |
static void | check_balance (skiatest::Reporter *reporter, SkPicture *picture) |
DEF_TEST (PictureRecorder_replay, reporter) | |
static void | test_unbalanced_save_restores (skiatest::Reporter *reporter) |
static void | test_peephole () |
static void | test_bad_bitmap (skiatest::Reporter *reporter) |
static void | test_clip_bound_opt (skiatest::Reporter *reporter) |
static void | test_cull_rect_reset (skiatest::Reporter *reporter) |
static void | test_gen_id (skiatest::Reporter *reporter) |
static void | test_typeface (skiatest::Reporter *reporter) |
DEF_TEST (Picture, reporter) | |
static void | draw_bitmaps (const SkBitmap &bitmap, SkCanvas *canvas) |
static void | test_draw_bitmaps (SkCanvas *canvas) |
DEF_TEST (Picture_EmptyBitmap, r) | |
DEF_TEST (Canvas_EmptyBitmap, r) | |
DEF_TEST (DontOptimizeSaveLayerDrawDrawRestore, reporter) | |
DEF_TEST (Picture_SkipBBH, r) | |
DEF_TEST (Picture_BitmapLeak, r) | |
DEF_TEST (Picture_getRecordingCanvas, r) | |
DEF_TEST (Picture_preserveCullRect, r) | |
DEF_TEST (Picture_UpdatedCull_1, r) | |
DEF_TEST (Picture_UpdatedCull_2, r) | |
DEF_TEST (Placeholder, r) | |
DEF_TEST (Picture_empty_serial, reporter) | |
DEF_TEST (Picture_drawsNothing, r) | |
DEF_TEST (Picture_emptyNestedPictureBug, r) | |
DEF_TEST (Picture_fillsBBH, r) | |
DEF_TEST (Picture_nested_op_count, r) | |
|
static |
Definition at line 195 of file PictureTest.cpp.
void check_save_state | ( | skiatest::Reporter * | reporter, |
SkPicture * | picture, | ||
unsigned int | numSaves, | ||
unsigned int | numSaveLayers, | ||
unsigned int | numRestores | ||
) |
Definition at line 151 of file PictureTest.cpp.
|
static |
Definition at line 181 of file PictureTest.cpp.
DEF_TEST | ( | Canvas_EmptyBitmap | , |
r | |||
) |
Definition at line 558 of file PictureTest.cpp.
DEF_TEST | ( | DontOptimizeSaveLayerDrawDrawRestore | , |
reporter | |||
) |
Definition at line 566 of file PictureTest.cpp.
DEF_TEST | ( | Picture | , |
reporter | |||
) |
Definition at line 520 of file PictureTest.cpp.
DEF_TEST | ( | Picture_BitmapLeak | , |
r | |||
) |
Definition at line 659 of file PictureTest.cpp.
DEF_TEST | ( | Picture_drawsNothing | , |
r | |||
) |
Definition at line 797 of file PictureTest.cpp.
DEF_TEST | ( | Picture_empty_serial | , |
reporter | |||
) |
Definition at line 783 of file PictureTest.cpp.
DEF_TEST | ( | Picture_EmptyBitmap | , |
r | |||
) |
Definition at line 552 of file PictureTest.cpp.
DEF_TEST | ( | Picture_emptyNestedPictureBug | , |
r | |||
) |
Definition at line 827 of file PictureTest.cpp.
DEF_TEST | ( | Picture_fillsBBH | , |
r | |||
) |
Definition at line 869 of file PictureTest.cpp.
DEF_TEST | ( | Picture_getRecordingCanvas | , |
r | |||
) |
Definition at line 693 of file PictureTest.cpp.
DEF_TEST | ( | Picture_nested_op_count | , |
r | |||
) |
Definition at line 895 of file PictureTest.cpp.
DEF_TEST | ( | Picture_preserveCullRect | , |
r | |||
) |
Definition at line 704 of file PictureTest.cpp.
DEF_TEST | ( | Picture_SkipBBH | , |
r | |||
) |
Definition at line 637 of file PictureTest.cpp.
DEF_TEST | ( | Picture_UpdatedCull_1 | , |
r | |||
) |
Definition at line 728 of file PictureTest.cpp.
DEF_TEST | ( | Picture_UpdatedCull_2 | , |
r | |||
) |
Definition at line 742 of file PictureTest.cpp.
DEF_TEST | ( | PictureRecorder_replay | , |
reporter | |||
) |
Definition at line 217 of file PictureTest.cpp.
DEF_TEST | ( | Placeholder | , |
r | |||
) |
Definition at line 759 of file PictureTest.cpp.
Definition at line 534 of file PictureTest.cpp.
Definition at line 46 of file PictureTest.cpp.
Definition at line 77 of file PictureTest.cpp.
|
static |
Definition at line 97 of file PictureTest.cpp.
|
static |
Definition at line 355 of file PictureTest.cpp.
|
static |
Definition at line 372 of file PictureTest.cpp.
|
static |
Definition at line 432 of file PictureTest.cpp.
|
static |
Definition at line 545 of file PictureTest.cpp.
|
static |
Definition at line 491 of file PictureTest.cpp.
|
static |
Definition at line 322 of file PictureTest.cpp.
|
static |
Definition at line 510 of file PictureTest.cpp.
|
static |
Definition at line 261 of file PictureTest.cpp.