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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 static const int kImageHeight; | 52 static const int kImageHeight; |
53 | 53 |
54 UploadContext* fUploadContext; | 54 UploadContext* fUploadContext; |
55 SkAutoTUnref<SkPicture> fPicture; | 55 SkAutoTUnref<SkPicture> fPicture; |
56 SkAutoTUnref<SkDebugCanvas> fDebugCanvas; | 56 SkAutoTUnref<SkDebugCanvas> fDebugCanvas; |
57 UrlDataManager fUrlDataManager; | 57 UrlDataManager fUrlDataManager; |
58 | 58 |
59 private: | 59 private: |
60 SkSurface* createCPUSurface(); | 60 SkSurface* createCPUSurface(); |
61 SkSurface* createGPUSurface(); | 61 SkSurface* createGPUSurface(); |
62 GrAuditTrail* getAuditTrail(SkCanvas*); | |
63 void cleanupAuditTrail(SkCanvas*); | |
64 | 62 |
65 SkAutoTDelete<GrContextFactory> fContextFactory; | 63 SkAutoTDelete<GrContextFactory> fContextFactory; |
66 SkAutoTUnref<SkSurface> fSurface; | 64 SkAutoTUnref<SkSurface> fSurface; |
67 bool fGPUEnabled; | 65 bool fGPUEnabled; |
68 }; | 66 }; |
69 | 67 |
70 #endif | 68 #endif |
71 | 69 |
OLD | NEW |