Merge "Update pixelRef genID when reusing pixels in RecyclingClippingPixelAllocator." into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1cffbdaff2
@@ -723,6 +723,7 @@ bool RecyclingClippingPixelAllocator::allocPixelRef(SkBitmap* bitmap, SkColorTab
|
||||
// Make sure that the recycled bitmap has the correct alpha type.
|
||||
mRecycledBitmap->setAlphaType(bitmap->alphaType());
|
||||
|
||||
bitmap->notifyPixelsChanged();
|
||||
bitmap->lockPixels();
|
||||
mNeedsCopy = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user