OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 | 8 |
9 #ifndef GrStencilAttachment_DEFINED | 9 #ifndef GrStencilAttachment_DEFINED |
10 #define GrStencilAttachment_DEFINED | 10 #define GrStencilAttachment_DEFINED |
11 | 11 |
12 #include "GrClip.h" | 12 #include "SkClipStack.h" |
13 #include "GrGpuResource.h" | 13 #include "GrGpuResource.h" |
14 | 14 |
15 class GrRenderTarget; | 15 class GrRenderTarget; |
16 class GrResourceKey; | 16 class GrResourceKey; |
17 | 17 |
18 class GrStencilAttachment : public GrGpuResource { | 18 class GrStencilAttachment : public GrGpuResource { |
19 public: | 19 public: |
20 | 20 |
21 | 21 |
22 virtual ~GrStencilAttachment() { | 22 virtual ~GrStencilAttachment() { |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 int fSampleCnt; | 70 int fSampleCnt; |
71 | 71 |
72 int32_t fLastClipStackGenID; | 72 int32_t fLastClipStackGenID; |
73 SkIRect fLastClipStackRect; | 73 SkIRect fLastClipStackRect; |
74 SkIPoint fLastClipSpaceOffset; | 74 SkIPoint fLastClipSpaceOffset; |
75 | 75 |
76 typedef GrGpuResource INHERITED; | 76 typedef GrGpuResource INHERITED; |
77 }; | 77 }; |
78 | 78 |
79 #endif | 79 #endif |
OLD | NEW |