skia2/include
scroggo@google.com 284bf502c0 Purge bitmaps from SkGPipe's shared heap.
BitmapInfo:
Now in SkGPipePriv so it can be accessed by SkGPipeRead.

Add the ability to essentially ref count BitmapInfos so that they can
be purged to make room in the shared heap for a new one.

SkGPipeWrite:
Purge the least recently used bitmap if it has already been drawn by
all readers.

SkGPipeRead:
Read the BitmapInfo (instead of the SkBitmap) and decrement its count
after drawing.

SkGPipeController:
Added a method to tell how many readers will be used, so that when
purging bitmaps each reader can be accounted for.

Review URL: https://codereview.appspot.com/6374065

git-svn-id: http://skia.googlecode.com/svn/trunk@4638 2bbb7eff-a529-9590-31e7-b0007b416f81
2012-07-17 16:10:34 +00:00
..
animator Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
config Separated Inst counting from the SK_DEBUG #define (now SK_ENABLE_INST_COUNT) 2012-06-27 19:41:42 +00:00
core remove Symbian (not needed) flag, and assume all CPUs *except* thumb have fast 2012-07-17 12:13:56 +00:00
device/xps Formatting cleanup: remove extra whitespace 2012-01-28 01:45:11 +00:00
effects This patch implements the diffuse and specular lighting filters in Ganesh. 2012-07-11 16:01:22 +00:00
gpu Start removing calls to GrDrawState::setTexture() (and GrPaint::setTexture()?) when there's 2012-07-13 19:54:19 +00:00
images Expanded distribution of instance counting 2012-06-21 20:25:03 +00:00
pdf [PDF] Add link annotations. 2012-07-13 20:06:02 +00:00
pipe Purge bitmaps from SkGPipe's shared heap. 2012-07-17 16:10:34 +00:00
ports [android] Add an API to load customized font config for testing. 2012-06-25 13:58:22 +00:00
svg Automatic update of all copyright notices to reflect new license terms. 2011-07-28 14:26:00 +00:00
text Expanded distribution of instance counting 2012-06-21 20:25:03 +00:00
utils Added SkDevice onAttachToCanvas & onDetachFromCanvas methods 2012-07-13 15:36:15 +00:00
views Move animated view headers to correct directory. 2012-07-10 21:54:31 +00:00
xml Make SkMath.h less visible in public header files. 2011-09-27 17:38:17 +00:00