John Stultz | 51d2a0d | 2017-05-26 22:06:58 -0700 | [diff] [blame] | 1 | # |
| 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 Stultz | 51d2a0d | 2017-05-26 22:06:58 -0700 | [diff] [blame] | 18 | # GPU support for AFBC 1.0 |
| 19 | MALI_GPU_SUPPORT_AFBC_BASIC=1 |
| 20 | # GPU support for AFBC 1.1 block split |
| 21 | MALI_GPU_SUPPORT_AFBC_SPLITBLK=1 |
| 22 | # GPU support for AFBC 1.1 wide block |
| 23 | MALI_GPU_SUPPORT_AFBC_WIDEBLK=1 |
| 24 | # GPU support for AFBC 1.2 tiled headers |
| 25 | MALI_GPU_SUPPORT_AFBC_TILED_HEADERS=0 |
| 26 | # GPU support YUV AFBC formats in wide block |
| 27 | MALI_GPU_USE_YUV_AFBC_WIDEBLK=0 |
| 28 | |
| 29 | # |
| 30 | # Software behaviour defines |
| 31 | # |
| 32 | |
John Stultz | 18814f6 | 2018-02-22 16:02:49 -0800 | [diff] [blame] | 33 | # Gralloc1 support |
| 34 | GRALLOC_USE_GRALLOC1_API=0 |
John Stultz | 51d2a0d | 2017-05-26 22:06:58 -0700 | [diff] [blame] | 35 | # Use ION DMA heap for all allocations. Default is system heap. |
| 36 | GRALLOC_USE_ION_DMA_HEAP=0 |
| 37 | # Use ION Compound heap for all allocations. Default is system heap. |
| 38 | GRALLOC_USE_ION_COMPOUND_PAGE_HEAP=0 |
| 39 | # Properly initializes an empty AFBC buffer |
| 40 | GRALLOC_INIT_AFBC=0 |
John Stultz | 18814f6 | 2018-02-22 16:02:49 -0800 | [diff] [blame] | 41 | # fbdev bitdepth to use |
| 42 | GRALLOC_DEPTH=GRALLOC_32_BITS |
John Stultz | 51d2a0d | 2017-05-26 22:06:58 -0700 | [diff] [blame] | 43 | # When enabled, forces display framebuffer format to BGRA_8888 |
| 44 | GRALLOC_FB_SWAP_RED_BLUE=0 |
| 45 | # Disables the framebuffer HAL device. When a hwc impl is available. |
| 46 | GRALLOC_DISABLE_FRAMEBUFFER_HAL=0 |
| 47 | # When enabled, buffers will never be allocated with AFBC |
| 48 | GRALLOC_ARM_NO_EXTERNAL_AFBC=0 |
| 49 | # Minimum buffer dimensions in pixels when buffer will use AFBC |
| 50 | GRALLOC_DISP_W=0 |
| 51 | GRALLOC_DISP_H=0 |
| 52 | # Vsync backend(not used) |
| 53 | GRALLOC_VSYNC_BACKEND=default |
John Stultz | b644c34 | 2017-12-15 17:17:56 -0800 | [diff] [blame] | 54 | |
John Stultz | 2e54627 | 2021-07-16 00:54:21 +0000 | [diff] [blame] | 55 | GRALLOC_USE_ION_DMA_HEAP=1 |
| 56 | GRALLOC_DISABLE_FRAMEBUFFER_HAL=1 |
John Stultz | b644c34 | 2017-12-15 17:17:56 -0800 | [diff] [blame] | 57 | |