summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/EglManager.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2015-05-08 10:04:36 -0700
committerJohn Reck <jreck@google.com>2015-05-08 10:48:57 -0700
commitd04794a9a3f9edc8b7ca336175d66eb81a8f55fa (patch)
treeb1fb28d9c72377bc981e5242ad58210cf2bd33bf /libs/hwui/renderthread/EglManager.h
parenta0698b617f1efc71d5301f98aead822e266ec5d6 (diff)
Add eglSwapBuffersWithDamageKHR support
BUG: 20761426 Disabled temporarily Change-Id: I0b6b6f0eebab886145e13fa35aefe76826965cf5
Diffstat (limited to 'libs/hwui/renderthread/EglManager.h')
-rw-r--r--libs/hwui/renderthread/EglManager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/EglManager.h b/libs/hwui/renderthread/EglManager.h
index b1a18a96a83a..08555168f7d8 100644
--- a/libs/hwui/renderthread/EglManager.h
+++ b/libs/hwui/renderthread/EglManager.h
@@ -18,6 +18,7 @@
#include <cutils/compiler.h>
#include <EGL/egl.h>
+#include <SkRect.h>
#include <ui/GraphicBuffer.h>
#include <utils/StrongPointer.h>
@@ -47,7 +48,7 @@ public:
// Returns true if the current surface changed, false if it was already current
bool makeCurrent(EGLSurface surface);
void beginFrame(EGLSurface surface, EGLint* width, EGLint* height);
- bool swapBuffers(EGLSurface surface);
+ bool swapBuffers(EGLSurface surface, const SkRect& dirty, EGLint width, EGLint height);
void cancelFrame();
// Returns true iff the surface is now preserving buffers.