1:kernel层
include/linux/fb.h
drivers/video/fbmem.c
--------------------------------
driver/video/fbcon.c Low level frame buffer based console driver
2:gralloc模块
hardware/libhardware/modules/gralloc/framebuffer.cpp
hardware/libhardware/modules/gralloc/gralloc.cpp
hardware/libhardware/modules/gralloc/mapper.cpp
3:libui
frameworks/base/libs/ui/