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

Commit a70b40f6 authored by Lingfeng Yang's avatar Lingfeng Yang
Browse files

Set emulator framebuffer display device buffer count to 3

Otherwise, we get deadlock.

bug: 36439031

Change-Id: Icffeca757120deb2b1392d8fc3531e3737d7cdc4
parent 051900b1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -39,6 +39,7 @@ ifeq ($(HOST_OS),linux)
endif

TARGET_USES_HWC2 := true
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3

# Build OpenGLES emulation guest and host libraries
BUILD_EMULATOR_OPENGL := true
+1 −0
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@ ifeq ($(HOST_OS),linux)
endif

TARGET_USES_HWC2 := true
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3

# Build OpenGLES emulation host and guest libraries
BUILD_EMULATOR_OPENGL := true
+1 −0
Original line number Diff line number Diff line
@@ -46,6 +46,7 @@ TARGET_COPY_OUT_VENDOR := vendor

# Generic AOSP image does NOT support HWC1
TARGET_USES_HWC2 := true
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3

TARGET_ARCH := arm64
TARGET_ARCH_VARIANT := armv8-a
+1 −0
Original line number Diff line number Diff line
@@ -47,6 +47,7 @@ ifeq ($(HOST_OS),linux)
endif

TARGET_USES_HWC2 := true
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3

# Build OpenGLES emulation guest and host libraries
BUILD_EMULATOR_OPENGL := true
+1 −0
Original line number Diff line number Diff line
@@ -62,6 +62,7 @@ ifeq ($(HOST_OS),linux)
endif

TARGET_USES_HWC2 := true
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3

# Build OpenGLES emulation guest and host libraries
BUILD_EMULATOR_OPENGL := true
Loading