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

Side by Side Diff: include/utils/SkCamera.h

Issue 116543009: Revert "begin to remove SkLONGLONG and wean Skia off of Sk64" (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years 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/core/SkPostConfig.h ('k') | src/core/Sk64.cpp » ('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 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
3 * 4 *
4 * 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
5 * found in the LICENSE file. 6 * found in the LICENSE file.
6 */ 7 */
7 8
9
10
11
8 // Inspired by Rob Johnson's most excellent QuickDraw GX sample code 12 // Inspired by Rob Johnson's most excellent QuickDraw GX sample code
9 13
10 #ifndef SkCamera_DEFINED 14 #ifndef SkCamera_DEFINED
11 #define SkCamera_DEFINED 15 #define SkCamera_DEFINED
12 16
17 #include "Sk64.h"
13 #include "SkMatrix.h" 18 #include "SkMatrix.h"
14 19
15 class SkCanvas; 20 class SkCanvas;
16 21
17 typedef float SkUnitScalar; 22 typedef float SkUnitScalar;
18 #define SK_UnitScalar1 SK_Scalar1 23 #define SK_UnitScalar1 SK_Scalar1
19 #define SkUnitScalarMul(a, b) SkScalarMul(a, b) 24 #define SkUnitScalarMul(a, b) SkScalarMul(a, b)
20 #define SkUnitScalarDiv(a, b) SkScalarDiv(a, b) 25 #define SkUnitScalarDiv(a, b) SkScalarDiv(a, b)
21 26
22 struct SkUnit3D { 27 struct SkUnit3D {
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 struct Rec { 159 struct Rec {
155 Rec* fNext; 160 Rec* fNext;
156 SkMatrix3D fMatrix; 161 SkMatrix3D fMatrix;
157 }; 162 };
158 Rec* fRec; 163 Rec* fRec;
159 Rec fInitialRec; 164 Rec fInitialRec;
160 SkCamera3D fCamera; 165 SkCamera3D fCamera;
161 }; 166 };
162 167
163 #endif 168 #endif
OLDNEW
« no previous file with comments | « include/core/SkPostConfig.h ('k') | src/core/Sk64.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698