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

Side by Side Diff: gm/tiledscaledbitmap.cpp

Issue 1791583002: Remove uses of SkImageDecoder from gms (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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 | « gm/showmiplevels.cpp ('k') | src/ports/SkImageDecoder_WIC.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 /* 2 /*
3 * Copyright 2014 Google Inc. 3 * Copyright 2014 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 #include "gm.h" 8 #include "gm.h"
9 9
10 #include "Resources.h" 10 #include "Resources.h"
11 #include "SkBitmap.h" 11 #include "SkBitmap.h"
12 #include "SkImageDecoder.h"
13 #include "SkPaint.h" 12 #include "SkPaint.h"
14 #include "SkShader.h" 13 #include "SkShader.h"
15 #include "SkStream.h" 14 #include "SkStream.h"
16 15
17 16
18 /*** 17 /***
19 * 18 *
20 * This GM reproduces Skia bug 2904, in which a tiled bitmap shader was failing to draw correctly 19 * This GM reproduces Skia bug 2904, in which a tiled bitmap shader was failing to draw correctly
21 * when fractional image scaling was ignored by the high quality bitmap scaler. 20 * when fractional image scaling was ignored by the high quality bitmap scaler.
22 * 21 *
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 private: 73 private:
75 SkBitmap fBitmap; 74 SkBitmap fBitmap;
76 75
77 typedef GM INHERITED; 76 typedef GM INHERITED;
78 }; 77 };
79 78
80 ////////////////////////////////////////////////////////////////////////////// 79 //////////////////////////////////////////////////////////////////////////////
81 80
82 DEF_GM(return new TiledScaledBitmapGM;) 81 DEF_GM(return new TiledScaledBitmapGM;)
83 } 82 }
OLDNEW
« no previous file with comments | « gm/showmiplevels.cpp ('k') | src/ports/SkImageDecoder_WIC.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698