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

Side by Side Diff: src/gpu/GrDrawTarget.cpp

Issue 26695005: separate state for msaa renderability (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: bool to int Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « src/gpu/GrContext.cpp ('k') | src/gpu/GrDrawTargetCaps.h » ('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 /* 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
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 }
OLDNEW
« no previous file with comments | « src/gpu/GrContext.cpp ('k') | src/gpu/GrDrawTargetCaps.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698