blob: a7bb4721705f80b0ca4a28638981b7f3d45860fd [file] [log] [blame]
John Stultz51d2a0d2017-05-26 22:06:58 -07001#
2# Copyright (C) 2016 ARM Limited. All rights reserved.
3#
4# Copyright (C) 2008 The Android Open Source Project
5#
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17
18$(info gralloc for hikey960)
19GRALLOC_FB_SWAP_RED_BLUE := 0
20GRALLOC_DEPTH := GRALLOC_32_BITS
21
22# GPU support for AFBC 1.0
23MALI_GPU_SUPPORT_AFBC_BASIC=1
24# GPU support for AFBC 1.1 block split
25MALI_GPU_SUPPORT_AFBC_SPLITBLK=1
26# GPU support for AFBC 1.1 wide block
27MALI_GPU_SUPPORT_AFBC_WIDEBLK=1
28# GPU support for AFBC 1.2 tiled headers
29MALI_GPU_SUPPORT_AFBC_TILED_HEADERS=0
30# GPU support YUV AFBC formats in wide block
31MALI_GPU_USE_YUV_AFBC_WIDEBLK=0
32
33#
34# Software behaviour defines
35#
36
37# Use ION DMA heap for all allocations. Default is system heap.
38GRALLOC_USE_ION_DMA_HEAP=0
39# Use ION Compound heap for all allocations. Default is system heap.
40GRALLOC_USE_ION_COMPOUND_PAGE_HEAP=0
41# Properly initializes an empty AFBC buffer
42GRALLOC_INIT_AFBC=0
43# When enabled, forces display framebuffer format to BGRA_8888
44GRALLOC_FB_SWAP_RED_BLUE=0
45# Disables the framebuffer HAL device. When a hwc impl is available.
46GRALLOC_DISABLE_FRAMEBUFFER_HAL=0
47# When enabled, buffers will never be allocated with AFBC
48GRALLOC_ARM_NO_EXTERNAL_AFBC=0
49# Minimum buffer dimensions in pixels when buffer will use AFBC
50GRALLOC_DISP_W=0
51GRALLOC_DISP_H=0
52# Vsync backend(not used)
53GRALLOC_VSYNC_BACKEND=default