OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 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 "gm.h" | 8 #include "gm.h" |
9 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
10 #include "SkGradientShader.h" | 10 #include "SkGradientShader.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 // as of this writing, the raster code will fail to draw the scaled vers
ion | 113 // as of this writing, the raster code will fail to draw the scaled vers
ion |
114 // since it has a 64K limit on x,y coordinates... (but gpu should succee
d) | 114 // since it has a 64K limit on x,y coordinates... (but gpu should succee
d) |
115 show_image(canvas, veryBig, small, colors, fProc); | 115 show_image(canvas, veryBig, small, colors, fProc); |
116 } | 116 } |
117 | 117 |
118 private: | 118 private: |
119 typedef skiagm::GM INHERITED; | 119 typedef skiagm::GM INHERITED; |
120 }; | 120 }; |
121 DEF_GM( return new VeryLargeBitmapGM(make_raster_image, "bitmap"); ) | 121 DEF_GM( return new VeryLargeBitmapGM(make_raster_image, "bitmap"); ) |
122 DEF_GM( return new VeryLargeBitmapGM(make_picture_image, "_picture_image"); ) | 122 DEF_GM( return new VeryLargeBitmapGM(make_picture_image, "_picture_image"); ) |
123 | |
OLD | NEW |