OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2010 The Android Open Source Project | 2 * Copyright 2010 The Android Open Source Project |
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 #ifndef SkDevice_DEFINED | 8 #ifndef SkDevice_DEFINED |
9 #define SkDevice_DEFINED | 9 #define SkDevice_DEFINED |
10 | 10 |
11 #include "SkRefCnt.h" | 11 #include "SkRefCnt.h" |
12 #include "SkBitmap.h" | |
13 #include "SkCanvas.h" | 12 #include "SkCanvas.h" |
14 #include "SkColor.h" | 13 #include "SkColor.h" |
15 #include "SkImageFilter.h" | 14 #include "SkImageFilter.h" |
16 #include "SkSurfaceProps.h" | 15 #include "SkSurfaceProps.h" |
17 | 16 |
| 17 class SkBitmap; |
18 class SkClipStack; | 18 class SkClipStack; |
19 class SkDraw; | 19 class SkDraw; |
20 class SkDrawFilter; | 20 class SkDrawFilter; |
21 struct SkIRect; | 21 struct SkIRect; |
22 class SkMatrix; | 22 class SkMatrix; |
23 class SkMetaData; | 23 class SkMetaData; |
24 class SkRegion; | 24 class SkRegion; |
25 class GrRenderTarget; | 25 class GrRenderTarget; |
26 | 26 |
27 class SK_API SkBaseDevice : public SkRefCnt { | 27 class SK_API SkBaseDevice : public SkRefCnt { |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 SkSurfaceProps fSurfaceProps; | 400 SkSurfaceProps fSurfaceProps; |
401 | 401 |
402 #ifdef SK_DEBUG | 402 #ifdef SK_DEBUG |
403 bool fAttachedToCanvas; | 403 bool fAttachedToCanvas; |
404 #endif | 404 #endif |
405 | 405 |
406 typedef SkRefCnt INHERITED; | 406 typedef SkRefCnt INHERITED; |
407 }; | 407 }; |
408 | 408 |
409 #endif | 409 #endif |
OLD | NEW |