-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
Closed
Copy link
Labels
c: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.
Description
E.g. in gpu_surface_gl.cc, we should be setting the byte size resource limit based on physically available memory, perhaps something like:
context_->setResourceCacheLimits(kGrCacheMaxCount, std::min(kGrCacheMaxByteSize, fml::GetAvailablePhysicalMemory() / 3);The current value is too high for low end devices with 1gb of ram or less. This will also requiring some kind of platform independent way of determining avialble physical memory (or something meaningful for a given platform anyway).
Metadata
Metadata
Assignees
Labels
c: performanceRelates to speed or footprint issues (see "perf:" labels)Relates to speed or footprint issues (see "perf:" labels)engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.