Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Unified Diff: src/gpu/GrRectanizer.h

Issue 309683002: Move GrIPoint16 to SkIPoint16 (and remove GrPoint.h) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Update to ToT Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrPlotMgr.h ('k') | src/gpu/GrRectanizer_pow2.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrRectanizer.h
diff --git a/src/gpu/GrRectanizer.h b/src/gpu/GrRectanizer.h
index 0f9d8fdfb62ddd6bee739bee0a940792e6f43843..dc697c41d7d19b7df9ebbbbcfe3118e8882c5426 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;
/**
« no previous file with comments | « src/gpu/GrPlotMgr.h ('k') | src/gpu/GrRectanizer_pow2.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698