summaryrefslogtreecommitdiff
path: root/BoardConfig.mk
diff options
context:
space:
mode:
authorDan Stoza <stoza@google.com>2014-10-15 16:38:46 -0700
committerDan Stoza <stoza@google.com>2014-10-15 23:42:07 +0000
commit9a221ac5d6b19fe274f68a5586ace0ef34f260c0 (patch)
tree2e62bbb3c76187de76d212cac3357c726048ad94 /BoardConfig.mk
parentb43bf5ffffdcf4a965798f0454a13c299175de57 (diff)
downloadshamu-9a221ac5d6b19fe274f68a5586ace0ef34f260c0.tar.gz
Set a maximum virtual display size
This device can only support virtual displays up to 2048 pixels on a side. The variable set in this change is observed in SurfaceFlinger, which will bypass the hardware composer for any virtual displays larger than this. Bug: 17701816 Change-Id: Ia02bd5c88b6c1b3b0c383d7a23e93a22068ce7da
Diffstat (limited to 'BoardConfig.mk')
-rw-r--r--BoardConfig.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 26d55882..a60840b4 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -42,6 +42,10 @@ MAX_EGL_CACHE_KEY_SIZE := 12*1024
# of the device.
MAX_EGL_CACHE_SIZE := 2048*1024
+# Maximum dimension (width or height) of a virtual display that will be
+# handled by the hardware composer
+MAX_VIRTUAL_DISPLAY_DIMENSION := 2048
+
BOARD_EGL_CFG := device/moto/shamu/egl.cfg
BOARD_USES_ALSA_AUDIO := true