OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2010 Google Inc. | 2 * Copyright 2010 Google Inc. |
3 * | 3 * |
4 * 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 |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "GrClip.h" | 8 #include "GrClip.h" |
9 | 9 |
10 #include "GrSurface.h" | 10 #include "GrSurface.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 height, | 43 height, |
44 &devBounds, | 44 &devBounds, |
45 isIntersectionOfRects); | 45 isIntersectionOfRects); |
46 devBounds.roundOut(devResult); | 46 devBounds.roundOut(devResult); |
47 } break; | 47 } break; |
48 | 48 |
49 } | 49 } |
50 } | 50 } |
51 | 51 |
52 const GrClip& GrClip::WideOpen() { | 52 const GrClip& GrClip::WideOpen() { |
53 static GrClip clip; | 53 static const GrClip clip; |
54 return clip; | 54 return clip; |
55 } | 55 } |
OLD | NEW |