summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-03-07 18:06:46 -0800
committerAlex Ray <aray@google.com>2013-07-30 13:56:56 -0700
commitb6e92ae9a12f2fe0106e0187c252f39d5ad6bfa9 (patch)
tree2e16485f20ddfe5967ba2c226aa7dffbe12f07de /include
parent3e2e38bc5bbf658eb9940f72974270b11c5b84e1 (diff)
downloadsystem_core-b6e92ae9a12f2fe0106e0187c252f39d5ad6bfa9.zip
system_core-b6e92ae9a12f2fe0106e0187c252f39d5ad6bfa9.tar.gz
system_core-b6e92ae9a12f2fe0106e0187c252f39d5ad6bfa9.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')
-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