| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |