| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 | 10 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 struct StencilPath : GrNoncopyable { | 101 struct StencilPath : GrNoncopyable { |
| 102 StencilPath(); | 102 StencilPath(); |
| 103 | 103 |
| 104 SkAutoTUnref<const GrPath> fPath; | 104 SkAutoTUnref<const GrPath> fPath; |
| 105 SkStrokeRec fStroke; | 105 SkStrokeRec fStroke; |
| 106 SkPath::FillType fFill; | 106 SkPath::FillType fFill; |
| 107 }; | 107 }; |
| 108 | 108 |
| 109 struct Clear : GrNoncopyable { | 109 struct Clear : GrNoncopyable { |
| 110 Clear() : fRenderTarget(NULL) {} | 110 Clear() : fRenderTarget(NULL) {} |
| 111 ~Clear() { GrSafeUnref(fRenderTarget); } | 111 ~Clear() { SkSafeUnref(fRenderTarget); } |
| 112 | 112 |
| 113 SkIRect fRect; | 113 SkIRect fRect; |
| 114 GrColor fColor; | 114 GrColor fColor; |
| 115 GrRenderTarget* fRenderTarget; | 115 GrRenderTarget* fRenderTarget; |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 struct CopySurface : GrNoncopyable { | 118 struct CopySurface : GrNoncopyable { |
| 119 SkAutoTUnref<GrSurface> fDst; | 119 SkAutoTUnref<GrSurface> fDst; |
| 120 SkAutoTUnref<GrSurface> fSrc; | 120 SkAutoTUnref<GrSurface> fSrc; |
| 121 SkIRect fSrcRect; | 121 SkIRect fSrcRect; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 | 226 |
| 227 virtual bool isIssued(uint32_t drawID) { return drawID != fDrawID; } | 227 virtual bool isIssued(uint32_t drawID) { return drawID != fDrawID; } |
| 228 | 228 |
| 229 bool fFlushing; | 229 bool fFlushing; |
| 230 uint32_t fDrawID; | 230 uint32_t fDrawID; |
| 231 | 231 |
| 232 typedef GrDrawTarget INHERITED; | 232 typedef GrDrawTarget INHERITED; |
| 233 }; | 233 }; |
| 234 | 234 |
| 235 #endif | 235 #endif |
| OLD | NEW |