| OLD | NEW |
| 1 /* |
| 2 * Copyright 2015 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 1 #ifndef DMSrcSink_DEFINED | 8 #ifndef DMSrcSink_DEFINED |
| 2 #define DMSrcSink_DEFINED | 9 #define DMSrcSink_DEFINED |
| 3 | 10 |
| 4 #include "DMGpuSupport.h" | 11 #include "DMGpuSupport.h" |
| 5 #include "SkBBHFactory.h" | 12 #include "SkBBHFactory.h" |
| 6 #include "SkBBoxHierarchy.h" | 13 #include "SkBBoxHierarchy.h" |
| 7 #include "SkBitmap.h" | 14 #include "SkBitmap.h" |
| 8 #include "SkCanvas.h" | 15 #include "SkCanvas.h" |
| 9 #include "SkData.h" | 16 #include "SkData.h" |
| 10 #include "SkGPipe.h" | 17 #include "SkGPipe.h" |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 const char* fileExtension() const SK_OVERRIDE { return fSink->fileExtension(
); } | 257 const char* fileExtension() const SK_OVERRIDE { return fSink->fileExtension(
); } |
| 251 private: | 258 private: |
| 252 const int fW, fH; | 259 const int fW, fH; |
| 253 SkAutoTDelete<SkBBHFactory> fFactory; | 260 SkAutoTDelete<SkBBHFactory> fFactory; |
| 254 SkAutoTDelete<Sink> fSink; | 261 SkAutoTDelete<Sink> fSink; |
| 255 }; | 262 }; |
| 256 | 263 |
| 257 } // namespace DM | 264 } // namespace DM |
| 258 | 265 |
| 259 #endif//DMSrcSink_DEFINED | 266 #endif//DMSrcSink_DEFINED |
| OLD | NEW |