From 44a6312cf6a6e8c7c58065f7f8b8d06decc5fd47 Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Sat, 30 May 2009 02:40:28 +0000 Subject: call notifyPixelsChanged() when the pages are flipped in pageflippixelref update samples git-svn-id: http://skia.googlecode.com/svn/trunk@192 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/images/SkFlipPixelRef.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/images') diff --git a/src/images/SkFlipPixelRef.cpp b/src/images/SkFlipPixelRef.cpp index 95403cc3f9..8d0f15a703 100644 --- a/src/images/SkFlipPixelRef.cpp +++ b/src/images/SkFlipPixelRef.cpp @@ -49,6 +49,7 @@ void SkFlipPixelRef::onUnlockPixels() { void SkFlipPixelRef::swapPages() { fMutex.acquire(); SkTSwap(fPage0, fPage1); + this->notifyPixelsChanged(); fMutex.release(); } -- cgit v1.2.3