aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/images
diff options
context:
space:
mode:
authorGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-05-30 02:40:28 +0000
committerGravatar reed@android.com <reed@android.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2009-05-30 02:40:28 +0000
commit44a6312cf6a6e8c7c58065f7f8b8d06decc5fd47 (patch)
tree4d0c6419c192dce70297fcdf8fd2e567aca7581b /src/images
parent89bb83abb420c126b02fcdd4047fd6574e9b73fc (diff)
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
Diffstat (limited to 'src/images')
-rw-r--r--src/images/SkFlipPixelRef.cpp1
1 files changed, 1 insertions, 0 deletions
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<void*>(fPage0, fPage1);
+ this->notifyPixelsChanged();
fMutex.release();
}