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
This commit is contained in:
Romain Guy 2011-03-07 18:06:46 -08:00 committed by Alex Ray
parent 3e2e38bc5b
commit b6e92ae9a1
1 changed files with 1 additions and 0 deletions

View File

@ -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