OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2010 Google Inc. | 3 * Copyright 2010 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 | 8 |
9 | 9 |
10 | 10 |
(...skipping 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 GR_STATIC_ASSERT(2 == kIndex_8_GrPixelConfig); | 1040 GR_STATIC_ASSERT(2 == kIndex_8_GrPixelConfig); |
1041 GR_STATIC_ASSERT(3 == kRGB_565_GrPixelConfig); | 1041 GR_STATIC_ASSERT(3 == kRGB_565_GrPixelConfig); |
1042 GR_STATIC_ASSERT(4 == kRGBA_4444_GrPixelConfig); | 1042 GR_STATIC_ASSERT(4 == kRGBA_4444_GrPixelConfig); |
1043 GR_STATIC_ASSERT(5 == kRGBA_8888_GrPixelConfig); | 1043 GR_STATIC_ASSERT(5 == kRGBA_8888_GrPixelConfig); |
1044 GR_STATIC_ASSERT(6 == kBGRA_8888_GrPixelConfig); | 1044 GR_STATIC_ASSERT(6 == kBGRA_8888_GrPixelConfig); |
1045 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kConfigNames) == kGrPixelConfigCnt); | 1045 GR_STATIC_ASSERT(SK_ARRAY_COUNT(kConfigNames) == kGrPixelConfigCnt); |
1046 | 1046 |
1047 SkASSERT(!fConfigRenderSupport[kUnknown_GrPixelConfig]); | 1047 SkASSERT(!fConfigRenderSupport[kUnknown_GrPixelConfig]); |
1048 for (size_t i = 0; i < SK_ARRAY_COUNT(kConfigNames); ++i) { | 1048 for (size_t i = 0; i < SK_ARRAY_COUNT(kConfigNames); ++i) { |
1049 if (i != kUnknown_GrPixelConfig) { | 1049 if (i != kUnknown_GrPixelConfig) { |
1050 GrPrintf("%s is renderable: %s\n", kConfigNames[i], gNY[fConfigRende
rSupport[i]]); | 1050 GrPrintf("%s is renderable: %s, with MSAA: %s\n", |
| 1051 kConfigNames[i], |
| 1052 gNY[fConfigRenderSupport[i][0]], |
| 1053 gNY[fConfigRenderSupport[i][1]]); |
1051 } | 1054 } |
1052 } | 1055 } |
1053 } | 1056 } |
OLD | NEW |