Leon Scroggins III
b9c58ab617
Merge AssetStream with AssetStreamAdaptor.
...
Add enums to the constructor for AssetStreamAdaptor to choose the
different behaviors used by the (former) two different classes.
The old clients of AssetStream now get the following features of
AssetStreamAdaptor
- Debugging statements on error.
- The stream is an SkStreamRewindable.
- getLength() returns the correct value, and the old way of getting
the length (read(NULL, 0)) is no longer implemented, since it is
no longer used.
- isAtEnd() returns the correct value. ToT Skia makes it pure virtual,
so some implementation is necessary.
Change-Id: I2a5395914e4f53830aaefee396556459083a1c56
2013-12-17 15:51:33 -05:00
..
2013-12-17 15:51:33 -05:00
2013-10-07 13:22:39 -07:00
2013-08-15 12:04:37 -07:00
2013-09-10 20:47:43 -07:00
2013-03-26 13:18:52 -07:00
2013-08-20 18:29:33 -07:00
2013-09-11 13:18:10 -07:00
2013-08-21 14:54:19 -07:00
2013-10-09 19:00:22 -07:00
2013-03-28 03:13:09 -07:00
2013-12-02 11:50:37 -08:00
2013-08-19 18:26:21 -07:00
2013-09-04 15:23:27 -07:00
2012-12-12 05:34:21 +09:00
2013-09-10 20:47:43 -07:00
2012-12-20 11:07:04 -08:00
2013-08-09 15:04:06 -07:00
2013-08-08 18:38:53 +00:00
2013-07-24 23:44:45 +00:00
2013-12-11 16:06:49 -08:00
2013-09-24 17:15:41 -07:00
2013-05-01 13:46:58 -07:00
2013-09-24 17:15:41 -07:00
2013-09-24 17:15:41 -07:00
2013-09-24 17:15:41 -07:00
2013-09-24 17:15:41 -07:00
2013-09-27 15:41:25 -07:00
2013-09-27 15:41:25 -07:00
2013-11-22 11:18:57 -08:00
2013-05-07 15:33:26 -07:00
2013-07-24 23:44:45 +00:00
2013-05-22 15:12:16 +01:00
2013-05-07 17:09:46 -07:00
2013-10-17 18:19:48 -07:00
2012-10-11 15:58:49 -07:00
2012-09-15 16:12:06 -07:00
2013-07-31 15:57:49 -07:00
2013-12-11 01:29:28 +00:00
2013-07-24 23:44:45 +00:00
2013-11-22 11:18:57 -08:00
2012-12-21 06:19:38 +09:00
2013-02-07 22:01:19 +00:00
2013-12-10 15:22:01 -08:00
2013-12-13 21:55:50 +00:00
2013-11-11 09:37:02 -08:00
2013-05-02 13:32:09 -07:00
2013-05-02 13:32:09 -07:00
2013-07-01 20:11:42 -07:00
2013-07-01 20:11:42 -07:00
2013-08-12 16:39:59 -07:00
2013-07-01 20:11:42 -07:00
2013-10-26 12:18:00 -07:00
2013-07-01 20:11:42 -07:00
2013-07-01 20:11:42 -07:00
2013-07-01 20:11:42 -07:00
2013-07-01 20:11:42 -07:00
2013-09-10 20:47:43 -07:00
2013-09-10 20:47:43 -07:00
2013-09-10 20:47:43 -07:00
2013-09-10 20:47:43 -07:00
2013-08-20 18:29:33 -07:00
2013-03-06 17:48:20 -08:00
2013-08-06 20:16:12 -07:00
2013-12-09 15:57:09 -08:00
2013-07-01 20:11:42 -07:00
2013-12-12 23:59:37 -08:00
2013-12-09 15:57:09 -08:00
2013-12-11 19:06:18 +00:00
2013-12-11 21:58:53 -08:00
2013-11-07 22:35:23 -08:00
2013-08-30 13:49:14 -07:00
2013-10-14 12:27:22 -07:00