20 auto adjust = [](
int value) {
21 constexpr int kMinApproxSize = 16;
22 constexpr int kMagicTol = 1024;
31 if (
value <= kMagicTol) {
35 int floorPow2 = ceilPow2 >> 1;
36 int mid = floorPow2 + (floorPow2 >> 1);
44 return {adjust(
size.width()), adjust(
size.height())};
static int SkNextPow2(int value)
constexpr bool SkIsPow2(T value)
static float max(float r, float g, float b)
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
SkISize GetApproxSize(SkISize size)