| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
| 4 * | 3 * |
| 5 * 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 |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 | 7 |
| 9 #include "GrCaps.h" | 8 #include "GrCaps.h" |
| 10 #include "GrContextOptions.h" | 9 #include "GrContextOptions.h" |
| 11 | 10 |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 257 | 256 |
| 258 for (size_t i = 1; i < SK_ARRAY_COUNT(kConfigNames); ++i) { | 257 for (size_t i = 1; i < SK_ARRAY_COUNT(kConfigNames); ++i) { |
| 259 GrPixelConfig config = static_cast<GrPixelConfig>(i); | 258 GrPixelConfig config = static_cast<GrPixelConfig>(i); |
| 260 r.appendf("%s is uploadable to a texture: %s\n", | 259 r.appendf("%s is uploadable to a texture: %s\n", |
| 261 kConfigNames[i], | 260 kConfigNames[i], |
| 262 gNY[this->isConfigTexturable(config)]); | 261 gNY[this->isConfigTexturable(config)]); |
| 263 } | 262 } |
| 264 | 263 |
| 265 return r; | 264 return r; |
| 266 } | 265 } |
| OLD | NEW |