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 #include <functional> | 8 #include <functional> |
9 #include <initializer_list> | 9 #include <initializer_list> |
10 #include "DMGpuSupport.h" | 10 #include "DMGpuSupport.h" |
11 | 11 |
| 12 #include "SkAutoPixmapStorage.h" |
12 #include "SkBitmap.h" | 13 #include "SkBitmap.h" |
13 #include "SkCanvas.h" | 14 #include "SkCanvas.h" |
14 #include "SkData.h" | 15 #include "SkData.h" |
15 #include "SkDevice.h" | 16 #include "SkDevice.h" |
16 #include "SkImageEncoder.h" | 17 #include "SkImageEncoder.h" |
17 #include "SkImageGenerator.h" | 18 #include "SkImageGenerator.h" |
18 #include "SkImage_Base.h" | 19 #include "SkImage_Base.h" |
19 #include "SkPicture.h" | 20 #include "SkPicture.h" |
20 #include "SkPictureRecorder.h" | 21 #include "SkPictureRecorder.h" |
21 #include "SkPixelSerializer.h" | 22 #include "SkPixelSerializer.h" |
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 otherContextInfo.fGrContext, buffer, budgeted)); | 888 otherContextInfo.fGrContext, buffer, budgeted)); |
888 REPORTER_ASSERT(reporter, !newImage2); | 889 REPORTER_ASSERT(reporter, !newImage2); |
889 glContext->makeCurrent(); | 890 glContext->makeCurrent(); |
890 } | 891 } |
891 } | 892 } |
892 sk_free(buffer); | 893 sk_free(buffer); |
893 } | 894 } |
894 } | 895 } |
895 } | 896 } |
896 #endif | 897 #endif |
OLD | NEW |