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

Side by Side Diff: gm/verylargebitmap.cpp

Issue 208313014: gather GM tests which are disabled on Android (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add links to bugs Created 6 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/shadertext3.cpp ('k') | gyp/gmslides.gypi » ('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 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 return 0; 112 return 0;
113 #endif 113 #endif
114 } 114 }
115 115
116 private: 116 private:
117 typedef skiagm::GM INHERITED; 117 typedef skiagm::GM INHERITED;
118 }; 118 };
119 119
120 ////////////////////////////////////////////////////////////////////////////// 120 //////////////////////////////////////////////////////////////////////////////
121 121
122 // This GM allocates more memory than Android devices are capable of fulfilling.
123 #ifndef SK_BUILD_FOR_ANDROID
124 static skiagm::GM* MyFactory(void*) { return new VeryLargeBitmapGM; } 122 static skiagm::GM* MyFactory(void*) { return new VeryLargeBitmapGM; }
125 static skiagm::GMRegistry reg(MyFactory); 123 static skiagm::GMRegistry reg(MyFactory);
126 #endif
OLDNEW
« no previous file with comments | « gm/shadertext3.cpp ('k') | gyp/gmslides.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698