Go to the source code of this file.
◆ SkSurfacePropsCopyOrDefault()
◆ SkSurfaceValidateRasterInfo()
Definition at line 36 of file SkSurface_Raster.cpp.
36 {
38 return false;
39 }
40
42 return true;
43 }
44
45 if (!
info.validRowBytes(rowBytes)) {
46 return false;
47 }
48
50 static const size_t kMaxTotalSize =
SK_MaxS32;
51 if (
size > kMaxTotalSize) {
52 return false;
53 }
54
55 return true;
56}
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
static bool SkImageInfoIsValid(const SkImageInfo &info)
static int64_t sk_64_mul(int64_t a, int64_t b)
static constexpr int32_t SK_MaxS32
constexpr size_t kIgnoreRowBytesValue
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
◆ kIgnoreRowBytesValue
constexpr size_t kIgnoreRowBytesValue = static_cast<size_t>(~0) |
|
constexpr |