Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: tests/ImageTest.cpp

Issue 1904673003: Rein in the use of SkDevice.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/core/SkPictureRecord.cpp ('k') | tests/PathOpsSkpClipTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "SkAutoPixmapStorage.h"
13 #include "SkBitmap.h" 13 #include "SkBitmap.h"
14 #include "SkCanvas.h" 14 #include "SkCanvas.h"
15 #include "SkData.h" 15 #include "SkData.h"
16 #include "SkDevice.h"
17 #include "SkImageEncoder.h" 16 #include "SkImageEncoder.h"
18 #include "SkImageGenerator.h" 17 #include "SkImageGenerator.h"
19 #include "SkImage_Base.h" 18 #include "SkImage_Base.h"
20 #include "SkPicture.h" 19 #include "SkPicture.h"
21 #include "SkPictureRecorder.h" 20 #include "SkPictureRecorder.h"
22 #include "SkPixelSerializer.h" 21 #include "SkPixelSerializer.h"
23 #include "SkRRect.h" 22 #include "SkRRect.h"
24 #include "SkStream.h" 23 #include "SkStream.h"
25 #include "SkSurface.h" 24 #include "SkSurface.h"
26 #include "SkUtils.h" 25 #include "SkUtils.h"
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 otherContextInfo.fGrContext, buffer, budgeted)); 890 otherContextInfo.fGrContext, buffer, budgeted));
892 REPORTER_ASSERT(reporter, !newImage2); 891 REPORTER_ASSERT(reporter, !newImage2);
893 glContext->makeCurrent(); 892 glContext->makeCurrent();
894 } 893 }
895 } 894 }
896 sk_free(buffer); 895 sk_free(buffer);
897 } 896 }
898 } 897 }
899 } 898 }
900 #endif 899 #endif
OLDNEW
« no previous file with comments | « src/core/SkPictureRecord.cpp ('k') | tests/PathOpsSkpClipTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698