Flutter Engine
The Flutter Engine
|
#include "include/core/SkCanvas.h"
#include "include/core/SkPaint.h"
#include "include/core/SkScalar.h"
#include "include/private/base/SkDebug.h"
#include "include/private/base/SkNoncopyable.h"
#include <cstddef>
Go to the source code of this file.
Classes | |
class | SkAutoCanvasMatrixPaint |
class | SkCanvasPriv |
class | AutoLayerForImageFilter |
Variables | |
constexpr int | kMaxPictureOpsToUnrollInsteadOfRef = 1 |
|
constexpr |
This constant is trying to balance the speed of ref'ing a subpicture into a parent picture, against the playback cost of recursing into the subpicture to get at its actual ops.
For now we pick a conservatively small value, though measurement (and other heuristics like the type of ops contained) may justify changing this value.
Definition at line 108 of file SkCanvasPriv.h.