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

Unified Diff: include/gpu/GrPoint.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 | « include/gpu/GrGlyph.h ('k') | samplecode/SampleRectanizer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrPoint.h
diff --git a/include/gpu/GrPoint.h b/include/gpu/GrPoint.h
deleted file mode 100644
index 16738f52434f9f4fa2dd05235025b244e040b5c8..0000000000000000000000000000000000000000
--- a/include/gpu/GrPoint.h
+++ /dev/null
@@ -1,36 +0,0 @@
-
-/*
- * Copyright 2010 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-
-
-#ifndef GrPoint_DEFINED
-#define GrPoint_DEFINED
-
-#include "GrTypes.h"
-#include "SkScalar.h"
-#include "SkPoint.h"
-
-struct GrIPoint16 {
- int16_t fX, fY;
-
- static GrIPoint16 Make(intptr_t x, intptr_t y) {
- GrIPoint16 pt;
- pt.set(x, y);
- return pt;
- }
-
- int16_t x() const { return fX; }
- int16_t y() const { return fY; }
-
- void set(intptr_t x, intptr_t y) {
- fX = SkToS16(x);
- fY = SkToS16(y);
- }
-};
-
-#endif
« no previous file with comments | « include/gpu/GrGlyph.h ('k') | samplecode/SampleRectanizer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698