| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 Request_DEFINED | 8 #ifndef Request_DEFINED |
| 9 #define Request_DEFINED | 9 #define Request_DEFINED |
| 10 | 10 |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 UrlDataManager fUrlDataManager; | 61 UrlDataManager fUrlDataManager; |
| 62 | 62 |
| 63 private: | 63 private: |
| 64 SkData* writeCanvasToPng(SkCanvas* canvas); | 64 SkData* writeCanvasToPng(SkCanvas* canvas); |
| 65 void drawToCanvas(int n, int m = -1); | 65 void drawToCanvas(int n, int m = -1); |
| 66 SkSurface* createCPUSurface(); | 66 SkSurface* createCPUSurface(); |
| 67 SkSurface* createGPUSurface(); | 67 SkSurface* createGPUSurface(); |
| 68 SkIRect getBounds(); | 68 SkIRect getBounds(); |
| 69 GrContext* getContext(); | 69 GrContext* getContext(); |
| 70 | 70 |
| 71 SkAutoTUnref<SkPicture> fPicture; | 71 sk_sp<SkPicture> fPicture; |
| 72 GrContextFactory* fContextFactory; | 72 GrContextFactory* fContextFactory; |
| 73 SkAutoTUnref<SkSurface> fSurface; | 73 SkAutoTUnref<SkSurface> fSurface; |
| 74 bool fGPUEnabled; | 74 bool fGPUEnabled; |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 #endif | 77 #endif |
| 78 | 78 |
| OLD | NEW |