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

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

Issue 1202383006: add drawArraysInstanced to caps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 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
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 fNPOTTextureTileSupport = false; 84 fNPOTTextureTileSupport = false;
85 fTwoSidedStencilSupport = false; 85 fTwoSidedStencilSupport = false;
86 fStencilWrapOpsSupport = false; 86 fStencilWrapOpsSupport = false;
87 fDiscardRenderTargetSupport = false; 87 fDiscardRenderTargetSupport = false;
88 fReuseScratchTextures = true; 88 fReuseScratchTextures = true;
89 fReuseScratchBuffers = true; 89 fReuseScratchBuffers = true;
90 fGpuTracingSupport = false; 90 fGpuTracingSupport = false;
91 fCompressedTexSubImageSupport = false; 91 fCompressedTexSubImageSupport = false;
92 fOversizedStencilSupport = false; 92 fOversizedStencilSupport = false;
93 fTextureBarrierSupport = false; 93 fTextureBarrierSupport = false;
94 fDrawArraysInstancedSupport = false;
94 95
95 fUseDrawInsteadOfClear = false; 96 fUseDrawInsteadOfClear = false;
96 97
97 fBlendEquationSupport = kBasic_BlendEquationSupport; 98 fBlendEquationSupport = kBasic_BlendEquationSupport;
98 fAdvBlendEqBlacklist = 0; 99 fAdvBlendEqBlacklist = 0;
99 100
100 fMapBufferFlags = kNone_MapFlags; 101 fMapBufferFlags = kNone_MapFlags;
101 102
102 fMaxRenderTargetSize = 0; 103 fMaxRenderTargetSize = 0;
103 fMaxTextureSize = 0; 104 fMaxTextureSize = 0;
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 SkASSERT(!fConfigTextureSupport[kUnknown_GrPixelConfig]); 227 SkASSERT(!fConfigTextureSupport[kUnknown_GrPixelConfig]);
227 228
228 for (size_t i = 1; i < SK_ARRAY_COUNT(kConfigNames); ++i) { 229 for (size_t i = 1; i < SK_ARRAY_COUNT(kConfigNames); ++i) {
229 r.appendf("%s is uploadable to a texture: %s\n", 230 r.appendf("%s is uploadable to a texture: %s\n",
230 kConfigNames[i], 231 kConfigNames[i],
231 gNY[fConfigTextureSupport[i]]); 232 gNY[fConfigTextureSupport[i]]);
232 } 233 }
233 234
234 return r; 235 return r;
235 } 236 }
OLDNEW
« include/gpu/GrCaps.h ('K') | « include/gpu/GrCaps.h ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698