aboutsummaryrefslogtreecommitdiffstats
path: root/include/gpu
diff options
context:
space:
mode:
authorDerek Sollenberger <djsollen@google.com>2011-03-17 15:18:13 -0400
committerDerek Sollenberger <djsollen@google.com>2011-03-17 15:18:13 -0400
commit137a4ca42423bbb6d683067ea544c9a48f18f06c (patch)
tree91758d54677b69a0256a076cf8ed209a84a601d0 /include/gpu
parent74620984a3d6d6d9ca2e564a487a00b987a9eb33 (diff)
downloadexternal_skia-137a4ca42423bbb6d683067ea544c9a48f18f06c.zip
external_skia-137a4ca42423bbb6d683067ea544c9a48f18f06c.tar.gz
external_skia-137a4ca42423bbb6d683067ea544c9a48f18f06c.tar.bz2
Skia Merge (revision 950)
This merge will allow us to now import the sample app infrastructure in skia to do on device measurements. Change-Id: Idcab6b1524f371521717cde61a6e98a12d897e6b
Diffstat (limited to 'include/gpu')
-rw-r--r--include/gpu/SkGpuDevice.h1
-rw-r--r--include/gpu/SkGr.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/include/gpu/SkGpuDevice.h b/include/gpu/SkGpuDevice.h
index 3fed99a..8852803 100644
--- a/include/gpu/SkGpuDevice.h
+++ b/include/gpu/SkGpuDevice.h
@@ -109,6 +109,7 @@ public:
const SkPaint& paint);
virtual void drawDevice(const SkDraw&, SkDevice*, int x, int y,
const SkPaint&);
+ virtual bool filterTextFlags(const SkPaint& paint, TextFlags*);
virtual void flush() { fContext->flush(false); }
diff --git a/include/gpu/SkGr.h b/include/gpu/SkGr.h
index 6f5ebfe..7221213 100644
--- a/include/gpu/SkGr.h
+++ b/include/gpu/SkGr.h
@@ -231,7 +231,7 @@ public:
SkGrRegionIterator() {}
SkGrRegionIterator(const SkRegion& region) { this->reset(region); }
- void reset(const SkRegion& region) {
+ void reset(const SkRegion& region) {
fRegion = &region;
fIter.reset(region);
}
@@ -275,6 +275,7 @@ public:
// overrides
virtual const GrKey* getKey();
+ virtual GrMaskFormat getMaskFormat();
virtual bool getPackedGlyphBounds(GrGlyph::PackedID, GrIRect* bounds);
virtual bool getPackedGlyphImage(GrGlyph::PackedID, int width, int height,
int rowBytes, void* image);