Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1a6e0bcb authored by Patrick Williams's avatar Patrick Williams Committed by Android (Google) Code Review
Browse files

Merge "Update BUFFER_CACHE_MAX_SIZE" into udc-qpr-dev

parents 7912d80f 271afa97
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@
#include <private/gui/ComposerServiceAIDL.h>

// This server size should always be smaller than the server cache size
#define BUFFER_CACHE_MAX_SIZE 64
#define BUFFER_CACHE_MAX_SIZE 4096

namespace android {

+3 −1
Original line number Diff line number Diff line
@@ -29,7 +29,9 @@
#include <set>
#include <unordered_map>

#define BUFFER_CACHE_MAX_SIZE 64
// 4096 is based on 64 buffers * 64 layers. Once this limit is reached, the least recently used
// buffer is uncached before the new buffer is cached.
#define BUFFER_CACHE_MAX_SIZE 4096

namespace android {