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

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

Issue 1812223002: added support for glMinSampleShading (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: updated for Jim's change Created 4 years, 8 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 | « include/gpu/gl/GrGLInterface.h ('k') | src/gpu/GrGeometryProcessor.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 2015 Google Inc. 3 * Copyright 2015 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 #include "GrCaps.h" 9 #include "GrCaps.h"
10 #include "GrContextOptions.h" 10 #include "GrContextOptions.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 fReuseScratchBuffers = true; 91 fReuseScratchBuffers = true;
92 fGpuTracingSupport = false; 92 fGpuTracingSupport = false;
93 fCompressedTexSubImageSupport = false; 93 fCompressedTexSubImageSupport = false;
94 fOversizedStencilSupport = false; 94 fOversizedStencilSupport = false;
95 fTextureBarrierSupport = false; 95 fTextureBarrierSupport = false;
96 fSampleLocationsSupport = false; 96 fSampleLocationsSupport = false;
97 fUsesMixedSamples = false; 97 fUsesMixedSamples = false;
98 fSupportsInstancedDraws = false; 98 fSupportsInstancedDraws = false;
99 fFullClearIsFree = false; 99 fFullClearIsFree = false;
100 fMustClearUploadedBufferData = false; 100 fMustClearUploadedBufferData = false;
101 fSampleShadingSupport = false;
101 102
102 fUseDrawInsteadOfClear = false; 103 fUseDrawInsteadOfClear = false;
103 104
104 fBlendEquationSupport = kBasic_BlendEquationSupport; 105 fBlendEquationSupport = kBasic_BlendEquationSupport;
105 fAdvBlendEqBlacklist = 0; 106 fAdvBlendEqBlacklist = 0;
106 107
107 fMapBufferFlags = kNone_MapFlags; 108 fMapBufferFlags = kNone_MapFlags;
108 109
109 fMaxVertexAttributes = 0; 110 fMaxVertexAttributes = 0;
110 fMaxRenderTargetSize = 1; 111 fMaxRenderTargetSize = 1;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 257
257 for (size_t i = 1; i < SK_ARRAY_COUNT(kConfigNames); ++i) { 258 for (size_t i = 1; i < SK_ARRAY_COUNT(kConfigNames); ++i) {
258 GrPixelConfig config = static_cast<GrPixelConfig>(i); 259 GrPixelConfig config = static_cast<GrPixelConfig>(i);
259 r.appendf("%s is uploadable to a texture: %s\n", 260 r.appendf("%s is uploadable to a texture: %s\n",
260 kConfigNames[i], 261 kConfigNames[i],
261 gNY[this->isConfigTexturable(config)]); 262 gNY[this->isConfigTexturable(config)]);
262 } 263 }
263 264
264 return r; 265 return r;
265 } 266 }
OLDNEW
« no previous file with comments | « include/gpu/gl/GrGLInterface.h ('k') | src/gpu/GrGeometryProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698