skia2/include
reed 26e0e587f7 SkImage_Raster's pixels are always immutable.
To make this work, we tag their pixelrefs as temporarily immutable, allowing
ourselves to restore the pixels to mutability only when the image drops away.

This should allow us to wobble back and forth between writing to the Surface
and reading from the Image without a COW, with the Surface seeing mutable
pixels and the Image seeing immutable pixels.

The big idea is, Image doesn't need forever-immutable pixels, it just needs
pixels that are immutable as long as it's alive.

BUG=skia:

patch from issue 804523002 at patchset 40001 (http://crrev.com/804523002#ps40001)

Review URL: https://codereview.chromium.org/1254383006
2015-07-29 11:44:52 -07:00
..
animator Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
c Propagate SkSurfaceProps to more call sites 2015-06-23 06:26:08 -07:00
codec Add the ability to decode a subset to SkCodec 2015-07-22 07:16:20 -07:00
config remove SkInstCnt 2015-06-26 11:45:03 -07:00
core SkImage_Raster's pixels are always immutable. 2015-07-29 11:44:52 -07:00
device/xps C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00
effects Add new SkPoint3 class 2015-07-13 13:16:44 -07:00
gpu Move headers with no dependencies. 2015-07-29 11:10:46 -07:00
images remove SkInstCnt 2015-06-26 11:45:03 -07:00
pathops Revert of Revert of remove SK_SUPPORT_LEGACY_PATHOP_ENUMS (patchset #1 id:1 of https://codereview.chromium.org/1203983003/) 2015-06-26 10:23:07 -07:00
pipe Fixing leaky handling of SkImage in SkDeferredCanvas. 2015-06-02 11:47:45 -07:00
ports Remove SkThread.h, include SkMutex.h or SkAtomics.h as appropriate. 2015-07-07 12:21:22 -07:00
private Move headers with no dependencies. 2015-07-29 11:10:46 -07:00
svg Add SkSVGCanvas 2015-02-06 12:51:10 -08:00
utils remove all guards for changes to drawBitmapRect / drawImageRect 2015-07-28 07:35:14 -07:00
views Move headers with no dependencies. 2015-07-29 11:10:46 -07:00
xml Fix up -Winconsistent-missing-override 2015-07-13 06:18:39 -07:00