summaryrefslogtreecommitdiffstats
path: root/include/utils
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-03-07 18:06:46 -0800
committerRomain Guy <romainguy@google.com>2011-03-07 18:09:03 -0800
commitcabfcc1364eb7e4de0b15b3574fba45027b45cfc (patch)
treef38e237ba2009dcacb5082a99928aad379a7adc0 /include/utils
parent9b7146db6d9c0586b98b062fbcdb3fac6cc54d19 (diff)
downloadframeworks_base-cabfcc1364eb7e4de0b15b3574fba45027b45cfc.zip
frameworks_base-cabfcc1364eb7e4de0b15b3574fba45027b45cfc.tar.gz
frameworks_base-cabfcc1364eb7e4de0b15b3574fba45027b45cfc.tar.bz2
Add support for partial invalidates in WebView
Bug #3461349 This change also fixes two bugs that prevented partial invalidates from working with other views. Both bugs were in our EGL implementation: they were preventing the caller from comparing the current context/surface with another context/surface. This was causing HardwareRenderer to always redraw the entire screen. Change-Id: I33e096b304d4a0b7e6c8f92930f71d2ece9bebf5
Diffstat (limited to 'include/utils')
-rw-r--r--include/utils/Functor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils/Functor.h b/include/utils/Functor.h
index 3955bc3..565f4a3 100644
--- a/include/utils/Functor.h
+++ b/include/utils/Functor.h
@@ -26,6 +26,7 @@ public:
Functor() {}
virtual ~Functor() {}
virtual status_t operator ()() { return true; }
+ virtual status_t operator ()(float* data, uint32_t len) { return true; }
};
}; // namespace android