mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
MAX_IMAGES was set to 5 by7a58dac0b1in order to fix "client tried to acquire more than maxImages buffers" warnings from ImageReader_JNI.696251d25athen converted lastDequeuedImage into a queue that retains up to MAX_DEQUEUED_IMAGES in-flight images plus the latest dequeued image. MAX_DEQUEUED_IMAGES was set to 2, but MAX_IMAGES was only incremented by 1. So the ImageReader_JNI warning may reappear in some cases. This PR ensures that MAX_IMAGES provides enough capacity in the ImageReader for the total number of images that may be in use.
buildroot
Build environment for the Flutter engine
This repository is used by the flutter/engine repository. For instructions on how to use it, see that repository's CONTRIBUTING.md file.
To update your checkout to use the latest buildroot, run gclient sync.
To submit patches to this buildroot repository, create a branch, push to that branch, then submit a PR on GitHub for that branch.
To point the engine to a new version of buildroot after your patch is merged, update the buildroot hash in the engine's DEPS file.