blob: b865bf1f0e90d2d44563f37faf6df011157f5157 [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)
John Stultz51d2a0d2017-05-26 22:06:58 -070019
20# GPU support for AFBC 1.0
21MALI_GPU_SUPPORT_AFBC_BASIC=1
22# GPU support for AFBC 1.1 block split
23MALI_GPU_SUPPORT_AFBC_SPLITBLK=1
24# GPU support for AFBC 1.1 wide block
25MALI_GPU_SUPPORT_AFBC_WIDEBLK=1
26# GPU support for AFBC 1.2 tiled headers
27MALI_GPU_SUPPORT_AFBC_TILED_HEADERS=0
28# GPU support YUV AFBC formats in wide block
29MALI_GPU_USE_YUV_AFBC_WIDEBLK=0
30
31#
32# Software behaviour defines
33#
34
John Stultz18814f62018-02-22 16:02:49 -080035# Gralloc1 support
36GRALLOC_USE_GRALLOC1_API=0
John Stultz51d2a0d2017-05-26 22:06:58 -070037# 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
John Stultz18814f62018-02-22 16:02:49 -080043# fbdev bitdepth to use
44GRALLOC_DEPTH=GRALLOC_32_BITS
John Stultz51d2a0d2017-05-26 22:06:58 -070045# When enabled, forces display framebuffer format to BGRA_8888
46GRALLOC_FB_SWAP_RED_BLUE=0
47# Disables the framebuffer HAL device. When a hwc impl is available.
48GRALLOC_DISABLE_FRAMEBUFFER_HAL=0
49# When enabled, buffers will never be allocated with AFBC
50GRALLOC_ARM_NO_EXTERNAL_AFBC=0
51# Minimum buffer dimensions in pixels when buffer will use AFBC
52GRALLOC_DISP_W=0
53GRALLOC_DISP_H=0
54# Vsync backend(not used)
55GRALLOC_VSYNC_BACKEND=default