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

Side by Side Diff: include/core/Sk64.h

Issue 18539004: ARM Skia NEON patches - 04 - Clean SkFixed / SkLONGLONG (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Remove SkLONGLONG + use int64_t where there was an existing long long SkFixed implementation Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « include/config/SkUserConfig.h ('k') | include/core/SkFixed.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef Sk64_DEFINED 10 #ifndef Sk64_DEFINED
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 return a.fHi < b.fHi || (a.fHi == b.fHi && a.fLo <= b.fLo); 214 return a.fHi < b.fHi || (a.fHi == b.fHi && a.fLo <= b.fLo);
215 } 215 }
216 216
217 friend bool operator>(const Sk64& a, const Sk64& b) { 217 friend bool operator>(const Sk64& a, const Sk64& b) {
218 return a.fHi > b.fHi || (a.fHi == b.fHi && a.fLo > b.fLo); 218 return a.fHi > b.fHi || (a.fHi == b.fHi && a.fLo > b.fLo);
219 } 219 }
220 220
221 friend bool operator>=(const Sk64& a, const Sk64& b) { 221 friend bool operator>=(const Sk64& a, const Sk64& b) {
222 return a.fHi > b.fHi || (a.fHi == b.fHi && a.fLo >= b.fLo); 222 return a.fHi > b.fHi || (a.fHi == b.fHi && a.fLo >= b.fLo);
223 } 223 }
224
225 #ifdef SkLONGLONG
226 SkLONGLONG getLongLong() const;
227 #endif
228 }; 224 };
229 225
230 #endif 226 #endif
OLDNEW
« no previous file with comments | « include/config/SkUserConfig.h ('k') | include/core/SkFixed.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698