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

Side by Side Diff: src/gpu/glsl/GrGLSLCaps.cpp

Issue 1451683002: Initial version of external_oes texture support and unit test (Closed) Base URL: https://skia.googlesource.com/skia.git@target
Patch Set: again 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/glsl/GrGLSLCaps.h ('k') | src/gpu/glsl/GrGLSLFragmentShaderBuilder.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 * 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 "GrGLSLCaps.h" 9 #include "GrGLSLCaps.h"
10 10
(...skipping 10 matching lines...) Expand all
21 fBindlessTextureSupport = false; 21 fBindlessTextureSupport = false;
22 fUsesPrecisionModifiers = false; 22 fUsesPrecisionModifiers = false;
23 fCanUseAnyFunctionInShader = true; 23 fCanUseAnyFunctionInShader = true;
24 fForceHighPrecisionNDSTransform = false; 24 fForceHighPrecisionNDSTransform = false;
25 fCanUseMinAndAbsTogether = true; 25 fCanUseMinAndAbsTogether = true;
26 fMustForceNegatedAtanParamToFloat = false; 26 fMustForceNegatedAtanParamToFloat = false;
27 fVersionDeclString = nullptr; 27 fVersionDeclString = nullptr;
28 fShaderDerivativeExtensionString = nullptr; 28 fShaderDerivativeExtensionString = nullptr;
29 fFragCoordConventionsExtensionString = nullptr; 29 fFragCoordConventionsExtensionString = nullptr;
30 fSecondaryOutputExtensionString = nullptr; 30 fSecondaryOutputExtensionString = nullptr;
31 fExternalTextureExtensionString = nullptr;
31 fFBFetchColorName = nullptr; 32 fFBFetchColorName = nullptr;
32 fFBFetchExtensionString = nullptr; 33 fFBFetchExtensionString = nullptr;
33 fAdvBlendEqInteraction = kNotSupported_AdvBlendEqInteraction; 34 fAdvBlendEqInteraction = kNotSupported_AdvBlendEqInteraction;
34 35
35 fMustSwizzleInShader = false; 36 fMustSwizzleInShader = false;
36 memset(fConfigSwizzle, 0, sizeof(fConfigSwizzle)); 37 memset(fConfigSwizzle, 0, sizeof(fConfigSwizzle));
37 } 38 }
38 39
39 SkString GrGLSLCaps::dump() const { 40 SkString GrGLSLCaps::dump() const {
40 SkString r = INHERITED::dump(); 41 SkString r = INHERITED::dump();
(...skipping 26 matching lines...) Expand all
67 kAdvBlendEqInteractionStr[fAdvBlendEqInteraction]); 68 kAdvBlendEqInteractionStr[fAdvBlendEqInteraction]);
68 return r; 69 return r;
69 } 70 }
70 71
71 void GrGLSLCaps::onApplyOptionsOverrides(const GrContextOptions& options) { 72 void GrGLSLCaps::onApplyOptionsOverrides(const GrContextOptions& options) {
72 if (options.fUseShaderSwizzling) { 73 if (options.fUseShaderSwizzling) {
73 fMustSwizzleInShader = true; 74 fMustSwizzleInShader = true;
74 } 75 }
75 } 76 }
76 77
OLDNEW
« no previous file with comments | « src/gpu/glsl/GrGLSLCaps.h ('k') | src/gpu/glsl/GrGLSLFragmentShaderBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698