summaryrefslogtreecommitdiffstats
path: root/libs/hwui/RenderBuffer.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix format name typoRomain Guy2013-02-131-1/+1
| | | | Change-Id: If7d86b74ad9735f12349d9fcb62b335f5a742bb5
* Add a render buffer cache to reuse stencil buffersRomain Guy2013-02-131-1/+24
| | | | | | | | | | Bug #7146141 This new cache is used in a similar way to LayerCache. It helps reuse already allocated stencil buffers and thus avoid churning memory on every frame. Change-Id: I19551d72da52c40039e65904563600e492c8b193
* Add a RenderBuffer object to store stencil buffers.Romain Guy2013-02-071-0/+171
Bug #7146141 This change is needed to add a render buffer cache to avoid creating and destroying stencil buffers on every frame. This change also allows the renderer to use a 1 bit or 4 bit stencil buffer whenever possible. Finally this change fixes a bug introduced by a previous CL which causes the stencil buffer to not be updated in certain conditions. The fix relies on a new optional parameter in drawColorRects() that can be used to avoid performing a quickReject on rectangles generated by the clip region. Change-Id: I2f55a8e807009887b276a83cde9f53fd5c01199f