blob: 57b4f3e24b774412c7a0e4b507e0251f9c43a8df [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
John Stultz51d2a0d2017-05-26 22:06:58 -070018# GPU support for AFBC 1.0
19MALI_GPU_SUPPORT_AFBC_BASIC=1
20# GPU support for AFBC 1.1 block split
21MALI_GPU_SUPPORT_AFBC_SPLITBLK=1
22# GPU support for AFBC 1.1 wide block
23MALI_GPU_SUPPORT_AFBC_WIDEBLK=1
24# GPU support for AFBC 1.2 tiled headers
25MALI_GPU_SUPPORT_AFBC_TILED_HEADERS=0
26# GPU support YUV AFBC formats in wide block
27MALI_GPU_USE_YUV_AFBC_WIDEBLK=0
28
29#
30# Software behaviour defines
31#
32
John Stultz18814f62018-02-22 16:02:49 -080033# Gralloc1 support
34GRALLOC_USE_GRALLOC1_API=0
John Stultz51d2a0d2017-05-26 22:06:58 -070035# Use ION DMA heap for all allocations. Default is system heap.
36GRALLOC_USE_ION_DMA_HEAP=0
37# Use ION Compound heap for all allocations. Default is system heap.
38GRALLOC_USE_ION_COMPOUND_PAGE_HEAP=0
39# Properly initializes an empty AFBC buffer
40GRALLOC_INIT_AFBC=0
John Stultz18814f62018-02-22 16:02:49 -080041# fbdev bitdepth to use
42GRALLOC_DEPTH=GRALLOC_32_BITS
John Stultz51d2a0d2017-05-26 22:06:58 -070043# 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
John Stultzb644c342017-12-15 17:17:56 -080054
John Stultz2e546272021-07-16 00:54:21 +000055GRALLOC_USE_ION_DMA_HEAP=1
56GRALLOC_DISABLE_FRAMEBUFFER_HAL=1
John Stultzb644c342017-12-15 17:17:56 -080057