Home | History | Annotate | Download | only in gralloc960
      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 
     18 $(info gralloc for hikey960)
     19 GRALLOC_FB_SWAP_RED_BLUE := 0
     20 GRALLOC_DEPTH := GRALLOC_32_BITS
     21 
     22 # GPU support for AFBC 1.0
     23 MALI_GPU_SUPPORT_AFBC_BASIC=1
     24 # GPU support for AFBC 1.1 block split
     25 MALI_GPU_SUPPORT_AFBC_SPLITBLK=1
     26 # GPU support for AFBC 1.1 wide block
     27 MALI_GPU_SUPPORT_AFBC_WIDEBLK=1
     28 # GPU support for AFBC 1.2 tiled headers
     29 MALI_GPU_SUPPORT_AFBC_TILED_HEADERS=0
     30 # GPU support YUV AFBC formats in wide block
     31 MALI_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.
     38 GRALLOC_USE_ION_DMA_HEAP=0
     39 # Use ION Compound heap for all allocations. Default is system heap.
     40 GRALLOC_USE_ION_COMPOUND_PAGE_HEAP=0
     41 # Properly initializes an empty AFBC buffer
     42 GRALLOC_INIT_AFBC=0
     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
     54