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

Side by Side Diff: src/gpu/gl/GrGLCaps.cpp

Issue 1536033003: Fold color attachment verification bit into GrGLCaps::ConfigInfo (Closed) Base URL: https://skia.googlesource.com/skia.git@mv2caps
Patch Set: delete more code Created 5 years 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 | « src/gpu/gl/GrGLCaps.h ('k') | no next file » | 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 * Copyright 2012 Google Inc. 2 * Copyright 2012 Google Inc.
3 * 3 *
4 * 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
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 8
9 #include "GrGLCaps.h" 9 #include "GrGLCaps.h"
10 10
11 #include "GrContextOptions.h" 11 #include "GrContextOptions.h"
12 #include "GrGLContext.h" 12 #include "GrGLContext.h"
13 #include "glsl/GrGLSLCaps.h" 13 #include "glsl/GrGLSLCaps.h"
14 #include "SkTSearch.h" 14 #include "SkTSearch.h"
15 #include "SkTSort.h" 15 #include "SkTSort.h"
16 16
17 GrGLCaps::GrGLCaps(const GrContextOptions& contextOptions, 17 GrGLCaps::GrGLCaps(const GrContextOptions& contextOptions,
18 const GrGLContextInfo& ctxInfo, 18 const GrGLContextInfo& ctxInfo,
19 const GrGLInterface* glInterface) : INHERITED(contextOptions) { 19 const GrGLInterface* glInterface) : INHERITED(contextOptions) {
20 fVerifiedColorConfigs.reset();
21 fStencilFormats.reset(); 20 fStencilFormats.reset();
22 fMSFBOType = kNone_MSFBOType; 21 fMSFBOType = kNone_MSFBOType;
23 fInvalidateFBType = kNone_InvalidateFBType; 22 fInvalidateFBType = kNone_InvalidateFBType;
24 fLATCAlias = kLATC_LATCAlias; 23 fLATCAlias = kLATC_LATCAlias;
25 fMapBufferType = kNone_MapBufferType; 24 fMapBufferType = kNone_MapBufferType;
26 fTransferBufferType = kNone_TransferBufferType; 25 fTransferBufferType = kNone_TransferBufferType;
27 fMaxFragmentUniformVectors = 0; 26 fMaxFragmentUniformVectors = 0;
28 fMaxVertexAttributes = 0; 27 fMaxVertexAttributes = 0;
29 fMaxFragmentTextureUnits = 0; 28 fMaxFragmentTextureUnits = 0;
30 fRGBA8RenderbufferSupport = false; 29 fRGBA8RenderbufferSupport = false;
(...skipping 1492 matching lines...) Expand 10 before | Expand all | Expand 10 after
1523 fConfigTable[i].fFormats.fSizedInternalFormat); 1522 fConfigTable[i].fFormats.fSizedInternalFormat);
1524 SkASSERT(defaultEntry.fExternalFormat != fConfigTable[i].fFormats.fExter nalFormat); 1523 SkASSERT(defaultEntry.fExternalFormat != fConfigTable[i].fFormats.fExter nalFormat);
1525 SkASSERT(defaultEntry.fExternalType != fConfigTable[i].fFormats.fExterna lType); 1524 SkASSERT(defaultEntry.fExternalType != fConfigTable[i].fFormats.fExterna lType);
1526 } 1525 }
1527 #endif 1526 #endif
1528 } 1527 }
1529 1528
1530 void GrGLCaps::onApplyOptionsOverrides(const GrContextOptions& options) {} 1529 void GrGLCaps::onApplyOptionsOverrides(const GrContextOptions& options) {}
1531 1530
1532 1531
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLCaps.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698