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

Side by Side Diff: gm/bitmapcopy.cpp

Issue 83093005: remove kA1_Config, as it is no longer supported (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | gm/bitmapfilters.cpp » ('j') | include/core/SkImageDecoder.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 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 namespace skiagm { 10 namespace skiagm {
11 11
12 static const char* gConfigNames[] = { 12 static const char* gConfigNames[] = {
13 "unknown config", 13 "unknown config",
14 "A1",
15 "A8", 14 "A8",
16 "Index8", 15 "Index8",
17 "565", 16 "565",
18 "4444", 17 "4444",
19 "8888" 18 "8888"
20 }; 19 };
21 20
22 SkBitmap::Config gConfigs[] = { 21 SkBitmap::Config gConfigs[] = {
23 SkBitmap::kRGB_565_Config, 22 SkBitmap::kRGB_565_Config,
24 SkBitmap::kARGB_4444_Config, // TODO(edisonn): Should we remove it from GM? 23 SkBitmap::kARGB_4444_Config, // TODO(edisonn): Should we remove it from GM?
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 typedef GM INHERITED; 121 typedef GM INHERITED;
123 }; 122 };
124 123
125 ////////////////////////////////////////////////////////////////////////////// 124 //////////////////////////////////////////////////////////////////////////////
126 125
127 #ifndef SK_BUILD_FOR_ANDROID 126 #ifndef SK_BUILD_FOR_ANDROID
128 static GM* MyFactory(void*) { return new BitmapCopyGM; } 127 static GM* MyFactory(void*) { return new BitmapCopyGM; }
129 static GMRegistry reg(MyFactory); 128 static GMRegistry reg(MyFactory);
130 #endif 129 #endif
131 } 130 }
OLDNEW
« no previous file with comments | « no previous file | gm/bitmapfilters.cpp » ('j') | include/core/SkImageDecoder.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698