Modify SkBitmap::extractSubset() to respect opaqueness. The resulting subset
bitmap will always have the same opaqueness flag as the source bitmap.
BUG=439
On 2012/01/12 18:08:09, TomH wrote: > Nice test. LGTM. > We leave this in reed@'s ...
12 years, 10 months ago
(2012-01-12 18:24:06 UTC)
#5
On 2012/01/12 18:08:09, TomH wrote:
> Nice test. LGTM.
> We leave this in reed@'s todo queue for a TBR, though, since there's been
> confusion about the semantics of isOpaque() in the past.
Do we want to do this with the volatile flag as well? I don't see a reason not
to.
my read of the current sources is that this has landed (along with adding setIsVolitile(). ...
12 years, 9 months ago
(2012-02-07 18:15:56 UTC)
#8
my read of the current sources is that this has landed (along with adding
setIsVolitile().
<starting at line 822>
SkBitmap dst;
dst.setConfig(this->config(), r.width(), r.height(), this->rowBytes());
dst.setIsOpaque(this->isOpaque());
dst.setIsVolatile(this->isVolatile());
if (fPixelRef) {
Issue 5534051: Modify SkBitmap::extractSubset() to respect opaqueness. The resulting subset
(Closed)
Created 12 years, 10 months ago by skyostil
Modified 12 years, 8 months ago
Reviewers: reed, TomH, reed1, bsalomon
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0