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

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

Issue 1158433006: Store context options on caps. (Closed) Base URL: https://skia.googlesource.com/skia.git@onecaps
Patch Set: remove case statement accidentally checked in Created 5 years, 7 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 | « src/gpu/GrTest.cpp ('k') | src/gpu/gl/GrGLCaps.cpp » ('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 * 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 #ifndef GrGLCaps_DEFINED 9 #ifndef GrGLCaps_DEFINED
10 #define GrGLCaps_DEFINED 10 #define GrGLCaps_DEFINED
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 kMapBufferRange_MapBufferType, // glMapBufferRange() 84 kMapBufferRange_MapBufferType, // glMapBufferRange()
85 kChromium_MapBufferType, // GL_CHROMIUM_map_sub 85 kChromium_MapBufferType, // GL_CHROMIUM_map_sub
86 86
87 kLast_MapBufferType = kChromium_MapBufferType, 87 kLast_MapBufferType = kChromium_MapBufferType,
88 }; 88 };
89 89
90 /** 90 /**
91 * Initializes the GrGLCaps to the set of features supported in the current 91 * Initializes the GrGLCaps to the set of features supported in the current
92 * OpenGL context accessible via ctxInfo. 92 * OpenGL context accessible via ctxInfo.
93 */ 93 */
94 GrGLCaps(const GrGLContextInfo& ctxInfo, const GrGLInterface* glInterface); 94 GrGLCaps(const GrContextOptions& contextOptions, const GrGLContextInfo& ctxI nfo,
95 const GrGLInterface* glInterface);
95 96
96 /** 97 /**
97 * Call to note that a color config has been verified as a valid color 98 * Call to note that a color config has been verified as a valid color
98 * attachment. This may save future calls to glCheckFramebufferStatus 99 * attachment. This may save future calls to glCheckFramebufferStatus
99 * using isConfigVerifiedColorAttachment(). 100 * using isConfigVerifiedColorAttachment().
100 */ 101 */
101 void markConfigAsValidColorAttachment(GrPixelConfig config) { 102 void markConfigAsValidColorAttachment(GrPixelConfig config) {
102 fVerifiedColorConfigs.markVerified(config); 103 fVerifiedColorConfigs.markVerified(config);
103 } 104 }
104 105
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 const char* fFBFetchColorName; 433 const char* fFBFetchColorName;
433 const char* fFBFetchExtensionString; 434 const char* fFBFetchExtensionString;
434 435
435 AdvBlendEqInteraction fAdvBlendEqInteraction; 436 AdvBlendEqInteraction fAdvBlendEqInteraction;
436 437
437 typedef GrShaderCaps INHERITED; 438 typedef GrShaderCaps INHERITED;
438 }; 439 };
439 440
440 441
441 #endif 442 #endif
OLDNEW
« no previous file with comments | « src/gpu/GrTest.cpp ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698