| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 #ifndef GrDrawContext_DEFINED | 8 #ifndef GrDrawContext_DEFINED |
| 9 #define GrDrawContext_DEFINED | 9 #define GrDrawContext_DEFINED |
| 10 | 10 |
| (...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 GrRenderTarget* fRenderTarget; | 303 GrRenderTarget* fRenderTarget; |
| 304 | 304 |
| 305 // In MDB-mode the drawTarget can be closed by some other drawContext that h
as picked | 305 // In MDB-mode the drawTarget can be closed by some other drawContext that h
as picked |
| 306 // it up. For this reason, the drawTarget should only ever be accessed via '
getDrawTarget'. | 306 // it up. For this reason, the drawTarget should only ever be accessed via '
getDrawTarget'. |
| 307 GrDrawTarget* fDrawTarget; | 307 GrDrawTarget* fDrawTarget; |
| 308 GrTextContext* fTextContext; // lazily gotten from GrContext::DrawingMana
ger | 308 GrTextContext* fTextContext; // lazily gotten from GrContext::DrawingMana
ger |
| 309 | 309 |
| 310 SkSurfaceProps fSurfaceProps; | 310 SkSurfaceProps fSurfaceProps; |
| 311 | 311 |
| 312 // In debug builds we guard against improper thread handling | 312 // In debug builds we guard against improper thread handling |
| 313 mutable GrSingleOwner* fSingleOwner; | 313 SkDEBUGCODE(mutable GrSingleOwner* fSingleOwner;) |
| 314 }; | 314 }; |
| 315 | 315 |
| 316 #endif | 316 #endif |
| OLD | NEW |