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

Commit 84a489d6 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 10649958 from 1a6e0bcb to udc-qpr1-release

Change-Id: Ie7e35bd6f3eeaf15d7cbc423e3b7a2e502ba7960
parents c86265dc 1a6e0bcb
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 {