Merge change 2768 into donut

* changes:
  Add an API demo that shows the effets of setting Bitmaps as being purgeable.