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

Side by Side Diff: Source/core/platform/graphics/transforms/TransformationMatrix.cpp

Issue 13843039: Absolutify paths to platform/graphics/skia/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2005, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2005, 2006 Apple Computer, Inc. All rights reserved.
3 * Copyright (C) 2009 Torch Mobile, Inc. 3 * Copyright (C) 2009 Torch Mobile, Inc.
4 * Copyright (C) 2013 Google Inc. All rights reserved. 4 * Copyright (C) 2013 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 10 matching lines...) Expand all
21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 21 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28 #include "config.h" 28 #include "config.h"
29 #include "core/platform/graphics/transforms/TransformationMatrix.h" 29 #include "core/platform/graphics/transforms/TransformationMatrix.h"
30 30
31 #include "SkiaUtils.h"
32 #include "core/platform/graphics/FloatQuad.h" 31 #include "core/platform/graphics/FloatQuad.h"
33 #include "core/platform/graphics/FloatRect.h" 32 #include "core/platform/graphics/FloatRect.h"
34 #include "core/platform/graphics/IntRect.h" 33 #include "core/platform/graphics/IntRect.h"
35 #include "core/platform/graphics/LayoutRect.h" 34 #include "core/platform/graphics/LayoutRect.h"
35 #include "core/platform/graphics/skia/SkiaUtils.h"
36 #include "core/platform/graphics/transforms/AffineTransform.h" 36 #include "core/platform/graphics/transforms/AffineTransform.h"
37 37
38 #include <wtf/Assertions.h> 38 #include <wtf/Assertions.h>
39 #include <wtf/MathExtras.h> 39 #include <wtf/MathExtras.h>
40 40
41 #if CPU(X86_64) 41 #if CPU(X86_64)
42 #include <emmintrin.h> 42 #include <emmintrin.h>
43 #endif 43 #endif
44 44
45 using namespace std; 45 using namespace std;
(...skipping 1476 matching lines...) Expand 10 before | Expand all | Expand 10 after
1522 if (fabs(determinant) < SMALL_NUMBER) 1522 if (fabs(determinant) < SMALL_NUMBER)
1523 return false; 1523 return false;
1524 1524
1525 double cofactor33 = determinant3x3(m11(), m12(), m14(), m21(), m22(), m24(), m41(), m42(), m44()); 1525 double cofactor33 = determinant3x3(m11(), m12(), m14(), m21(), m22(), m24(), m41(), m42(), m44());
1526 double zComponentOfTransformedNormal = cofactor33 / determinant; 1526 double zComponentOfTransformedNormal = cofactor33 / determinant;
1527 1527
1528 return zComponentOfTransformedNormal < 0; 1528 return zComponentOfTransformedNormal < 0;
1529 } 1529 }
1530 1530
1531 } 1531 }
OLDNEW
« no previous file with comments | « Source/core/platform/graphics/transforms/AffineTransform.cpp ('k') | Source/core/platform/image-decoders/ImageDecoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698