aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrRectanizer.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2014-06-02 10:20:14 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-02 10:20:15 -0700
commitd537341e16524d1e22ac5e6c8b9c8f274ba1833c (patch)
treed33b25af48d42a4e9ef93e57ab37b5aca82bbe65 /src/gpu/GrRectanizer.h
parent78358bf624c7e7c09ffccf638c50870808d884d6 (diff)
Move GrIPoint16 to SkIPoint16 (and remove GrPoint.h)
R=bsalomon@google.com, reed@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/309683002
Diffstat (limited to 'src/gpu/GrRectanizer.h')
-rw-r--r--src/gpu/GrRectanizer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gpu/GrRectanizer.h b/src/gpu/GrRectanizer.h
index 0f9d8fdfb6..dc697c41d7 100644
--- a/src/gpu/GrRectanizer.h
+++ b/src/gpu/GrRectanizer.h
@@ -8,7 +8,9 @@
#ifndef GrRectanizer_DEFINED
#define GrRectanizer_DEFINED
-#include "GrPoint.h"
+#include "GrTypes.h"
+
+struct SkIPoint16;
class GrRectanizer {
public:
@@ -26,7 +28,7 @@ public:
// Attempt to add a rect. Return true on success; false on failure. If
// successful the position in the atlas is returned in 'loc'.
- virtual bool addRect(int width, int height, GrIPoint16* loc) = 0;
+ virtual bool addRect(int width, int height, SkIPoint16* loc) = 0;
virtual float percentFull() const = 0;
/**