skia2/include
scroggo 65044bfe02 Return NULL when building empty LayerRasterizer.
In SkLayerRasterizer::snapshotRasterizer() and ::detachRasterizer(),
if no layers have been added, do not attempt to create an
SkLayerRasterizer. Instead, return NULL.

This fixes an error when running tests on Android.

Update dox to state that NULL may be returned.

Add tests.

R=reed@google.com

Author: scroggo@google.com

Review URL: https://codereview.chromium.org/313653006
2014-06-03 13:12:51 -07:00
..
animator
config Add SkBarriers to ports. 2014-05-29 18:24:54 +00:00
core Initial KTX file decoder 2014-06-03 13:04:35 -07:00
device/xps remove all references to legacy Config8888 2014-03-26 13:44:58 +00:00
effects Return NULL when building empty LayerRasterizer. 2014-06-03 13:12:51 -07:00
gpu Move GrIPoint16 to SkIPoint16 (and remove GrPoint.h) 2014-06-02 10:20:15 -07:00
images Move SkDecodingImageGenerator.h to include/ 2014-05-27 14:59:47 +00:00
pathops Export SkPathOps.h functions for external use. 2013-07-09 19:43:35 +00:00
pdf remove all references to legacy Config8888 2014-03-26 13:44:58 +00:00
pipe Fixes for piping bitmaps with encoded data. 2013-04-30 02:32:41 +00:00
ports Port most uses of SkOnce to SkLazyPtr. 2014-06-02 08:44:27 -07:00
record add SK_API to include/record 2014-04-28 21:04:32 +00:00
svg
text
utils remove SkBounder -- unused and unloved 2014-06-03 10:54:00 -07:00
views Drop executable flag from headers so that they can be packaged 2014-03-11 19:55:51 +00:00
xml