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

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

Issue 1217573002: remove SkInstCnt (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Created 5 years, 5 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/gl/debug/GrGLCreateDebugInterface.cpp ('k') | src/image/SkImage_Gpu.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 #ifndef GrGLSLCaps_DEFINED 9 #ifndef GrGLSLCaps_DEFINED
10 #define GrGLSLCaps_DEFINED 10 #define GrGLSLCaps_DEFINED
11 11
12 #include "GrCaps.h" 12 #include "GrCaps.h"
13 #include "GrGLSL.h" 13 #include "GrGLSL.h"
14 14
15 class GrGLSLCaps : public GrShaderCaps { 15 class GrGLSLCaps : public GrShaderCaps {
16 public: 16 public:
17 SK_DECLARE_INST_COUNT(GrGLSLCaps) 17
18 18
19 /** 19 /**
20 * Indicates how GLSL must interact with advanced blend equations. The KHR ex tension requires 20 * Indicates how GLSL must interact with advanced blend equations. The KHR ex tension requires
21 * special layout qualifiers in the fragment shader. 21 * special layout qualifiers in the fragment shader.
22 */ 22 */
23 enum AdvBlendEqInteraction { 23 enum AdvBlendEqInteraction {
24 kNotSupported_AdvBlendEqInteraction, //<! No _blend_equation_advance d extension 24 kNotSupported_AdvBlendEqInteraction, //<! No _blend_equation_advance d extension
25 kAutomatic_AdvBlendEqInteraction, //<! No interaction required 25 kAutomatic_AdvBlendEqInteraction, //<! No interaction required
26 kGeneralEnable_AdvBlendEqInteraction, //<! layout(blend_support_all_e quations) out 26 kGeneralEnable_AdvBlendEqInteraction, //<! layout(blend_support_all_e quations) out
27 kSpecificEnables_AdvBlendEqInteraction, //<! Specific layout qualifiers per equation 27 kSpecificEnables_AdvBlendEqInteraction, //<! Specific layout qualifiers per equation
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 AdvBlendEqInteraction fAdvBlendEqInteraction; 86 AdvBlendEqInteraction fAdvBlendEqInteraction;
87 87
88 friend class GrGLCaps; // For initialization. 88 friend class GrGLCaps; // For initialization.
89 89
90 typedef GrShaderCaps INHERITED; 90 typedef GrShaderCaps INHERITED;
91 }; 91 };
92 92
93 93
94 #endif 94 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/debug/GrGLCreateDebugInterface.cpp ('k') | src/image/SkImage_Gpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698