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

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

Issue 119353003: Revert "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
2 /* 1 /*
3 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
4 * 3 *
5 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 5 * found in the LICENSE file.
7 */ 6 */
8 7
9
10
11
12 // Inspired by Rob Johnson's most excellent QuickDraw GX sample code 8 // Inspired by Rob Johnson's most excellent QuickDraw GX sample code
13 9
14 #ifndef SkCamera_DEFINED 10 #ifndef SkCamera_DEFINED
15 #define SkCamera_DEFINED 11 #define SkCamera_DEFINED
16 12
17 #include "Sk64.h"
18 #include "SkMatrix.h" 13 #include "SkMatrix.h"
19 14
20 class SkCanvas; 15 class SkCanvas;
21 16
22 typedef float SkUnitScalar; 17 typedef float SkUnitScalar;
23 #define SK_UnitScalar1 SK_Scalar1 18 #define SK_UnitScalar1 SK_Scalar1
24 #define SkUnitScalarMul(a, b) SkScalarMul(a, b) 19 #define SkUnitScalarMul(a, b) SkScalarMul(a, b)
25 #define SkUnitScalarDiv(a, b) SkScalarDiv(a, b) 20 #define SkUnitScalarDiv(a, b) SkScalarDiv(a, b)
26 21
27 struct SkUnit3D { 22 struct SkUnit3D {
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 struct Rec { 154 struct Rec {
160 Rec* fNext; 155 Rec* fNext;
161 SkMatrix3D fMatrix; 156 SkMatrix3D fMatrix;
162 }; 157 };
163 Rec* fRec; 158 Rec* fRec;
164 Rec fInitialRec; 159 Rec fInitialRec;
165 SkCamera3D fCamera; 160 SkCamera3D fCamera;
166 }; 161 };
167 162
168 #endif 163 #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