summaryrefslogtreecommitdiffstats
path: root/libs/hwui/renderthread/CanvasContext.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/CanvasContext.h
parenta0698b617f1efc71d5301f98aead822e266ec5d6 (diff)
downloadframeworks_base-d04794a9a3f9edc8b7ca336175d66eb81a8f55fa.zip
frameworks_base-d04794a9a3f9edc8b7ca336175d66eb81a8f55fa.tar.gz
frameworks_base-d04794a9a3f9edc8b7ca336175d66eb81a8f55fa.tar.bz2
Add eglSwapBuffersWithDamageKHR support
BUG: 20761426 Disabled temporarily Change-Id: I0b6b6f0eebab886145e13fa35aefe76826965cf5
Diffstat (limited to 'libs/hwui/renderthread/CanvasContext.h')
-rw-r--r--libs/hwui/renderthread/CanvasContext.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/hwui/renderthread/CanvasContext.h b/libs/hwui/renderthread/CanvasContext.h
index f5f1f54..8163b0f 100644
--- a/libs/hwui/renderthread/CanvasContext.h
+++ b/libs/hwui/renderthread/CanvasContext.h
@@ -29,6 +29,7 @@
#include <cutils/compiler.h>
#include <EGL/egl.h>
#include <SkBitmap.h>
+#include <SkRect.h>
#include <utils/Functor.h>
#include <utils/Vector.h>
@@ -117,7 +118,7 @@ private:
friend class android::uirenderer::RenderState;
void setSurface(ANativeWindow* window);
- void swapBuffers();
+ void swapBuffers(const SkRect& dirty, EGLint width, EGLint height);
void requireSurface();
void requireGlContext();