[gralloc] Conditional build for PMEM, which improves linuxfb performance.
authorJim Huang <jserv@0xlab.org>
Tue, 11 May 2010 10:46:06 +0000 (18:46 +0800)
committerJim Huang <jserv@0xlab.org>
Tue, 11 May 2010 10:46:06 +0000 (18:46 +0800)
commit1cdf2922a37ea9095a74254f64d9539ba01139e4
tree4cc3aa8720f55f80e700d3d988814708a034f54d
parentbf42e4c3d4047fe495d6a3fa21b067c823861c68
[gralloc] Conditional build for PMEM, which improves linuxfb performance.

This introduced build time flag "USE_PMEM" to indicate the usage of
PMEM (2D/3D accelerations).  The reference benchmark results on
Beagleboard:

[ before ]
  2d: Arcs:       71 fps
  2d: FillRate:   102 fps
  2d: Circles:    134 fps
  2d: Rectangles: 69 fps
  2d: Alpha:      61 fps

[ after ]
  2d: Arcs:       81 fps
  2d: FillRate:   108 fps
  2d: Circles:    130 fps
  2d: Rectangles: 86 fps
  2d: Alpha:      61 fps

Change-Id: I15f864276dda9ad272fd798e343c542cf3e1471e
framebuffer.cpp
gralloc.cpp
gralloc_priv.h
mapper.cpp