OSDN Git Service

Add framebuffer HAL implementation based on drm_framebuffer (v3)
authorMauro Rossi <issor.oruam@gmail.com>
Sat, 25 Jan 2020 20:34:29 +0000 (21:34 +0100)
committerMauro Rossi <issor.oruam@gmail.com>
Sat, 25 Jan 2020 20:34:29 +0000 (21:34 +0100)
commit8dc3668acf93a587bffe9b315d71285618981c2f
tree7cefa6931aa1b224b775b438bc9ed6ed852e5934
parent30f6c76384e15bd944ed331bdf9461717c576b09
Add framebuffer HAL implementation based on drm_framebuffer (v3)

(v1) original lambdadroid implementation

(v2) changes in drv.h due to following commits:
     48b4c08 ("minigbm: fix flags to align with GBM")
     6e6dc49 ("minigbm: virtio: restrict formats supported without 3D")

(v3) changes in drv.h due to aosp master branch minigbm implementation

NOTE: #define BO_USE_FRAMEBUFFER (1ull << 19) as the fist available bit
12 files changed:
Android.bp
cros_gralloc/cros_gralloc_driver.cc
cros_gralloc/cros_gralloc_driver.h
cros_gralloc/cros_gralloc_handle.h
cros_gralloc/cros_gralloc_helpers.cc
cros_gralloc/cros_gralloc_helpers.h
cros_gralloc/gralloc0/drm_framebuffer.c [new file with mode: 0644]
cros_gralloc/gralloc0/drm_framebuffer.h [new file with mode: 0644]
cros_gralloc/gralloc0/gralloc0.cc
drv.h
drv_priv.h
i915.c