summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
author Derek Sollenberger <djsollen@google.com> 2012-08-14 16:44:52 -0400
committer Derek Sollenberger <djsollen@google.com> 2012-12-12 15:28:54 -0500
commitca79cf69d09efa0c327e9b1237d86a119aea5da7 (patch)
tree0fd02203babacee45f23ba19f869f869f3de0f54 /libs
parentdbc8cee1d500702bc8b1a8cb6a6c0961ab4ae0ed (diff)
Update framework to support r5967 of Skia.
bug: 6906025 Change-Id: Iefdb830ec3aa2ab3472c1c142484a7aa21788a15
Diffstat (limited to 'libs')
-rw-r--r--libs/hwui/Android.mk1
-rw-r--r--libs/hwui/DisplayListRenderer.h5
-rw-r--r--libs/hwui/FontRenderer.cpp1
-rw-r--r--libs/hwui/Layer.h1
-rw-r--r--libs/hwui/font/CacheTexture.cpp1
-rw-r--r--libs/hwui/font/Font.cpp1
6 files changed, 8 insertions, 2 deletions
diff --git a/libs/hwui/Android.mk b/libs/hwui/Android.mk
index 549edd2bf7b3..67359adcfe05 100644
--- a/libs/hwui/Android.mk
+++ b/libs/hwui/Android.mk
@@ -42,6 +42,7 @@ ifeq ($(USE_OPENGL_RENDERER),true)
external/skia/include/core \
external/skia/include/effects \
external/skia/include/images \
+ external/skia/src/core \
external/skia/src/ports \
external/skia/include/utils
diff --git a/libs/hwui/DisplayListRenderer.h b/libs/hwui/DisplayListRenderer.h
index e42def5d36bd..c1f978d484f0 100644
--- a/libs/hwui/DisplayListRenderer.h
+++ b/libs/hwui/DisplayListRenderer.h
@@ -18,7 +18,8 @@
#define ANDROID_HWUI_DISPLAY_LIST_RENDERER_H
#include <SkChunkAlloc.h>
-#include <SkFlattenable.h>
+#include <SkReader32.h>
+#include <SkWriter32.h>
#include <SkMatrix.h>
#include <SkCamera.h>
#include <SkPaint.h>
@@ -499,7 +500,7 @@ private:
Vector<SkiaShader*> mShaders;
Vector<Layer*> mLayers;
- mutable SkFlattenableReadBuffer mReader;
+ mutable SkReader32 mReader;
size_t mSize;
diff --git a/libs/hwui/FontRenderer.cpp b/libs/hwui/FontRenderer.cpp
index 47784a41dcae..2a09ced55c40 100644
--- a/libs/hwui/FontRenderer.cpp
+++ b/libs/hwui/FontRenderer.cpp
@@ -16,6 +16,7 @@
#define LOG_TAG "OpenGLRenderer"
+#include <SkGlyph.h>
#include <SkUtils.h>
#include <cutils/properties.h>
diff --git a/libs/hwui/Layer.h b/libs/hwui/Layer.h
index 181eb6c6bf4f..efb9f6b81957 100644
--- a/libs/hwui/Layer.h
+++ b/libs/hwui/Layer.h
@@ -23,6 +23,7 @@
#include <ui/Region.h>
+#include <SkPaint.h>
#include <SkXfermode.h>
#include "Rect.h"
diff --git a/libs/hwui/font/CacheTexture.cpp b/libs/hwui/font/CacheTexture.cpp
index f65359217768..24b0523cc7e1 100644
--- a/libs/hwui/font/CacheTexture.cpp
+++ b/libs/hwui/font/CacheTexture.cpp
@@ -14,6 +14,7 @@
* limitations under the License.
*/
+#include <SkGlyph.h>
#include <utils/Log.h>
#include "Debug.h"
diff --git a/libs/hwui/font/Font.cpp b/libs/hwui/font/Font.cpp
index 7bfa63d850c1..9068b8a4bbb7 100644
--- a/libs/hwui/font/Font.cpp
+++ b/libs/hwui/font/Font.cpp
@@ -18,6 +18,7 @@
#include <cutils/compiler.h>
+#include <SkGlyph.h>
#include <SkUtils.h>
#include "Debug.h"